Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Simple Postbit by BOP5 (for VB 4.x) Details »»
Simple Postbit by BOP5 (for VB 4.x)
Version: 1.13, by BirdOPrey5 (Senior Member) BirdOPrey5 is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.1.10 Rating:
Released: 04-12-2012 Last Update: 09-01-2012 Installs: 26
Supported Uses Plugins Auto-Templates
Re-useable Code Translations  

Brought to you by BirdOPrey5
www.Qapla.com


Version 1.13 - Added option to disable by styleid. (You should disable for all mobile styles)
Version 1.12 - Added a bunch new options and bug fix
Version 1.0 - Initial Release

This mod offers a simple postbit option that admins can specify to replace the standard postbit or postbit_legacy template on specific forums or in specific threads.

The simpler more minimalistic postbit is ideal when you want users focusing only on the post content and not avatars, signatures, or other irrelevant details.

The admin can actually turn the display of virtually every "extra" on or off via the mod options.

This mod is designed for VB 4.1.10 or higher. Versions below 4.1.10 will require a manual FILE EDIT.
(Details in the instructions.)


Live Demo: Simple Postbit Demo at Qapla.com

I would see use for this in a "Classifieds" forum, or perhaps a forum open to guests.

Really you could modify the new template postbit_simple_bop5_vb4 and put anything in it. For example if you replace this template with the code form postbit_legacy then you could use this mod to show the regular postbit template on most forums but choose to show postbit_legacy in specific forums or threads. It can really be thought more of as a "General Postbit Override" mod, it just happens to come pre-configured as a "Simple Postbit."

Please Mark as Installed if you use this.
Donations always appreciated. :up:

Download Now

File Type: zip Simple Postbit by BOP5 for VB4 (V1.1.13).zip (8.0 KB, 89 views)

Screenshots

File Type: jpg simple_postbit_vb4_settings.jpg (103.7 KB, 0 views)
File Type: jpg simple_postbit_vb4_thread.jpg (116.1 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
5 благодарности(ей) от:
BCP Hung, goxy63, keteflips, Max Taxable, TheLastSuperman

Comments
  #62  
Old 08-27-2012, 04:35 AM
wilford brimley wilford brimley is offline
 
Join Date: Apr 2012
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok. damn. thanks.
Reply With Quote
  #63  
Old 08-28-2012, 06:23 AM
wilford brimley wilford brimley is offline
 
Join Date: Apr 2012
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if you just tell me how to do it or reconsider adding the button in the mod id be gratefull and donate. i want to make simple postbits on a live threads for events so it is more like a chatbox. ill use a global threads mod instead and just do the simple post bit on the global forum until then.
Reply With Quote
  #64  
Old 08-28-2012, 10:24 AM
xixxon's Avatar
xixxon xixxon is offline
 
Join Date: Jun 2007
Location: Việt Nam.
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love it, thank you very much.
*tagged*
Reply With Quote
  #65  
Old 08-29-2012, 04:51 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wilford brimley View Post
if you just tell me how to do it or reconsider adding the button in the mod id be gratefull and donate. i want to make simple postbits on a live threads for events so it is more like a chatbox. ill use a global threads mod instead and just do the simple post bit on the global forum until then.
Basically go to the existing postbit_legacy template...

Search for the word "avatar"

Copy all the code surrounding it that is part of displaying the avatar...

Then go to the template from this mod, scroll down to about where the code came from the postbit_legacy template, and paste it in.

You will now have avatars in the simple postbit.
Reply With Quote
  #66  
Old 09-01-2012, 06:51 PM
wilford brimley wilford brimley is offline
 
Join Date: Apr 2012
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks a lot dude. tell me how to donate i will send you some paypal.

if anyone want to add my custom mod to this one here it is: this makes it so avatar in the first post is 150%/fills up the whole postbit, then the rest are all small at 75%
find:
Code:
{vb:raw row.rowend}
					</vb:each>
				</span>
			</vb:if>
after add:
Code:
<vb:if condition="$show['avatar'] AND $vboptions['bop5sp_showavatar']">
            <a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
                <img style="width:<vb:if condition="$post[postcount] == 1">1</vb:if>75%" src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" /> 
			</a>

			</vb:if>
then go in simple post bit options in Admin CP and do "add setting"

leave all product info. call varname "bop5sp_showavatar"
name it Avatar?
do option as "yesno"

now you have option for avatars in simplepostbit mod.
Reply With Quote
  #67  
Old 09-01-2012, 07:17 PM
wilford brimley wilford brimley is offline
 
Join Date: Apr 2012
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i added this in case anyone have vBookie installed and wants the vCash to show. this hook might show other stuff too, i dont know. in my forum its only vbookie.

in the simpel postbit template in master style

find
Code:
<dt>{vb:rawphrase posts}</dt> <dd>{vb:raw post.posts}</dd></vb:if>
after add
Code:
<vb:if condition="$vboptions['bop5sp_showextra']">{vb:raw template_hook.postbit_userinfo_right_after_posts}</vb:if>
in simple postbit options: add setting. name var "bop5sp_showextra". name the other stuff whatever you want. options is"yesno" and now you have vbookie in the options (maybe other stuff too??)
Reply With Quote
  #68  
Old 09-02-2012, 01:30 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks.

You can donate to me or most other coders on vBulletin.org by clicking on the "Support Developer" link at the top of a mod thread.

Reply With Quote
  #69  
Old 09-02-2012, 05:50 PM
wilford brimley wilford brimley is offline
 
Join Date: Apr 2012
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

there seems to be a conflict where onmy the first post is shown on the default mobile style. how can i turn off thismod for.mobile.
Reply With Quote
  #70  
Old 09-02-2012, 05:53 PM
wilford brimley wilford brimley is offline
 
Join Date: Apr 2012
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sent you a pp donation.
Reply With Quote
  #71  
Old 09-02-2012, 07:56 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for the donation.

And yes, you are right this mod was preventing posts from showing in mobile styles ever since vBulletin made the mobile style a master style.

To fix this I have released version 1.13 - the bottom option now lets you disable by style id.

Please put the styleid(s) of any mobile styles you have in the bottom setting box, comma separated if more than one.
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 08:25 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.04674 seconds
  • Memory Usage 2,329KB
  • Queries Executed 26 (?)
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_code
  • (1)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (5)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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