The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hello,
is there any chance to change default color text in posts for usergroup? (Admin - red, moderator - green, user - black) Thanks. |
#2
|
||||
|
||||
![]()
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.) |
#3
|
|||
|
|||
![]()
Ok, may I ask you where is postbit_display_complete?
|
#4
|
||||
|
||||
![]()
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. |
#5
|
|||
|
|||
![]()
Awesome, it's working.
Thanks so much!!! |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|