Hi all !!
Here is a small modification you can do to have a different background in posts, set to users in your Admin and moderator groups, in postbit legacy.
Meaning, you can have a background in the posts for your admins, and a different one for your mods.
First lets add the css.
Styles & Templates --> Style Manager --> Choose which style you want to work with, then choose Edit Templates,scroll down till you see CSS Templates, double click on that, then double click on additional.css
It that template add the following at the end:
Then click on Save.
Load your background images that you want to use to your images folder. I used the one attached to test on my local machine.
You need to load two images, one for your Admins, and one for your Moderators
Make sure the proper image name is put in the above code, background: url(images/chain_gradient.jpg);
There is two instances of this in the above code, the first one is what the images is for your admins, the second is what the images is for your moderators.
Now for the template edit. In the same style search for Postbit Templates, double click on that and then find postbit_legacy, and double click on that.
In that template find the following bit of code:
And replace it with this code:
Replacing the X with the group id's of your admin groups, and the X with the group id's of your moderator groups. You can add as many group id's as you want, just as long as you separate each userid with a comma ,
Then click on Save.
I don't have any screenshots at the moment, I'll try to get some. Or if some of you use this mod, please share a screenshot of what you have done.
Here is a small modification you can do to have a different background in posts, set to users in your Admin and moderator groups, in postbit legacy.
Meaning, you can have a background in the posts for your admins, and a different one for your mods.
First lets add the css.
Styles & Templates --> Style Manager --> Choose which style you want to work with, then choose Edit Templates,scroll down till you see CSS Templates, double click on that, then double click on additional.css
It that template add the following at the end:
Code:
/* Mod/Admin Post Background */
//For Admins
.postbitlegacy .postbody_admin, .eventbit .eventdetails .eventbody
{
margin-{vb:stylevar left}: {vb:stylevar postbitlegacy_userinfo_width};
border-{vb:stylevar left}: {vb:stylevar postbit_userinfo_border};
background: url(images/[COLOR=Red]chain_gradient.jpg[/COLOR]); repeat;
padding-bottom: 1em;
}
//For Mods
.postbitlegacy .postbody_mods, .eventbit .eventdetails .eventbody
{
margin-{vb:stylevar left}: {vb:stylevar postbitlegacy_userinfo_width};
border-{vb:stylevar left}: {vb:stylevar postbit_userinfo_border};
background: url(images/[COLOR=Red]chain_gradient.jpg[/COLOR]); repeat;
padding-bottom: 1em;
}
/* Mod/Admin Post Background */
Load your background images that you want to use to your images folder. I used the one attached to test on my local machine.
You need to load two images, one for your Admins, and one for your Moderators
Make sure the proper image name is put in the above code, background: url(images/chain_gradient.jpg);
There is two instances of this in the above code, the first one is what the images is for your admins, the second is what the images is for your moderators.
Now for the template edit. In the same style search for Postbit Templates, double click on that and then find postbit_legacy, and double click on that.
In that template find the following bit of code:
Code:
<div class="postbody">
Code:
<!-- ADMIN GROUPS -->
<vb:if condition="is_member_of($post, [COLOR=Red]X[/COLOR])">
<div class="postbody_admin">
<!-- MODERATOR GROUPS -->
<vb:elseif condition="is_member_of($post,[COLOR=Red] [COLOR=Blue]X[/COLOR][/COLOR],)" />
<div class="postbody_mods">
<vb:else />
<div class="postbody">
</vb:if>
Then click on Save.
I don't have any screenshots at the moment, I'll try to get some. Or if some of you use this mod, please share a screenshot of what you have done.