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)

Jaxel 08-22-2008 09:51 PM

Hmm... the caching error randomly fixed itself...

Mosh 09-04-2008 10:20 AM

Update: v3.7.002
-- 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

john102774 09-28-2008 12:45 PM

Yet another great Hack!

What if we want to use the old postbit as a default to all members, Is there an option?

Thanks for this great Hack!

Mosh 09-29-2008 11:34 AM

Quote:

Originally Posted by john102774 (Post 1632221)
Yet another great Hack!

What if we want to use the old postbit as a default to all members, Is there an option?

Thanks for this great Hack!

You could try the instructions from the post below, I have not tested them, so you would try the instructions at your own risk, but I don't see why they should not work.

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.


Chris583 10-28-2008 02:06 PM

I have a problem that I have noticed and a member just pointed out again to me.

"I like vertical more, except when I post, my post only comes up horizontal, and all the others vertical, until I refresh the page, if you can fix that, I'd be really grateful."

Any ideas, help? THANKS!!!

Mosh 10-28-2008 09:35 PM

Quote:

Originally Posted by Chris583 (Post 1654546)
I have a problem that I have noticed and a member just pointed out again to me.

"I like vertical more, except when I post, my post only comes up horizontal, and all the others vertical, until I refresh the page, if you can fix that, I'd be really grateful."

Any ideas, help? THANKS!!!

I am aware of the issue, it is not a bug, but a behaviour due to the fact that we are tricking vBulletin into thinking that we are using postbit_legacy when the forum is actually not using it.

It is because he is using Quick Reply, and as the whole page has loaded before he has replied, he is relying on Ajax to display the post after he has replied, and considering that vBulletin is being tricked into thinking it is in another mode from person to person, it will initially revert the postbit to horizontal, until the page has been refreshed, we can not get around this without edits to vBulletin files.

That would probably require at least editing vbulletin_quick_reply.js, which is a core vBulltin file (maybe other files too, but have not looked into it yet). I am not really up on javascript or ajax, but may attempt to fix it at some point (I will give no timeframe). But the only problem with the edits, is that each and every time vBulletin is updated, you will have to apply the edits.

Chris583 10-29-2008 07:50 PM

Thanks for the explanation!

EagleNick 11-16-2008 09:50 PM

Quote:

Originally Posted by Mosh (Post 1654833)
I am aware of the issue, it is not a bug, but a behaviour due to the fact that we are tricking vBulletin into thinking that we are using postbit_legacy when the forum is actually not using it.

It is because he is using Quick Reply, and as the whole page has loaded before he has replied, he is relying on Ajax to display the post after he has replied, and considering that vBulletin is being tricked into thinking it is in another mode from person to person, it will initially revert the postbit to horizontal, until the page has been refreshed, we can not get around this without edits to vBulletin files.

That would probably require at least editing vbulletin_quick_reply.js, which is a core vBulltin file (maybe other files too, but have not looked into it yet). I am not really up on javascript or ajax, but may attempt to fix it at some point (I will give no timeframe). But the only problem with the edits, is that each and every time vBulletin is updated, you will have to apply the edits.

Hi there :)
I really like this modification, it is fantastic.

I have been using version 3.7.001 since it was first launched. I just now upgraded to the new version because I realized the issue with the highlighted search terms.
I am now noticing this error where the postbit is horizontal until the page is refreshed (when using Quick Reply).
However I am 99.99% sure that this did not happen in the first version. I would have noticed it a long time ago.

So why is it just now happening in this new version?

Mosh 11-17-2008 04:00 AM

Quote:

Originally Posted by EagleNick (Post 1667096)
Hi there :)
I really like this modification, it is fantastic.

I have been using version 3.7.001 since it was first launched. I just now upgraded to the new version because I realized the issue with the highlighted search terms.
I am now noticing this error where the postbit is horizontal until the page is refreshed (when using Quick Reply).
However I am 99.99% sure that this did not happen in the first version. I would have noticed it a long time ago.

So why is it just now happening in this new version?

It is quite possible it did not, as v3.7.002 was a complete rewrite, and I am doing the same thing in a completely different way, and the original did not highlight no matter what I did, even though it should have, so went back to the drawing board and rewrote it.

If it bothers you that much and you can live without the highlighting of keywords when searching then by all means re-install v3.7.001 :)

Scamorz 11-19-2008 05:14 PM

It doesn't work for me :(

I have 3.7.0 and i followed all instrunctions, but when i check box it doesn't change nothing...

I have 3 different styles and i make test on default style...


All times are GMT. The time now is 09:15 AM.

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.01552 seconds
  • Memory Usage 1,751KB
  • 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
  • (5)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