Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Torrent Strike
Reply
Thread Tools
  #1  
Old 14th September 2008, 17:07
sharpe's Avatar
sharpe sharpe is offline
Senior Member
 
Join Date: Sep 2008
Posts: 52
Exclamation Warned User Pic + OnlyUp

hi all,
i've ddl TS and i must say it's super, fits my needs!
But however i need some hacks can somebody help me?

1:
I would like to replace this Click the image to open in full size. on warned User instead of their own avatar.


2:
How do i make OnlyUP's e,g dowload don't count just Upload.

Last edited by sharpe; 15th September 2008 at 16:39.
Reply With Quote
  #2  
Old 17th September 2008, 08:23
sharpe's Avatar
sharpe sharpe is offline
Senior Member
 
Join Date: Sep 2008
Posts: 52
Default
I've found it again but it was for Torrenttrader.....

http://bvlist.com/tracker-mods/961-t....html#post3974

can someone tellme ifit's possible to make it work for Torrentstrike(TBEdv)??
Reply With Quote
  #3  
Old 19th September 2008, 15:47
hack346 hack346 is offline
Banned
 
Join Date: Mar 2008
Turkey
Posts: 80
Default
If u want some like this in prints try this

Open your userdetails.php
find this lines

PHP Code:
if ($user["avatar"])
    print(
"<tr><td class=\"rowhead\">Avatar</td><td class=\"row1\" align=\"left\"><img src=\"" htmlspecialchars($user["avatar"]) . "\" alt=\"\"/></td></tr>\n");
print(
"<tr><td class=\"rowhead\">Class</td><td class=\"row1\" align=\"left\">" get_user_class_name($user["class"]) . "</td></tr>\n"); 
& replace with this:


PHP Code:
if ($user["warned"] == "yes") {
    
$warnedd "<tr><td class=\"rowhead\">Avatar</td><td class=\"row1\" align=\"left\"><img width=128 height=128 src=pic/warned_users.png border=0><br><font color=#ff0000><b>You have been warned</b></font></td></tr>\n";
    print (
"$warnedd");
} else {        
print(
"<tr><td class=\"rowhead\">Avatar</td><td class=\"row1\" align=\"left\"><img src=\"" htmlspecialchars($user["avatar"]) . "\" alt=\"\"/></td></tr>\n");
    } 
    print(
"<tr><td class=\"rowhead\">Class</td><td class=\"row1\" align=\"left\">" get_user_class_name($user["class"]) . "</td></tr>\n"); 
Attached Thumbnails
no warning.jpg   warned.jpg  
Reply With Quote
The Following User Says Thank You to hack346 For This Useful Post:
sharpe (19th September 2008)
  #4  
Old 19th September 2008, 22:57
sharpe's Avatar
sharpe sharpe is offline
Senior Member
 
Join Date: Sep 2008
Posts: 52
Default
Yes! thats almost what i was looking for
Nice!

And whats about the Avatar on the left side?

Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 19:58. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.