Register Members List Search Today's Posts Mark Forums Read

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

vB Version: 4.0.1 Rating: (3 votes - 4.67 average) Installs: 47
Released: 04 Dec 2009 Last Update: Never Downloads: 1
Not Supported Template Edits Code Changes Re-usable Code Translations  

Updated for vBulletin 4.0.1!!!!

Hey Everyone! I went ahead and updated my vb3.x.x mod to work with the new coding in vBulletin 4. There are a few more modifications to make than the last time, but overall, I think you will find this very easy.

To start, let's look at a screenshot of what this mod will do for you, it's the image behind the username and the posbit information. This will not do anything else but assign a special background to the specified usergroup and assign the regular styling to all other usergroups:

DEMO: http://ltxtech.com/forums/showthread...or-New-Upgrade

Now that you have decided to continue with the modification, let's begin!

Navigate to:

Style Manager --> Click on the << >> Next to the template you are editing -->CSS Templates

postbit.css


FIND:

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

ADD UNDER:

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

---> Note: The Red xxxxxx is a color number. You need to specify a background color in case you aren't using an image. Remove the /* and */ around the url code to use an image. Otherwise it will just change the color of the box. I suggest fading the image to the color of the background you choose, as shown in the picture example.

FIND:

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

ADD UNDER:

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

FIND:

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

ADD UNDER:

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

FIND:

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

ADD UNDER:

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

FIND:

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

ADD UNDER:
/*Custom Postbit Background - Userinfo Alignment*/

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

That does it for the CSS file. Now we need to do one last thing, and that's edit the posbit_legacy template.

Navigate to:

Style Manager --> Click on the << >> Next to the template you are editing -->Postbit Templates

postbit_legacy:

FIND:

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

REPLACE:

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

FIND:

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

REPLACE:

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

The RED # is the ID of the usergroup that you want to have a unique background. In my example picture, the administrators have the custom image, so the # sign is replaced in the code with a 6, because the ID for the administrator usergroup is 6. To find the ID, go to usergroup options in the AdminCP and look at the chart. The group ID should be on the same line as the usergroup name.

All right! You should now have a styled postbit legacy background image for a specific usergroup!

I can't really provide support, I'm extremely busy with work and life, but if I pop in from time to time I'll try to help. Also, please, please, please create your own background image. I do not want my image being used. If you would like to setup the modification and use my image to get it up and running, that's fine. But I am asking that you create your own after it's installed properly.

Good luck guys!

Download Now

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

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	admin_back.jpg
Views:	5434
Size:	112.3 KB
ID:	107150  

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
Miscellaneous Hacks Postbit Legacy - Usergroup Backgrounds Fastbird vBulletin 3.8 Template Modifications 129 10 Oct 2011 06:30
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

  #31  
Old 17 Jul 2010, 16:36
DeadRabbit DeadRabbit is offline
 
Join Date: Sep 2008
can i add two or more usergroup ids?
Reply With Quote
  #32  
Old 17 Jul 2010, 16:37
DeadRabbit DeadRabbit is offline
 
Join Date: Sep 2008
Originally Posted by Fastbird View Post
One usergroup is like this:

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

Two usergroups is like this:

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

You keep adding the statement over and over and then add a vb:if at the end for each additional phrase you add. Then, you must duplicate the css each time for each usergroup. So, in the example for installation, I use userinfo2 for the duplicate css codes. Each additional usergroup will have an incremental increase, so the css for the 2nd usergroup would be userinfo3, the 3rd user group would use userinfo4, and so on. Just keep duplicating each of the steps above for each usergroup.
thanks, i havent read this one. lol
Reply With Quote
  #33  
Old 26 Jul 2010, 11:05
merk_aus merk_aus is offline
 
Join Date: Feb 2008
Real name: Brendon
Is it possible to have this linked to custom user fields instead of usergroups?

eg: I want people to select their favorite sporting team and have a background of that sporting team display.
Reply With Quote
  #34  
Old 30 Jul 2010, 23:35
midnz's Avatar
midnz midnz is offline
 
Join Date: Jul 2010
Real name: Wayne
Originally Posted by Bouncer222 View Post
It's not possible to make it simpler? Because duplicating css I think shouldnt be necessary if you can somehow do that.
Originally Posted by Fastbird View Post
If there's a simpler way, I don't know it. The way I explained it is known to work, so if there is a better way, then by all means go for it. I just don't know what that way is, sorry
There is an easier way using vB 4.0.5 for adding a single image to the postbit background. I don't know if it works on postbit_legacy because I haven't tried it. I'm wanting different backgrounds per usergroup which I'm struggling to achieve despite the instructions posted on this thread

Reply With Quote
  #35  
Old 31 Jul 2010, 02:19
midnz's Avatar
midnz midnz is offline
 
Join Date: Jul 2010
Real name: Wayne
Uninstalled until clearer instructions are provided for separate bg postbit images for multiple usergroups or my knowledge increases to where my forum isn't being screwed up with each attempt.
Moving on....
Reply With Quote
  #36  
Old 03 Oct 2010, 22:47
Bouncer222 Bouncer222 is offline
 
Join Date: Oct 2009
is this still working for 4.0.7??
__________________

FRAG TOSS! Gaming Community Discussion Board!


Biggest Multi-Gaming Community in the World! www.brotherhoodofgamers.com
Reply With Quote
  #37  
Old 07 Oct 2010, 13:58
zonaenlinea's Avatar
zonaenlinea zonaenlinea is offline
 
Join Date: Dec 2009
for 4.0.7
Reply With Quote
  #38  
Old 26 Oct 2010, 20:59
Prohibit's Avatar
Prohibit Prohibit is offline
 
Join Date: Oct 2010
Originally Posted by zonaenlinea View Post
for 4.0.7
???????????????

Reply With Quote
  #39  
Old 26 Oct 2010, 21:53
Prohibit's Avatar
Prohibit Prohibit is offline
 
Join Date: Oct 2010
Well, the background is working.

But it has thrown my post bit kind of out of whack.


Okay, got it going. Thank you for the mod!
Attached Images
File Type: png prohibitpostbit.png (58.2 KB, 56 views)
File Type: jpg moderator.jpg (105.6 KB, 53 views)

Last edited by Prohibit; 27 Oct 2010 at 06:59.
Reply With Quote
  #40  
Old 30 Oct 2010, 23:43
murekhalir murekhalir is offline
 
Join Date: Oct 2006
sweeet gotta try this now.
Reply With Quote
  #41  
Old 14 Dec 2010, 23:49
Kyojii Kyojii is offline
 
Join Date: Jun 2008
the .css added messes with the center postbit addon and doesn't seem to work. Any ideas?

I added this, but it still doesn't center my Administrator title. The join date or posts.


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


Last edited by Kyojii; 14 Dec 2010 at 23:57.
Reply With Quote
  #42  
Old 17 Dec 2010, 03:21
Fastbird's Avatar
Fastbird Fastbird is offline
 
Join Date: Aug 2005
Originally Posted by Kyojii View Post
the .css added messes with the center postbit addon and doesn't seem to work. Any ideas?

I added this, but it still doesn't center my Administrator title. The join date or posts.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
I actually updated this to 4.1 a few weeks ago for our forum. I will update this hack over the weekend for you guys.

If you want to center your username and title, you need to do that in the actual postbit_legacy template.
__________________
http://ltxtech.com - The largest forum dedicated to all LTX powered vehicles - join today!
Reply With Quote
  #43  
Old 17 Dec 2010, 04:05
smirkley smirkley is offline
 
Join Date: Apr 2008
This is a nice add-on,...

It would absalutely ROCK if it could be enhanced by having a edit feature for each persons usercp so they could select their own background color/image independantly. With usergroup permission settings of course.
Reply With Quote
  #44  
Old 18 Dec 2010, 00:39
Fastbird's Avatar
Fastbird Fastbird is offline
 
Join Date: Aug 2005
Originally Posted by smirkley View Post
This is a nice add-on,...

It would absalutely ROCK if it could be enhanced by having a edit feature for each persons usercp so they could select their own background color/image independantly. With usergroup permission settings of course.
That would be quite the undertaking, but yeah would be very cool.
__________________
http://ltxtech.com - The largest forum dedicated to all LTX powered vehicles - join today!
Reply With Quote
  #45  
Old 23 Dec 2010, 06:46
Mobo Mobo is offline
 
Join Date: Jan 2004
Real name: Keith Upton
I'm trying to automate the selection of the background images based on two profile fields the users selects. I was able to do this in the 3.8 version with this code:


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

Changing the red # to the field number you want to use as well as the red Option, which is the text for that field.

I would like to be able to do this same thing on vB4 now. However, the vastly increased amount of code has put this beyond me. I would not need the size/border coding as above, I've got it working and looking good with the current code (based on usergroups, not fields like I would like)

Can anyone help with this?

Thanks in advance,

Keith
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 01:08.

Layout Options | Width: Wide Color: