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)

ThorstenA 08-29-2010 07:04 PM

I found a minor issue: With the reputation system integrated, the helpful answers still display "do you find this post helpful" even if I have reputated the post before the installation of this product.

A big thank you for this product! It is great!

ThorstenA 08-29-2010 08:00 PM

Suggestion

To include a list of all users who reputated the thread without adding any query (!) you do this:

Code:

$hook_query_fields .= ",IF(reputationbit.reputationid,CONCAT('<br /><div>Users who liked this post</div>',GROUP_CONCAT(DISTINCT CONCAT('<a href=\"member.php?u=',reputationbit.whoadded,'\">',reputationbit.username,'</a><br /><span style=\"color:#333333\">',reputationbit.reason,'</span>') ORDER BY reputationbit.reason DESC SEPARATOR '<br />')),'') AS reputationbits";
$hook_query_joins .= "LEFT JOIN (SELECT reputationid, reputation.postid, reputation.whoadded,reputation.dateline, user.username, reputation.reason
FROM reputation,user WHERE user.userid=reputation.whoadded) AS reputationbit ON reputationbit.postid = post.postid";
$postids .= " GROUP BY post.postid ";

Use this for your reputation table, too.

Ted S 08-29-2010 09:19 PM

Quote:

Originally Posted by ThorstenA (Post 2091245)
I found a minor issue: With the reputation system integrated, the helpful answers still display "do you find this post helpful" even if I have reputated the post before the installation of this product.

A big thank you for this product! It is great!

The two are not dependant, this is how it is suppose to work.

ThorstenA 08-29-2010 09:25 PM

Ah okay! What do you think about my suggestion? With that you could have a facebook view:
Quote:

3 users like this: Ted S, Thorsten A, sticky

Ted S 08-30-2010 03:59 AM

Quote:

Originally Posted by ThorstenA (Post 2091294)
Ah okay! What do you think about my suggestion? With that you could have a facebook view:

Very easy to do. Simply turn off negative ratings and change the text voting around a bit to read 'Like'. No code changes needed.

sticky 08-30-2010 04:04 AM

Quote:

Originally Posted by Ted S (Post 2090963)
Nope.

I'd offer to help but you know this all way better than I ever well. I just hope this is not too difficult of a request to implement.

SemperFideles 08-30-2010 12:23 PM

Quote:

Originally Posted by CvP (Post 2077692)
It can be admin defined.

1 show user names
2 show user names with votes
3 show user names for members; show user names with votes for moderators

for 1, have a box with small text size and comma list all user names.
for 2, place two box with small text size and comma list all user names accordingly.
for 3, combine 1 and 2 and simple template if condition.

I'd like to throw my vote in the hat for at least option 1 above.

Something below the signature that read something like:

The following 4 users found this post helpful: George, Sue, Pat, Rich

With linkable usernames.

One of the collateral benefits of a Thanking or Helpful Answers system is the useless "I agree with you completely" post. It allows for more focused answers rather than a Ditto. Furthermore, some of my users use the Post Thanks hack to let people know that they read their post about some event in their lives and are happy for them.

I want to Thank You for this very useful addon and don't want to seem ungrateful for the suggestion. I'll use it either way but I'd like to de-anonymize the helpful feature for many reasons (Admin selected). It would be great to be able to go into a profile of a member you trust and just search for the posts they find helpful.

sticky 08-30-2010 02:05 PM

Quote:

Originally Posted by SemperFideles (Post 2091535)
I'd like to throw my vote in the hat for at least option 1 above.

Something below the signature that read something like:

The following 4 users found this post helpful: George, Sue, Pat, Rich

With linkable usernames.

One of the collateral benefits of a Thanking or Helpful Answers system is the useless "I agree with you completely" post. It allows for more focused answers rather than a Ditto. Furthermore, some of my users use the Post Thanks hack to let people know that they read their post about some event in their lives and are happy for them.

I want to Thank You for this very useful addon and don't want to seem ungrateful for the suggestion. I'll use it either way but I'd like to de-anonymize the helpful feature for many reasons (Admin selected). It would be great to be able to go into a profile of a member you trust and just search for the posts they find helpful.

Part of what I like is the anonymity as if users are shown they will no longer use the negative rating aspects of it. Anonymity even allows friends to keep friends in check with neg rep clicks.

My only issue is that certain users abuse this and will continually neg rep the same person.

SemperFideles 08-30-2010 06:57 PM

Quote:

Originally Posted by sticky (Post 2091579)
Part of what I like is the anonymity as if users are shown they will no longer use the negative rating aspects of it. Anonymity even allows friends to keep friends in check with neg rep clicks.

My only issue is that certain users abuse this and will continually neg rep the same person.

Well, like I said, it would be nice to be Admin controlled. I like to know who found a post helpful. I'm not turning on the thumbs down thing as I want people to have to articulate their disagreement to a post whereas agreement or finding something helpful can be noted and pare down the size of a thread. I've had some posts with as many as 80 users Thanking it which dramatically cuts down on thread length if everyone Posted "Thank You."

Ted S 08-31-2010 03:42 AM

Quote:

Originally Posted by SemperFideles (Post 2091713)
Well, like I said, it would be nice to be Admin controlled. I like to know who found a post helpful. I'm not turning on the thumbs down thing as I want people to have to articulate their disagreement to a post whereas agreement or finding something helpful can be noted and pare down the size of a thread. I've had some posts with as many as 80 users Thanking it which dramatically cuts down on thread length if everyone Posted "Thank You."

Agreed.

I think we can make this a cool, optional, like feature...

5 people like this post.

Ted likes this post

etc

Michlerish 09-02-2010 04:06 PM

I installed this according to the instructions, it's enabled in all forums, the "Manual Template Override" is set to NO.... but it's not appearing anywhere on the forum.

A friend is having the exact same issue on his forum too.

We are running vb4.0.6 and downloaded the 404 file for this mod.

What is going wrong?

Ted S 09-02-2010 07:14 PM

Quote:

Originally Posted by Michlerish (Post 2092874)
I installed this according to the instructions, it's enabled in all forums, the "Manual Template Override" is set to NO.... but it's not appearing anywhere on the forum.

A friend is having the exact same issue on his forum too.

We are running vb4.0.6 and downloaded the 404 file for this mod.

What is going wrong?

Did you change any other options or modify your postbit / legacy template?

Michlerish 09-03-2010 06:51 AM

Quote:

Originally Posted by Ted S (Post 2092930)
Did you change any other options or modify your postbit / legacy template?

No, I thought that was optional and not necessary. Is that needed to get it working/visible (referring to the template edit mentioned in first post of thread)?

BadgerDog 09-03-2010 10:31 AM

Thanks Ted ... :)

Before I venture down the road of installing this in our 4.04 site, two questions for either you, or perhaps others can answer them ...

1. Can this mod peacefully co-exist with the very popular "Thank You" mod? Any reported problems? If so, is it logical to have both running simultaneously, or would that create confusion amongst users?

2. We have years of the add-on mod "Thank You" records from members in tens of thousands of posts built up on our site. I think our members would freak if they disappeared by turning that mod off suddenly. Has anyone ever thought about writing a conversion mod that would take those records for each post and convert each "thank you" to a "Thumbs Up" vote for the post, essentially preserving the historical perspective for members of old posts?

Thanks again for your work ... appreciate it ... :up:

Regards,
Badger

KProjects 09-03-2010 11:48 AM

Love the mod - thanks!

It was working great on my site.. then i switched from litespeed to apache w/ mod_security and get this error if a thumbs up/down is clicked:

Warning: curl_setopt() [function.curl-setopt]: Invalid curl configuration option in [path]/helpfulanswers.php on line 483

Line 483 is:
curl_setopt($curlHandle, CURLOPT_MUTE, 1); // dont show output

If you reload the page it shows that your helpful vote registered, and the error is gone.

I'm running v2.3.3 - latest version..

Any ideas?

KProjects 09-03-2010 05:27 PM

Update: fixed it by disabling anonymous reporting...

SemperFideles 09-04-2010 05:06 PM

Quote:

Originally Posted by BadgerDog (Post 2093218)
Thanks Ted ... :)

Before I venture down the road of installing this in our 4.04 site, two questions for either you, or perhaps others can answer them ...

1. Can this mod peacefully co-exist with the very popular "Thank You" mod? Any reported problems? If so, is it logical to have both running simultaneously, or would that create confusion amongst users?

2. We have years of the add-on mod "Thank You" records from members in tens of thousands of posts built up on our site. I think our members would freak if they disappeared by turning that mod off suddenly. Has anyone ever thought about writing a conversion mod that would take those records for each post and convert each "thank you" to a "Thumbs Up" vote for the post, essentially preserving the historical perspective for members of old posts?

Thanks again for your work ... appreciate it ... :up:

Regards,
Badger

Badger,

I've been running the Post Thank You hack for years as well. What I did was leave the Thank You hack installed but set the threshold for new Thanks to a post number way above what anyone can reach. By doing so, all the previously thanked posts still have who thanked them. The two addons co-exist fine.

I could have left the Post Thank You hack available to Thank New Posts as well as have the users find a post helpful but I opted to switch over users to Helpful Posts.

I really liked the Post Thank You hack but the author has pretty much abandoned it and some of the old features like the ability to see what posts a user has been thanked for look like they're not going to be available for vB4.

I think the Helpful Answers switchover will be better in time as it has so many advantages to displaying the Helpful Posts within a thread. I also think the author of this hack has found a nice way to parlay Open Source in a way that it is in his interest to support it long term whereas Post Thanks relies on the good will of users to support his continued coding (something that is sadly very rare).

BadgerDog 09-04-2010 06:30 PM

Quote:

Originally Posted by SemperFideles (Post 2093761)
What I did was leave the Thank You hack installed but set the threshold for new Thanks to a post number way above what anyone can reach. By doing so, all the previously thanked posts still have who thanked them. The two addons co-exist fine.

Thanks Ted ... :)

Makes sense ....

When you say you set the "post number" way above, do you really mean Post Count Needed to Give Thanks?

I couldn't find any other reference to a something that would be a quantity of posts.

So, essentially, the thanks icon disappeared for members and your new "Helpful Answers" appeared simultaneously.

Doesn't the Thank You mod have the advantage of being more personalized in that a person sees the individual member's name who left him that positive expression?

Thanks again for your work .. I use almost all of your mods and the are first rate and reliable ... :up:

Regards,
Badger

SemperFideles 09-04-2010 07:11 PM

Quote:

Originally Posted by BadgerDog (Post 2093805)
Thanks Ted ... :)

Makes sense ....

When you say you set the "post number" way above, do you really mean Post Count Needed to Give Thanks?

I couldn't find any other reference to a something that would be a quantity of posts.

So, essentially, the thanks icon disappeared for members and your new "Helpful Answers" appeared simultaneously.

Doesn't the Thank You mod have the advantage of being more personalized in that a person sees the individual member's name who left him that positive expression?

Thanks again for your work .. I use almost all of your mods and the are first rate and reliable ... :up:

Regards,
Badger

Badger,

My name is Rich. Ted's the coder of this app but I thought I'd answer your question as a board owner who has gone through the same thing you're going through.

1. Yes, I meant Post Count needed to Give Thanks. I raised the level to 100000
2. Yes, the Post Thank You button and the Helpful Answers thing will appear simultaneously (assuming you don't set Post Count level high as in 1.) Since I raised the Post Count needed to give thanks, users can no longer see the Thanks button but, because the Post Thank You hack is still installed, users can see who thanked posts before I raised the post count needed. In other words, I'm weaning users away from the Post Thanks and, in a couple of years, I'll probably just uninstall the Post Thanks hack altogether.
3. Yes, right now the Post Thank You hack allows you to see who thanked the poster but Ted just noted that he was going to mod this application to make this an option for the Helpful Answers product. It will completely replace everything good about Post Thanks when he does that.

As for your previous question about importing old Thanks Data into the Helpful answers hack, I'm sure it could be done with some sort of SQL query but I'm not sophisticated enough to know how to do that.

BadgerDog 09-04-2010 07:40 PM

Quote:

Originally Posted by SemperFideles (Post 2093818)
Badger,

My name is Rich. Ted's the coder of this app but I thought I'd answer your question as a board owner who has gone through the same thing you're going through.

Thanks Rich ... :)

Missed the poster name and just assumed ... ;)

Appreciate you taking the time for the extensively detailed answer ...

It helps a lot .. :up:

Regards,
Badger (Doug)
RSM - Ret'd

Ted S 09-05-2010 08:54 PM

Quote:

Originally Posted by Michlerish (Post 2093137)
No, I thought that was optional and not necessary. Is that needed to get it working/visible (referring to the template edit mentioned in first post of thread)?

Nope, but some people have customized templates which stop the mod from autoloading.

wastemytime 09-06-2010 08:31 AM

Hi,

If i click on a users Post to rate, text changes to "Database Error" and nothing else. I know, that's not much Information, but how can i see the Error Log or do you know what's maybe wrong? I'm running 4.0.6.

Ted S 09-07-2010 04:33 AM

Quote:

Originally Posted by wastemytime (Post 2094473)
Hi,

If i click on a users Post to rate, text changes to "Database Error" and nothing else. I know, that's not much Information, but how can i see the Error Log or do you know what's maybe wrong? I'm running 4.0.6.

You should get an email about the error, if not change your config.php setting to include a webmaster email or view-source the page to get the details.

wastemytime 09-07-2010 05:36 AM

Thank you. I get this Error:

Code:

Invalid SQL:

INSERT INTO vb_helpfulanswer
SET postid = 259155, threadid = 18705, userid = 1, yesno = '1', dateline = 1283840962;

MySQL-Error: Unknown column 'threadid' in 'field list'


Ted S 09-08-2010 02:09 AM

Quote:

Originally Posted by wastemytime (Post 2094898)
Thank you. I get this Error:

Code:

Invalid SQL:
 
INSERT INTO vb_helpfulanswer
SET postid = 259155, threadid = 18705, userid = 1, yesno = '1', dateline = 1283840962;
 
MySQL-Error: Unknown column 'threadid' in 'field list'


Are you a new install or an upgrade?

wastemytime 09-08-2010 05:29 AM

It's an upgrade from 3.x

dianna 09-08-2010 02:05 PM

I uploaded this and using the defualt template yet nothing is showing on any threads how can I fix this?

Ted S 09-08-2010 02:59 PM

Quote:

Originally Posted by dianna (Post 2095427)
I uploaded this and using the defualt template yet nothing is showing on any threads how can I fix this?

Did you enable this for the forum you are in?

dianna 09-08-2010 03:11 PM

at first I didn't have any selected forums for it to show in thinking if left blank it would default and show in all forums. Then I went and selected the forums I wanted it to show in and still nothing

dianna 09-08-2010 03:34 PM

1 Attachment(s)
ok I got it fixed had to uninstall and reinstall something didn't upload first time around any who its showing yay now question what do I change to edit "did you find this helpful?" like? Also I am getting this error (see attachment) when you click on thumbs up help please!

dianna 09-09-2010 12:47 PM

Can anyone help me with the above situation?! I would really like to start using this on my site!

Ted S 09-10-2010 02:19 AM

Quote:

Originally Posted by dianna (Post 2095808)
Can anyone help me with the above situation?! I would really like to start using this on my site!

What's the URL on the link and the URL for your forums? The page isn't getting found which would imply one of your settings in vBulletin is off causing the mod to link wrong

dianna 09-10-2010 11:08 AM

The url to my forums is www.militarywifecentral.com I didn't set up any link url when installing this mod was I suppose to? I didn't see that in the install instructions

dianna 09-10-2010 03:58 PM

Ok so I fiddled with it, reinstalled everything overwritting what I already had and after a little tinkering I got it to work YAY now the only thing is how/where do I go to change the verbage from "was this helpfull" to say something else?

Ted S 09-11-2010 02:26 PM

Quote:

Originally Posted by dianna (Post 2096296)
Ok so I fiddled with it, reinstalled everything overwritting what I already had and after a little tinkering I got it to work YAY now the only thing is how/where do I go to change the verbage from "was this helpfull" to say something else?

Just search your Phrase Manager!

dianna 09-11-2010 02:41 PM

Thanks got it

struff 09-12-2010 09:38 PM

I installed this but I don't see anything on my site. I verified that it is turned on in the ACP.

I am using vB 4 default style and v 4.0.6.

Thanks.

Ted S 09-13-2010 05:05 AM

Quote:

Originally Posted by struff (Post 2097307)
I installed this but I don't see anything on my site. I verified that it is turned on in the ACP.

I am using vB 4 default style and v 4.0.6.

Thanks.

Is it turned on in the forum you are viewing?

struff 09-13-2010 01:30 PM

Quote:

Originally Posted by Ted S (Post 2097417)
Is it turned on in the forum you are viewing?

I left those boxes empty. Is that correct if I want it on everywhere?

Thanks.

dianna 09-13-2010 03:01 PM

I think what he means is go to your forum manager and click on the forum section you are trying to view it on click edit and scroll down to very bottom and make sure you have use helpful answers enabled.


All times are GMT. The time now is 08:12 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.01954 seconds
  • Memory Usage 1,858KB
  • 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
  • (3)bbcode_code_printable
  • (22)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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