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
  #12  
Old 11-17-2005, 02:12 AM
donBLACK donBLACK is offline
 
Join Date: May 2003
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like it...Vision, maybe u can mod it to look diff so it does what u say?
Reply With Quote
  #13  
Old 11-17-2005, 03:19 AM
Living in music Living in music is offline
 
Join Date: Aug 2005
Location: ITVN
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Psionic Vision
Not a good idea to have username in the middle of the post. I'd suggest you place the avatar or other extra info there instead. Because a user usually looks into top left corner first, the most important info (the username) must be there
i have opinion too
Reply With Quote
  #14  
Old 11-17-2005, 06:37 AM
stonyarc stonyarc is offline
 
Join Date: Aug 2005
Location: Leuven (Belgium)
Posts: 930
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Psionic Vision
Not a good idea to have username in the middle of the post. I'd suggest you place the avatar or other extra info there instead. Because a user usually looks into top left corner first, the most important info (the username) must be there
Well it's up to people to use whatever phrase/function they like there.

You can create 100's of variations, add css classes, etc

this is just a framework to play with.
Reply With Quote
  #15  
Old 11-17-2005, 06:20 PM
lordofgun lordofgun is offline
 
Join Date: Jan 2002
Posts: 285
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like the idea. I tweaked mine a bit.
Reply With Quote
  #16  
Old 11-17-2005, 07:35 PM
michaelbenson's Avatar
michaelbenson michaelbenson is offline
 
Join Date: Feb 2005
Location: United Kingdom
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, this looks a really ingenuitive modification.
Of course some tweaking looks neccessary though. Installed.
Reply With Quote
  #17  
Old 11-17-2005, 08:07 PM
stonyarc stonyarc is offline
 
Join Date: Aug 2005
Location: Leuven (Belgium)
Posts: 930
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by michaelbenson
Thanks, this looks a really ingenuitive modification.
Of course some tweaking looks neccessary though. Installed.
You're right if you look at the live demo, it's also different. It's just the idea.

With small posts the legacy looks off a bit and the basic one isn't that cool so why not meet in the middle.

If people need help with tweaks just let me know

Drop in a screenshot or a link to a live demo of your final result !!!!!!!!!!

LIVE DEMO
http://www.xboxusersgroup.com/forums...ad.php?t=47578
Reply With Quote
  #18  
Old 11-17-2005, 08:31 PM
Gizmo5h1t3's Avatar
Gizmo5h1t3 Gizmo5h1t3 is offline
 
Join Date: Aug 2005
Location: ROCHDALE LANCS UK
Posts: 650
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lordofgun
I like the idea. I tweaked mine a bit.

like the display odf that postbit mate...u got the code mods for that plz??
Reply With Quote
  #19  
Old 11-17-2005, 08:58 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not bad...
Reply With Quote
  #20  
Old 11-18-2005, 01:01 AM
lordofgun lordofgun is offline
 
Join Date: Jan 2002
Posts: 285
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gizmo5h1t3
like the display odf that postbit mate...u got the code mods for that plz??
I'll PM you.
Reply With Quote
  #21  
Old 11-18-2005, 01:35 AM
TyleR's Avatar
TyleR TyleR is offline
 
Join Date: Nov 2004
Location: North Carolina
Posts: 349
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lordofgun
I'll PM you.
Well now..your's doesnt look to bad either..hmm..mind PM'ing me yours aswell, lordofgun?
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 08:40 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.04916 seconds
  • Memory Usage 2,312KB
  • 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
  • (6)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