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

Reply
 
Thread Tools
Default Postbit Selectable By Members Details »»
Default Postbit Selectable By Members
Version: 3.7.002, by Mosh Mosh is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: End-User Options - Version: 3.7.x Rating:
Released: 07-07-2008 Last Update: 09-03-2008 Installs: 53
Uses Plugins
Re-useable Code Translations  
No support by the author.

Hack Support

This hack is now discontinued - this means that while it will remain available for download and use, there will be no further updates, nor will support be provided as the thread is no longer monitored. You can now check out the 3.8.x version of this hack, as it also works with v3.7.5, v3.6.12 (and maybe even earlier versions).

Please click Mark as Installed if you are using this hack.


vBulletin Version Compatibility

This hack can be used with v3.6.10 and v3.7.x. This has not been tested with earlier versions of v3.6.x, but should work.


What Does This Hack Do?

This is a hack that lets your members select the type of postbit they want displayed for themselves, just like here at vBulletin.org.

vBulletin now uses a horizontal postbit as default, but it used to display the postbit vertically in two columns (see screenshots) and some long time members prefer the old school postbit over the new one, and this hack gives them the option. You can leave the forum wide setting as the new postbit, and members can choose themselves if they want this or the old one.

Show single posts will also be affected by this setting.

Now, as an added bonus, you can choose to display the member's default postbit in posts or threads.

DEMO: You can see how this works by testing the function out right here at vBulletin.org, all you need to do is tick the Yes, I prefer old-style postbit checkbox in the Thread Display Options of User CP -> Edit Options. Then check a few threads to see what it does.


IMPORTANT NOTE: This hack will only work if you use the horizontal postbit display site-wide.
I have no plans in making it work with the postbit legacy site-wide. I have looked into it, and it would require code changes to vBulletin's core files to make it work.

So, under the Style & Language Settings section of vBulletin Options in the AdminCP:
  • Ensure Use Legacy (Vertical) Postbit Template is set to No.

IMPORTANT NOTE 2: When using Quick Reply when you are in legacy layout with your postbits, posts the QR are displayed in postbit layout when submitted. This quirk is rectified with a refresh of the page (see post #46 for more info). But there is a fix in the v3.8.x version of this hack (which will work with 3.7.x).


Installation Instructions

The Default Postbit Installation Instructions 3.7.xxx.pdf instructions file is included in attached .zip (includes visual instructions).
NOTE: If upgrading then just do Step 2 and Step 3 again.

Uninstall Instructions
  1. In the AdminCP, go to User Profile Fields -> User Profile Field Manager.
    • Delete the Default Postbit profile field.
  2. Uninstall the product using the AdminCP Product Manager.


Version History

v3.7.002 - Thursday 4th September 2008
-- Final Release
-- Fixed: Bug where keywords being searched for were not being highlighted in the results
-- Changed: Total code rewrite
-- Changed: Instructions
-- Changed: Screenshots
-- Changed: No more editing of plugins
-- Added: AdminCP Options for user profile field ID and displaying members default postbit in post/thread
-- Added: 2 new phrases

v3.7.001 - Tuesday 8th July 2008
-- Initial Release


Show Your Appreciation

Although not required, if you have enjoyed the benefits of this hack, and would like show your appreciation for my efforts, then please feel free to click on the Support Developer link and donate any amount you feel is appropriate.

Show Your Support

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

Comments
  #12  
Old 07-09-2008, 11:46 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KURTZ View Post
awesome! just NOMINATED!
If you are using this, then please click Mark as Installed.
Reply With Quote
  #13  
Old 07-11-2008, 02:19 AM
EagleNick's Avatar
EagleNick EagleNick is offline
 
Join Date: Dec 2007
Location: Florida
Posts: 517
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome!!!

I don't like the wording, so I am going to be editing the phrases.
If anybody would like to know what I changed it to:
Quote:
You can view threads with the default horizontal view postbit, or a vertical postbit on the left side.
[ ] Check this box if you prefer the new, vertical postbit.
*Feel free to use it.

I don't think the original wording was bad... it's just that my users most likely will not understand it. LOL

Great mod!
Reply With Quote
  #14  
Old 07-11-2008, 02:24 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by EagleNick View Post
Awesome!!!

I don't like the wording, so I am going to be editing the phrases.
If anybody would like to know what I changed it to:


Feel free to use it.

I don't think the original wording was bad... it's just that my users most likely will not understand it. LOL

Great mod!
Cool, glad you like it.

I just used the phrasing they use here at vb.org. You can use what you like
Reply With Quote
  #15  
Old 07-19-2008, 01:05 AM
CampinCarl CampinCarl is offline
 
Join Date: Apr 2008
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

did you guys ever get a solution to the legacy being the default, and allowing users to select the new one? if so, please help me out

thanks
Reply With Quote
  #16  
Old 07-29-2008, 09:32 PM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CampinCarl View Post
did you guys ever get a solution to the legacy being the default, and allowing users to select the new one? if so, please help me out

thanks
I have looked into it, and it would probably require code changes to vBulletin's core files to make it work. Even if I did work out what to change, you would need to remember to make all the file changes to the core files each and every time Jelsoft updated vBulletin.

I updated the first post to reflect this a while ago to mention that I had looked into it.
Reply With Quote
  #17  
Old 07-29-2008, 09:39 PM
glorify's Avatar
glorify glorify is offline
 
Join Date: Aug 2004
Posts: 376
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Damn, I go with Legacy as default. Nice work tho.
Reply With Quote
  #18  
Old 07-30-2008, 08:03 AM
Quillz's Avatar
Quillz Quillz is offline
 
Join Date: Jan 2005
Location: Los Angeles, CA
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice plug-in, thanks. I've always liked giving users this option, but hated having to do template edits over and over again.
Reply With Quote
  #19  
Old 08-08-2008, 01:27 AM
Chris583 Chris583 is offline
 
Join Date: Jan 2006
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First off very nice mod been looking for this!

I've got a bug though. Using 3.7.0 Gold

If u are using the old vertical postbit and you make a post or u edit a post, it dissapears and you have to refresh the page to see it. Is this a bug, or something i've done wrong?

I've checked the install and followed your guidelines.
Reply With Quote
  #20  
Old 08-09-2008, 08:45 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Chris583 View Post
First off very nice mod been looking for this!

I've got a bug though. Using 3.7.0 Gold

If u are using the old vertical postbit and you make a post or u edit a post, it dissapears and you have to refresh the page to see it. Is this a bug, or something i've done wrong?

I've checked the install and followed your guidelines.
I can not replicate this problem. I have tried with installations on Windows and Linux, and across a few styles as well (this hack should be style independent) and can not replicate it.

Does this occur with one style only? Does the same happen with the default vBulletin style?

I am asking as it could be a style issue, as I am pretty sure it is not this hack (it's code is applied well before the page appears on the screen, and uses vBulletin's own postbit class to allow selection of either postbit).

Also, you did do all three plugin edits, didn't you?
Reply With Quote
  #21  
Old 08-09-2008, 05:17 PM
Chris583 Chris583 is offline
 
Join Date: Jan 2006
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did all 3 plugin edits. Changed to field6 not 8 cause it said field6 on the plugin.

I thout maybe you are right and my style is too old as it has had problems before with other mods. However I tried using classic layout on the default VB template and i replicated the same problem.

Hmm. Any ideas?
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 07:59 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.05760 seconds
  • Memory Usage 2,314KB
  • 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
  • (5)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