vb.org Archive

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

Mosh 08-10-2008 06:37 AM

Quote:

Originally Posted by Chris583 (Post 1594886)
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?

vBcustompixel 08-10-2008 08:30 AM

Works fine whit 3.7.2

Jhonnyf 08-12-2008 02:36 PM

Quote:

Originally Posted by Chris583 (Post 1593814)
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

RedWingFan 08-12-2008 05:39 PM

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

Mosh 08-12-2008 09:02 PM

Quote:

Originally Posted by Jhonnyf (Post 1597035)
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.

Jhonnyf 08-12-2008 09:29 PM

Quote:

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

BirdOPrey5 08-12-2008 10:39 PM

Quote:

Originally Posted by RedWingFan (Post 1597160)
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...

Mosh 08-12-2008 11:09 PM

Quote:

Originally Posted by BirdOPrey5 (Post 1597338)
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.

RedWingFan 08-13-2008 12:16 AM

Quote:

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

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.

Mosh 08-13-2008 02:31 AM

Quote:

Originally Posted by RedWingFan (Post 1597390)
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. :D

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.


All times are GMT. The time now is 01:00 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.01231 seconds
  • Memory Usage 1,756KB
  • 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
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete