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-30 08:11:53
"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
Unknown User
2011-11-30 10:02:55
"BlazTorrents, post: 77022":
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: 63492":
Ok I have seen that users have been using the sql calls in alot of files just to collect class colors and when they have to change something it means having to go through all the different files to add new classes into it so it matches. So i made a function from the code you have all been using so it can be called from any file then theres only functions.php to change anytime u add something new.
Now all you need to do is for any "username" code for example  $row['user'] in shoutbox would now be

:)





more examples login block....






'.class_user($row['user']).'
or




".class_user($row['user'])."







depending on whether ' or " starts the echo or print

begin_block("".class_user($CURUSER[username])."");







torrenttable....





echo "<a href='account-details.php?id=$row[owner]'>".class_user($row[username])."</a>";




"SJC2TK, post: 63840":
in forums php find in /// GET NAME OF LAST POSTER ///
$username = "<a href=account-details.php?id=$userid>".($arr[username])."</a>";



change to



$username = "<a href=account-details.php?id=$userid>".class_user($arr[username])."</a>";





and same with author find in /// GET NAME OF THE AUTHOR ///



$author = "<a href=account-details.php?id=$topic_userid>".($arr[username])."</a>";



and change to



$author = "<a href=account-details.php?id=$topic_userid>".class_user($arr[username])."</a>";




just follow what cooly said in his post in the other topic
Unknown User
2011-11-30 10:14:19
@BlazTorrents Modifications are here for a reference. We are not here to assist anyone with building there trackers to there specification.
Unknown User
2011-11-30 10:54:52
"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
Unknown User
2011-11-30 11:33:36
My History

- 10-September 08 Registered at TorrentTrader

- 19-September 09 Imprisoned for 8months

- 19 May 10 Released from Prison

- 30 March 11 My 21st Birthday - Was made an offical developer

- 13 October 11 Was made a administrator

There is roughly 1 Year of PHP Knowledge, the first part i could do things at a good understanding but nothing like now. When i first started copy / paste is what i did as thats how modifications work on here, to proof i was in a newbie at one stage... you can see by this [url="http://www.torrenttrader.org/index.php?showtopic=9497"]post[/url] and many others, within 1month of being here i was able to create my first modification which people may be able to remember which was a flash arcade, but you will not find many posts where i asked for help so the information is about being a newbie is inarellivant as alot of members are more experienced then me. I said what i said because your asking questions which is acceptable by all means but then your wanting extensive help to modify all your tracker with this and i do not feel that is acceptable, it is not just you it is other members too and this will come to stop i do find a clear distinction between help and Personal help.

And lastly where i come from a dude is a camel's foreskin so dont call me that.
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