Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Mods & Themes (http://www.bvlist.com/forumdisplay.php?f=117)
-   -   [TSSE 5.6] Show Torrents darck mod (http://www.bvlist.com/showthread.php?t=7788)

DARCK 30th March 2012 23:05

[TSSE 5.6] Show Torrents darck mod
 
2 Attachment(s)
Attachment 3615

1. create the plugin

Plugin Name:TEST

Plugin Title:darck mod

Plugin Content:
PHP Code:

<iframe width="100%" scrolling="no" align="middle" height="200" frameborder="0" allowtransparency="yes" marginwidth="0" marginheight="0" src="darck.php" style="margin-left:-30px;" name="torrents"></iframe

2. create root/darck.php

PHP Code:

<?php
require_once('global.php');
gzip();
dbconn(true);
maxsysop();


 
?>
    
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>darck mod</title>
<script type="text/javascript" src="carfun/mootools.js"></script>
<script type="text/javascript" src="carfun/imageMenu.js"></script>
</head>
<style>
@import url(carfun/screen.css);

</style>
<body>




     <div id="imageMenu">  
<ul>
   <?php


 
if($CURUSER)


{
    
$query="SELECT id, name, t_image  FROM torrents WHERE t_image  <> '' ORDER BY added  DESC limit 10";
    
$result=mysql_query($query);
    
$num mysql_num_rows($result);
    {
   
?>
 

     <?php
     
    
while($row mysql_fetch_assoc($result))
      {
       
$name  substr(htmlspecialchars($row[name]), 030)."...";

  
?>
     









<li class="#imageMenu" style="background: url(carfun/dimension_img.php?photo=<?=$row["t_image"]?>) repeat scroll 0%"  title="<?=$name?>" >
<a href="details.php?id=<?=$row["id"]?>" target="_blank"> 

</a><em></em></li>
 

 
   


<?php
 
}
  
     }
    }
       


   
?>

</ul></div>  <script type="text/javascript">
window.addEvent('domready', function(){
var myMenu = new ImageMenu($$('#imageMenu a'),{openWidth:150});
});
</script>
 </body>
   </html>


3.
upload the root
Attachment 3616

PAX 1st April 2012 00:10

nice mod is and working, thanks :drink:

z3ro 1st April 2012 00:54

good
 
good mod very good thanks DARCK:drink:

J0hn86 11th April 2012 15:30

how??
 
hy all i wana to now if can to put this code
PHP Code:

<img class="glossy" src

into dark mode an how i do that i wana to show me the image glosy
help please Thanks

Marco 19th April 2012 15:32

glossy
 
Nice ideea i wish too the glossy stuff :D
best regards
Marco

vulongvy 20th April 2012 13:59

thanks for share ! :friend:

Black1 29th April 2012 23:06

Amazing mod.
Is there any way to edit this mod, to work with most snatched torrents instead of latest torrents?

eckeO5 1st May 2012 20:46

for sure :cool:

gogo999 24th May 2012 11:08

However, this will cause some errors
 
Hello, I've installed this time darck mod

However, this will cause some errors

Is there a fix

What should I do

http://withbit.net/files/attach/imag...112a8a67e4.PNG


Thank you.......:wallbash::wallbash:

x360zone 24th May 2012 12:58

hi
 
good tip get someone who know wtf there doin:coffee:

firefly007 24th May 2012 15:34

@gogo999 make sure you CHMOD the files

Nice mod

gogo999 24th May 2012 16:42

Quote:

Originally Posted by firefly007 (Post 34956)
@gogo999 make sure you CHMOD the files

Nice mod


:friend:


Thanks firefly007 friend

I is Windows Server 2008 R2
use xampp 1.7.1

Thanks always for your help.

Best friend

:friend::cool::ok:

mmisu120000 31st May 2012 07:01

Quote:

Originally Posted by gogo999 (Post 34958)
:friend:


Thanks firefly007 friend

I is Windows Server 2008 R2
use xampp 1.7.1

Thanks always for your help.

Best friend

:friend::cool::ok:

Server 2008 AND xampp ? Hmmmmm..., the worst combination ...
Why don't you install the php, apache, mysql or anything else independently? It will be far more reliable like that ...

x360zone 31st May 2012 09:22

hi
 
why not use the cpanel hosting you have with me gogo instead of local host agai:ok:n

gogo999 8th June 2012 07:17

Quote:

Originally Posted by x360zone (Post 35049)
why not use the cpanel hosting you have with me gogo instead of local host agai:ok:n


Sorry

I is a beginner

So, lack of

Bump:
Quote:

Originally Posted by mmisu120000 (Post 35048)
Server 2008 AND xampp ? Hmmmmm..., the worst combination ...
Why don't you install the php, apache, mysql or anything else independently? It will be far more reliable like that ...


Thank you :friend:

Any combination of the good

Let me know

eckeO5 9th December 2012 18:06

modification
 
may be some1 has n idea how to get Darcks good one, working with png too?

would be really, or what do you think?

greetz to all

eckeO5:clown:

Tones 15th December 2012 07:12

what about this one??
 
http://www.bvlist.com/mods-themes/85...mod-modif.html

gogo999 17th April 2014 23:56

Add this to another image What more
 
PHP Code:

<?php Header("Content-type: image/jpeg");
$chemin $_GET['photo'];
// vous pouvez travailler en url relative aussi: img.jpg
$x 150;
$y 210# hauteur a redimensionner


$img_new imagecreatefromjpeg($chemin);
$size getimagesize($chemin);
$img_mini imagecreatetruecolor ($x$y);
imagecopyresampled ($img_mini,$img_new,0,0,0,0,$x,$y,$size[0],$size[1]);
imagejpeg($img_mini);
?>




png, gif How to Add ..........?:wallbash::wallbash:


All times are GMT +2. The time now is 21:47.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.