vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Miscellaneous Hacks - Postbit Legacy - Usergroup Backgrounds (https://vborg.vbsupport.ru/showthread.php?t=203850)

itsheinz 02-28-2009 04:36 AM

can you help us fastbird.

Fastbird 03-05-2009 10:39 PM

Quote:

Originally Posted by itsheinz (Post 1756693)
can you help us fastbird.

You have some custom postbit and I'm not really sure where to insert that code. I'd literally have to install your code on my site and tweak it. I literally don't even have enough time to wipe my ass let alone do all that work. I really want to help you I just can't sit down and figure it out right now.

Either someone else will have to step in or you'll have to wait for the weekend where I can try to give it a shot.

itsheinz 03-06-2009 08:09 PM

Quote:

Originally Posted by Fastbird (Post 1761406)
You have some custom postbit and I'm not really sure where to insert that code. I'd literally have to install your code on my site and tweak it. I literally don't even have enough time to wipe my ass let alone do all that work. I really want to help you I just can't sit down and figure it out right now.

Either someone else will have to step in or you'll have to wait for the weekend where I can try to give it a shot.

Its ok fastbird im done with it.I used the default Postbit legacy.lol

Ekshi 03-08-2009 01:37 AM

Add your code: rowspan="2"


Code:

<if condition="is_member_of($post, #)">
<td class="postbit" width="175" rowspan="2" style="border: $stylevar[cellspacing]px solid $stylevar [tborder_bgcolor]; border-top: 0px; border-bottom: 0px id="td_post_$post[postid]">
<else />
<td class="alt2" width="175" rowspan="2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px"></if>


legion! 03-08-2009 11:43 AM

Works perfect for me!

legion! 03-15-2009 02:26 AM

How can i make it so different usergroups have different backgrounds??

Bigj85 03-15-2009 02:43 AM

Quote:

Originally Posted by legion! (Post 1768408)
How can i make it so different usergroups have different backgrounds??

you have to make a different css for every group,then just repeat the template code adding every groupid and css

Code:

<if condition="is_member_of($post, 6)">
<td class="postbitadmin" width="175" style="border: $stylevar[cellspacing]px solid $stylevar [tborder_bgcolor]; border-top: 0px; border-bottom: 0px id="td_post_$post[postid]">
<else />
 <if condition="is_member_of($post, 7)">
<td class="postbitmod" width="175" style="border: $stylevar[cellspacing]px solid $stylevar [tborder_bgcolor]; border-top: 0px; border-bottom: 0px id="td_post_$post[postid]">
<else />

and so on for every group....

Works great btw

legion! 03-16-2009 01:52 AM

yea figured it out it runs perfect for me thank yu :)

GrendelKhan{TSU 03-23-2009 06:02 PM

awesome

<< bookmarked for next update :)

Fastbird 03-23-2009 08:38 PM

Glad it's working for you guys! :)


All times are GMT. The time now is 08:49 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.02016 seconds
  • Memory Usage 1,737KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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