Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

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
  #22  
Old 08-10-2008, 06:37 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
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?
Does it occur with all other products/hacks disabled?
Reply With Quote
  #23  
Old 08-10-2008, 08:30 AM
vBcustompixel vBcustompixel is offline
 
Join Date: Aug 2008
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works fine whit 3.7.2
Reply With Quote
  #24  
Old 08-12-2008, 02:36 PM
Jhonnyf's Avatar
Jhonnyf Jhonnyf is offline
 
Join Date: Nov 2007
Location: In my mind
Posts: 196
Благодарил(а): 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.
same Problem, the post with QUICKREPLY is not refresh inmediatly.....

I use 3.7.2 PL1 and the Default Skin with any modifications
Reply With Quote
  #25  
Old 08-12-2008, 05:39 PM
RedWingFan's Avatar
RedWingFan RedWingFan is offline
 
Join Date: Oct 2004
Location: Canton, MI USA
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One idea rather than modify default vB code: if you use the vertical postbit set up in admincp, set it to the horizontal, but then run a database query to change the value over in everyone's profile so they are still on the vertical postbit, unless they go in and specifically change it. (Having not looked into this mod yet, I'm thinking this is set via an additional database field.) That will keep everyone on the vertical postbit.

I may try this myself. If so I'll come back and mark it "installed". There was an earlier mod for 3.5 or 3.6 (don't recall which), but I never got it to work. It operated off of a custom profile field...
Reply With Quote
  #26  
Old 08-12-2008, 09:02 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 Jhonnyf View Post
same Problem, the post with QUICKREPLY is not refresh inmediatly.....

I use 3.7.2 PL1 and the Default Skin with any modifications
Again, I am not able to replicate this. I will do some more testing...... but it may come to a point where I am going to have a look at forum which is experiencing this issue, because if I can not replicate this I will not be able to find out what is causing it, and will not be able to provide a fix for it.
Reply With Quote
  #27  
Old 08-12-2008, 09:29 PM
Jhonnyf's Avatar
Jhonnyf Jhonnyf is offline
 
Join Date: Nov 2007
Location: In my mind
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mosh View Post
Again, I am not able to replicate this. I will do some more testing...... but it may come to a point where I am going to have a look at forum which is experiencing this issue, because if I can not replicate this I will not be able to find out what is causing it, and will not be able to provide a fix for it.
Ok, but we can found the problem between all

I disable all my Plugin that use Postbit and now It's Work.....

Now. I going to enable one per one and try.....

Testing...............

---------------------------------------------------------------------------------

Ok, Testing done

In my case, only the plugin

[Sniper] - Mood Manager

It's the problem U_U

The people with the same problem, try disable this Mod and comment Please
Reply With Quote
  #28  
Old 08-12-2008, 10:39 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 RedWingFan View Post
One idea rather than modify default vB code: if you use the vertical postbit set up in admincp, set it to the horizontal, but then run a database query to change the value over in everyone's profile so they are still on the vertical postbit, unless they go in and specifically change it. (Having not looked into this mod yet, I'm thinking this is set via an additional database field.) That will keep everyone on the vertical postbit.

I may try this myself. If so I'll come back and mark it "installed". There was an earlier mod for 3.5 or 3.6 (don't recall which), but I never got it to work. It operated off of a custom profile field...
That would be cool if it works... Another forum here that is 'legacy' by default- in fact EVERYONE complained when I tried to go to the new style... Most forums I see are legacy setup, all of them except here...
Reply With Quote
  #29  
Old 08-12-2008, 11:09 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 BirdOPrey5 View Post
That would be cool if it works... Another forum here that is 'legacy' by default- in fact EVERYONE complained when I tried to go to the new style... Most forums I see are legacy setup, all of them except here...
Quote:
Originally Posted by 1st Post
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 probably require code changes to vBulletin's core files to make it work.
I already stated in the first post that it does not work when legacy is used site-wide, and I have no plans in making it do so, but someone comes up with a solution that does not include edits to vBulletin's core files, then let me know how and I will add it to the hack.
Reply With Quote
  #30  
Old 08-13-2008, 12:16 AM
RedWingFan's Avatar
RedWingFan RedWingFan is offline
 
Join Date: Oct 2004
Location: Canton, MI USA
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mosh View Post
I already stated in the first post that it does not work when legacy is used site-wide, and I have no plans in making it do so, but someone comes up with a solution that does not include edits to vBulletin's core files, then let me know how and I will add it to the hack.
This is a roundabout way to do it, but here goes.

IF you can run a database query, you can take an extra step to change everyone over. I did it on my forum a few hours ago and nobody noticed.

After you set up your custom field in the user profile, and you have the ID number, you run this simple query first:

update userfield set field26 = '1'

My custom field was "26"...substitute your own field number there, of course. This would be step #1-1/2 in your procedure.

From that point, I then uploaded the XML file, modified the plugins, etc. per your instructions, then went over to the AdminCP and changed the forum over to the horizontal postbit. Since everyone's "Use the old postbit" setting is checked (set to '1' in the database), it is already turned on for them when you switch the main forum setting over to the horizontal postbit; nobody will know any better!

New users who sign up will get the newer postbit, but if they look through their options, they'll find the checkbox and activate it themselves. I did change the wording so that everyone could understand it better.

So the short version is--insert that database query instruction above as #2 in your procedure, and it's an easy workaround when most people are used to the left-hand postbit.
Reply With Quote
  #31  
Old 08-13-2008, 02:31 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 RedWingFan View Post
This is a roundabout way to do it, but here goes.

IF you can run a database query, you can take an extra step to change everyone over. I did it on my forum a few hours ago and nobody noticed.

After you set up your custom field in the user profile, and you have the ID number, you run this simple query first:

update userfield set field26 = '1'

My custom field was "26"...substitute your own field number there, of course. This would be step #1-1/2 in your procedure.

From that point, I then uploaded the XML file, modified the plugins, etc. per your instructions, then went over to the AdminCP and changed the forum over to the horizontal postbit. Since everyone's "Use the old postbit" setting is checked (set to '1' in the database), it is already turned on for them when you switch the main forum setting over to the horizontal postbit; nobody will know any better!

New users who sign up will get the newer postbit, but if they look through their options, they'll find the checkbox and activate it themselves. I did change the wording so that everyone could understand it better.

So the short version is--insert that database query instruction above as #2 in your procedure, and it's an easy workaround when most people are used to the left-hand postbit.
It still does not get around guests viewing the board in legacy view (forum-wide legacy view), as far as I can see, which is what people have been asking for, and that does not seem achievable without edits to the core files.

Thanks for posting this though, as I am sure it will be useful for some people

Also, as you seem to be using this hack, please click Mark as Installed.
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 04:52 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04813 seconds
  • Memory Usage 2,326KB
  • 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
  • (9)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
  • (4)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