vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - [AJAX] Helpful Answers - Allow users to rate individual posts (https://vborg.vbsupport.ru/showthread.php?t=233296)

qubed 09-01-2011 09:10 PM

Is there any way to get this to sit flush and to work in the post bit here:
https://vborg.vbsupport.ru/external/2011/09/104.png

That is currently where it is residing, I didn't know if there was a way to get it to work there ( preferably to the left of "PM") as I have signatures turned off for certain forums. Thanks!

Ted S 09-02-2011 02:08 AM

Quote:

Originally Posted by qubed (Post 2240976)
Is there any way to get this to sit flush and to work in the post bit here:


That is currently where it is residing, I didn't know if there was a way to get it to work there ( preferably to the left of "PM") as I have signatures turned off for certain forums. Thanks!

Just have to tweak the css applied to that div [it's floated right but nothing else is set]

TheLastSuperman 09-02-2011 02:20 AM

Quote:

Originally Posted by Ted S (Post 2240717)
Just a little FYI.... 1,000 posts on this thread as of today and 3 million plus logged votes [who knows how many more unlogged ones].

Glad to see the mod working for so many of you!

I've got a major new mod on the way but after that, updates coming!

*TheLastSuperman waits in anticipation!

qubed 09-02-2011 07:14 AM

Might be the wrong place to ask this, but could someone help me with the appropriate css for achieving this (Don't know css myself) and where I would need to put it exactly? I can navigate around the admincp fairly well, just don't know much about design.

Really nice mod.

rooban12 12-10-2011 12:07 AM

I got the following problem after I installed the plugin,

Threads are showing in Ascending Order when I disable the plugin, the threads are showing in Descending Order.

Please someone fix it for me.

Thank you

Ted S 12-10-2011 12:54 AM

Quote:

Originally Posted by rooban12 (Post 2276413)
I got the following problem after I installed the plugin,

Threads are showing in Ascending Order when I disable the plugin, the threads are showing in Descending Order.

Please someone fix it for me.

Thank you

This thread does not alter thread order or make any long term changes to your database.

There's likely a collision with another mod and you will need to test what you've got installed to find what's hitting what.

rooban12 12-10-2011 11:31 AM

I have disable all the plugin and just enable the helpful answer plugin. The result is same, all the threads are in Ascending Order.

Thank you

Ted S 12-10-2011 09:14 PM

Quote:

Originally Posted by rooban12 (Post 2276484)
I have disable all the plugin and just enable the helpful answer plugin. The result is same, all the threads are in Ascending Order.

Thank you

And when you disable this plugin, what happens to your threads? Have you changed the thread order setting from the default?

rooban12 12-10-2011 11:06 PM

when I disable the plugin, threads working fine, I have already changed the thread order too.
I love this plugin, please try to solve this problem

THank you

Ted S 12-10-2011 11:49 PM

Disable the option helpfulanswerorderbits in any given forum. If that doesn't work turn off the hook forumdisplay_query_threadid and tell me if that fixes it

rooban12 12-11-2011 06:14 AM

Solved it..... thanks for your time mate

rhoula 01-06-2012 01:45 PM

This is what I m getting:

Quote:

Database error in vBulletin 4.0.0:

Invalid SQL:
UPDATE forum SET helpfulanswerbits = 1;

MySQL Error : Unknown column 'helpfulanswerbits' in 'field list'
Error Number : 1054
Request Date : Friday, January 6th 2012 @ 08:40:22 AM
Error Date : Friday, January 6th 2012 @ 08:40:22 AM
Script : http://checkthisup.com/admincp/helpf...php?do=do_bulk
Referrer : http://checkthisup.com/admincp/helpf...rs.php?do=bulk
IP Address : 68.12.xxx.xx
Username : rhoula
Classname : vB_Database
MySQL Version : 5.1.56

Ted S 01-06-2012 08:37 PM

Quote:

Originally Posted by rhoula (Post 2284432)
This is what I m getting:

Your install did not update the database properly. Run this query:

ALTER TABLE forum ADD 'helpfulanswerorderbits' INT(10) UNSIGNED NOT NULL DEFAULT '0';

If you use prefixes on your database, be sure to add them in (i.e. vb_forum).

Winter Sonata 01-09-2012 07:23 PM

Sorry, this problem happened to be either : 4.1.10
Quote:

Threads are showing in Ascending Order when I disable the plugin, the threads are showing in Descending Order.
I read your fix but can't locate where is : helpfulanswerorderbits and there is no hook called : forumdisplay_query_threadid

Thanks alot!

Ted S 01-09-2012 07:31 PM

Quote:

Originally Posted by Winter Sonata (Post 2285661)
Sorry, this problem happened to be either : 4.1.10


I read your fix but can't locate where is : helpfulanswerorderbits and there is no hook called : forumdisplay_query_threadid

Thanks alot!

It's in your plugin manager.

Winter Sonata 01-10-2012 01:52 PM

Thankd Ted S

Disable the hook doesn't help and I can't figure out where should I diable this option : helpfulanswerorderbits

Thanks for the support and sorry if bothering.

howit 01-11-2012 12:36 AM

its working on 4.1.9.

Any how to put the "thank" count in the postbit_legacy?

vAsia 01-12-2012 03:03 AM

Could you do one for thread in forumdisplay.php?

It will look like reddit.

Ted S 01-14-2012 12:06 AM

Quote:

Originally Posted by vAsia (Post 2286800)
Could you do one for thread in forumdisplay.php?

It will look like reddit.

This mod rates posts. If you want something to rate threads it would be an entirely separate codebase or, you could port this addon as you see fit.

Ted S 01-14-2012 12:07 AM

Quote:

Originally Posted by howit (Post 2286288)
its working on 4.1.9.

Any how to put the "thank" count in the postbit_legacy?

What do you mean?

Ted S 01-14-2012 12:07 AM

Quote:

Originally Posted by Winter Sonata (Post 2285990)
Thankd Ted S

Disable the hook doesn't help and I can't figure out where should I diable this option : helpfulanswerorderbits

Thanks for the support and sorry if bothering.

Your post makes no sense. If you haven't disabled the hook how can you know if it helps or not?

SilverBoy 01-14-2012 05:24 AM

I just installed the product and test it

I didn't get any thing according this option "Enable Most Helpful Post Block" is it not working as it says? I used vb4.1.9 !!

SilverBoy 01-14-2012 05:26 AM

another Q, what this option do exactly? "Enable Single Post Voting"??

Ted S 01-14-2012 07:31 AM

Quote:

Originally Posted by SilverBoy (Post 2287545)
I just installed the product and test it

I didn't get any thing according this option "Enable Most Helpful Post Block" is it not working as it says? I used vb4.1.9 !!

How is it not working? Is there a post with votes? Does it have enough votes to meet the secondary threshold? Have you configured your templates in a way that may have removed the needed hook? Without being specific I can't help.

Ted S 01-14-2012 07:33 AM

Quote:

Originally Posted by SilverBoy (Post 2287547)
another Q, what this option do exactly? "Enable Single Post Voting"??

From the admin options page:

Quote:

If enabled, users will only be able to vote on one post in a single thread. <strong>Adds one query to each SHOWTHREAD page.</strong>

SilverBoy 01-14-2012 12:19 PM

Yes I have posts with votes, I changed the threshold to (2) votes, and I installed it in test board with default style (no changes made).

Quote:

From the admin options page:

If enabled, users will only be able to vote on one post in a single thread. <strong>Adds one query to each SHOWTHREAD page.</strong>
I don't have description in admin options page for this option that is why I asked :).

Ted S 01-14-2012 11:50 PM

Quote:

Originally Posted by SilverBoy (Post 2287627)
Yes I have posts with votes, I changed the threshold to (2) votes, and I installed it in test board with default style (no changes made).


I don't have description in admin options page for this option that is why I asked :).

Is the cookie lgv getting set?

SilverBoy 01-15-2012 04:09 AM

what do you mean with lgv?

Actually I get confused, is there newer version than what this thread has?

Ted S 01-15-2012 05:03 AM

Quote:

Originally Posted by SilverBoy (Post 2288015)
what do you mean with lgv?

My mistake, I'm mixing up mods.

Have you edited your showthread template manually?

Quote:

Originally Posted by SilverBoy (Post 2288015)
Actually I get confused, is there newer version than what this thread has?

:confused: This is the 4.x version of the mod...

SilverBoy 01-15-2012 05:16 AM

no I don't edit any template it is test board with vb4 default style !!

Quote:

Actually I get confused, is there newer version than what this thread has?
I mean is there a newer version than 2.4? I asked because of the difference in admin options description and lgv cookies :p

Ted S 01-15-2012 10:38 PM

Quote:

Originally Posted by SilverBoy (Post 2288028)

I mean is there a newer version than 2.4? I asked because of the difference in admin options description and lgv cookies :p

This thread holds the vB 4 version of this mod. If you run the same version listed in the thread you have the latest version.

SilverBoy 01-16-2012 03:34 AM

Ok ted, what I can do now?

what I suppose to get after enabling "Enable Most Helpful Post Block" option?

Could you please give me screen shot?

Ted S 01-16-2012 03:51 AM

Quote:

Originally Posted by SilverBoy (Post 2288396)
Ok ted, what I can do now?

what I suppose to get after enabling "Enable Most Helpful Post Block" option?

Could you please give me screen shot?

Well since you don't know what you're looking for perhaps it's there? The result is nothing fancy... just a single line of text in a colored box near the top of the thread page [nothing shows in the individual thread].

Are there enough votes on the post you are testing to make it show up?

SilverBoy 01-16-2012 04:26 AM

I have enough votes (I put 2 in this option "Minimum Rank to Show Post Block") and actually I have 5 votes in one post but no blocks in the page.

actually I get this message at top of the page "See the top rated post in this thread. Click here" if I enabled this option "Get Top Post per Thread".

another note, when enabled this option "Enable User Points" I didn't get any points in post but I get them in profile page.

SilverBoy 01-16-2012 04:36 AM

another note, in edit forum page the option "Order By Helpful Answers Votes?" doesn't make any changes when enable it or disable it !!

Again I'm using 4.1.9 :|.

Ted S 01-16-2012 04:51 AM

Quote:

Originally Posted by SilverBoy (Post 2288406)
another note, when enabled this option "Enable User Points" I didn't get any points in post but I get them in profile page.

I don't follow... You don't get the points but you get the points?

Ted S 01-16-2012 04:53 AM

Quote:

Originally Posted by SilverBoy (Post 2288408)
another note, in edit forum page the option "Order By Helpful Answers Votes?" doesn't make any changes when enable it or disable it !!

Again I'm using 4.1.9 :|.

Alter the hook forumdisplay_query_threadid and add
Code:

echo "option enabled";
after

Code:

if($foruminfo['helpfulanswerbits'] AND $foruminfo['helpfulanswerorderbits']){
If the option is properly enabled, this message will show up with you view the page.

Ted S 01-16-2012 04:56 AM

1 Attachment(s)
Quote:

Originally Posted by SilverBoy (Post 2288406)
I have enough votes (I put 2 in this option "Minimum Rank to Show Post Block") and actually I have 5 votes in one post but no blocks in the page.

actually I get this message at top of the page "See the top rated post in this thread. Click here" if I enabled this option "Get Top Post per Thread".

another note, when enabled this option "Enable User Points" I didn't get any points in post but I get them in profile page.

Install this version of the plugin which will show debug outputs.

SilverBoy 01-16-2012 05:03 AM

Quote:

Originally Posted by Ted S (Post 2288412)
I don't follow... You don't get the points but you get the points?

as you said in admin option "If enabled, users will have votes on their posts counted to display in the postbit template, their profile, etc" this option will display the total # of votes in postbit template and in profile, for me it displayed only in profile page, but it not appear in postbit.

SilverBoy 01-16-2012 05:06 AM

Quote:

Originally Posted by Ted S (Post 2288414)
Install this version of the plugin which will show debug outputs.

I installed it, I get only this line before the header
"debugging...show blockdebugging...show blockdebugging...show blockdebugging...show blockdebugging...show blockdebugging...show blockdebugging...show block "


All times are GMT. The time now is 01:46 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.02371 seconds
  • Memory Usage 1,838KB
  • 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
  • (2)bbcode_code_printable
  • (26)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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