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
  #12  
Old 04-14-2012, 12:04 PM
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Posts: 684
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is great idea Joe

I have a question
I am using vBadvanced Links Directory and really need to apply this mod in showlink pages.
Is there anyway to do that?

Thanks
Reply With Quote
Благодарность от:
BirdOPrey5
  #13  
Old 04-14-2012, 01:13 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 RobbieZ View Post
Interesting , is it possible to have the thread starter have a full Postbit then everyone after have the simple Postbit?
Yes. I will make an option for the first post to be regular postbit or simple postbit.

Quote:
Originally Posted by CoZmicShReddeR View Post
I would like to see it with the option to rotate the order of locations rather then to disable if that were possible?
You mean make a random post in each thread a "full" postbit? I don't understand why that would be useful. Maybe I don't understand what you are asking.

Quote:
Originally Posted by Kraxell View Post
Your a fu**ing god of hacks BoP! Great idea and great hack!

is it possible to add thank-hack?

Tagged for future!
I can add back the postbit hook the thanks mod uses and add an on/off switch for it. Only thing is there would be no way to limit it only to the thanks hack- it would take any hack that uses that hook.

Quote:
Originally Posted by sadiq6210 View Post
This is great idea Joe

I have a question
I am using vBadvanced Links Directory and really need to apply this mod in showlink pages.
Is there anyway to do that?

Thanks
Hmmm... I'd have to look into that- it seems like it would be possible but the Links Directory is a premium (paid) add-on so I don't have it for 4.x. Can you tell me the name of the template the Links Directory uses for comments? If you could give me a link to your link directory and turn on Template Names in HTML comments in your general settings I should be able to see what I need to see.
Reply With Quote
  #14  
Old 04-14-2012, 01:38 PM
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Posts: 684
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
Hmmm... I'd have to look into that- it seems like it would be possible but the Links Directory is a premium (paid) add-on so I don't have it for 4.x. Can you tell me the name of the template the Links Directory uses for comments? If you could give me a link to your link directory and turn on Template Names in HTML comments in your general settings I should be able to see what I need to see.
Great news
My forum is RTL / Arabic language so it is better to give you the template

This is the (ADV_LINKS_SHOWLINK) template
https://vborg.vbsupport.ru/attachmen...1&d=1334414274

The previous template will give us this page (example)
http://f.links4rank.com/dir/informat...est-linux-h-2/


Thanks Joe :up:
Reply With Quote
  #15  
Old 04-14-2012, 02:17 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

From this link- http://f.links4rank.com/dir/informat...est-linux-h-2/ - it looks like it's already using the simple postbit?

Can you turn on Template Names in HTML comments so I can see/confirm?
Admin CP -> Settings -> Options -> General Settings?
Reply With Quote
  #16  
Old 04-14-2012, 02:35 PM
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Posts: 684
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
From this link- http://f.links4rank.com/dir/informat...est-linux-h-2/ - it looks like it's already using the simple postbit?

Can you turn on Template Names in HTML comments so I can see/confirm?
Admin CP -> Settings -> Options -> General Settings?
Please check your inbox Joe
I sent you one link with user and password

Reply With Quote
  #17  
Old 04-14-2012, 02: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

Thanks, I sent you something to try.

In the Simpe Postbit Override plugin change IF condition to this:

Code:
if ($vbulletin->options['bop5sp_en']
    AND (in_array($thread['threadid'], explode("," , $vbulletin->options['bop5sp_threads'])) OR
     in_array($thread['forumid'], explode("," , $vbulletin->options['bop5sp_forums'])) OR THIS_SCRIPT == 'links_showlink' ))
and see if it works.
Reply With Quote
  #18  
Old 04-14-2012, 03:00 PM
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Posts: 684
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
Thanks, I sent you something to try.

In the Simpe Postbit Override plugin change IF condition to this:

Code:
if ($vbulletin->options['bop5sp_en']
    AND (in_array($thread['threadid'], explode("," , $vbulletin->options['bop5sp_threads'])) OR
     in_array($thread['forumid'], explode("," , $vbulletin->options['bop5sp_forums'])) OR THIS_SCRIPT == 'links_showlink' ))
and see if it works.
Working as a charm ! :up:
Thanks Joe ^_^ you are the best

Suggestion:
You may add a new option for (USER RANKS) in next release



Installed + Nominated + 5 stars
Attached Images
File Type: png ranks.png (7.9 KB, 0 views)
Reply With Quote
  #19  
Old 04-14-2012, 03:27 PM
Gemma's Avatar
Gemma Gemma is offline
 
Join Date: Apr 2004
Location: Scotland
Posts: 1,229
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Interesting idea, whereas everyone seems to be falling over themselves to make smartly boxed postbits with tons of extra info this idea strips everything out and actually looks really good.

Nicely done
Reply With Quote
  #20  
Old 04-14-2012, 03:48 PM
sweetpotato sweetpotato is offline
 
Join Date: Oct 2010
Posts: 239
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, How to remove rank image and rank title please?
Reply With Quote
Благодарность от:
BirdOPrey5
  #21  
Old 04-14-2012, 03:50 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
Working as a charm ! :up:
Thanks Joe ^_^ you are the best

Suggestion:
You may add a new option for (USER RANKS) in next release


Installed + Nominated + 5 stars
Quote:
Originally Posted by sweetpotato View Post
Installed, How to remove rank image and rank title please?
Thanks! Yes user ranks will be in the next release later today.


Quote:
Originally Posted by Gemma View Post
Interesting idea, whereas everyone seems to be falling over themselves to make smartly boxed postbits with tons of extra info this idea strips everything out and actually looks really good.

Nicely done
Thanks!
Reply With Quote
Благодарность от:
sweetpotato
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 06:06 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.05025 seconds
  • Memory Usage 2,370KB
  • Queries Executed 28 (?)
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
  • (2)bbcode_code
  • (10)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (8)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)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_postinfo_query
  • fetch_postinfo
  • 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