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 - Better Postbit Template (https://vborg.vbsupport.ru/showthread.php?t=194552)

Boosted Panda 10-24-2008 10:00 PM

Better Postbit Template
 
1 Attachment(s)
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.

Vindictive 10-26-2008 03:11 AM

i like it, installed.

Boosted Panda 10-26-2008 06:19 AM

Also remember you can change the style of the border to a fieldset as well.

PHP Code:

<fieldset class="fieldset"


Ohiosweetheart 10-26-2008 07:09 PM

That looks very nice.

YsTyle 10-26-2008 08:30 PM

installed, thanks :)

Boosted Panda 10-26-2008 08:39 PM

Thanks YsTyle hope you like it!

albibak 11-08-2008 12:00 PM

When I modify the postbit template I have a vBulletin message:

Quote:

The following error occurred when attempting to evaluate this template:

The conditional on line 231 appears to be missing its beginning tag (<if>). This may cause unexpected behavior.


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.
Line 231
Quote:

$template_hook[postbit_controls]

Valyx 11-11-2008 01:50 AM

love it, installed on 3.7.4.

Vicros 11-15-2008 01:18 AM

where do i find that php code at?..i have looked everywhere lol..i guess im blind with 20/20 vision lol..

Digital Jedi 11-15-2008 02:31 AM

Quote:

Originally Posted by Vicros (Post 1665871)
where do i find that php code at?..i have looked everywhere lol..i guess im blind with 20/20 vision lol..

In your postbit template?


All times are GMT. The time now is 10:43 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.01651 seconds
  • Memory Usage 1,735KB
  • 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_php_printable
  • (3)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
  • (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