Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 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.8.002, by Mosh Mosh is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: End-User Options - Version: 3.8.x Rating:
Released: 01-06-2009 Last Update: 02-18-2009 Installs: 54
Uses Plugins
Re-useable Code Translations  
No support by the author.

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


What Does This Hack Do?[hr]hr[/hr]
This is an update to my 3.7.x version of this hack.

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 are also be affected by this setting.

You can choose to display the member's default postbit in posts or threads.

You do not have to refresh the page if you do a quick reply, as there is now an redirect back to the new post in place. Adding AJAX would require editing of core vBulletin files, so, it will not be done via AJAX to keep this hack file edit free. This can be switched off in the AdminCP.

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.

Limitation with this hack[hr]hr[/hr]
People keep asking for usergroup permissions for this hack.

While this would easy to implement, what people fail to realise is that User Profile Fields are not controlled by usergroup permissions at all, and even if usergroup permissions were added to this hack, the User Profile Fields would still be viewable by members even if they do not have permissions to use them.

User Profile Fields are either viewable by all or viewable by none, this is how they were implemented in vBulletin by design, there is no in between with User Profile Fields.

So, I will not be adding usergroup permissions to this hack.


vBulletin Version Compatibility[hr]hr[/hr]
This hack can be used with vBulletin versions 3.6.0 - 3.8.8.

NOTE: I will not be upgrading this hack to vBulletin v4.0.x, as I prefer the legacy postbit in vBulletin v4.0.x and can not be asked to update this hack to give my users a choice (they will just be getting the legacy postbit from now on).



Hack Support/Feature Requests[hr]hr[/hr]
IMPORTANT: This hack is no longer supported.


Install/Uninstall Instructions[hr]hr[/hr]
The Default Postbit Installation Instructions 3.8.002.pdf instructions file is included in attached .zip.


Version History[hr]hr[/hr]
v3.8.002 - Thursday 19th February 2009
-- Changed: Default Postbit (5) plugin
-- Changed: Instructions (now has uninstall instructions)
-- Changed: Screenshoots
-- Added: AdminCP Option to turn on/off re-direct

v3.8.001 - Wednesday 7th January 2009
-- Added: Default Postbit (5) plugin, to re-direct for Quick Reply when user has Legacy Postbit selected
-- Initial vBulletin v3.8.x Release


Show Your Appreciation [hr]hr[/hr]
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.

Download Now

File Type: zip ms_default_postbit_38.zip (299.5 KB, 287 views)

Screenshots

File Type: png screenshot1.png (20.8 KB, 0 views)
File Type: png screenshot2.png (75.2 KB, 0 views)
File Type: png screenshot3.png (20.6 KB, 0 views)
File Type: png screenshot4.png (24.5 KB, 0 views)
File Type: png screenshot5.png (32.8 KB, 0 views)
File Type: png screenshot6.png (74.8 KB, 0 views)
File Type: png screenshot7.png (45.6 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 02-07-2009, 03:07 AM
EagleNick's Avatar
EagleNick EagleNick is offline
 
Join Date: Dec 2007
Location: Florida
Posts: 517
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the update.

Upgrading to this version has caused an issue; when posting using the Quick Reply, it seems that it cannot use AJAX and therefore the standard redirection page (Thank you for posting! You will now be taken to your post. If you opted to post a poll, you will now be allowed to do so.) comes into play.

When I disable this product, this issue goes away.

So obviously, your product seems to be at fault.

I really hope it can be fixed
Reply With Quote
  #3  
Old 02-12-2009, 10:01 AM
Vaupell's Avatar
Vaupell Vaupell is offline
 
Join Date: Apr 2008
Location: Esbjerg, Denmark
Posts: 1,036
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excelent installed. / uninstalled didnt work for me
great idea though
Reply With Quote
  #4  
Old 02-17-2009, 12:08 AM
jboyd jboyd is offline
 
Join Date: Nov 2008
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes i am also having issue with this working with the cheif first post hack. when i want a poll thread i have to edit the thread to add a poll.

Nice idea and i wish it could work for me but
INstalled and uninstalled
Reply With Quote
  #5  
Old 02-18-2009, 07:16 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 EagleNick View Post
Thanks for the update.

Upgrading to this version has caused an issue; when posting using the Quick Reply, it seems that it cannot use AJAX and therefore the standard redirection page (Thank you for posting! You will now be taken to your post. If you opted to post a poll, you will now be allowed to do so.) comes into play.

When I disable this product, this issue goes away.

So obviously, your product seems to be at fault.

I really hope it can be fixed
It is not a fault, it is designed that way, the re-direct is there due to the fact that if you have the legacy postbit selected, then a quick reply would show as the new postbit (as updated via ajax) and the rest of the posts would be in legacy postbit.

To change it back to the legacy postbit would require one of the following:
  1. A manual page refresh (ie browser refresh at users end)
  2. File edits to refresh the page via ajax (I am not up on ajax, so, at the moment, this is not a possibility)
  3. Automatic page refresh (ie a redirect)
I selected the lesser of evils and used a re-direct, and it only does it when the user chooses to use the legacy postbit and answering via quick reply.

When I eventually get around to learning ajax, I should be change this to a file edit instead and get rid of the redirect. There is no time-frame for when this will happen.
Reply With Quote
  #6  
Old 02-18-2009, 10:10 PM
EagleNick's Avatar
EagleNick EagleNick is offline
 
Join Date: Dec 2007
Location: Florida
Posts: 517
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mosh View Post
It is not a fault, it is designed that way, the re-direct is there due to the fact that if you have the legacy postbit selected, then a quick reply would show as the new postbit (as updated via ajax) and the rest of the posts would be in legacy postbit.

To change it back to the legacy postbit would require one of the following:
  1. A manual page refresh (ie browser refresh at users end)
  2. File edits to refresh the page via ajax (I am not up on ajax, so, at the moment, this is not a possibility)
  3. Automatic page refresh (ie a redirect)
I selected the lesser of evils and used a re-direct, and it only does it when the user chooses to use the legacy postbit and answering via quick reply.

When I eventually get around to learning ajax, I should be change this to a file edit instead and get rid of the redirect. There is no time-frame for when this will happen.
Well this didn't used to happen before I upgraded, and I was perfectly fine with the quick reply being the odd-one out and using the horizontal postbit (until the browser was refreshed).

Is there any way I could modify the code to disable the behavior and revert it to it's old way?

Thanks.
Reply With Quote
  #7  
Old 02-19-2009, 12:08 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
Well this didn't used to happen before I upgraded, and I was perfectly fine with the quick reply being the odd-one out and using the horizontal postbit (until the browser was refreshed).
I added that in this version, the v3.7.x version did not have it.
Quote:
Originally Posted by EagleNick View Post
Is there any way I could modify the code to disable the behavior and revert it to it's old way?

Thanks.
It should not be too much of a drama, so I will release an update in the next day or so
Reply With Quote
  #8  
Old 02-19-2009, 07:34 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update: v3.8.002 - Thursday 19th February 2009
-- Changed: Default Postbit (5) plugin
-- Changed: Instructions (now has uninstall instructions)
-- Changed: Screenshoots
-- Added: AdminCP Option to turn on/off re-direct
Reply With Quote
  #9  
Old 02-19-2009, 08:58 AM
EagleNick's Avatar
EagleNick EagleNick is offline
 
Join Date: Dec 2007
Location: Florida
Posts: 517
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mosh View Post
Update: v3.8.002 - Thursday 19th February 2009
-- Changed: Default Postbit (5) plugin
-- Changed: Instructions (now has uninstall instructions)
-- Changed: Screenshoots
-- Added: AdminCP Option to turn on/off re-direct
Thanks, you're awesome!
Reply With Quote
  #10  
Old 02-19-2009, 09:08 AM
newmasalaboard's Avatar
newmasalaboard newmasalaboard is offline
 
Join Date: Apr 2008
Location: Raipur [C.G.], INDIA
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the Update !!

The postbit looks awesome now

"Marked as Installed"
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 02:33 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.08356 seconds
  • Memory Usage 2,344KB
  • Queries Executed 24 (?)
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
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (8)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_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