Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

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
  #32  
Old 04-15-2012, 01:18 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK,

New version 1.11... This should fix the fatal error on articles (I saw it too) and hopefully work on links directory. I say should because I'm guessing because I don't have the links directory installed.
Reply With Quote
  #33  
Old 04-15-2012, 02:07 PM
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Posts: 684
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
OK,

New version 1.11... This should fix the fatal error on articles (I saw it too) and hopefully work on links directory. I say should because I'm guessing because I don't have the links directory installed.
I got this blank page after upgrade to 1.11
:erm:
Attached Images
File Type: jpg 11.jpg (25.5 KB, 0 views)
Reply With Quote
  #34  
Old 04-15-2012, 02: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

Quote:
Originally Posted by sadiq6210 View Post
I got this blank page after upgrade to 1.11
:erm:


OK Try 1.12- just updated.

This only affects people who are trying to use this with the links directory so not sending out a formal upgrade notice.
Reply With Quote
  #35  
Old 04-15-2012, 02:44 PM
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Posts: 684
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Now It is working perfect
Thank you very much Joe Appreciate your effort
Reply With Quote
  #36  
Old 04-15-2012, 04:43 PM
sweetpotato sweetpotato is offline
 
Join Date: Oct 2010
Posts: 239
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just upgraded to 1.12. There is no error for viewing article any more. Please instruct me if I want to show country flag where I should put the template code?
Thanks,
Reply With Quote
  #37  
Old 04-15-2012, 04:57 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There are several hooks "under the avatar." I will need a screenshot or link to see exactly which hook it might be.

Basically you will need to look in your regular postbit_legacy template

Search for "{vb:raw template_hook.postbit_userinfo"

There will be 3 different instances... You need to figure out which one your flag display uses and copy the whole hook code (like: {vb:raw template_hook.postbit_userinfo_right} ) to the corresponding location in the postbit_simple_bop5_vb4 template.

I know this sounds annoying but I purposely left the hooks out so the postbit remains "Simple."
Reply With Quote
  #38  
Old 04-15-2012, 09:00 PM
Trevor Matthews Trevor Matthews is offline
 
Join Date: Oct 2010
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent, installed and working perfectly.

I have enabled it in all my reference sections where signatures etc are of no use.
Reply With Quote
Благодарность от:
BirdOPrey5
  #39  
Old 04-16-2012, 01:08 AM
sweetpotato sweetpotato is offline
 
Join Date: Oct 2010
Posts: 239
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
There are several hooks "under the avatar." I will need a screenshot or link to see exactly which hook it might be.

Basically you will need to look in your regular postbit_legacy template

Search for "{vb:raw template_hook.postbit_userinfo"

There will be 3 different instances... You need to figure out which one your flag display uses and copy the whole hook code (like: {vb:raw template_hook.postbit_userinfo_right} ) to the corresponding location in the postbit_simple_bop5_vb4 template.

I know this sounds annoying but I purposely left the hooks out so the postbit remains "Simple."
Thank you for your instruction. I copy and paste in postit_simple_bop5_vb4 template the country flag template code after the rank condition:
Code:
<vb:if condition="$post['field7']"></dt> <img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.field7}.GIF"  alt="{vb:raw post.field7}" border="" /></vb:if>
Now the Country Flag showed but there is no option to turn it on or off.
Thanks,
Reply With Quote
  #40  
Old 04-16-2012, 01:59 PM
Trevor Matthews Trevor Matthews is offline
 
Join Date: Oct 2010
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have Helpful Answers installed by Ted S, basically a thumbs up or down to click on in every post.

It is now not appearing in the sections where I have activated Simple Postbit.

I have ticked the box that says Use Postbit Control Hook but the thums up still won't display.

Is there anything I can do about that?
Reply With Quote
  #41  
Old 04-16-2012, 03:46 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It would depend on how that mod works. Do you have link to it so I can see what it needs?
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 10:15 PM.


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.05628 seconds
  • Memory Usage 2,350KB
  • 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
  • (1)bbcode_code
  • (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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (6)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)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