Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Template Shares > Mods & Themes
Reply
  #11  
Old 25th November 2010, 00:33
smoky28's Avatar
smoky28 smoky28 is offline
Senior Member
 
Join Date: Aug 2010
Hungary
Posts: 82
Thumbs up
Quote:
Originally Posted by Marco View Post
how could make when i clicking on jobbra.jpg to show the desired username class color too ?


nice job :)
PHP Code:
$username htmlspecialchars_uni ($shout_row['username']);
$valasz "<a href='javascript:window.top.SmileIT(\" [b][color=#663399]$username:>>[/color][/b]\",\"shoutbox\",\"shoutbox\")'<img height=10px style=border:none alt=válasz title=válasz src=$BASEURL/$pic_base_url/nyil.gif></a>"
Color/username
Reply With Quote
  #12  
Old 25th November 2010, 08:49
mmisu120000's Avatar
mmisu120000 mmisu120000 is offline
Senior Member
 
Join Date: Jun 2009
P2P
Posts: 202
Thumbs down
Quote:
Originally Posted by smoky28 View Post
PHP Code:
$username htmlspecialchars_uni ($shout_row['username']);
$valasz "<a href='javascript:window.top.SmileIT(\" [b][color=#663399]$username:>>[/color][/b]\",\"shoutbox\",\"shoutbox\")'<img height=10px style=border:none alt=válasz title=válasz src=$BASEURL/$pic_base_url/nyil.gif></a>"
Color/username
The guy said username class color ... It means if the user is an admin it will be showed in admin's colour, etc....

You just added a color, but that color is for all users the same ...
__________________
"How terrible is wisdom when it holds no benefit for the wise?" - Louis Cypher
WDW Tracker - Using heavy modified TSSE
Reply With Quote
  #13  
Old 26th November 2010, 12:50
Marco Marco is offline
Senior Member
 
Join Date: Jun 2009
Seychelles
Posts: 327
Default
indeed mmisu120000 ;) i wish the user class collor what is different by class to class....

thx for help
Reply With Quote
  #14  
Old 27th November 2010, 00:02
lafouine022 lafouine022 is offline
Senior Member
 
Join Date: Feb 2010
P2P
Posts: 120
Wink
Just do a loop on the 'str' that searches the user name for user preg replace color name

it's work for me :bubble:
Attached Thumbnails
shout.png  
Reply With Quote
  #15  
Old 27th November 2010, 10:58
gabkoko's Avatar
gabkoko gabkoko is offline
Senior Member
 
Join Date: Aug 2010
P2P
Posts: 33
Default
Quote:
Originally Posted by lafouine022 View Post
Just do a loop on the 'str' that searches the user name for user preg replace color name

it's work for me :bubble:
you share it with us the source code? Pls...
Reply With Quote
  #16  
Old 3rd February 2011, 22:01
ddshow ddshow is offline
Senior Member
 
Join Date: Sep 2010
P2P
Posts: 25
Default
how to change the refresh rate of shoutbox?
Reply With Quote
  #17  
Old 4th February 2011, 10:37
gabkoko's Avatar
gabkoko gabkoko is offline
Senior Member
 
Join Date: Aug 2010
P2P
Posts: 33
Default
Quote:
Originally Posted by ddshow View Post
how to change the refresh rate of shoutbox?
shoutbox\shoutbox.js
find it:
PHP Code:
showData();setInterval("showData()",30000); 
30000ms = 30sec

change the value but do not set it too small
Reply With Quote
The Following 2 Users Say Thank You to gabkoko For This Useful Post:
aMiGo1972 (4th February 2011), PAX (3rd August 2011)
  #18  
Old 7th February 2011, 11:57
Marco Marco is offline
Senior Member
 
Join Date: Jun 2009
Seychelles
Posts: 327
Default
Quote:
Originally Posted by lafouine022 View Post
Just do a loop on the 'str' that searches the user name for user preg replace color name

it's work for me :bubble:

maybe share with us?!?


thanks a lot
Reply With Quote
  #19  
Old 8th February 2011, 01:23
lafouine022 lafouine022 is offline
Senior Member
 
Join Date: Feb 2010
P2P
Posts: 120
Default
it's just for me ^^ sorry
Reply With Quote
The Following User Says Thank You to lafouine022 For This Useful Post:
gabkoko (18th February 2011)
  #20  
Old 8th February 2011, 07:01
gabkoko's Avatar
gabkoko gabkoko is offline
Senior Member
 
Join Date: Aug 2010
P2P
Posts: 33
Default
no problem...
Reply With Quote
Reply

Tags
56 , shoutbox , tsse

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



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