The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Alternating Post Background Color
One person posts, then the background color of the post of the first person to reply is slightly darker or lighter, then it switches back to the original shade on the next reply, and so on and so on. VB 4.2.2
How do I implement this feature? |
#2
|
||||
|
||||
A quick and dirty method would be to go to your postbit template (whichever you are using), and locate the line:
HTML Code:
<div class="postbody">
HTML Code:
<div class="postbody" style="background: <vb:if condition="$post['postcount'] & 1">#FFDDDD<vb:else />#DDFFDD</vb:if>">
|
#3
|
||||
|
||||
Thank you
|
#4
|
||||
|
||||
I hate hacking templates, so I have developed a simple mod that will allow you to turn the feature on/off, use HTML color pickers for the background colors, and select which styles the product is active in. Undo the edits you may have done to your postbit templates before installing.
To Install:
|
#6
|
||||
|
||||
Stolen
* Can this have a feature to select in which forums we like to take effect ? * Options to import with the "Background Color" and a background image to. in the two exist options of colors if we want ? Very nice |
#7
|
||||
|
||||
Okay, I have added a setting for active forums and a setting for active threads.
|
#9
|
||||
|
||||
I have added settings to include background images. For example, if you wish to tile the background of odd-numbered posts with an image, you would enter something like:
url(images/misc/checkerboard.png) repeat Into the setting field titled "Background Image for Odd Numbered Posts". Note that the url of the image is not enclosed with quotes. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|