Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Postbit Legacy - Usergroup Backgrounds Details »
Postbit Legacy - Usergroup Backgrounds
Mod Version: 1.00, by Fastbird (Member) Fastbird is offline
Developer Last Online: Jan 2012 I like it Show Printable Version Email this Page

vB Version: 3.8.4 Rating: (8 votes - 4.75 average) Installs: 80
Released: 01 Feb 2009 Last Update: Never Downloads: 32
Not Supported Template Edits Re-usable Code  

Hello! This is my first submission. I run LTXTech.com, I go by phantomzer0 over there, and I wanted this hack for a long time. I decided to write it on my own and the outcome was perfect. I know enough to get the job done, so if there is a more efficient way to produce this, by all means post it up!

Here is what this hack will do for you:

Demo Link:

http://ltxtech.com/forums/showthread.php?t=2865

Now, you can make any usergroups use these backgrounds. You will have to design your own, of course, but you can assign them however you would like. In the case of my forum, we have them set-up for administrators. You could make a separate image for staff members, reg users, banned users, whatever you need. You can also duplicate it and assign different images for different colored styles. I'll show you how below.

Here's how to do it:
-- Navigate to your Admin CP. Once there go to Styles and Templates, then to Style Manager, and then click the "Go" button once you have decided which template you would like to install this on.

-- Scroll all the way to the bottom and look for the "Additional CSS Definitions" Box. I like to use the second box for all of my custom CSS, but you can surely use either one. Copy this and paste it into the box.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Now, the border colors will need to be the same as the colors on your forum. These are the borders I'm talking about:



You will need to figure out the color code of your borders and assign the same color to the CSS code. You can adjust the size of the border by increasing or decreasing the "1px" numbers. 3px would obviously increase the size of the border to 3 pixels. You can also rename the CSS ".postbit" to something else, but if you do make sure you take note of that.

-- Now we will assign the background to the actual postbit. To do so, you need to navigate to Styles and Templates, then click on the "<< >>" button on the style you want to edit.

-- Scroll down the list and find "Postbit Templates"



-- Double click on "Postbit Legacy", as seen in the picture above.

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace With:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The red # symbol is for you to put a usergroup id # in. In my case, the admin group on my forum is 6, so instead of a # sign, there is a 6 there. You can assign multiple usergroups to use the same image, if you want. You can use the same code above for different forum styles, you just need to change the "td class="postbit"" to whatever the CSS is for the different style.

Example, my forum has a light and dark skin. The dark skin's CSS is "postbit" and the CSS for the light skin is "postbit2". On the Dark skin, I use the code above and for the light skin it's the exact same, only I have changed the td class to postbit2.

The only thing left to do is design a background image. Once you have that, you can upload it and point your CSS url to the image on your server.I'm fairly sure I have included all the steps to accomplish this, if I missed one, please point it out! Good luck and thanks for looking!

Update:

If you would like to assign multiple background images to multiple usergroups, see this post. User down.low explains very well how to achieve this result! Thanks DL!

http://www.vbulletin.org/forum/showp...8&postcount=52

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Show Thread Enhancements Email to Friend, Print Version, Subscribe Thread in Postbit/Postbit Legacy Neutral Singh vBulletin 3.8 Template Modifications 29 03 Sep 2009 09:53

Comments
  #2  
Old 01 Feb 2009, 20:21
adhmwagde's Avatar
adhmwagde adhmwagde is offline
 
Join Date: Sep 2006
Real name: Sameh
thanks .. but in Postbit Legacy i have problem to replace

The following error occurred when attempting to evaluate this template:

Parse error: parse error in c:\appserv\www\vb\includes\adminfunctions_template.php(3929) : eval()'d code on line 28

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
Reply With Quote
  #3  
Old 01 Feb 2009, 20:25
Fastbird's Avatar
Fastbird Fastbird is offline
 
Join Date: Aug 2005
What version of vbulletin are you running? I installed this first on 3.7.2 and it's been working fine since. Make sure you get the </if> tag on the end of the statement too.
__________________
http://ltxtech.com - The largest forum dedicated to all LTX powered vehicles - join today!
Reply With Quote
  #4  
Old 01 Feb 2009, 20:30
Forum Lover Forum Lover is offline
 
Join Date: Jun 2007
Real name: aupurbo
Is it possible to change the posting+signature area too? How? Looks great so far. Tagged.
Reply With Quote
  #5  
Old 01 Feb 2009, 20:40
Fastbird's Avatar
Fastbird Fastbird is offline
 
Join Date: Aug 2005
Yeah, I would imagine so. You would have to find the sections in the postbit legacy template, but the hack would be the same idea. You would just style the CSS differently for the main body of the post, at least that's what I would imagine.
__________________
http://ltxtech.com - The largest forum dedicated to all LTX powered vehicles - join today!
Reply With Quote
  #6  
Old 01 Feb 2009, 20:44
Forum Lover Forum Lover is offline
 
Join Date: Jun 2007
Real name: aupurbo
Please give us a try for us, non-coder is here.
Reply With Quote
  #7  
Old 01 Feb 2009, 20:47
Fastbird's Avatar
Fastbird Fastbird is offline
 
Join Date: Aug 2005
Originally Posted by Forum Lover View Post
Please give us a try for us, non-coder is here.
I won't be able to get to it tonight, but I can give it a shot tomorrow for you. Shouldn't be too hard.
__________________
http://ltxtech.com - The largest forum dedicated to all LTX powered vehicles - join today!
Reply With Quote
  #8  
Old 02 Feb 2009, 22:26
Fastbird's Avatar
Fastbird Fastbird is offline
 
Join Date: Aug 2005
So after 7 installs I guess everything is working ok for you guys? Sweet! Post some links so I can see what you guys have done with it!
__________________
http://ltxtech.com - The largest forum dedicated to all LTX powered vehicles - join today!
Reply With Quote
  #9  
Old 04 Feb 2009, 16:37
relaxiha relaxiha is offline
 
Join Date: Jan 2009
Parse error: syntax error, unexpected '<' in /home/********/public_html/forum/includes/adminfunctions_template.php(3938) : eval()'d code on line 28
Reply With Quote
  #10  
Old 05 Feb 2009, 00:56
Fastbird's Avatar
Fastbird Fastbird is offline
 
Join Date: Aug 2005
Originally Posted by relaxiha View Post
Parse error: syntax error, unexpected '<' in /home/********/public_html/forum/includes/adminfunctions_template.php(3938) : eval()'d code on line 28
Post up line 28 and I can help you. Seems this is the second time this error has occured. My postbit template was already modified previously, so if you can post up your postbit_legacy code in a text file or just post up a few lines around 28, I can try to figure out the problem.
__________________
http://ltxtech.com - The largest forum dedicated to all LTX powered vehicles - join today!

Last edited by Fastbird; 05 Feb 2009 at 01:05.
Reply With Quote
  #11  
Old 07 Feb 2009, 18:56
emsplanet emsplanet is offline
 
Join Date: Jan 2009
u talking about which bg?
<--- This one?
Reply With Quote
  #12  
Old 09 Feb 2009, 17:55
Saint Dean's Avatar
Saint Dean Saint Dean is offline
 
Join Date: Oct 2008
Real name: Dean
Hey fastbird did you knock up one for the signature area.

I thought of finding something like this for donators. Because we dont use postbit legacy this wont work. I was thinking of adding something similiar to the signature area.

Think you could help me with this?
Reply With Quote
  #13  
Old 10 Feb 2009, 18:45
eTiKeT™'s Avatar
eTiKeT™ eTiKeT™ is offline
 
Join Date: Aug 2008
Real name: Serhat
Thanks İnstalled
Reply With Quote
  #14  
Old 10 Feb 2009, 19:54
Armageddonz Armageddonz is offline
 
Join Date: Sep 2008
Real name: Leon Nortwizki
I don't quite get it though.
Do you mean backgrounds for the various usergroups?
Reply With Quote
  #15  
Old 10 Feb 2009, 20:17
Theater's Avatar
Theater Theater is offline
 
Join Date: Aug 2004
Thumbs up Thanks.

Worked perfect first try on 3.8.1. Thank you.



Although I'm not really a graphics guru. I much rather have a background image similar to yours, but with film instead lining the borders as if there was an explosion in the back and that part of the reel leaked in.

Originally Posted by Armageddonz View Post
I don't quite get it though.
Do you mean backgrounds for the various usergroups?
Yes, this allows you to specify one or more usergroup IDs that will share a postbit background that perhaps other usergroups (such as registered) don't have. I set mine up for usergroup IDs 5 and 6 for the film reel background you see above.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 03:45.

Layout Options | Width: Wide Color: