![]() |
|
Thread Tools |
#1
|
||||
|
||||
Custom username colour based on profile field
Hi all,
I have searched long and hard on here but cannot find the answer to my question. I want to create a plugin on the fetch_musername hook which changes the username colour if my VIP usergroup have set the option for it. VIP usergroup ID: 10 Profile field Id: 5 Profile field is limited to 7 characters which is the hex code and the hash. If a custom colour is selected, this should be shown globally across the forum and not just on the users posts. This should cover staff page, profiles, etc. Many thanks Rob
__________________
Many Thanks, Robbie P. No members have liked this post.
|
#2
|
||||
|
||||
I cant relly play around with the plugins right now, but an idea of what you'll want to replace username with change both instances of USERNAME to the username variable, and give this a try in postbit template.
__________________
If you need custom work done please use Dirt RIF CustUmz Owner of vBTeam vBulletin 3.8.13 DRC Edition PHP 7.4 Compatible- NOT a null, NOT complete files Requires a legit copy of vBulletin 3.8.11. No members have liked this post.
|
![]() |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Add User to Primary Usergroup Based on Value of Custom Profile Field | amykhar | vBulletin 3.5 Add-ons | 129 | 22 Dec 2013 17:06 |
Add User to Secondary Usergroup Based on the Value of a Custom Profile Field at Reg. | amykhar | vBulletin 3.5 Add-ons | 133 | 01 Jan 2013 15:06 |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 11:28.