The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Can anyone please tell me how to change the whole background color for when administrators post on vB 4.1? I'm not talking about text background, I mean the whole entire background of the post. Thanks a lot in advanced!
|
#2
|
|||
|
|||
![]()
only way would be to code it or a custom plugin
|
#3
|
||||
|
||||
![]()
Hey There,
This is a quick & dirty fix. Add this plugin to your postbit_display_start hook: PHP Code:
Before: HTML Code:
<div class="postrow">
HTML Code:
<div class="postrow" <vb:if condition="$post['is_admin']">style="background-color: #ddd"</vb:if>> No guarantees, but that should work ![]() -Nick, SEOvB Developer |
#4
|
|||
|
|||
![]() Quote:
Code:
$this->post['is_admin'] = true; } |
#5
|
||||
|
||||
![]() Quote:
If you want to add more usergroups, you can do so by adding more to the if condition. Like: PHP Code:
-Nick, SEOvB Developer |
#6
|
|||
|
|||
![]() Quote:
|
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|