![]() |
Extra Team Avatar
I am after a special extra team avatar for moderators, supermoderators and administrators, I think I have some rightish looking code but I am not sure where to put it:
Code:
unset($teamlogo); |
waddy are you looking for it on the postbit or where exactly do you want it to appear? regards...
g-force2k2 |
Sorry, I want an extra avatar to appear under the current avatar, but only for moderators, supermoderators and administrators.
I had a look thru postbits, but was unsure as to whether I could put php in there, pretty sure I can't so have come to the un-experienced conclusion I need to write a function. |
Might add this avatar won't be customizable, but a single image for all or even a sperate one for mods, supermods and admins etc.
Thanks! |
just add this coding to the admin/functions.php
find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
g-force2k2 |
I think that might be it, will check it out shortly!
|
ok I added that code and it works, but it shows for all users irrespective of whether they are in those particular groups!
|
oh waddy my bad ;) just change all of the instances of $bbuserinfo to $post... that should solve the problem ;) regards...
g-force2k2 |
Thanks...
*rushes off to try it* |
Awesome, thanks alot :)
Once the server is working again you can see it in action, having some teething problems with our new server atm :) |
All times are GMT. The time now is 03:46 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:
|