Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications

Reply
 
Thread Tools
PS - Boxed Postbit Information & Centered Postbit Details »»
PS - Boxed Postbit Information & Centered Postbit
Version: 1.00, by PaulSonny PaulSonny is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.7.0 Beta 4 Rating:
Released: 02-10-2008 Last Update: 02-11-2008 Installs: 124
Template Edits
 
No support by the author.

Please Mark As Installed!

Hello Everybody,

I thought I would share this here for everybody. This template modification will involve editing your postbit_legacy template. This will place the information displayed in the postbit such as the Post Count, Location, Join Date etc into boxes beneath the avatar to give the postbit a more professional look.

Live Demo

Below is how to do it.

1) In your AdminCP > Styles & Templates > Style Manager > Main CSS Options > Additional CSS place the following code:

Code:
.postinfo { 
	border-top: solid 1px #E0E0E0; 
	border-left: solid 1px #E0E0E0; 
	border-right: solid 1px #D7D7D7; 
	border-bottom: solid 1px #D7D7D7;
	margin: 3px 5px; 
	padding: 2px; 
	color: #808080; 
	background: #d2dee3;
	font-size: 10px; 
}
2) You should change the background colour to suit your style. Then click Save.

3) In your AdminCP > Styles & Templates > Style Manager > Edit Templates > postbit_legacy find the following code:

For Join Date: (other Examples At The Bottom!)

Code:
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
4) Replace the relevant DIV tags as shown below.

Code:
<if condition="$post['joindate']"><div class="postinfo">$vbphrase[join_date]: $post[joindate]</div></if>
5) Replace the revevant DIV tags for any other information you wish to be shown boxed.

Other Examples.

Code:
For Total Posts:

Find:

<div>
	$vbphrase[posts]: $post[posts]
</div>

Replace With:

<div class="postinfo">
	$vbphrase[posts]: $post[posts]
</div>
Code:
For Post Thank You Hack:

Find:

<tr><td class="alt1" colspan="3"><div>$post[post_thanks_bit]</div></td></tr>

Replace With:

<tr><td class="alt1" colspan="3"><div class="postinfo">$post[post_thanks_bit]</div></td></tr>
Screenshot Provided.

Update: I have added another file "centered postbit" to help make everything appear centralised like shown in the demo.

Show Your Support

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

Comments
  #102  
Old 01-13-2009, 10:51 AM
PaulSonny PaulSonny is offline
 
Join Date: Dec 2006
Location: Middlesbrough, UK
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I dont use the post thanks hack so im unable to help. Although if you can send me a demo account I can check it out for you and perhaps provide a solution.

Regards, Paul.
Reply With Quote
  #103  
Old 01-25-2009, 11:00 PM
pedroenf pedroenf is offline
 
Join Date: Jun 2006
Location: Portugal
Posts: 308
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PaulSonny View Post
I dont use the post thanks hack so im unable to help. Although if you can send me a demo account I can check it out for you and perhaps provide a solution.

Regards, Paul.
Waiting for that solution too.
Reply With Quote
  #104  
Old 01-28-2009, 04:18 PM
HaS?R HaS?R is offline
 
Join Date: Nov 2008
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks.
Reply With Quote
  #105  
Old 01-30-2009, 03:42 AM
dbirosel dbirosel is offline
 
Join Date: Feb 2007
Location: San Diego
Posts: 587
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this not work with 3.8? anyone using this mod for 3.8? thanks.
Reply With Quote
  #106  
Old 02-28-2009, 06:55 PM
powersilie powersilie is offline
 
Join Date: Dec 2008
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, it works great with 3.8.1!

Thanks a lot, it's great!

Karin
Reply With Quote
  #107  
Old 03-07-2009, 09:13 PM
adamskiii adamskiii is offline
 
Join Date: Oct 2008
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anything on making it work with the post thanks 7.7 mod?
Reply With Quote
  #108  
Old 07-23-2009, 12:59 AM
kNeeLy's Avatar
kNeeLy kNeeLy is offline
 
Join Date: Nov 2008
Location: ohio
Posts: 244
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i use extremepixels skin..will this work with their code?
Reply With Quote
  #109  
Old 08-02-2009, 01:52 AM
Zacaretas Zacaretas is offline
 
Join Date: Mar 2009
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a wonderful mod! I love it because it makes the postbit look much sleeker.

Installed and working on 3.8.2.
Reply With Quote
  #110  
Old 08-11-2009, 11:15 AM
kNeeLy's Avatar
kNeeLy kNeeLy is offline
 
Join Date: Nov 2008
Location: ohio
Posts: 244
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

EDIT:

N/m...i got it...we're all good...
Reply With Quote
  #111  
Old 08-11-2009, 03:53 PM
farazfaraz farazfaraz is offline
 
Join Date: Mar 2009
Location: Iran-Tehran
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well
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 03:06 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05559 seconds
  • Memory Usage 2,299KB
  • Queries Executed 25 (?)
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
  • (5)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete