Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Hybrid postbit Details »»
Hybrid postbit
Version: 1.0.0, by stonyarc stonyarc is offline
Developer Last Online: Aug 2013 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 11-15-2005 Last Update: Never Installs: 38
Template Edits
 
No support by the author.

Hybrid postbit

Function

Both the legacy and the classic postbit have their advantages. So why not combine them. The legacy itself sometimes seems to big with smaller posts.

This is how the hybrid postbit might look like.
[See screenshot]

Creativity is key.

Live demo: http://www.xboxusersgroup.com/forums/
Requested by

/

Prereq

Activate the legacy postbit.
You can activate this in the admincp / Style & Language Settings (bottom)

Installation

1. open postbitlegacy template in the style manager (postbit templates)
2. look for

Code:
<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>
<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
And remove or comment out by putting <!--- CODE --->

3. look for

Code:
	
<if condition="$show['moderated']">
<td class="alt2" id="td_post_$post[postid]">
<else />
<td class="alt1" id="td_post_$post[postid]">
</if>
add below

Code:
<!-- start top info post -->
<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" widht="100%">
<tr>
<td class="alt2" style="font-weight:normal;font-size:10px;width:100%" align="left">
<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
</div>
</td>
<td class="alt2" style="font-weight:normal;font-size:10px;width:200px" align="right">
<if condition="$post['rank']"><center><div class="smallfont">$post[rank]</div></center></if>
</td>
</tr>
</table>
<BR>
<!-- End top info post -->
3. save template and done

Variants

- You can add a different functions/phrases/info to different locations.

Live demo
Live demo: http://www.xboxusersgroup.com/forums...ad.php?t=47578

StonyArc

Show Your Support

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

Comments
  #22  
Old 11-18-2005, 02:47 AM
dan35's Avatar
dan35 dan35 is offline
 
Join Date: Jul 2004
Location: California
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Pls pm me too or post it here

Thx!
Reply With Quote
  #23  
Old 11-18-2005, 03:19 AM
G-Force 199's Avatar
G-Force 199 G-Force 199 is offline
 
Join Date: Nov 2005
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack & Click Install.
Can u give people a txt or zip ?
Reply With Quote
  #24  
Old 11-27-2005, 11:15 PM
BiReL41r BiReL41r is offline
 
Join Date: Nov 2005
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack, finally I have it on the left, rather than at the top.
Reply With Quote
  #25  
Old 01-17-2006, 04:22 PM
MustangLisa's Avatar
MustangLisa MustangLisa is offline
 
Join Date: May 2004
Location: Florida
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks!!
Reply With Quote
  #26  
Old 01-26-2006, 04:43 AM
Raymondlee714 Raymondlee714 is offline
 
Join Date: Jan 2006
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, this is a nice, but some howi can install, please help thanks
Reply With Quote
  #27  
Old 02-04-2006, 01:57 PM
devilrulez devilrulez is offline
 
Join Date: Feb 2006
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i tried this but didnt worked on my forum....

i hv vb 3.5.3 on my forum...

how to Activate the legacy postbit?
Reply With Quote
  #28  
Old 02-04-2006, 02:20 PM
devilrulez devilrulez is offline
 
Join Date: Feb 2006
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by devilrulez
i tried this but didnt worked on my forum....

i hv vb 3.5.3 on my forum...

how to Activate the legacy postbit?




I worked that out.... nice one there
Reply With Quote
  #29  
Old 02-20-2006, 03:10 AM
o0Hubba0o's Avatar
o0Hubba0o o0Hubba0o is offline
 
Join Date: Mar 2005
Location: Minnesota
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Curious if anyone can tell what I need to do to keep my vertical part of the postbit from squishing up, what I need to adjust or add to keep it set at the width it's supposed to be.

It's too narrow now and making the text in the info below wrap and the whole thing stretch down, which defeats the purpose of me adding the hybrid mode; to reduce the vertical length of the side heh. For example; the age and gender used to be on the same line.

Reply With Quote
  #30  
Old 02-20-2006, 07:46 AM
eNforce's Avatar
eNforce eNforce is offline
 
Join Date: Aug 2004
Location: Canada, AB
Posts: 341
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, this is quite nice.

Here's my board:
http://www.seriosgaming.com/showthread.php?t=2662
You can use it in your first post as a live demo if you want.
Reply With Quote
  #31  
Old 03-07-2006, 07:24 PM
Oddjob Oddjob is offline
 
Join Date: Jan 2006
Location: Long Island, NY
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lordofgun
I'll PM you.
Can you PM me with that code as well??????????
Reply With Quote
Reply


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 02:57 PM.


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.09442 seconds
  • Memory Usage 2,308KB
  • 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
  • (3)bbcode_code
  • (2)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
  • (4)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