Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
User Posts

Go to Profile

"Lakicevic Boris, post: 65082":
hm in all mine themes.css i cant finde </style>

Just put it in at the bottom mate, it will be fine. Mine must be slightly different. Basically anywhere after a }
List users signatures in admincp, based on the avatar list.

I searched and didnt find in the forum, so I did my own, quite simple.

First you need to create the link:

In Admincp Find the last link image, something like this...

<td align="center"><a href=admincp.php?action=users><img src="images/admin/users.gif" border=0 width=32 height=32><br>Users</a><BR></td>


Add Below

<td align="center"><a href=admincp.php?action=signature><img src="images/admin/avatar.gif" border=0 width=32 height=32><br>Signature Log</a><BR></td>


Then Find

if ($action=="avatars"){stdhead("Avatar Log");

navmenu();

begin_frame("Avatar Log");

$query = mysql_query("SELECT count(*) FROM users WHERE enabled='yes' AND avatar !=''");

$count = mysql_fetch_row($query);

$count = $count[0];

list($pagertop, $pagerbottom, $limit) = pager(50, $count, 'admincp.php?action=avatars&');

echo ($pagertop);

?>

<CENTER><TABLE class=table_table>

<TR>

<TD class=table_head><b>User</b></TD>

<TD class=table_head><b><center>Avatar</center></b></TD>

</TR><?

$query = "SELECT username, id, avatar FROM users WHERE enabled='yes' AND avatar !='' $limit";

$res = mysql_query($query);

while($arr = mysql_fetch_array($res)){

echo("<TR><TD class=table_col1><b><A href=\"account-details.php?id=" . $arr['id'] . "\">" . $arr['username'] . "</b></A></TD><TD class=table_col2>");

if (!$arr['avatar'])

echo "<img width=\"80\" src=images/default_avatar.gif></td>";

else

echo "<img width=\"80\" src=\"".htmlspecialchars($arr["avatar"])."\"></td>";

}

?>

</TABLE></CENTER>

<?

echo ($pagerbottom);

end_frame();

stdfoot();

}



Add Below

/////list signaturesif ($action=="signature"){

stdhead("Signature Log");

navmenu();

begin_frame("Signature Log");

$query = mysql_query("SELECT count(*) FROM users WHERE enabled='yes' AND signature !=''");

$count = mysql_fetch_row($query);

$count = $count[0];

list($pagertop, $pagerbottom, $limit) = pager(15, $count, 'admincp.php?action=signature&');

echo ($pagertop);

?>

<CENTER><TABLE class=table_table>

<TR>

<TD class=table_head><b>User</b></TD>

<TD class=table_head><b><center>Signature</center></b></TD>

</TR><?

$query = "SELECT username, id, signature FROM users WHERE enabled='yes' AND signature !='' $limit";

$res = mysql_query($query);

while($arr = mysql_fetch_array($res)){

$usersignature = stripslashes(format_comment($arr["signature"]));

echo("<TR><TD class=table_col1><b><A href=\"account-details.php?id=" . $arr['id'] . "\">" . $arr['username'] . "</b></A></TD><TD class=table_col2>");

echo "$usersignature</tr>";

}

?>

</TABLE></CENTER>

<?

echo ($pagerbottom);

end_frame();

stdfoot();

}

///////////////////

OK, I take no credit for this, its from tbdev, but works well on ttv2.05.



The image resize we were using caused the torrent details pages to load so slow it was no longer usable, so I looked for an alternative. I searched tt forums and didnt find anything, heres the code we used:

Download ncode_imageresizer.js and put in the directory on your server.

In header.php add before </head>

<script type="text/javascript" src="ncode_imageresizer.js"></script><script type="text/javascript">

<!--

NcodeImageResizer.MODE = 'newwindow';

NcodeImageResizer.MAXWIDTH = 600;

NcodeImageResizer.MAXHEIGHT = 0;

NcodeImageResizer.Msg1 = 'Click this bar to view the full image.';

NcodeImageResizer.Msg2 = 'This image has been resized. Click this bar to view the full image.';

NcodeImageResizer.Msg3 = 'This image has been resized. Click this bar to view the full image.';

NcodeImageResizer.Msg4 = 'Click this bar to view the small image.';

//-->

</script>



In your themes.css file before </style> Add

<!----- Image resizer css ---->table.ncode_imageresizer_warning {

background: #FFFFE1;

color: #000000;

border: 1px solid #CCC;

cursor: pointer;

}

table.ncode_imageresizer_warning td {

font-size: 12px;

color: red;

vertical-align: middle;

text-decoration: bold;

}

table.ncode_imageresizer_warning td.td1 {

padding: 5px;

}

table.ncode_imageresizer_warning td.td1 {

padding: 2px;

}

<!---- end resizer --->



NcodeImageResizer.MAXWIDTH = 600; <<--- change this to the max width you want.

functions.php Find

$s = preg_replace("/\[img\](http:\/\/[^\s'\"<>]+(\.gif|\.jpg|\.png|\.bmp|\.jpeg))\[\/img\]/i", "<img border=0 src=\"\\1\">", $s);


Replace

$s = preg_replace("/\[img\](http:\/\/[^\s'\"<>]+(\.gif|\.jpg|\.png|\.bmp|\.jpeg))\[\/img\]/i", "<img border=0 src=\"\\1\" alt=\"\"onload=\"NcodeImageResizer.createOn(this);\">", $s);


Find

$s = preg_replace("/\[img=(http:\/\/[^\s'\"<>]+(\.gif|\.jpg|\.png|\.bmp|\.jpeg))\]/i", "<img border=0 src=\"\\1\">", $s);


Replace

$s = preg_replace("/\[img=(http:\/\/[^\s'\"<>]+(\.gif|\.jpg|\.png|\.bmp|\.jpeg))\]/i", "<img border=0 src=\"\\1\" alt=\"\"onload=\"NcodeImageResizer.createOn(this);\">", $s);



Image:

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=4161"]ncode_imageresizer.js[/url]

You know who your mates are buddy. ;)
Sorry i wasnt here to answer your questions...we are currently trying to sort out another server..we will be back in a few days...hopefully.  :blink:

EDIT: Site is now back online.
You know we are coming :blink:
Good on yer mate...time to try put it behind u and carry on. :blink:
is ther anyway of adding the imdb trailer url in this mod, e.g [url="http://www.imdb.com/video/imdb/vi3896050201/"]http://www.imdb.com/video/imdb/vi3896050201/[/url]
"kardklub, post: 61066":
That would be nice- a nice newyears gift for TT fans LOL Wich him luck from me
kard

I will do mate im writing to him tonight
had a letter from him other day and he sending me a visting order to go see him hopefully if he gets the HDC tag on he will be out 18/01/10 if not he will be out 01/05/10.
updated 1st post with a pic  ;)
why is this in mods in progress have you not finished it
drop down navigation menu, try this add your own as you need too.



Open header.php

above

</head>
ADD


<script type="text/javascript">

<!--

function MM_jumpMenu(targ,selObj,restore){ //v3.0

 eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");

 if (restore) selObj.selectedIndex=0;

}

//-->

</script>





ADD THIS CODE WHERE YOU WANT YOUR MENU TO BE



html



<select name="jumpMenu" id="jumpMenu" onchange="MM_jumpMenu('parent',this,0)">

 <option value="index.php">Home</option>

 <option value="torrents.php">Browse Torrents</option>

 <option value="torrents-today.php">Todays Torrents</option>

 <option value="torrents-upload.php">Upload Torrents</option>

 <option value="faq.php">FAQ</option>

 <option value="torrents-search.php">Search Torrents</option>

</select>

</form>





OR



php



print("

<select name=jumpMenu id=jumpMenu onchange=MM_jumpMenu('parent',this,0)>

 <option value=index.php>Home</option>

 <option value=torrents.php>Browse Torrents</option>

 <option value=torrents-today.php>Todays Torrents</option>

 <option value=torrents-upload.php>Upload Torrents</option>

 <option value=faq.php>FAQ</option>

 <option value=torrents-search.php>Search Torrents</option>

</select>

</form>");



if you want to add more just use this as a guide

<option value="torrents-search.php">Search Torrents</option>

hope this helps
here guys post this incase someone finds it usefull, and remember a thankyou is always welcome.

Open:

torrents-upload.php

Find:

///////////////////// FORMAT PAGE ////////////////////////



stdhead("Upload");



begin_frame("" . UPLOAD_RULES . "");

echo "<b>".stripslashes($site_config["UPLOADRULES"])."</b>";

echo "<BR>";

end_frame();
After Add:


// lookpic image upload

begin_frame("Lookpic Image Upload");



print("

<center>

<form action=http://lookpic.com/upload.php method=post enctype=multipart/form-data name=upload target=_blank id=upload>

<b>Image:</b>

<input type=hidden name=MAX_FILE_SIZE value=3000000>

<input id=file type=file name=image>



 <b>Resize:

<input type=checkbox value=1 name=stat_resize /></b>

<select name=resize id=resize>

 <option selected=selected>Select Resize Option</option>

<option value=0>100x75 (avatar)</option>

<option value=1>150x112 (thumbnail)</option>

<option value=2>320x240 (for websites and email)</option>

<option value=3>640x480 (for message boards)</option>

<option value=4>800x600 (15-inch monitor)</option>

<option value=5>1024x768 (17-inch monitor)</option>

<option value=6>1280x1024 (19-inch monitor)</option>

<option value=7>1600x1200 (21-inch monitor)</option>

</select>

<input id=submit type=submit name=submit value=Upload>



</form>

</center>");

print("<center>The allowed image types are JPG, JPEG, PNG, GIF.

<br>

The maximum image size allowed is <b>3MB.</b></center>");



end_frame();

// lookpic image upload



OR

You can also add a link in your menu and use the full page version too.

Enjoy

Regards

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=3917"]lookpic.php[/url]
GET THIS 15% OFF RECURRING DISCOUNT WITH SANTREX

This is a special deal we have with santrex..

You get a recurring 15% discount OFF ANYTHING by knowing me a 1st for santrex..

CLICK THE LINK BELOW TO GET YOUR DISCOUNT

[url="https://clients.santrex.net/aff.php?aff=125"]GET YOUR 15% OFF NOW[/url]

[size=12px]WHEN ASKED ENTER PROMO CODE:[/size] [size=12px]movietorrentz4509[/size]
Our toolbar has been downloaded 8,000+ times and we are making around $50 a month.
For added bonus we have linked this with our conduit toolbar so that everything on there now earns money now not just there search option, if you would like help with this let me know...
We have added this to our site and it works 100%

1st you will need a linkbucks account: [url="http://www.linkbucks.com/referral/112864"]Create Linkbucks Account Now[/url]

Once logged in click CREATE LINKS

then click FULL PAGE SCRIPT

Link Group Name: YOUR TRACKER NAME

Link Exclusions: I LEFT MINE BLANK

Target Option: OPEN IN NEW WINDOW

Landing Page Content is: WE SELECTED CLEAN (ALL AGES)

Ad Type: INTERMISSION

Alias URL: LINKBUCKS.COM

Frequency Cap: 0

Then click generate javascript....

1ST BACKUP YOUR FILES 1ST

OPEN HEADER.PHP

find

</head>
ADD BEFORE: YOUR CODE EG


<script type="text/javascript" src="http://www.linkbucks.com/Webservices/jsParseLinks.aspx?id=0eb1f562"></script>



SAVE AND UPLOAD

now all links posted on your site should earn you cash, tweak the settings how you want...
Good luck buddy. ;)
Template Shares ....pmfsl

i know 2 Template Shares that got hacked so thats no right
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728