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)

radiofranky 06-28-2011 01:18 PM

is there a way to show the result in the topic listing? Currently is showing within the thread and I was wondering if is possible to move it a level up - to the topic listing page.

thanks

Ted S 06-28-2011 04:51 PM

Quote:

Originally Posted by Hateman (Post 2213969)
Hi,

yes the same problem. But im not sure about the problem. I send you a private message with a link about it, is it okay?

I only provide support through the official thread. If you have a question ask it here so others can chime in and / or benefit from seeing the answer.

Ted S 06-28-2011 04:52 PM

Quote:

Originally Posted by radiofranky (Post 2214070)
is there a way to show the result in the topic listing? Currently is showing within the thread and I was wondering if is possible to move it a level up - to the topic listing page.

thanks

Not sure what you mean?

radiofranky 06-28-2011 05:12 PM

which file should edit if I want to modify it to display IMAGE instead of this "1 out of 1 members found this post helpful."

I want to display simply "1029/1300 like"
current message is too long and is taking too much of real-estate.

thanks for the great plugin though.

by the way, I checked to display user rating under profile but nothing is showing up.

Hateman 06-28-2011 05:21 PM

Hi,

thats right. It dosen't work correctly with KeepAlive On on Apache Config. I checked this with KeepAlive On and Off. KeepAlive Off looks good for me but it dosn't look good with Config: On.

Ted S 06-28-2011 10:01 PM

Quote:

Originally Posted by Hateman (Post 2214171)
Hi,

thats right. It dosen't work correctly with KeepAlive On on Apache Config. I checked this with KeepAlive On and Off. KeepAlive Off looks good for me but it dosn't look good with Config: On.

KeepAlive makes for persistent connections which alters how AJAX is rendered. How long do requests take when you have it off? The keepalive option dies after a few seconds.

Ted S 06-28-2011 10:02 PM

Quote:

Originally Posted by radiofranky (Post 2214167)
which file should edit if I want to modify it to display IMAGE instead of this "1 out of 1 members found this post helpful."

I want to display simply "1029/1300 like"
current message is too long and is taking too much of real-estate.

thanks for the great plugin though.

by the way, I checked to display user rating under profile but nothing is showing up.

There's a phrase for this. Search in the none dynamic part "members found this post helpful".

radiofranky 06-28-2011 10:51 PM

thanks. How can I change rating display to 5 out of 10 (20%) like it? Where can I do arithmetic divide {1}/{2}?

thanks

The Rocketeer 07-12-2011 04:54 AM

For some reason the top ten was turned on. So after disabling it and trying to run these queries

Quote:

UPDATE post SET goodrank = '', totalrank = '';
DELETE FROM helpfulanswer;
we are getting this error

An error occurred while attempting to execute your query. The following information was returned.

error number: 1064
error desc: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DELETE FROM helpfulanswer' at line 2

bosken 07-12-2011 11:49 AM

Installed and can?t see the ratings in the posts. I KNOW you?re supposte to enable this feature in the forums but I must be an idiot or something coz cant in my life find this option anywhere???! Any Screendump of WHERE this option is located?!?!

I do run Swedish language pack, can that be the problem? Other language?

In admincp all is on, and manual template is off. Runing vB 4.1.4 PL1

forum is here: http://harleyforum.se

Found it: But I think a screenshot or better intructions could be a good idea.

OMG I can't believe it, I was just checking my forum settings and it wasn't turned on, lol How stupid was that... I'm very sorry for that, cheers it works now.. for others you must go into your admincp - Forum & Moderators - Forum Manager, then select which forum you wish and down at the bottom click to enable, then save...

Ted S 07-12-2011 03:58 PM

Quote:

Originally Posted by The Rocketeer (Post 2219535)
For some reason the top ten was turned on. So after disabling it and trying to run these queries

we are getting this error

An error occurred while attempting to execute your query. The following information was returned.

error number: 1064
error desc: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DELETE FROM helpfulanswer' at line 2

Try running the delete query separately?

The Rocketeer 07-12-2011 09:26 PM

Quote:

Originally Posted by Ted S (Post 2219679)
Try running the delete query separately?

that didnt work either ted i tried them both separately :(

what should i do now?

The Rocketeer 07-12-2011 10:08 PM

Okay on my 3rd try I was able to get this query to run
Code:

DELETE FROM helpfulanswer;
But I still couldn't get this to run
Code:

UPDATE post SET goodrank = '', totalrank = '';
I keep getting this error
Quote:

An error occurred while attempting to execute your query. The following information was returned.
error number: 1054
error desc: Unknown column 'goodrank' in 'field list'

And if the Helpful answers are enabled then after clicking thumbs up, I get this error

Parse error: syntax error, unexpected '<' in /home/myaccount/public_html/helpfulanswers.php on line 522

Ted S 07-12-2011 10:24 PM

Quote:

Originally Posted by The Rocketeer (Post 2219799)
Okay on my 3rd try I was able to get this query to run
Code:

DELETE FROM helpfulanswer;
But I still couldn't get this to run
Code:

UPDATE post SET goodrank = '', totalrank = '';
I keep getting this error


And if the Helpful answers are enabled then after clicking thumbs up, I get this error

Parse error: syntax error, unexpected '<' in /home/myaccount/public_html/helpfulanswers.php on line 522

The first error is because that query is really really old.

Should be: UPDATE helpfulpost SET goodrank = '', totalrank = ''

The second error is something in your script. Reupload.

The Rocketeer 07-12-2011 11:09 PM

thanks Ted, I was using the old query found inside the read me, your updated query fixed it :p

Code:

UPDATE helpfulpost SET goodrank = '', totalrank = ''
Great mod, nominated, we will use it in all our forums :)

Ted S 07-13-2011 04:24 AM

Thanks for the heads up. I'll have to fix that!

Successfulsteps 07-13-2011 05:51 AM

Very nice! Installed and working marvelously! :up:

The Rocketeer 07-13-2011 09:54 AM

Update

Ted, I found a very annoying error with this mod that would cause double posts / duplicate posts of the first topic on a thread. Meaning the topic creators first post will be shown at the bottom of his post as the second post.

I will be sending you the details of this 'Error" in a PM.

Ted S 07-14-2011 10:32 PM

Quote:

Originally Posted by The Rocketeer (Post 2219960)
Update

Ted, I found a very annoying error with this mod that would cause double posts / duplicate posts of the first topic on a thread. Meaning the topic creators first post will be shown at the bottom of his post as the second post.

I will be sending you the details of this 'Error" in a PM.

Is this happening on EVERY post? Or just a few posts?

If it's across the board it's something in your particular install [otherwise this would obviously not be used by anyone] and more tricky to trace down. How much activity do you have in the system? Have you made any changes to the template or code beyond resetting the query?

P.S. I handle all support via the public posts so other users can chime in and benefit from answers.

The Rocketeer 07-14-2011 11:47 PM

No Ted, its not happening across the board, otherwise you would see it on other posts, only happens in a couple posts that probably got affected when I had accedentally turned on and off the top ten thing and then went on and clicked "thumbs up" on a few posts which gave me the error ("Parse error: syntax error, unexpected '<' in /home/myaccount/public_html/helpfulanswers.php on line 522"). So only those few posts are affected. Have I had the updated query then this probably wouldnt have happened. So I think it might be some kind of a query, table or something small gone bad(cache or database related?) that could be easily fixed, since the problem goes away if the mod is disabled. BTW. Did you login with the details and had a good look around yet?

P.S. Thats perfectly fine since others might be able to chime in, so we'll discuss it here. I just PMed you since I didn't want to share my boards URL or anything publicly. :)

Ted S 07-15-2011 01:04 AM

Sounds like you have some duplicate thread vote records [as in there's more than one row storing votes on a thread].

There's a way to de-dup these but if you don't have much data in the system, just clear things out:

Code:

DELETE FROM helpfulpost;
DELETE FROM helpfulpost;
UPDATE user SET hagoodrank = 0, hatotalrank=0, helpfulcnt=0;

BEFORE you re-enable anything be sure to upload all of the scripts again. Parse errors don't happen due to the database, they're calculated before the script executes -- but changing settings can expose different code dependencies which can errors.

radiofranky 07-15-2011 06:15 PM

Hi,
I would like to display "helpful" option on first post only. Is this possible?

thanks

I have modified line 907 to "!=" but helpful is still showing on every threads replies.

radiofranky 07-15-2011 06:17 PM

One more question, what is the variable that stores "negative" vote? I would like display how many negative votes were casted next to "positive"

example.

12 LIKE 3 DISLIKE

radiofranky 07-15-2011 06:34 PM

issue with ajax refreshing. After I clicked "+" both current and previous results were shown.
I have to refresh the page to get the rid of previous result.

see img thanks

https://tmpdmp.com/b87ed81421d14920/824dde8594a8bf5e

Ted S 07-18-2011 07:01 AM

Quote:

Originally Posted by radiofranky (Post 2220948)
issue with ajax refreshing. After I clicked "+" both current and previous results were shown.
I have to refresh the page to get the rid of previous result.

see img thanks

https://tmpdmp.com/b87ed81421d14920/824dde8594a8bf5e

Have you modified your templates / addon? Do you run other post related addons?

Ted S 07-18-2011 07:01 AM

Quote:

Originally Posted by radiofranky (Post 2220937)
Hi,
I would like to display "helpful" option on first post only. Is this possible?

thanks

I have modified line 907 to "!=" but helpful is still showing on every threads replies.

Have you enabled the suppress from first post option?

Ted S 07-18-2011 07:02 AM

Quote:

Originally Posted by radiofranky (Post 2220939)
One more question, what is the variable that stores "negative" vote? I would like display how many negative votes were casted next to "positive"

example.

12 LIKE 3 DISLIKE

https://vborg.vbsupport.ru/showpost....76&postcount=2

Sage Knight 07-18-2011 09:22 AM

Question; Where is the "tab" that you keep mentioning?

Ed Jobe 07-18-2011 05:34 PM

Is it possible to use this addon so that the best answer shows up at the top of the thread?

Ted S 07-19-2011 06:36 AM

Quote:

Originally Posted by Sage Knight (Post 2221856)
Question; Where is the "tab" that you keep mentioning?

:confused: tab?

Ted S 07-19-2011 06:37 AM

Quote:

Originally Posted by Ed Jobe (Post 2222054)
Is it possible to use this addon so that the best answer shows up at the top of the thread?

Yes but you would have to modify your showpost.php file to change the order to votes over date. Alternatively the built in feature will show a link to the top rated post.

Sage Knight 07-19-2011 04:02 PM

Quote:

Originally Posted by Ted S (Post 2222335)
:confused: tab?

To identify and remove abuse a reporting system is included with this addon and can be found in your vBulletin ACP under the Helpful Answers tab


I'm pretty confused as to where is the "tab" as I don't see one.

TheLastSuperman 07-19-2011 04:28 PM

Quote:

Originally Posted by Sage Knight (Post 2222470)
To identify and remove abuse a reporting system is included with this addon and can be found in your vBulletin ACP under the Helpful Answers tab


I'm pretty confused as to where is the "tab" as I don't see one.

I believe that would be AdminCP > Settings > Options > Helpful Answer Settings

Ed Jobe 07-19-2011 06:02 PM

Quote:

Originally Posted by Ted S (Post 2222336)
Alternatively the built in feature will show a link to the top rated post.

Thanks, is there a screenshot of this feature? or a link to a site using this feature?

Ted S 07-19-2011 07:04 PM

Quote:

Originally Posted by Ed Jobe (Post 2222511)
Thanks, is there a screenshot of this feature? or a link to a site using this feature?

No screenshots.

Turn it on, see if you like it. If not, turn it off.

Ted S 07-19-2011 07:05 PM

Quote:

Originally Posted by TheLastSuperman (Post 2222484)
I believe that would be AdminCP > Settings > Options > Helpful Answer Settings

That will do it.

Although to be fair, that system is was not well maintained. Most of the dev has focused on the user-side tools.

pyd 07-24-2011 05:12 PM

Just installed this mod, and feeling a bit stupid right now.
I'm running 4.1.4 PL2. (Default template)
I have enabled the mod, enabled it in "Forum Manager".

But.. how do I use it in a post?
I can't see any new buttons or anything?

Edit: Never mind, I forgot that I couldn't "Like" my own post :)

Blocksbox 07-31-2011 10:47 PM

Fantastic mod. I have a question, though. Is it possible to close a thread if the opening post receives a certain number of thumbs down?

FReeSTER 08-01-2011 02:19 AM

man no matter what I do according to the instructions I still NOT able to see the rating bar

any ideas?

Ted S 08-01-2011 09:12 PM

Quote:

Originally Posted by FReeSTER (Post 2227490)
man no matter what I do according to the instructions I still NOT able to see the rating bar

any ideas?

Have you enabled it in the forum you are viewing?

Have you modified your postbit / postbit_legacy template?

Have you selected a thread with posts you did not make yourself?


All times are GMT. The time now is 04:27 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.02222 seconds
  • Memory Usage 1,844KB
  • 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
  • (6)bbcode_code_printable
  • (21)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