vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Forum Display Enhancements - Better Postbit Template (https://vborg.vbsupport.ru/showthread.php?t=185520)

Boosted Panda 07-15-2008 10:00 PM

Better Postbit Template
 
There has been a major change to this code seeing as though the recent 3.7.2 upgrade rendered this code useless. Even better now though is this code is more streamlined! What does this do? Well it will fix that annoying lopsided postbit right template area and make it nice and neat!

First:
You will need to add a CSS variable in the additional CSS Definitons area in Styles - All Style Options - Scroll Down

Add this definition:
PHP Code:

.postbittop {
background-color:#FFFFFF;
color#000000;
padding:7px 7px 7px 7px;
border1px dotted #E0E0E0;
width292px;


Note these settings can be changed and adjusted to suit your needs

Next:
Find
PHP Code:

<td width="100%">&nbsp;</td>
            <
td valign="top" nowrap="nowrap"

Directly Underneath Add
PHP Code:

<div class="smallfont">
                <
div class="postbittop" align="right"

The align="right" will align your text inside the box. So change this accordingly.

Boosted Panda 07-17-2008 12:31 PM

I had some PM's about my signature settings in my Postbit I will post the code later on today.

Fungsten 07-19-2008 08:14 PM

What would I have to do in the Postbit_Legacy Template? TIA.

Boosted Panda 07-19-2008 08:25 PM

Quote:

Originally Posted by Fungsten (Post 1579347)
What would I have to do in the Postbit_Legacy Template? TIA.

This is for the Original Postbit only. If you want a forum with both Postbit and Legacy duplicate your style, and copy and paste the postbit code into the legacy code or visa versa depending on your style settings on the VB options.

Long sentence!

Boosted Panda 09-07-2008 05:58 AM

Code has been updated!

RobbieZ 09-07-2008 03:13 PM

Hey Boosted Panda..

The first bit.. Do i just add it to the bottom of this ??

https://vborg.vbsupport.ru/external/2008/09/29.png

And then which template do i edit ?? Postbit ?

RobbieZ 09-07-2008 03:25 PM

Ok so i did all the above but im now getting this..

https://vborg.vbsupport.ru/external/2008/09/30.png

I get a white background is this because the CSS background in your table is set to #FFFFFF - which is white.. ?

Compared to this one.. which is without your adjustments..

https://vborg.vbsupport.ru/external/2008/09/31.png

Do you think it looks better on white ??

Boosted Panda 09-07-2008 04:03 PM

The white box looks great. Maybe play with the border color and style to give it some flare.

Boosted Panda 09-07-2008 04:04 PM

Quote:

Originally Posted by RobbieZ (Post 1616658)
Hey Boosted Panda..

The first bit.. Do i just add it to the bottom of this ??

https://vborg.vbsupport.ru/external/2008/09/29.png

And then which template do i edit ?? Postbit ?

Put it in that second box.

RobbieZ 09-07-2008 04:09 PM

Quote:

Originally Posted by Boosted Panda (Post 1616700)
Put it in that second box.

Right I put it underneath the rest of the original text.. I will change that now..

I also notice where my moods are the line is starting to move up..
^^ - does that make sense.. or do u need a screenie..


All times are GMT. The time now is 12:21 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.01081 seconds
  • Memory Usage 1,738KB
  • 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
  • (3)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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