vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   End-User Options - Default Postbit Selectable By Members (https://vborg.vbsupport.ru/showthread.php?t=200929)

Mosh 01-06-2009 10:00 PM

Default Postbit Selectable By Members
 
1 Attachment(s)
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.

EagleNick 02-07-2009 03:07 AM

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 ;)

Vaupell 02-12-2009 10:01 AM

Excelent installed. / uninstalled didnt work for me :D
great idea though

jboyd 02-17-2009 12:08 AM

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

Mosh 02-18-2009 07:16 PM

Quote:

Originally Posted by EagleNick (Post 1736721)
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.

EagleNick 02-18-2009 10:10 PM

Quote:

Originally Posted by Mosh (Post 1748344)
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.

Mosh 02-19-2009 12:08 AM

Quote:

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

Mosh 02-19-2009 07:34 AM

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

EagleNick 02-19-2009 08:58 AM

Quote:

Originally Posted by Mosh (Post 1748780)
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! :)

newmasalaboard 02-19-2009 09:08 AM

Thanks for the Update !!

The postbit looks awesome now :)

"Marked as Installed"

Artes_Marciales 03-11-2009 12:01 PM

Great Mod!! : )

tweakers 04-20-2009 05:13 PM

I installed this on my forum and when my members and me use the vertical postbit, we double post sometimes in random sub-fora. Any1 experienced this too?

alfaowner 06-06-2009 07:34 PM

I have followed this install perfectely and triple checked it all, the only error I get is that it does everything except change the actual post bit from horizontal to legacy!? Bit pointless for me at the moment :(

Any help appreciated.

SVR01 07-02-2009 09:40 PM

hi guys and thanks for this hack sharing ... i installed this plugin and did every thing as said in instruction ... but it didnt work for me ... i use vbulletin 3.8.2 ... please help me .

pedroenf 07-14-2009 01:36 AM

Quote:

Originally Posted by tweakers (Post 1795321)
I installed this on my forum and when my members and me use the vertical postbit, we double post sometimes in random sub-fora. Any1 experienced this too?


Yes! But it double post only for members who use the horizontal postbit and only using quick reply.

Mosh 07-20-2009 10:19 PM

Quote:

Originally Posted by pedroenf (Post 1848374)
Yes! But it double post only for members who use the horizontal postbit and only using quick reply.

The only time this hack is enabled is when your members selects Yes, I prefer old-style postbit. from UserCP Options (i.e. using legacy/vertical postbit).

When your members are using the horizontal postbit this hack is not enabled at all, so this hack could not be causing your issue.

Mosh 11-28-2009 07:43 AM

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).

ChopSuey 12-09-2009 02:47 AM

Great it dont work at all. Marks installed though.

Mosh 12-10-2009 07:52 PM

Quote:

Originally Posted by ChopSuey (Post 1927573)
Great it dont work at all. Marks installed though.

You have not provided enough information, please elaborate on how it does not work at all.

Mosh 01-02-2010 01:25 AM

Hi all,

It is with regret that after over 4 years (and thousands of hours) spent providing free support for my free hacks released here, as of today I will no longer be able to provide support for free.

This is due to being unemployed for a while, being strapped for cash and unable to rely on the virtually non-existent donations from here to help to pay the bills or put food on the table for my family. I am now providing all support for my free hacks released here over at Wolfshead Solutions via an annual support subscription (for a small fee).

It does not mean I will be no longer release free hacks, I will, but I will just no longer be supporting them for free.

My free hacks have and always will remain free to download and use. And so will updates/bug fixes.

I will be releasing more free hacks, but if you require any support at all for those free hacks, you will need to purchase an annual support subscription over at Wolfshead Solutions to receive support.

I am really sorry I have to do this, but revenue generated by my programming gigs are now my only source of income, and I can no longer afford the luxury of providing free support here, when that time can be spent creating new commercial products, doing paid work requests or providing paid support to pay the bills.

Thank you for the understanding.

Regards,

Mosh.

Mosh 01-08-2011 02:11 AM

Hi all,

Free support has now been moved back to vBulletin.org.

Please see the first post for more information (and also this thread at Wolfshead Solutions).

Enjoy :)

Regards,

Mosh Shigdar - Wolfshead Solutions.

RJ2 12-01-2011 06:22 AM

Great hack, thank you- INSTALLED

Is there any SQL I can use to set all existing users to have old style postbit?

Max Taxable 06-09-2013 07:21 PM

Never, ever making this for vBulletin 4? Would this work on v4?


All times are GMT. The time now is 04:54 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.01397 seconds
  • Memory Usage 1,801KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (23)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete