![]() |
Code for this
Hi,
Im wanting to make a shoutbox, but im wanting to make the username's come with the colours aswel? If you get what i mean here's a example. Ross ~ Administrator (Colour = Red) When he talks on the shoutbox im wanting his colour to show up, How would i do this? Plus make it clickable so it takes the user to his profile? Ross |
For the color, look at the function fetch_musername in includes/function.php. Maybe you can even call that function if you're including vb files in your shoutbox code.
To link to the profile you just need to make a link to member.php?u= and add the userid on the end. |
If every entry calls fetch_musername, this would not be very good.
You can also read the beginning and the ending of the userstyle from the forum cache. You "send" the usergroupid to this function, use the forum search. |
Quote:
|
All times are GMT. The time now is 05:29 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|