vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=184681

Default Postbit Selectable By Members
by Mosh
08 Jul 2008 04:43

7 Attachment(s)
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.

Q-v-n-s-Q 08 Jul 2008 05:52

this is neat, thank you

dvbusuario 08 Jul 2008 05:56

Downloading!!! xD

Artes_Marciales 08 Jul 2008 06:27

Oh, nice mod Thanks!
I will install that after 4 reviews positive : )

KURTZ 08 Jul 2008 06:52

awesome! just NOMINATED!

Hugo Holbling 08 Jul 2008 07:24

Will this work in reverse if the plugins are edited? That is, it would make postbit_legacy the default and allow members to select the newer postbit if they want to.

Hornstar 08 Jul 2008 08:28

Thanks, looks neat.

Mosh 08 Jul 2008 09:26

Quote:

Originally Posted by Hugo Holbling (Post 1569847)
Will this work in reverse if the plugins are edited? That is, it would make postbit_legacy the default and allow members to select the newer postbit if they want to.

Possibly, I have not tried it myself, as most sites would use the new postbit , and new sites install using the new postbit as default. I will not be looking into it myself.

So, you are welcome to have a go, but if it does not work, I suggest you use the new postbit system wide and get members to select the legacy postbit if they want it.

jesus likes pie 08 Jul 2008 23:20

Heh was about to port my oooold one into this but great, someone else did it :D

thanks; installed.

Mosh 09 Jul 2008 04:45

Quote:

Originally Posted by Artes_Marciales (Post 1569796)
Oh, nice mod Thanks!
I will install that after 4 reviews positive : )

That is 5 positive review now :)

Mosh 09 Jul 2008 12:46

Quote:

Originally Posted by KURTZ (Post 1569825)
awesome! just NOMINATED!

If you are using this, then please click Mark as Installed.

EagleNick 11 Jul 2008 03:19

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!

Mosh 11 Jul 2008 03:24

Quote:

Originally Posted by EagleNick (Post 1572449)
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 :)

CampinCarl 19 Jul 2008 02:05

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 :D

thanks

Mosh 29 Jul 2008 22:32

Quote:

Originally Posted by CampinCarl (Post 1578771)
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 :D

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.


All times are GMT. The time now is 21:38.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.