View Full Version : Postbit Background
basilrath
12-31-2010, 10:02 AM
Has anyone added an image to posts such as the transparent png in the image below ....
https://vborg.vbsupport.ru/external/2010/12/2.jpg
BirdOPrey5
12-31-2010, 03:27 PM
At one time I had an "ADMIN" watermark behind my own posts but have since taken it down... It was easy enough- edit the postbit/postbit_legacy and find the first <table> or <td> above $post[message] and just add a background image to the table via HTML.
basilrath
01-02-2011, 09:12 PM
Nice one Joe
Lynne
01-02-2011, 09:30 PM
Could probably just do it via CSS:
.postbit .postrow {background: xxxxxx;}
http://www.w3schools.com/css/css_background.asp
Nocturnal222
02-17-2011, 06:29 AM
how about per usergroup?
I cannot find the modification here anymore.
Lynne
02-17-2011, 05:16 PM
A different background based on the usergroup? I don't know of one, but that doesn't mean it doesn't exist. Try a search on "usergroup" in "all mods" "titles only" and see what comes up.
TheLastSuperman
02-17-2011, 08:29 PM
That mod does exist however it's for the userinfo background not the actual post message background per say.
You could simply add in more css definitions based on that one then within the template use something along the lines of:
<div class="<vb:if condition="is_member_of($bbuserinfo, 1,2,3)">CLASS FOR THESE GROUPS<vb:else />THE NORMAL CLASS</vb:if>">
Code Code Code
</div>
So basically your wrapping the css definition name within the class="css definition name" in a template conditional to show the background associated with that class IF the user is in one of those groups OTHERWISE it shows the normal way ;).
Edit: and Basil do us a favor and upload attachments here not on vbulletin.com then posted here as some will help however if they are not logged in to vb.com and here too at the same time then they can't see the image :p.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.