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
How to add a icon
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2 Only Mods Complete

Unknown User
2011-11-23 16:36:45
Hellow thair; first thanks you very much for gr8 script, i need little help as i didnt find about that so thats why i post here, i want to know that is it possible to add icons/budge near member name on torrent page and also want to know that how i put little gif image on Vip Members so it show on his torrent uploded page, comments and members account page pls help me to make little more fun for members

Thanks

Regards

Blaz
Unknown User
2011-11-23 16:43:24
yes each page has queries some u may need to add more queries to get what u need, but say on account details.php you could do this....

if ($user["donated"] > 0) 

print('<img src="images/star.png" alt="" title=""/>');





on pages where its about them self like login block use





if ($CURUSER["donated"] > 0)

  print('<img src="images/star.png" alt="" title=""/>');
Unknown User
2011-11-23 16:57:58
"XIII, post: 76872":
yes each page has queries some u may need to add more queries to get what u need, but say on account details.php you could do this....


if ($user["donated"] > 0) 

print('<img src="images/star.png" alt="" title=""/>');
on pages where its about them self like login block use




if ($CURUSER["donated"] > 0)

  print('<img src="images/star.png" alt="" title=""/>');




Thanks for quick reply let me try this and if works i post here again Thanks for help
Unknown User
2011-11-24 14:54:58
hello sir, can you please Explain that Where we need to put these Codes???   :)   please please please
Unknown User
2011-11-24 16:39:11
maybe in account details.php.... but again would take reading :)
Unknown User
2011-11-24 17:53:46
"ArcticWolf, post: 76915":
maybe in account details.php.... but again would take reading  :)

thank you sir, thanks for reply..... going for try  ;)
Unknown User
2011-11-25 06:59:41
sir sorry i can't use it  ;)

so please can you tell me where i need to put these code in account-details.php...  ;)

{i hope this is my last question about this topic  :)  }

thanks in advance  :)
Unknown User
2011-11-25 07:52:15
What did you try?
Unknown User
2011-11-25 08:22:18
i find this easier to use [url="http://www.torrenttrader.org/index.php?showtopic=12259&hl="]http://www.torrenttrader.org/index.php?sho...c=12259&hl=[/url] then u can practically add to it anywhere a user name is shown on the site
Unknown User
2011-11-27 09:42:18
"XIII, post: 76872":
yes each page has queries some u may need to add more queries to get what u need, but say on account details.php you could do this....


if ($user["donated"] > 0) 

print('<img src="images/star.png" alt="" title=""/>');
on pages where its about them self like login block use




if ($CURUSER["donated"] > 0)

  print('<img src="images/star.png" alt="" title=""/>');



i try these and it works but the problem is that its only works at Members list,users torrent page where a list of user torrent visible but i need something change which is in pic look at pic

[url="http://www.pix2links.com/?v=TLGb.jpg"]http://www.pix2links.com/?v=TLGb.jpg[/url]

so i want to make a option for staff to make vip so it show at torrent page and comment section a little vip image.gif and also want to make a option for budge so if staff want to gave that budge to any member it will show at torrent page but not at comment section so can you pls help me how to do this??

Thanks

Regards

Blaz
Unknown User
2011-11-27 21:31:55
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.
Unknown User
2011-11-28 05:03:00
"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
Unknown User
2011-11-28 06:58:58
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...
Unknown User
2011-11-28 09:50:58
"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
Unknown User
2011-11-28 09:57:56
	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...
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: 3
  • Members: 0
  • Guests online: 3
  • Comments: 3
  • Messages: 1,728