View Full Version : Backround at Postbit
saydil
04-07-2009, 08:16 PM
I have Vbulletin version 3.81.
I would like to use a backround at the postbit area(where the avatar and all the other user info exist).
How can I do that?
Thank you for your time.
BBR-APBT
04-08-2009, 01:08 AM
<a href="https://vborg.vbsupport.ru/showthread.php?t=203850&highlight=background+postbit" target="_blank">https://vborg.vbsupport.ru/showt...ground+postbit</a>
saydil
04-08-2009, 03:35 PM
Thank You so much.
saydil
04-10-2009, 08:26 PM
Thank you for the reply. But I don't want to use different background for each member group, just the same for everyone. How could I do that?
Theater
04-12-2009, 06:26 PM
Simply add all the usergroups IDs separated by a comma. You'll only have to do it once unless you add a usergroup of course.
So from a step listed in the background postbit mod (linked above):
<if condition="is_member_of($post, #)">
<td class="postbit" width="175" style="border: $stylevar[cellspacing]px solid $stylevar [tborder_bgcolor]; border-top: 0px; border-bottom: 0px id="td_post_$post[postid]">
<else />
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px"></if>So where the red # is, add in your usergroups. Default IDs:
1 = Unregisted / Not Logged In
2 = Registered
3 = Users Awaiting Email Confirmation
4 = (COPPA) Users Awaiting Moderation
5 = Super Moderator
6 = Administrators
7 = Moderators
Plus whatever custom usergroup ID you have..
So to add them all:
<if condition="is_member_of($post, 1,2,3,4,5,6,7)">
<td class="postbit" width="175" style="border: $stylevar[cellspacing]px solid $stylevar [tborder_bgcolor]; border-top: 0px; border-bottom: 0px id="td_post_$post[postid]">
<else />
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px"></if>I'm not sure if there is a PHP wildcard, but that above should work fine for you.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.