![]() |
Default color in posts
Hello,
is there any chance to change default color text in posts for usergroup? (Admin - red, moderator - green, user - black) Thanks. |
Yeah, but you'd have to modify the code a bit.
One way to do it is on postbit_display_complete, you could have something like... PHP Code:
(At least I think that would work. >.> Haven't tried it myself.) |
Ok, may I ask you where is postbit_display_complete?
|
Oh, if you load up your AdminCP, then go to "Products & Plugins", and go to "Add New Plugin," the postbit_display_complete is the "hook_location" you select. (That's the location in the vBulletin code that your plugin will execute at.)
The code, well, is that example I posted up there. Just use similar lines for whichever other usergroups you wanted. Now, with this code, they can still override the default colour with BB Codes and whatnot. :> Just letting ya know. |
Awesome, it's working.
Thanks so much!!! |
All times are GMT. The time now is 08:06 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:
|