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

"thedarklord, post: 77192":
put this in between your <head></head> tags on every theme u wish to use glossy on


<script type="text/javascript" src="<?php echo $site_config["SITEURL"]; ?>/backend/glossy.js"></script>


change it to your path where glossy.js is


Thank you very much thedarklord bro finally it works  :)  and one more thing for all those who are really nob like me this glossy effect will not show in IE, so it show in F-Fox

Best Regards
"thedarklord, post: 77185":
u have to put that in every theme u use u know that ?

@thedarklord bro i didnt get you, does that mean i will put glossy.js in every them folder?? if yes then i have instal only two them and i put both of them.. may be something wrong!! or i dont know why it not work actualy.

Thank you for the help thedarklord and dj but unfortunately i didnt get any effects of glossy at my site.

Regards
"XIII, post: 77182":
echo '<script type="text/javascript" src="'.$site_config["SITEURL"].'/themes/default/js/glossy.js"></script>';


that would refrence that your using the default theme is that correct?

yes thats rite dj em using default theme
"cooly, post: 63464":
It is actually working just some codes breaking it in index file so the solution...
open up functions.php and search..

function stdfoot() {

global $site_config, $CURUSER, $THEME, $LANGUAGE;
add after...




echo '<script type="text/javascript" src="'.$site_config["SITEURL"].'/backend/glossy.js"></script>';



and change backend to your glossy path  :)

cooly bro i do every thing and in function.php i change path to

echo '<script type="text/javascript" src="'.$site_config["SITEURL"].'/themes/default/js/glossy.js"></script>';

but nothing change not in Recommanded posters, not in latest images and nor at torrent detail page pls help me where i make mistake and one more thing in my root directory i dont have named "javascript" file but in backend "java_klappe.js" is thair so does this reason for not showing any changes or something other??
"XIII, post: 76987":
to bottom of file before ?>

Thanks DJ :)
"XIII, post: 77041":
Well if you followed thedarklord's advice im sure it would of fixed the issue.

yea u r rite i was editing english.lang rather then English.php not it works but recommended section show when i click on Brose Torrent but i need it to show index page only in row not pictures..
"XIII, post: 77036":
in 2-svn english.lang is depreciated.
The error is saying you do not have that field in the database.

so what i need to do? is it work at my site or not?
"thedarklord, post: 77029":
it tells you everything you need to know in the install_en.txt

yes read instruction & i edit all 5 files i.e languages/english.lang,torrents.php,torrents-edit.php,account.php, backend/config.php & i put recommendedtorrents_block.php in blocks folder but when i start preview it show like this in pic, dont know why it showlike this? or if i Enabled Blocks at site it says me same thing which is in pic and site freez on that pls help

"XIII, post: 77025":
@BlazTorrents Modifications are here for a reference. We are not here to assist anyone with building there trackers to there specification.

@XIII dude em newbie in coding i never ever did this in my life thats why i ask these kind of stupit questions and em really really sorry if asked alot question, em learning and now i can find easily what every lines u told to search but before i try many times but i was fail so thats why i ask u guys anyways thank you and now it works as i want now it show every where colors so i choose colors rather then icons Thanks for the help
"Skayver, post: 33787":
####################################################

##

## MOD Title: Recommendet Torrents

##

## MOD Author: Sk@yver

##

## MOD Description: This MOD will add the ability to

## recommend torrents and show

## recommended or top 10 torrents

## in torrent browse page.

##

## MOD Required Settings: NO

##

## MOD Compatibility:  TTv2.x

## Support multilanguage:  Yes

## Installation Level:  Easy

## Installation Time:  5min.

## SQL changes: YES

##

## Files To Edit: 5

## languages/english.lang #Or your language

## torrents.php

## torrents-edit.php

## account.php

## backend/config.php

##

## Files To Upload: 0

##

####################################################


MOD instruction is in the Attachment.



can you pls tel me where to put recommendedtorrents_block.php and where to add these lines?? i mean in index.php if so pls give me location of index.php that after which lines to add these as i edit other instruction i.e account.php,torrents-edit.php,config.php.

Thanks
"XIII, post: 77021":
Shoutbox


	echo	'</td><td style="font-size: 12px; padding-left: 5px"><a href="'.$site_config['SITEURL'].'/account-details.php?id='.$row['userid'].'" target="_parent"><b>'.$row['user'].':</b></a>&nbsp;&nbsp;'.nl2br(format_comment($row['message']));
To




	echo	'</td><td style="font-size: 12px; padding-left: 5px"><a href="'.$site_config['SITEURL'].'/account-details.php?id='.$row['userid'].'" target="_parent"><b>'.class_user($row['user']).':</b></a>&nbsp;&nbsp;'.nl2br(format_comment($row['message']));



Thanks you very much it works, now pls help little more like i want Members colors at Members list and in torrent page also pls help
"cooly, post: 77008":
slightly updated...


function class_user($name)

{

global $site_config;

$a ="SELECT class, donated, warned FROM `users` WHERE username ='".$name."'";

$res = SQL_Query_exec($a);

$classy = mysql_fetch_row($res);

switch ($classy[0]) {

case 8: // SYS:

$col = "#15CFCD";

break;

case 7: // ADMINISTRATORSYS:

$col = "#ff0000";

break;

case 6: // Administrator

$col = "teal";

break;

case 5: // Super Moderator

$col = "#3300CC";

break;

case 4: // Moderator

$col = "#006600";

break;

case 3: // VIP

$col = "#FFFF00";

break;

case 2: // Uploader

$col = "#33FF33";

break;

default: // User

$name = $name;

}

if ($classy[1]>0){

$star="<img src='".$site_config["SITEURL"]."/images/star.gif' alt='donated' border='0' />";

}else{

$star="";

}

if($classy[2]=="yes"){

$warn="<img src='".$site_config["SITEURL"]."/images/warn.gif' alt='warned' border='0' />";

}else{

$warn="";

}

return unesc("<span style='color:".$col.";'>".$name."</span>".$star."".$warn."");

}


well bro its works but only index page but not in ShoutBox and Member list nor at torrent page so do i add something more but dontknow at where pls help.
"thedarklord, post: 77004":
np m8 moved to mods completed

bro if i want to add more class like uploder , Moderator, Super Moderator, Admin so i just need to add More same commands? just name change with Uploder,Moderator,Admin etc?
"thedarklord, post: 77002":
there was a problem but it does work
find

print("<tr><td align='left'><b>" .T_("INFO_HASH"). ":</b></td><td>" . $row["info_hash"] . "</td></tr>\n");

print("");
add after




$q = SQL_Query_exec("SELECT `class` FROM `users` WHERE `id` = '".$row['owner']."'");

 $r = mysql_fetch_assoc($q);

 

 # VIP Class By Default...

 $vip = null;

 if ( $r['class'] == 3 )

 {

 $vip = '<img src="/images/star.png" title="VIP" />';

 }





this was missing the ; at the end of the image so gave a syntax error



then



find





print("<tr><td align='left'><b>" .T_("ADDED_BY"). ":</b></td><td><a href='account-details.php?id=" . $row["owner"] . "'>" . $row["username"] . "</a></td></tr>");





replace with





print("<tr><td align='left'><b>" .T_("ADDED_BY"). ":</b></td><td><a href='account-details.php?id=" . $row["owner"] . "'>" . $row["username"] . " $vip</a></td></tr>");



screen



Thank you my friend its works perfect Now  :)  i really appreciate ur help, so kind of you.

Regards
"SJC2TK, post: 76998":
have you added an image to your image folder  ?

yes i add both images in images folder star.gif & Vip.gif
"XIII, post: 76995":
Im not angry i just find it frustrating when members, dont use search or cant perform a simple task... in torrent-details.php search for this


<a href='account-details.php?id=" . $row["owner"] . "'>" . $row["username"] . "</a>
replace to




<a href='account-details.php?id=" . $row["owner"] . "'>" . $row["username"] . " $vip</a>



put my code above it? or is that too hard lol

well Thanks you very much for your time as u told i put those lines but VIP image.gif still not show at torrent page but anyways thanks for you time and help, i will ask u help again when i will join premier otherwise Thanks you very much.
"XIII, post: 76993":
How hard is it to use search? then say well ok thats the line hes referencing and compare it to what i changed? people assme to copy and paste you need to know PHP and you dont... PHP is like tying your shoe laces

ROFL    :)  i search 40 pages of forum from past 4 days n didnt find anything related to my topic, if thair is already a post and its solution pls give me link, why u angry?? as i mention in my post that we are new!!!!!
"XIII, post: 76989":
	print("<tr><td align='left'><b>" .T_("ADDED_BY"). ":</b></td><td><a href='account-details.php?id=" . $row["owner"] . "'>" . $row["username"] . "</a></td></tr>");
to...




	print("<tr><td align='left'><b>" .T_("ADDED_BY"). ":</b></td><td><a href='account-details.php?id=" . $row["owner"] . "'>" . $row["username"] . " $vip</a></td></tr>");



It may not work for you depending what version you are using but you will get the jist of it...

iam using 2.07 version but its not working i tried to do but still fail
"XIII, post: 76979":
For vip on torrents-details.php


  $q = mysql_query("SELECT `class` FROM `users` WHERE `id` = '".$row['owner']."'");

 $r = mysql_fetch_assoc($q);

 

 # VIP Class By Default...

 $vip = null;

 if ( $r['class'] == 3 )

 {

 $vip = '<img src="PATH/TO/IMAGE" title="VIP" />'

 }


u need to echo $vip; next to the username of the uploader...

ok but after which lines we add this in torrents-details.php
"ArcticWolf, post: 76972":
just use the mod here [url="http://www.torrenttrader.org/index.php?showtopic=12259&hl="]http://www.torrenttrader.org/index.php?sho...c=12259&hl=[/url] you can add custom stuff to it for other icons then just following the instructions in the mod to add it places you want.  I use it on my site, well an modified version but its not hard to do.

dude we are new so no idea, can u pls give me all Mods  from function.php & torrents.php that how u add icons so i just change thair name according to my site icons and status, as i try to do the above method but fail always get parshal error so if i see ur done method it help me alot  :)

Thanks

Regards
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