![]() |
Custom Profile Field for Username HTML Mark Up
Anyone got an idea for how I could use a custom profile field to override the HTML mark-up of the username? I tried wrapping it with a div with an !important; but that didn't work. :p
Obviously we could use {vb:raw username} instead of {vb:raw musername} and do several conditionals for each usergroup etc. and then ones for the custom profile fields, but thats just too much. :D Edit: Just realised I was a little unclear. I want to use several conditionals referencing a custom profile field so users can select the colour of their username. |
Someone else was doing that same thing not too long ago. They were using a plugin on hook fetch_musername to override the markup.
Edit: here's one of the threads: www.vbulletin.org/forum/showthread.php?t=285209. It's for vb3 but I think it's the same for vb4. It's a little complicated because he was trying to cache the markups, but you don't really need to do that. |
All times are GMT. The time now is 05:41 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:
|