![]() |
colors staff on 'users browsing this forum' on forumdisplay.php
Hi,
I'd like staff names to be red (admin) and green (mods/sup-mods) on this: (Users Browsing this Forum: (44 members) Ed Clark, pegas77, Herb, BillK, Meik Thiemann, Kieron, David Biggs, David Wright Lo67, Jamnut*, tenmantaylor, Bmod, Peter O'Connor, WilliamsBMW3, Mark Levoe, TheoF....... which shows under the mod list here: http://forum.racesimcentral.com/foru...?s=&forumid=36 I have coloured the names inside the postbit and on who's online, I'd like them to be on there or (if possible) everywhere on the whole board??? |
in forumdisplay.php
find: PHP Code:
PHP Code:
|
Thank you. :) I had to modify it to this to exist with current hacks (plus I added bold tags), but it only shows the mods as green, doesn't show the admins (namely me when I was viewing it) as red. So any idea how to get the red functioning? I have an understanding of PHP but don't know how to write my own - but I can't see anything wrong as it's logically the same as the one underneath (the mod-sup.mod line).
|
Code:
if ($showforumusers) { |
i don't see a bug in this code
are you sure your adminusergroup is 6? |
I'm guessing that it's something to do with admin invisibility??
Yeah it's the default 5, 6, 7. |
no it has to do with yourself: the code of showing yourself at the browsing list is another part of code:
below the code above, find this: PHP Code:
PHP Code:
|
Nearly there! :D
I am red, so are the mods. Other admins are normal... Any further clues for the dunce of php we all call Tim Wheatley? :D |
The mods are green I mean. :)
|
*bump* This still isn't working. :)
|
installed this hack and got a error, so i uploaded the old forumdisplay.php file and now im getting this error
Parse error: parse error, unexpected $ in /home/virtual/site61/fst/var/www/html/forums/forumdisplay.php on line 640 any help pls? this is the error i get with it installed Parse error: parse error, unexpected $ in /home/virtual/site61/fst/var/www/html/forums/forumdisplay.php on line 590 |
posting the codelines which produce the errors would help ^^
|
The only thing working is that admins show red to themselves, they don't show red to others or mods down't show as green. :(
|
so how would you do the same for RC4 as the forumdisplay.php looks different ? in RC4.......
i tried hard and looked at the code but didnt want to chance editing it so how could i add staff colours in RC4? thankyou |
This was for vB2 and is over 2 years old, vBulletin 3 already does this by default... with HTML markup
|
how do i do that please m8 ?
|
try
AdminCP > Usergroups > Usergroup MAnager > Edit a usergroup, edit the HTML markup box. |
Username HTML Markup
(Specify an opening and closing HTML tag with which to display the names of users in this group. This applies to names that appear on Logged-in Users, Who's Online, Users Browsing Forum, Users Browsing Thread, Posts, Member List etc.) yeah i see it and it has 2 boxes to the side of it which are empty so what goes in the boxes ? |
first box (stuff before the name) second box, stuff after the name
box1 name box2 <b><i> name </i></b> |
lol :) im still lost ? so staff colours yeah admin=red , super = orange , mod = green
so in first box what would i put ? = 2nd box what would i put ? aplogies for annoying you with simple explanations |
all sorted.......................................
thankyou for your assistance m8 :) appreciated |
All times are GMT. The time now is 06:09 AM. |
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:
|