Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Yuna Scatari Edition (YSE)
Reply
  #1  
Old 31st January 2010, 00:26
kowalsky kowalsky is offline
Senior Member
 
Join Date: Jan 2010
P2P
Posts: 16
Default shoutbox
Does anyone know how to make torrents names and username appearing in the shoutbox ?
:shock:
Reply With Quote
  #2  
Old 31st January 2010, 15:43
mat22 mat22 is offline
Senior Member
 
Join Date: Jun 2009
Latvia
Posts: 119
Default
About torrents i don't know but for usernames you have to edit shoutbox.php and set user class numbers in correct order. When you finish editing it must look something like this:

Code:
if ($rowowner["class"] == "7")
$usercolor= "<font color=darkred>" .htmlspecialchars($rowowner["username"]). "</font>";
elseif ($rowowner["class"] == "6")
$usercolor= "<font color=purple>" .htmlspecialchars($rowowner["username"]). "</font>";
elseif ($rowowner["class"] == "5")
$usercolor= "<font color=green>" .htmlspecialchars($rowowner["username"]). "</font>";
elseif ($rowowner["class"] == "4")
$usercolor= "<font color=red>" .htmlspecialchars($rowowner["username"]). "</font>";
elseif ($rowowner["class"] == "3")
$usercolor= "<font color=blue>" .htmlspecialchars($rowowner["username"]). "</font>";
elseif ($rowowner["class"] == "1")
$usercolor= "<font color=#D21E36>" .htmlspecialchars($rowowner["username"]). "</font>";
elseif ($rowowner["class"] == "0")
$usercolor= "<font color=#000000>" .htmlspecialchars($rowowner["username"]). "</font>";
elseif ($rowowner["class"] == "2")
$usercolor= "<font color=orange>" .htmlspecialchars($rowowner["username"]). "</font>";
Of course you will have other colors and class numbers!:D
Reply With Quote
  #3  
Old 6th January 2012, 20:58
M_Mayers M_Mayers is offline
Member
 
Join Date: Jul 2011
Macedonia
Posts: 2
Unhappy
Quote:
Originally Posted by kowalsky View Post
Does anyone know how to make torrents names appearing in the shoutbox ?
:shock:

Has anyone found solution for this ?

Last edited by M_Mayers; 6th January 2012 at 22:01.
Reply With Quote
Reply

Tags
shoutbox

Thread Tools

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need a shoutbox on ySE pre 6 evaldas40 Yuna Scatari Edition (YSE) 1 2nd November 2009 01:44
Shoutbox.php makaka123 Yuna Scatari Edition (YSE) 0 25th July 2009 18:32
E/D Shoutbox Verix Template Shares 0 22nd May 2009 04:40
Mod shoutbox Edgein Mods & Themes 2 3rd March 2009 20:46
Shoutbox ReNeJcEk Torrent Strike 8 16th July 2008 22:51



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