Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications

Reply
 
Thread Tools
Better Postbit Template Details »»
Better Postbit Template
Version: 1.00, by Boosted Panda Boosted Panda is offline
Developer Last Online: Oct 2010 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.x Rating:
Released: 10-24-2008 Last Update: Never Installs: 46
 
No support by the author.

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.

Screenshots

File Type: png attachment.png (88.8 KB, 0 views)
File Type: png Picture 1.png (55.3 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 10-26-2008, 03:11 AM
Vindictive's Avatar
Vindictive Vindictive is offline
 
Join Date: Aug 2008
Location: Conway, Arkansas
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i like it, installed.
Reply With Quote
  #3  
Old 10-26-2008, 06:19 AM
Boosted Panda Boosted Panda is offline
 
Join Date: Mar 2008
Location: Long Beach, CA
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

PHP Code:
<fieldset class="fieldset"
Reply With Quote
  #4  
Old 10-26-2008, 07:09 PM
Ohiosweetheart Ohiosweetheart is offline
 
Join Date: Dec 2005
Location: N.E. Ohio
Posts: 2,291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That looks very nice.
Reply With Quote
  #5  
Old 10-26-2008, 08:30 PM
YsTyle YsTyle is offline
 
Join Date: Mar 2007
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed, thanks
Reply With Quote
  #6  
Old 10-26-2008, 08:39 PM
Boosted Panda Boosted Panda is offline
 
Join Date: Mar 2008
Location: Long Beach, CA
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks YsTyle hope you like it!
Reply With Quote
  #7  
Old 11-08-2008, 12:00 PM
albibak's Avatar
albibak albibak is offline
 
Join Date: Feb 2003
Location: Paris (France)
Posts: 302
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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]
Reply With Quote
  #8  
Old 11-11-2008, 01:50 AM
Valyx Valyx is offline
 
Join Date: Nov 2008
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

love it, installed on 3.7.4.
Reply With Quote
  #9  
Old 11-15-2008, 01:18 AM
Vicros's Avatar
Vicros Vicros is offline
 
Join Date: Dec 2007
Location: Arkansas
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where do i find that php code at?..i have looked everywhere lol..i guess im blind with 20/20 vision lol..
Reply With Quote
  #10  
Old 11-15-2008, 02:31 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Vicros View Post
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?
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 10:39 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.06957 seconds
  • Memory Usage 2,311KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete