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

Mosh 11-20-2008 02:39 AM

Quote:

Originally Posted by Scamorz (Post 1668778)
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...

If you have definitely followed the instructions to the letter it should work, so [s]I can not suggest anything more without checking out your installation.

If you want me to take a look then feel free to PM me your site address, a temp admin user (with admin permissions - Can Administer Settings for editing options, Can Administer Styles for editing templates, Can Administer Users for editing User Profile Fields and finally Can Administer Plugins for editing products), and ftp access details, without these I can not help you. I will look when I have time, and even if I have a look, I can not guarantee that I will be able to fix it, especially if your site is not in English (I only read/write in English), so it is up to you what you want to do. You can revoke these after I have helped you out.

If you do not want me to take a look, then[/s] there is nothing else I can do to help.

Yosef Sh 11-25-2008 03:11 PM

it doesn't work 3.7.4

Mosh 11-25-2008 07:15 PM

Quote:

Originally Posted by Yosef Sh (Post 1672780)
it doesn't work 3.7.4

I just installed this on a test board with v3.7.4 PL1 and it works as it should, this has been tested on all versions of v3.7.x (from 3.7.4 PL1 down to 3.7.0) and works with all versions so far.

Make sure you have followed the instructions to the letter and it should work, regardless of what style you use (as long as they have a standard postbit and legacy postbit).

Yosef Sh 11-26-2008 05:35 AM

Hot Blue style

Mosh 11-26-2008 08:57 AM

Quote:

Originally Posted by Yosef Sh (Post 1673175)
Hot Blue style

It works fine with the Hot Blue style, see the attachment, I have not come across one style yet it does not work with. You sure you did all the steps correctly???

Yosef Sh 11-26-2008 05:08 PM

Yes the same
do you want to a give a screenshot to know where is the problem

Mosh 11-26-2008 07:38 PM

Quote:

Originally Posted by Yosef Sh (Post 1673470)
Yes the same
do you want to a give a screenshot to know where is the problem

If you have definitely followed the instructions to the letter it should work, so [s]I can not suggest anything more without checking out your installation.

If you want me to take a look then feel free to PM me your site address, a temp admin user (with admin permissions - Can Administer Settings for editing options, Can Administer Styles for editing templates, Can Administer Users for editing User Profile Fields and finally Can Administer Plugins for editing products), and ftp access details, without these I can not help you. I will look when I have time, and even if I have a look, I can not guarantee that I will be able to fix it, especially if your site is not in English (I only read/write in English), so it is up to you what you want to do. You can revoke these after I have helped you out.

If you do not want me to take a look, then [/s]there is nothing else I can do to help.

Yosef Sh 11-26-2008 07:48 PM

Quote:

Originally Posted by Mosh (Post 1673565)
Can Administer Styles for editing templates, Can Administer Users

what i should do in style

Mosh 11-26-2008 07:51 PM

Quote:

Originally Posted by Yosef Sh (Post 1673570)
what i should do in style

That is an admin permission, there is nothing else I can do to help without looking at your installation.

Yosef Sh 11-29-2008 08:21 AM

I'm the admin ..
what to change or to add in the style?
because you didnt mentioned anything about style in the PDF file

Mosh 11-29-2008 09:49 AM

Quote:

Originally Posted by Yosef Sh (Post 1675029)
I'm the admin ..
what to change or to add in the style?
because you didnt mentioned anything about style in the PDF file

[s]Refer to this post - https://vborg.vbsupport.ru/showpost....5&postcount=57
I can not help further unless I look at your installation. I have not mentioned anything about styles at all, apart from the permission I need to look at your installation.

Again, I repeat, read post #57. If you do not want me to look at your installation, then I can help you no further. If you want to look at it, then please provide me with what I need to help you.[/s]

EDIT: You did not take up my offer to look at your installation, so unfortunately, there is nothing I can do or say to help you any further. I can not replicate your problem, and so, you will have to sort it out yourself.

Mosh 01-07-2009 04:19 AM

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


All times are GMT. The time now is 11:17 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.01254 seconds
  • Memory Usage 1,804KB
  • 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
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (22)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