vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Show Thread Enhancements - Usergroup Background in postbit Legacy (https://vborg.vbsupport.ru/showthread.php?t=235041)

iSins 01-26-2012 06:50 AM

Is it possible to make it Auto Resize? I wanted to use a big background but have it resize automatically.

Cromags21 02-09-2012 04:45 PM

Is there away to have an image on the right side of the post. I run a online gaming site, looking for something that can help us show what leagues members are in..

Some members are in 2 different leagues , This mod is 1 background image. I would like to divide the right side of the post with an image that says Leagues,then under it showing the images of the leagues they are in.. NHL,MLB ...etc

But stack images NHL on top,then MLB in middle and NFL at the bottom

Another then that I think you MOD is awesome, I think I can figure it out myself.

HHelp1 02-10-2012 03:03 PM

May you please share your postbit PLEASE? We very APPRECIATE that!

Pure Dope 07-05-2012 09:04 AM

I believe you could improve this code by doing:

Code:

<div class="postbody postbg{vb:raw post.userid}">
Then when you want to add css for someone do it like this in the additional.css

Code:

.postbitlegacy .postbg<USERID>, .eventbit .eventdetails .eventbody {
  background-color: grey;
}

This way you dont have any conditions, and the code is a bit cleaner. Of course, this works by userid, and not usergroup, but its easily modified to work for usergroups by just adding another class.

svyrydov 08-21-2012 09:40 AM

1 Attachment(s)
Hello
If I want to change background only as shown on screenshot below?
What I have change in code?
Thanks.

Attachment 140633

Pure Dope 10-13-2012 07:33 AM

Quote:

Originally Posted by svyrydov (Post 2358682)
Hello
If I want to change background only as shown on screenshot below?
What I have change in code?
Thanks.

Attachment 140633

ever get help w/it?

Ghostt 05-26-2014 11:39 PM

Quote:

Originally Posted by Pure Dope (Post 2345227)
I believe you could improve this code by doing:

Code:

<div class="postbody postbg{vb:raw post.userid}">
Then when you want to add css for someone do it like this in the additional.css

Code:

.postbitlegacy .postbg<USERID>, .eventbit .eventdetails .eventbody {
  background-color: grey;
}

This way you dont have any conditions, and the code is a bit cleaner. Of course, this works by userid, and not usergroup, but its easily modified to work for usergroups by just adding another class.

can you show me the same please for vb 3.8?


All times are GMT. The time now is 10:06 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01120 seconds
  • Memory Usage 1,730KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete