• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

[ozzy47] Post Body Background For Specific Users

Admin

Well-Known Member
Staff member
Administrator
Hi all !!

Here is a small modification you can do to have a different background in posts, set to specific users, in postbit legacy.

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:
/* Specific Users Post Background */
.postbitlegacy .postbody_specific_user, .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;
} 
/* Specific Users Post Background */
Then click on Save.

Load your background image that you want to use to your images folder. I used the one attached to test on my local machine:

Make sure the proper image name is put in the above code, background: url(images/chain_gradient.jpg);

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">
And replace it with this code:
Code:
        <vb:if condition="in_array($post['userid'], array([COLOR=Red]X[/COLOR],[COLOR=Red]X[/COLOR],[COLOR=Red]X[/COLOR]))">
            <div class="postbody_specific_user">
        <vb:else />
            <div class="postbody">
        </vb:if>
Replacing the X with the userid's you want to have the different background. You can add as many users 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.
 

Facebook Comments

Similar threads
Thread starter Title Forum Replies Date
Admin [ozzy47] Post New Thread Button In Posts Add-ons 1
Admin [ozzy47] Social Media Icon Links In NavBar Add-ons 0
Admin [ozzy47] Extra Mod Options In Member Action Dropdown Add-ons 0
Admin [ozzy47] Default Profile Tab Add-ons 0
Admin [ozzy47] Extended Search Links In Navbar Add-ons 1
Admin [ozzy47] Ignore User In Postbit Dropdown Menu Add-ons 1
Admin [ozzy47] Usergroups Excluded From Character Limits Vbb tutorial 1
Admin [ozzy47] Postbit Background For Specific Users Vbb tutorial 0
Admin [ozzy47] VSa - ChatBox Show Active Users Addon Vbb tutorial 0
Admin [ozzy47] Separate Sticky Threads Add-ons 0
Admin [ozzy47] Site Links Block In WGO Add-ons 0
Admin [ozzy47] Homeland Security Terror Alert Widget Vbb tutorial 0
Admin [ozzy47] Homeland Security Terror Alert Sideblock Vbb tutorial 0
Admin [ozzy47] Affiliate/Partner Block In WGO Add-ons 0
Admin [ozzy47] Attachment Stats in WGO Add-ons 0
Admin Giữ nguyên giá trị khi gửi form php - keep form values after post php PHP 0
Admin Not Your Average Adblock Detecting Mod (hide images in post) Add-ons 0
Admin [OzzModz] Post Number BBCode Xenforo 0
Admin Yilmaz - Post New Thread Button To Showthread vB5 Add-ons 0
Admin [OzzModz] Link To Moderator That Last Edited The Post Xenforo 0
Admin Yilmaz - [hide] Hack incl post Like (Compatible 5.6.x) Add-ons 0
Admin [OzzModz] Move Edit Post Before Report Xenforo 0
Admin German translation for [OzzModz] Email Staff When New Post/Thread In Mod Queue Xenforo 0
Admin Post Flood Permissions xenforo 2 Xenforo 0
Admin [thread] and [post] BBCode xenforo 2 Xenforo 0
khanhsak3r Hỏi Căn lề 2 bên khi post bài trên johncms Johncms 0
Admin [XenMax] - Limit Post Link 2.0.0 Xenforo 0
cuongpro9x Help Lỗi Link khi custom post type Wordpress 1
Lee_Jin Share filelist post bằng 2 file tránh timeout Wap builder, wapego, xtgem, wen.ru, wapka, wap4 2
P Hỏi PHP Post ID cần thêm chức năng limit time PHP 2
K Hỏi Curl Cách Post nội dung PHP 4
Admin Display Postid (post count) Vbb tutorial 0
Admin Post Quote Length Limit (vB5) Vbb tutorial 0
Admin Advanced Report Post Management System Add-ons 0
Admin Can't download other attachments Before x post Add-ons 0
Admin [OzzModz] Hide Quote Buttons In Last Post Add-ons 0
Admin [OzzModz] First Post On All Pages Per Thread/Forum Add-ons 0
Admin [OzzModz] Welcome Thread / Post For New Users Add-ons 0
Admin Hướng dẫn thu gọn ajax post thank you hack Vbb tutorial 0
Admin [OzzModz] Minimum Post Count To Post Blogs Add-ons 0
Admin [OzzModz] Post Icons Per Row Add-ons 0
Admin Different Post Body Background For Admin And Mods Vbb tutorial 0
D Share Hướng dẫn tạo cấu trúc php sửdụng hàm GET hoặc POST All Shared Scripts 0
T Tổng hợp truyện cười post me hàinhất ola 18-8-2013 Truyện cười 0
Admin vt.Lai Block Bad Word 1.1 | Mod chặn post từ xấu cho Xenforo Xenforo 3
Admin Share code leech và post bài cho blogger Mã nguồn web 1
Admin vt.Lai Block Bad Word 1.0 | Mod chặn post từ xấu cho Xenforo Xenforo 0
Admin Ignored User Post Better Layout Vbulletin 0
Admin Post areas for vbb - thống kê số bài viết trong profile Add-ons 0
Admin Xtra dupecheck - Plugin không cho post 2 bài có tiêu đề giống nhau Wordpress 0

Similar threads

New posts New threads New resources

Back
Top