View Full Version : Add-On Releases - [AJAX] Helpful Answers - Allow users to rate individual posts
Expertu
10-06-2010, 05:08 PM
Can anyone help with my question, please ? Did anyone experience anything similar ?
sticky
10-06-2010, 06:08 PM
Thanks Sticky. Where would I find that? I cant find a setting in helpful answers or reputation settings.
You should see the helpful answers settings under admincp > settings > options and scroll down toward the bottom to "helpful answers settings."
Happy to help, I love this mod.
Expertu
10-06-2010, 06:13 PM
About my previous question, I tried to debug the problem myself, and after trying various settings, I found the culprit:
Hide Negative Posts
If enabled, negative voted threads will be hidden.
If I enable this setting, I get the problem I explained on the previous page. If I disable it, all is ok. Moreover, when I activate it, it doesn't even hide posts with 6 negative votes, even though I have set it up, to hide posts with 5 negative votes.
Ted S
10-07-2010, 04:15 AM
This may have already been asked but to save going through 50 pages I will ask now.
I have noticed that users can only rate one post per thread. is there a setting to allow users to rate many posts within a thread?
Users can rate an unlimited number of posts per thread.
Vikingant
10-09-2010, 12:39 AM
Thank you Sticky.
For further clarification to others with this issue (took me a moment to work it out) I needed to change the 'Enable Single Post Voting' to no. :D
Vikingant
10-09-2010, 02:09 AM
Double post for some reason? deleted
Expertu
10-12-2010, 07:36 PM
Ted, can you give any kind of tip, to help resolve my problem ?
Pro-eSports.com
10-12-2010, 10:30 PM
Your code changed a line break... so that wont do much. Are you looking to change the font?
Ted, I still need help with the text color issue. :o
From last page: https://vborg.vbsupport.ru/showthread.php?t=233296&page=50
I figured out that the text color of your mod is using the text color of posts. How can I make it that the mod text is seperated from post color?
bposner
10-13-2010, 02:20 PM
<SOLVED>
this is the third time I've installed this product and still having problems. Installed as requested on 4.07. All installations went fine. This time, when you click on one of the thumbs, or whatever graphic is enabled the system chokes and spits back a 404 not found error in a separate window. Ted I can give you access via PM if you want to see. I've attached a screen shot of the page that comes up, which seems very strange. Again, this happens when a user clicks on one of the graphics I think some relative path is out of whack as it's displaying my host url. But everything else works in vbulletin, no errors, so assuming the relative paths VB is using are correct?
Edit. OK, I reinstalled and THAT error went away, now I'm getting: Warning: curl_setopt() [function.curl-setopt]: Invalid curl configuration option in [path]/helpfulanswers.php on line 483 when clicking on the graphic I don't think the program likes
me.:confused:
Edit: Well I searched in this thread and found suggestion "turn of the reporting" so that did it.
Thank you for your help
You are welcome
No problem
Anytime
;)
Thanks
alfanexus
10-16-2010, 04:17 PM
Would it be possible to use this on blogs aswell? So users could rate blogs with the same function?
Ted S
10-17-2010, 07:06 PM
Would it be possible to use this on blogs aswell? So users could rate blogs with the same function?
You would have to duplicate the mod files and tweak them, not hard but not simple either
Alan_SP
10-17-2010, 11:29 PM
This would be excellent if it could be used for CMS and blog as well. Anyway, excellent add-on. :up:
sticky
10-18-2010, 06:40 AM
This would be excellent if it could be used for CMS and blog as well. Anyway, excellent add-on. :up:
On the CMS it would be great!
sticky
10-18-2010, 06:40 AM
Ted, this mod was recently released that has a cap on how much negative reputation a user can give: https://vborg.vbsupport.ru/showthread.php?t=251044
Just wanted to see if it would be possible to integrate this cap into the mod :)
KityKatze
10-20-2010, 08:37 AM
Nifty mod, my users love it, thank you!
Found a small bug:
When you rate a thread using the 10-point scale it initially adds your rating to the votes total as well as reworking the rating - eg:
Loading the thread: "This post has been ranked 10 out of 10 with 1 vote"
After rating it also adds the score into how many votes have been cast - In this case 9: "This post has been ranked 9.5 out of 10 with 19 votes"
If you then reload the page you get the proper display: "This post has been ranked 9.5 out of 10 with 2 votes. "
(also, minor point which I've changed in my phrase manager but the default says rate this thread instead of post.)
Seerkan
10-21-2010, 10:10 PM
thanks, very helpful
just one thing:
text of the option "Hide Negative Posts - Count" shold be "Hide Negative THREADS- Count"
This option "Set how low the vote must be before hiding a thread"
sticky
10-26-2010, 11:41 AM
Ted, would you be able to help me modify the "minimum post count" variable to use "minimum rep point" instead?
vietfancy
10-26-2010, 08:28 PM
After click on voting (the thumb) I get this code...
Warning: curl_setopt() [function.curl-setopt]: Invalid curl configuration option in [path]/helpfulanswers.php on line 483
Ted S
10-28-2010, 03:14 AM
After click on voting (the thumb) I get this code...
Warning: curl_setopt() [function.curl-setopt]: Invalid curl configuration option in [path]/helpfulanswers.php on line 483
Disable the reporting feature and you'll be all set
Ted S
10-28-2010, 03:16 AM
Ted, would you be able to help me modify the "minimum post count" variable to use "minimum rep point" instead?
Should be pretty simple... Just need to look up the name of the variable, you can find it in the settings table or source code, once you have it I'll tell you where to swap things out (away from the vB source code right now)
vietfancy
10-28-2010, 03:28 AM
Disable the reporting feature and you'll be all set
Thank you it works great.
Here is one more thing. What do i do (what file should i edit) if i want to allow Guests to vote too?
Ted S
10-31-2010, 10:14 PM
Thank you it works great.
Here is one more thing. What do i do (what file should i edit) if i want to allow Guests to vote too?
You would have to pretty much modify everything as the mod uses User IDs to stop double voting and you would have to switch or add an IP address or some other means to check.
Pvtiste
11-05-2010, 12:29 PM
Wow thos mod is awsome !
thanks for sharing
sticky
11-06-2010, 11:51 PM
Should be pretty simple... Just need to look up the name of the variable, you can find it in the settings table or source code, once you have it I'll tell you where to swap things out (away from the vB source code right now)
I think I found it Ted, I may be wrong but I think this is it:
// check if they have enough posts
if($vbulletin->options['helpans_min'] AND $vbulletin->userinfo['posts'] < $vbulletin->options['helpans_minnum']){
if($using_ajax){
$helpful_answers_error = construct_phrase($vbphrase['helpfulanswer_toofew'],$vbulletin->options['helpans_minnum'],$vbulletin->userinfo['posts']);
$templater = vB_Template::create('helpful_answers_error');
$templater->render();
$templater->register('helpful_answers_error', $helpful_answers_error);
print_output($templater->render());
exit;
} else { eval(standard_error(fetch_error('helpfulanswer_too few',$vbulletin->options['helpans_minnum'],$vbulletin->userinfo['posts'])));}
}
amorosso
11-07-2010, 01:33 PM
Awesome, it should be part of VB ..
Wurstteppich
11-11-2010, 06:56 AM
Hi,
did anyone translate this to German language already and can provide me with his phrases?
Wurstteppich
11-11-2010, 09:31 AM
One thing I noticed...when I click "Yes/No" to rate a users post, it takes ages (at least 5 seconds) till it changes to "Thanks for rating blabla". I use Google Chrome (didnt check with other browsers yet), does anyone have the same problem? I mean not the time to wait is the problem, but users don't recognize if the missed the spot and click another 2-3 times on it in the meantime.
chriske
11-15-2010, 12:52 PM
Having style issues in 4.0.7.
The first screenshot is how a post normally looks, the second is how the post looks in forums where this mod is activated.
Anyone else experiencing this?
MyCTaK
11-16-2010, 11:34 AM
I have the same problem as above (first and second posts are OK, but after them all are wider.
Another think i saw is style problem with background. I think probably it is because of the code below - there is no START, only END (see attached screenshot):
barakuda
11-16-2010, 03:28 PM
installed and work ,thanks
Solarflex
11-20-2010, 10:52 AM
Ok I'm having a problem here and I can't find the answer anywhere..
I'm a total noob when it comes to coding and stuff like this, so I need some explanation..
I have installed this plugin the way it was instructed but it's not showing. I have enabled it on all forums..
What I can't find anywhere in my ACP, however, are the following (emphasis on the bold):
"the Bulk Forum Enabler located in the Helpful Answers Tab."
and I haven't found any option anywhere saying
"manual template override"
So.. where do I find these options?
Wurstteppich
11-20-2010, 11:12 AM
Does anyone else have the problem, that it takes 5-6 seconds till the display changes when you rate a post?
Solarflex
11-20-2010, 11:55 AM
Ok the helpful answers tab is fixed. I see it now. But I still don't see the manual template override..?
KProjects
11-20-2010, 06:37 PM
So - i've been using this and liked it.. then we had some jackass come in and voting thumbs down on a bunch.. I cleared his using the admin panel and now it says:
1 out of 4294967295 members found this post helpful. Did you find this post helpful?
is there a way to recount votes?
Ted S
11-22-2010, 12:59 AM
So - i've been using this and liked it.. then we had some jackass come in and voting thumbs down on a bunch.. I cleared his using the admin panel and now it says:
1 out of 4294967295 members found this post helpful. Did you find this post helpful?
is there a way to recount votes?
There are utility scripts inthe first post which can recount votes for you.
Ted S
11-22-2010, 12:59 AM
Does anyone else have the problem, that it takes 5-6 seconds till the display changes when you rate a post?
Sounds like your database is bogged down. How long does it take to submit a thread?
Ted S
11-22-2010, 01:01 AM
Ok the helpful answers tab is fixed. I see it now. But I still don't see the manual template override..?
It's one of the first options in the Helpful Answers settings...
Solarflex
11-22-2010, 03:31 PM
It's one of the first options in the Helpful Answers settings...
Ah I see. I thought it was that one, but it didn't say "(...) override" but "Manual Template Placement"
But anyway, I have that one set to NO, and all forums have this hack enabled, but I still don't see it...
Ted S
11-24-2010, 04:04 AM
Ah I see. I thought it was that one, but it didn't say "(...) override" but "Manual Template Placement"
But anyway, I have that one set to NO, and all forums have this hack enabled, but I still don't see it...
Have you modified your postbit / postbit_legacy templates?
Wurstteppich
11-24-2010, 09:48 AM
Sounds like your database is bogged down. How long does it take to submit a thread?
Hi Ted,
database is fine, posting itself is done in a second.
chriske
11-24-2010, 10:07 AM
Having style issues in 4.0.7.
The first screenshot is how a post normally looks, the second is how the post looks in forums where this mod is activated.
Anyone else experiencing this?
Anyone?
Solarflex
11-25-2010, 01:32 PM
Have you modified your postbit / postbit_legacy templates?
There are more people working on my site, so I'll ask them too. But when I look at my Style Manager the "postbit" and "postbit_legacy" are both normal. All of the "postbit_*" are. Just black... no "inherited -" or "customized style" color.., so I guess they aren't modified..
chriske
12-03-2010, 08:46 PM
Also the Inline moderation is broken in the forums where this mod is activated :(
I realy like this mod, anyone have a idea how to fix it?
netzwart
12-08-2010, 08:37 PM
Thank you for this great ADDON!!!
Right now, i am trying to move the display location of the ADDON. In the admincp there is said, that i will have to edit the template postbit/ postbig legacy to include the variable $helpful_answers, which allows for customizable display locations for the ADDON.
Unfortunatyly, i don?t know how to do this. Could anybody give me basic instructions, how and where to include the variable $helpful_answers in the corresponding template (finding and editing the template is not the problem!).
What i am trying to do, is to put the location of the MOD below the post (see screenshot), for example into the footer.
Thank you in advance
Netzwart
SORRY, found the solution in post
https://vborg.vbsupport.ru/showpost.php?p=1957576&postcount=2
of this thread !!!!! My fault !!!
netzwart
12-09-2010, 05:59 AM
Hello,
in the control panel of the user, i am showing the latest received reputation of the user. If the new reputation is based on a voting by "Helpful Answers", it says: "Helpful Answers Negative (or Positive) Rating". (see Screenshot)
Where can i translate or change this Phrase ??? :confused:
I found the phrase in the admincp, changed/translated it, but nothing happens. No matter which language is chosen by the user, always the above-mentioned version of the phrase is shown :(
Netzwart
Greek76
12-09-2010, 01:40 PM
Does this work with the latest vb version?
netzwart
12-09-2010, 08:15 PM
Does this work with the latest vb version?
I don?t know, I am using VB 4.0.8 PL2 and not vB 4.1.0, because i have made so much amendments and don?t want to risk anything by upgrading ...
Netzwart
cungchuctanxuan
12-11-2010, 07:51 PM
Warning: curl_setopt() [function.curl-setopt]: Invalid curl configuration option in [path]\helpfulanswers.php on line 483
This is the error I get when pressing "like". The vote goes through tho.
Any idea. Thanks
preemz10314
12-11-2010, 09:18 PM
doesnt work un installed.
Solarflex
12-12-2010, 02:55 PM
There are more people working on my site, so I'll ask them too. But when I look at my Style Manager the "postbit" and "postbit_legacy" are both normal. All of the "postbit_*" are. Just black... no "inherited -" or "customized style" color.., so I guess they aren't modified..
Not edited.
What do I need to do?
Edit: Nvm. I found out. Problem fixed.
Ted S
12-12-2010, 06:26 PM
Not edited.
What do I need to do?
Edit: Nvm. I found out. Problem fixed.
Great
daxitude
12-14-2010, 04:57 PM
Hi Ted,
Installed with 4.1.0 and so far seems to be working very well! Thank you for this wonderful modification. I'm attaching a few screen shots to illustrate.
FYI on the initial install we encountered an issue some others have had. On click to rate and refresh of the page the rating display reads: "%1$s members found this post helpful." We found it resolved when choosing a non-rollover/javascript display option.
We would like to include an icon on the FORUMDISPLAY view in the icon info area that indicates posts have been rated as helpful in any given thread. Is there a variable that would work at this level (kind of a noob with php)?
Also, we like the idea of a two-tier positive rating, e.g. "helpful answer" and "correct answer." Has this ever been considered, and any preliminary thoughts on how best to go about it?
Finally, a +1 for others' suggestions to make the voting not anonymous in the showthread display.
Again, thank you Ted!
just wanna mention that it works fine on 4.1.
Ted, is the "display usernames who rated" and "removing rating" still planned?
smirkley
12-18-2010, 07:49 PM
Really like this mod.
Quick question, how can I add a 1px box around the helpful answers area within posts?
I tried a couple of things but just cant get anything to work.
Using postbit legacy.
Any help appreciated.
Thanks
chriske
12-19-2010, 12:44 PM
Uninstalled, breaks my forum style and make the attachments messed up...
tried to reinstall on 4.1 but nothing changed..
To bad, I like this mod.. but can't figure out what's wrong :(
lycheepassion
12-24-2010, 08:46 AM
I get this error in PL2 vb 4 Warning: curl_setopt() [function.curl-setopt]: Invalid curl configuration option in [path]/helpfulanswers.php on line 483
IndigoSociety
12-29-2010, 09:54 AM
So I added this but I don't see it anywhere on the forum? I have it enabled.
4.1 PL2
IndigoSociety
12-29-2010, 10:53 AM
Fixed with bulk tool. Didn't realize I had to do that. Probably should add that in readme.
Great mod!
Hi Ted.
Is the next version due anytime soon? will it include remove rating by users (usually because of misclick)?
Wynex
01-06-2011, 06:02 PM
Since I installed this addon many of my users are getting an error message saying that they have to wait 30 seconds to make the next post. If they do and click again it's a double post. Anyone else having that problem?
Is there a way to only allow certain users or usergroups to use this mod. I want only a couple to have access and all others to be able to see the results but not have voting options.
Filgga
01-08-2011, 01:42 PM
I get this error in PL2 vb 4 Warning: curl_setopt() [function.curl-setopt]: Invalid curl configuration option in [path]/helpfulanswers.php on line 483
Same error here... Unistalled! No response means no solution :(
Warning: curl_setopt() [function.curl-setopt]: Invalid curl configuration option in [path]/helpfulanswers.php on line 483
The_____KinG
01-09-2011, 02:31 AM
Warning: curl_setopt() [function.curl-setopt]: Invalid curl configuration option in [path]/helpfulanswers.php on line 483
same error here help appreciated
ShadowStalker
01-11-2011, 12:46 AM
Should be changed to no longer supported if the dev doesn't reply.
mmackinnon
01-11-2011, 02:51 AM
same problem. Hope this gets resolved.
Ted S
01-16-2011, 04:01 AM
Should be changed to no longer supported if the dev doesn't reply.
Still around, just not as frequently as some would like.
Ted S
01-16-2011, 04:02 AM
Warning: curl_setopt() [function.curl-setopt]: Invalid curl configuration option in [path]/helpfulanswers.php on line 483
same error here help appreciated
Disable the annonoymous report option and this will go away.
Ted S
01-16-2011, 04:02 AM
Same error here... Unistalled! No response means no solution :(
Warning: curl_setopt() [function.curl-setopt]: Invalid curl configuration option in [path]/helpfulanswers.php on line 483
Actually the solution has been posted many times before, and involves toggling one setting (turning off anonymous reporting). As much as it's up to dev to respond it's also a great idea to search the thread.
Ted S
01-16-2011, 04:03 AM
Hi Ted.
Is the next version due anytime soon? will it include remove rating by users (usually because of misclick)?
I'm looking to bring other coders in to help develop this, if not I'll make some updates later in Q1 including removing a vote.
Ted S
01-16-2011, 04:04 AM
Fixed with bulk tool. Didn't realize I had to do that. Probably should add that in readme.
Great mod!
It's the last step of the instructions and bolded. Also in the settings page. :D
Ted S
01-16-2011, 04:05 AM
Is there a way to only allow certain users or usergroups to use this mod. I want only a couple to have access and all others to be able to see the results but not have voting options.
Not at this time, sorry.
Ted S
01-16-2011, 04:10 AM
Hello Helpful Answers users,
I know many of you have been concerned about the lack of response and for that I apologize. In all honesty my time is no longer spent on this site and while I am around to help with issues and make updates, I can not promise to give the level of support many of you require to walk through each step of the mod or change. With this in mind I have asked other coders to step in and help with the future of HA until (and even after) I have the time to return to it later this year.
There will be more development of HA, more features and help. And yes, this mod still works just fine with the current version of vBulletin.
sweetpotato
01-16-2011, 04:38 AM
Thank you very much for the update. I will try it right now, I am using vb 4.1.1
Bundle
01-16-2011, 10:47 AM
Hello,
Hopefully someone can help me with something that's been driving me INSANE! :D
Basically I use this just as a "like" function (that also adds to reputation) and I eventually achieved the desired effect after a bit of template tinkering... it's just the "plus" button with the number of ratings to the right of it, looks the same whether you've rated the post or not, but is clickable when you can and not otherwise. Everything is working as I wanted EXCEPT for one tiny, endlessly irritating thing.
For the life of me, I can't figure out how to show the "plus" graphic on my own post, next to the rating. That is, when the member who makes the post looks at his own post, which has been rated, it's just the number. No graphic. For anyone else looking at his post, the graphic is there. I know WHY this is: it's because the code for displaying it is built into the "can rate" condition of the mod, and I've added a separate if condition in the template to display it when the post has been rated (helpfulanswerid), but I can't get it to display for "if this is my own post"... if you see what I mean.
I'm probably being really thick. Is there a standard vb conditional for "if this is my post"? That would sort it :/
smirkley
01-16-2011, 07:51 PM
Ted,
I noticed the new upgrade and appreciate the support.
Quick question, I have customized the way it displays on my forum and really like the way this mod works. My forum is loving it.
But I was wondering if there is a way to just upload the file changes to overcome the curl issue fixed, without updatin the xml installer. I just want to preserve the changes on my forum for look and functionality that I have added.
tia
mmackinnon
01-17-2011, 04:45 PM
Ted, Thanks!
I was wondering if anyone found a way to enable this for EVERY post in a thread as opposed to just one. Sometimes there are many great answers and a number of my users asked about it.
Mike
smirkley
01-18-2011, 02:24 AM
I use this setup for every post.
I thought it was in the setup acp.
mmackinnon
01-18-2011, 02:45 AM
Hey
I checked through it but didnt see where one could set that. As it stands now you can choose to rate ONE post within any thread but once you have rated that one post in the thread you no longer have the option to rate anymore in that thread. Is it not this way on your forum? Test it out, I only found out when a user asked me about it and then i tested it and found it to be true.
I use this setup for every post.
I thought it was in the setup acp.
Ted S
01-18-2011, 03:23 AM
Ted,
I noticed the new upgrade and appreciate the support.
Quick question, I have customized the way it displays on my forum and really like the way this mod works. My forum is loving it.
But I was wondering if there is a way to just upload the file changes to overcome the curl issue fixed, without updatin the xml installer. I just want to preserve the changes on my forum for look and functionality that I have added.
tia
xml wasn't changed. post the new .php file and you're set
Ted S
01-18-2011, 03:27 AM
Ted, Thanks!
I was wondering if anyone found a way to enable this for EVERY post in a thread as opposed to just one. Sometimes there are many great answers and a number of my users asked about it.
Mike
By default this works on every post. You must have changed the options to single rating.
Ted S
01-18-2011, 03:28 AM
Hello,
Hopefully someone can help me with something that's been driving me INSANE! :D
Basically I use this just as a "like" function (that also adds to reputation) and I eventually achieved the desired effect after a bit of template tinkering... it's just the "plus" button with the number of ratings to the right of it, looks the same whether you've rated the post or not, but is clickable when you can and not otherwise. Everything is working as I wanted EXCEPT for one tiny, endlessly irritating thing.
For the life of me, I can't figure out how to show the "plus" graphic on my own post, next to the rating. That is, when the member who makes the post looks at his own post, which has been rated, it's just the number. No graphic. For anyone else looking at his post, the graphic is there. I know WHY this is: it's because the code for displaying it is built into the "can rate" condition of the mod, and I've added a separate if condition in the template to display it when the post has been rated (helpfulanswerid), but I can't get it to display for "if this is my own post"... if you see what I mean.
I'm probably being really thick. Is there a standard vb conditional for "if this is my post"? That would sort it :/
Why not just wrap the voting blocks in an if/else statement... Show the current votes after the vote option for everyone and for you (the user) just show the plus and vote count
mmackinnon
01-18-2011, 03:37 AM
Hey Tom
Thanks for the fast reply!!
I got it!
By default this works on every post. You must have changed the options to single rating.
Ted S
01-21-2011, 04:23 AM
HA members, please welcome TheLastSuperman to the HA development and support efforts. TheLastSuperman has offered to step in and provide support and fixes. I do plan some significant updates later this year to add in many of the most requested features so keep your eye out for updates!
Welcome :)
This means we will get "who rated" and rating removal options. yay! :D
kersti
01-22-2011, 10:38 AM
Basically I use this just as a "like" function (that also adds to reputation) and I eventually achieved the desired effect after a bit of template tinkering... it's just the "plus" button with the number of ratings to the right of it, looks the same whether you've rated the post or not, but is clickable when you can and not otherwise. Everything is working as I wanted EXCEPT for one tiny, endlessly irritating thing.
That's the way I'd like it to function - can you let me know what changes you've made to get this working?
TheLastSuperman
01-22-2011, 08:30 PM
HA members, please welcome TheLastSuperman to the HA development and support efforts. TheLastSuperman has offered to step in and provide support and fixes. I do plan some significant updates later this year to add in many of the most requested features so keep your eye out for updates!
Welcome :)
This means we will get "who rated" and rating removal options. yay! :D
Hey everyone ;). A Quick note to say I won't have time available to add in new features, only a update if required, all my other time will be spent on support for the modification until Ted has more free time available :cool:.
Hello,
Hopefully someone can help me with something that's been driving me INSANE! :D
Basically I use this just as a "like" function (that also adds to reputation) and I eventually achieved the desired effect after a bit of template tinkering... it's just the "plus" button with the number of ratings to the right of it, looks the same whether you've rated the post or not, but is clickable when you can and not otherwise. Everything is working as I wanted EXCEPT for one tiny, endlessly irritating thing.
For the life of me, I can't figure out how to show the "plus" graphic on my own post, next to the rating. That is, when the member who makes the post looks at his own post, which has been rated, it's just the number. No graphic. For anyone else looking at his post, the graphic is there. I know WHY this is: it's because the code for displaying it is built into the "can rate" condition of the mod, and I've added a separate if condition in the template to display it when the post has been rated (helpfulanswerid), but I can't get it to display for "if this is my own post"... if you see what I mean.
I'm probably being really thick. Is there a standard vb conditional for "if this is my post"? That would sort it :/
Try something along the lines of:
<vb:if condition="$post['userid'] == $bbuserinfo['userid']"> Do this or show this code etc etc </vb:if>
That's the way I'd like it to function - can you let me know what changes you've made to get this working?
Let's see how Bundle replies and if it works we'll list some alternate instructions on how to customize the modification to work like that for you and other members ;).
reddyink
01-26-2011, 08:10 PM
Is the latest version integrated to VBCredits. There was a previous link which no longer working.
TheLastSuperman
01-27-2011, 04:49 PM
Is the latest version integrated to VBCredits. There was a previous link which no longer working.
I went back a few pages and used the search, my wife says I'm blind however please post that link or link to the post in question. If there's not a modified version released in this thread by Ted then there is not an integrated version out atm.
Edit: Now this is listed in the 3.8 version of this modification, see the mod description:
External Integration:
vB Plaza Modification - http://www.vbplaza.com/forum/showthread.php?p=6359
vB Experience - https://vborg.vbsupport.ru/showthread.php?t=199556
Nothing on vBCredits though on my end.
Sadikb
01-30-2011, 03:21 AM
Welcome Michael... :)
Ted S
02-05-2011, 10:15 PM
I went back a few pages and used the search, my wife says I'm blind however please post that link or link to the post in question. If there's not a modified version released in this thread by Ted then there is not an integrated version out atm.
Edit: Now this is listed in the 3.8 version of this modification, see the mod description:
External Integration:
vB Plaza Modification - http://www.vbplaza.com/forum/showthread.php?p=6359
vB Experience - https://vborg.vbsupport.ru/showthread.php?t=199556
Nothing on vBCredits though on my end.
The vBCredits mod was made by someone else and AFAIK, not ported to the 4.0 version
netzwart
02-21-2011, 08:45 AM
Hi,
i love this MOD! However, before i am going to make it available to my users, i need to find a solution to the following problem:
In the backend, i activated/enabled "Most Helpful Answers", so that a page of the top answers (posts) based on overall votes should be displayed.
1. Where do i find this page?
2. Will there be a link in the navbar being directed to said page?
Thank you in advance
Netzwart
d2gaming
02-25-2011, 03:21 AM
Is this working for 4.1.2? Nothing seems to be showing up in the post
Ted S
02-26-2011, 01:05 AM
Is this working for 4.1.2? Nothing seems to be showing up in the post
Have you enabled it in the forum you are viewing?
Vick98
02-26-2011, 05:34 AM
Is this working for 4.1.2? Nothing seems to be showing up in the post
I am having the same issue and yes it is enabled.
TheLastSuperman
02-26-2011, 05:57 AM
Hi,
i love this MOD! However, before i am going to make it available to my users, i need to find a solution to the following problem:
In the backend, i activated/enabled "Most Helpful Answers", so that a page of the top answers (posts) based on overall votes should be displayed.
1. Where do i find this page?
2. Will there be a link in the navbar being directed to said page?
Thank you in advance
Netzwart
http://www.yoursite.com/helpfulanswers.php
OR
http://www.yoursite.com/forum/helpfulanswers.php
There is no link in the navbar, I'll code that in as an option via plugin this weekend.
I am having the same issue and yes it is enabled.
See Ted's quote below, you have enabled the Helpful answers in the Forum Manager correct? Edit the desired forum and near the bottom are the options ;).
Have you enabled it in the forum you are viewing?
Munkholm
03-03-2011, 12:26 PM
...There is no link in the navbar, I'll code that in as an option via plugin this weekend.
That would be AWESOME ! Is it possible to show a "top ten" of the most helpful answers for each month ?? I?ll need something like that before I install on the live site ;)
Have been trying to get a "top list" by making up a url like:
http://mydomain.org/admincp/helpfulanswers.php?do=show_helpfulanswers&startdate_month=3&startdate_date=1&startyear=2011&enddate_month=3&enddate_date=31&endyear=2011&orderby=count
Thanks a ton for your efforts !!
netzwart
03-04-2011, 07:37 AM
http://www.yoursite.com/helpfulanswers.php
OR
http://www.yoursite.com/forum/helpfulanswers.php
There is no link in the navbar, I'll code that in as an option via plugin this weekend.
Hi LastSuperman,
did you already code that? If YES, how can i integrate this plugin into my installation ?
Greetings
Netzwart
Munkholm
03-04-2011, 07:46 AM
Hi LastSuperman,
did you already code that? If YES, how can i integrate this plugin into my installation ?
Greetings
Netzwart
Don?t think that it?s coded already, but it?s easy to get the link to helpfulanswers.php in the navbar by using this mod (https://vborg.vbsupport.ru/showthread.php?t=233629).
I really hope that TheLastSuperman or Ted S will focus on the functionality of the "most helpful answers" page instead.
Preferably letting users select Month and Year, and display the "Top ten" list by those inputs ;) Pleeaase... Am willing to donate money for this :)
PS: Am looking to use this mod for a "nomination system" where users can "nominate" each post for "Post of the Month"
Munkholm
03-04-2011, 09:03 AM
TheLastSuperman & Ted S.
I know nothing about coding, but I would think that you could borrow a lot of the needed coding from the Top Poster of the Month/Year (https://vborg.vbsupport.ru/showthread.php?t=236822) mod ?
"Just" change:
User Id > Post Id
Total Posts > Total Helpful Votes
Join Date > Post Date
Posts In Month
Wish I knew how to do this myself.
netzwart
03-04-2011, 09:16 AM
Don?t think that it?s coded already, but it?s easy to get the link to helpfulanswers.php in the navbar by using this mod (https://vborg.vbsupport.ru/showthread.php?t=233629).
Great Hint !!!! :up:
Thank you
Netzwart
El Orans
03-10-2011, 10:39 PM
Try reverting the templates. vBulletin has an issue where data gets "stuck" and needs to be forcefully updated.I have reverted everything, still the same issue. Any other options?
Alan_SP
03-13-2011, 11:43 AM
Tips & Tricks Using Template Variables:
{vb:raw post.totalrank} - The total number of ratings
{vb:raw post.goodrank} - The number of good ratings
{vb:raw post.badrank} - The number of bad ratings
{vb:raw post.helpfulgood} - True if the post is positive overall (more good than bad ratings)
{vb:raw post.rate_helpfulanswer} - True if the user can rate the post (false if they are banned or have rated it).
{vb:raw post.helpfulanswerid} - True if the user has already rated the post.
I would really like to have something like that to use in postbit (and of course in postbit_legacy).
For example:
User rated: Total/Pos/Neg
User get rated: Total/Pos/Neg
Or just Pos/Neg
As it is used in Post Thanks and Post Groan mod. Now you have to go to profile to see stats like this.
Ted S
03-13-2011, 06:28 PM
I would really like to have something like that to use in postbit (and of course in postbit_legacy).
For example:
User rated: Total/Pos/Neg
User get rated: Total/Pos/Neg
Or just Pos/Neg
As it is used in Post Thanks and Post Groan mod. Now you have to go to profile to see stats like this.
Thanks for the suggestion. These variables are excluded as they would (currently) require a query per post which is not ideal for load.
Alan_SP
03-14-2011, 02:40 PM
Yes, I understand, that is a problem. So, you would need to rewrite mod...
sticky
03-15-2011, 07:02 AM
Ted, I was wondering if it would be possible to model the hide post feature after the ignore feature. That way it would work for all styles and users could click to see the negatively rated post if they still desired.
Example:
Phaedrus
03-16-2011, 04:10 AM
Is there a way to make a list of who has liked and disliked at the bottom of the post? My users liked that in the Thank/Groans hacks.
Ted S
03-17-2011, 01:33 AM
Is there a way to make a list of who has liked and disliked at the bottom of the post? My users liked that in the Thank/Groans hacks.
With the current code this would require a query per post which is not ideal. You could hack the hack to store this more easily.
That would be AWESOME ! Is it possible to show a "top ten" of the most helpful answers for each month ?? I?ll need something like that before I install on the live site ;)
Have been trying to get a "top list" by making up a url like:
http://mydomain.org/admincp/helpfulanswers.php?do=show_helpfulanswers&startdate_month=3&startdate_date=1&startyear=2011&enddate_month=3&enddate_date=31&endyear=2011&orderby=count
Thanks a ton for your efforts !!
this is what i've been looking too
hoping that Ted and Superman can add this for us. to make it visible to users is better
Ted S
03-21-2011, 04:43 AM
this is what i've been looking too
hoping that Ted and Superman can add this for us. to make it visible to users is better
Making up urls won't work in this case... but nice try. :D
As far as the feature, I'm looking at a version update this summer. If you want it in shorter order it's not a particularly difficult hack if you, or someone you know, has some decent coding skills... Votes are stored as individual entries and an overall score by post. The top helpful answers page uses the post scores, you'd have to switch things up to the vote log, add a little time checking and there you go. Nothing crazy but certainly not basic HTML either.
Making up urls won't work in this case... but nice try. :D
As far as the feature, I'm looking at a version update this summer. If you want it in shorter order it's not a particularly difficult hack if you, or someone you know, has some decent coding skills... Votes are stored as individual entries and an overall score by post. The top helpful answers page uses the post scores, you'd have to switch things up to the vote log, add a little time checking and there you go. Nothing crazy but certainly not basic HTML either.
i don't want to mess up anything with the coding or the forum so better to play safe, waiting for ur update :D
1 more question, is it normal when someone rating a post, they will be brought back to the 1st post?
Tom Kagan
03-23-2011, 03:45 PM
Nice product - well coded. Kudos!
A couple of nitpicks:
Still some usage of '&' in some urls instead of '&'
No need for './' when specifying href in anchor elements
Hardcoded 'images/buttons' instead of using {vb:stylevar imgdir_button}
Hardcoded <img> elements in .xml file lines 934-946 instead of in template
Still using vb3.x syntax to specify stylevar color on <hr> which obviously doesn't work on vb4.x
Still using vb3.x post url syntax 'showthread.php?p=<post#>#post<post#> to jump to post from stat screen instead of vb4.x canonical syntax 'showthread.php?t=<thread#>&viewfull=1&p=<post#>#post<post#>'
Erroneous double call to $templater->render() in helpfulanswers.php lines 510 & 532
Not really a need for a 2nd code path in helpfulanswers.php for 'guestrate' param. The 'rate' param path could just check if user is logged in.
vb parameter 'sessionurl' and/or 'sessionurl_q' should be used in all cases
Urls to posts should be run through the 'Friendly Urls' munger.
Soft deleted posts should not show up in helpfulanswers statistics; user totals updated accordingly.
Hard deleted posts should have helpfulanswer ratings on post also deleted
Option 'Enable Single Post Voting' would probably be more useful per forum instead of global
A minimum rep amount might be nice when using user's rep power or percentage
'Least Helpful Answers' stats/marking would be nice instead of just ignoring them. :)
When you get it working, anonymous reporting should use class_vurl instead of curl
Admincp deleting post ratings does not update helpfulpost
Admincp option 'Enable Single Post Voting' is missing descriptive phrase due to phrase name misspelling
Admincp phrases should be in own group instead of spread to various preexisting groups. There also appears to be some redundancies.
Admincp 'Rating History and Editing' & 'Bulk Forum Enabler' should instead be in maintenance block
Admincp needs way to repair/recalculate user totals due to system error/User merging/deleting etc.
Admincp templates should be in own group instead of 'Help Templates'
Using 'onmouseover', 'onmouseout' should be removed in favor of css 'hover'
Using 'onclick' for AJAX call should be removed in favor of progressive enhancement style javascript. If done, <script> element could be moved to just before </body>
If the above were implemented along with some of your enhancements already planned, this hack would go from 'great' to 'near perfect'. ;)
tightjeansforum
03-23-2011, 04:59 PM
I have this installed and turned on in every forum but I dont see the rep system.
Ted S
03-26-2011, 01:57 AM
i don't want to mess up anything with the coding or the forum so better to play safe, waiting for ur update :D
1 more question, is it normal when someone rating a post, they will be brought back to the 1st post?
Are you not using ajax on your site?
Ted S
03-26-2011, 01:58 AM
Nice product - well coded. Kudos!
A couple of nitpicks:
Still some usage of '&' in some urls instead of '&'
No need for './' when specifying href in anchor elements
Hardcoded 'images/buttons' instead of using {vb:stylevar imgdir_button}
Hardcoded <img> elements in .xml file lines 934-946 instead of in template
Still using vb3.x syntax to specify stylevar color on <hr> which obviously doesn't work on vb4.x
Still using vb3.x post url syntax 'showthread.php?p=<post#>#post<post#> to jump to post from stat screen instead of vb4.x canonical syntax 'showthread.php?t=<thread#>&viewfull=1&p=<post#>#post<post#>'
Erroneous double call to $templater->render() in helpfulanswers.php lines 510 & 532
Not really a need for a 2nd code path in helpfulanswers.php for 'guestrate' param. The 'rate' param path could just check if user is logged in.
vb parameter 'sessionurl' and/or 'sessionurl_q' should be used in all cases
Urls to posts should be run through the 'Friendly Urls' munger.
Soft deleted posts should not show up in helpfulanswers statistics; user totals updated accordingly.
Hard deleted posts should have helpfulanswer ratings on post also deleted
Option 'Enable Single Post Voting' would probably be more useful per forum instead of global
A minimum rep amount might be nice when using user's rep power or percentage
'Least Helpful Answers' stats/marking would be nice instead of just ignoring them. :)
When you get it working, anonymous reporting should use class_vurl instead of curl
Admincp deleting post ratings does not update helpfulpost
Admincp option 'Enable Single Post Voting' is missing descriptive phrase due to phrase name misspelling
Admincp phrases should be in own group instead of spread to various preexisting groups. There also appears to be some redundancies.
Admincp 'Rating History and Editing' & 'Bulk Forum Enabler' should instead be in maintenance block
Admincp needs way to repair/recalculate user totals due to system error/User merging/deleting etc.
Admincp templates should be in own group instead of 'Help Templates'
Using 'onmouseover', 'onmouseout' should be removed in favor of css 'hover'
Using 'onclick' for AJAX call should be removed in favor of progressive enhancement style javascript. If done, <script> element could be moved to just before </body>
If the above were implemented along with some of your enhancements already planned, this hack would go from 'great' to 'near perfect'. ;)
That's one heck of a list. Thanks.
Tom Kagan
03-27-2011, 01:23 AM
That's one heck of a list. Thanks.
You are welcome. I help out a friend who runs a large site on a shoestring. I take my code audits seriously. :) Especially considering some of the other hacks I've looked at, I was impressed by this hack's attention to detail, so I felt a similar level would be in order when making comments.
anht1706@hotmai
04-06-2011, 06:45 PM
I want to change the word " found this post helpful", which file should I edit? Thanks
Ted S
04-10-2011, 07:56 AM
I want to change the word " found this post helpful", which file should I edit? Thanks
Search your phrase manager and translate the bit.
kingMOB
04-10-2011, 08:22 PM
Hi Ted, is there a way to move the "See the top rated post in this thread" to the thread tools bar? And print in the thread list, just beside a thread tittle, the number of ratings that was given to it?
Ted S
04-13-2011, 05:27 PM
Hi Ted, is there a way to move the "See the top rated post in this thread" to the thread tools bar? And print in the thread list, just beside a thread tittle, the number of ratings that was given to it?
You would have to change the hook location in the xml file at this time but it would be fairly simple to do.
The Rocketeer
04-20-2011, 05:56 AM
Hi, could you help me adding some space between this and the forum postbit border please?
currently its touching it.
https://vborg.vbsupport.ru/external/2011/04/13.jpg
edit: would also be nice if you introduced some new and more professional looking thumbs icons
netzwart
04-20-2011, 06:13 AM
I need this information too! Thanks ...
edit: would also be nice if you introduced some new and more professional looking thumbs icons
You may exchange the corresponding files (e. g. ha_thumbsup.gif) in
forum/images/buttons
in order to have more professional looking thumbs. There are a lot of professional thumb-files in the www ....
Netzwart
The Rocketeer
04-20-2011, 06:41 AM
I need this information too! Thanks ...
You may exchange the corresponding files (e. g. ha_thumbsup.gif) in
forum/images/buttons
in order to have more professional looking thumbs. There are a lot of professional thumb-files in the www ....
Netzwart
well I have searched google, nothing much pro...
can you post a few that you think are pro? thanks
netzwart
04-20-2011, 06:53 AM
can you post a few that you think are pro? thanks
Sorry, but I don?t know what you think how a professional thumb should look like ;). Just use the picture search of google. There must be something for you ...
Netzwart
Silviu
04-20-2011, 11:49 AM
Hello Ted,
Question: is there a way to hide the "helpfulanswer_x_out_of_y" variable if the user hasn't rated a reply yet? :confused:
Right now, the "x out of y members found this post useful" is displayed right next to the thumbs up / down buttons, which we don't really want, because it can bias the opinion of the would-be voter (oh, look, this reply has only 2 positive votes out of 5, i won't bother to read it, just hit minus and be done with it)
Ted S
04-24-2011, 02:11 AM
Hello Ted,
Question: is there a way to hide the "helpfulanswer_x_out_of_y" variable if the user hasn't rated a reply yet? :confused:
Right now, the "x out of y members found this post useful" is displayed right next to the thumbs up / down buttons, which we don't really want, because it can bias the opinion of the would-be voter (oh, look, this reply has only 2 positive votes out of 5, i won't bother to read it, just hit minus and be done with it)
Sure...
Just modify the conditional...
<if condition="$post['totalrank']">
<phrase 1="$post[goodrank]" 2="$post[totalrank]" 3="$post[badrank]">$vbphrase[helpfulanswer_x_out_of_y]</phrase>
</if>
To something like
<if condition="$post['totalrank'] AND $post['helpfulanswerid']">
<phrase 1="$post[goodrank]" 2="$post[totalrank]" 3="$post[badrank]">$vbphrase[helpfulanswer_x_out_of_y]</phrase>
</if>
JasonP38
04-24-2011, 11:25 PM
I installed this mod on my site today and every thing looks good but when I tried to use it I got this message.
https://vborg.vbsupport.ru/external/2011/04/15.jpg
Ted S
04-24-2011, 11:57 PM
I installed this mod on my site today and every thing looks good but when I tried to use it I got this message.
The helpfulanswers.php script isn't found indicating you either did not upload it to the right folder or your settings do not match your forum directories properly. You can manually adjust the urls by editing the template if you have a custom installation.
JasonP38
04-25-2011, 12:03 AM
thanks Ted, I have it working now. :)
The Rocketeer
04-25-2011, 02:59 AM
Hello Ted, Wondering If you could please help us out with this question https://vborg.vbsupport.ru/showpost.php?p=2186557&postcount=872
we need some space between this and the forum border
Cybertims
04-25-2011, 09:33 AM
By default this works on every post. You must have changed the options to single rating.Here's a problem I've got.
When someone makes a helpful thread all is fine, if a post inside that thread is marked as unhelpful the entire thread is then hidden, is is possible to only hide the posts that are marked as unhelpful?
Cheers
dlewisr
04-26-2011, 10:09 AM
Nice mod. Installed, nominated and rated. Cheers
Ted S
04-27-2011, 12:50 AM
Hi, could you help me adding some space between this and the forum postbit border please?
currently its touching it.
https://vborg.vbsupport.ru/external/2011/04/13.jpg
edit: would also be nice if you introduced some new and more professional looking thumbs icons
Just add a margin attribute (style="margin-right:10px;") to the div in the helpful_answers template. If this sounds like greek let me know.
Ted S
04-27-2011, 12:51 AM
Here's a problem I've got.
When someone makes a helpful thread all is fine, if a post inside that thread is marked as unhelpful the entire thread is then hidden, is is possible to only hide the posts that are marked as unhelpful?
Cheers
That's how the feature is designed to work. Have you modified any of your post templates or have other addons that alter posts?
Cybertims
04-28-2011, 06:12 AM
That's how the feature is designed to work. Have you modified any of your post templates or have other addons that alter posts?
Not that I know of, which file is likely to be the one changed to cause this? What should I be looking for?
Cheers in advance
Willy T
04-29-2011, 07:52 PM
To add to the customization (& ultimately allowing this mod to be used in an alternative fashion), can you add a function to only allow the feedback on the first post?
Example: Used for ranking someones essay or statement.
The built in stars feature doesn't have the same benefits as your mod. That's basically my only reason for the request.
Thanks for your time!
Ted S
04-29-2011, 10:38 PM
Not that I know of, which file is likely to be the one changed to cause this? What should I be looking for?
Cheers in advance
postbit or postbit_legacy related changes or templates
Ted S
04-29-2011, 10:40 PM
To add to the customization (& ultimately allowing this mod to be used in an alternative fashion), can you add a function to only allow the feedback on the first post?
Example: Used for ranking someones essay or statement.
The built in stars feature doesn't have the same benefits as your mod. That's basically my only reason for the request.
Thanks for your time!
Check the options out!
Britmovie
05-01-2011, 01:32 PM
Hi not certain if this is a past problem I have searched. When the mod is enabled new posts that should be at the top and older at bottom appear all mixed. When disabled new posts are at the top again?
Anyone have a clue please?
Willy T
05-01-2011, 07:58 PM
Check the options out!
Of course I have. Unless it's hidden or rephrased, I only have any option that shows hide first post rating & not the other way around.
I want it so you can only vote on the first post & not the rest. What option would this be under?
Thank you kindly for your quick replies. It is greatly appreciated.
Ted S
05-01-2011, 10:24 PM
Hi not certain if this is a past problem I have searched. When the mod is enabled new posts that should be at the top and older at bottom appear all mixed. When disabled new posts are at the top again?
Anyone have a clue please?
Are you using the hide negative ranked option? The mod doesn't resort any posts.
Ted S
05-01-2011, 10:26 PM
Of course I have. Unless it's hidden or rephrased, I only have any option that shows hide first post rating & not the other way around.
I want it so you can only vote on the first post & not the rest. What option would this be under?
Thank you kindly for your quick replies. It is greatly appreciated.
Gotcha! You can easily reverse that function... best solution for how the mod works right now.
sross
05-04-2011, 02:08 AM
Hi, so far this is looking like a great mod for my forum. All I need is a way to show the ratings activity in my forumdisplay.. so there is a column in the list of threads that shows the rating, or it shows where the original vbuletin rating stars used to show. Is this possible? Thanks for any tips!
angeljs
05-08-2011, 01:12 PM
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'
I'm having this same problem. Was this fixed?
Edit: I managed to fix this by running this query in the database:
ALTER TABLE `helpfulanswer` ADD `threadid` INT(10) NULL
Ted S
05-08-2011, 06:24 PM
I'm having this same problem. Was this fixed?
Edit: I managed to fix this by running this query in the database:
ALTER TABLE `helpfulanswer` ADD `threadid` INT(10) NULL
This is part of the install routine but it sounds like it didn't get exexcuted. Glad you sorted it out!
The Rocketeer
05-09-2011, 04:57 PM
Just add a margin attribute (style="margin-right:10px;") to the div in the helpful_answers template. If this sounds like greek let me know.
Hi Ted,
I did as you suggested, but didnt really work for me...
do you have another fix :o
<div id="helpfulanswers_box_{vb:raw post.postid}" style="text-align:right; margin-right:10px;">
Ted S
05-14-2011, 06:42 PM
Helpful Answers Users -
It's been a long time since this mod had a major update and I want to see what, if any, features would make it better for you. Is there a different way you'd like to see HA work? Another voting or reporting option? More controls? More interactions?
Share your thoughts for the next update!
SemperFideles
05-14-2011, 07:57 PM
I was wondering when a new release might be imminent. Here is my wish list:
- Ability from product settings to set location of the helpful answers below the signature without the need for a manual edit of the template.
- Ability to select to display the usernames of those who found the post helpful (i.e. next to where it says "5 users found this post helpful" list their usernames separated by commas.)
- Ability to display on a user's postbit the number of helpful posts (i.e. below his post count list "Helpful Posts: 200")
- Ability to find all the helpful posts a user has made within his profile.
- Ability to find all the posts a user found helpful within his profile.
SemperFideles
05-19-2011, 01:16 PM
Adding another feature (actually it's a bug fix).
- Fix Helpful Answers page to correspond to the permissions that users have to read threads and thread titles.
The current "rollup page" allows unregistered users to see the thread titles of threads that are in the Admin and Mod fora. I've had this feature on for a while and I shudder to think what some unregistered users have been able to see in terms of thread titles in our Moderating fora. This is a HUGE bug.
Ted S
05-19-2011, 06:20 PM
Adding another feature (actually it's a bug fix).
- Fix Helpful Answers page to correspond to the permissions that users have to read threads and thread titles.
The current "rollup page" allows unregistered users to see the thread titles of threads that are in the Admin and Mod fora. I've had this feature on for a while and I shudder to think what some unregistered users have been able to see in terms of thread titles in our Moderating fora. This is a HUGE bug.
Bug implies something that works incorrectly from how it was designed. This page was built this way from day one as few people let rating in areas they wanted private and documented as such but I digress..
I suppose we can suffer the additional query overhead to do this checking if that's what people prefer.
SemperFideles
05-19-2011, 06:39 PM
Good point. I guess I didn't read the documentation carefully enough. There are private forums where users would like to note that they found a post helpful but that doesn't imply that the data concerning what the post was about should have permissions to be viewed outside the members-only area. I guess I had grown accustomed to other products that maintain forum permissions when displaying data.
Ted S
05-20-2011, 04:51 AM
Good point. I guess I didn't read the documentation carefully enough. There are private forums where users would like to note that they found a post helpful but that doesn't imply that the data concerning what the post was about should have permissions to be viewed outside the members-only area. I guess I had grown accustomed to other products that maintain forum permissions when displaying data.
Easy enough to add in. Just increases the overhead of that page a bit... such as the tradeoff.
Neofate
05-29-2011, 09:01 AM
Awesome! I've been looking for this mod for 4.x.x for a week now! Finally had to key in the right search keyword.. to find it. Maybe I'll be looking to code or find a better forum search function for VB.. lol. I'm sure it's out there.
But Ted, you rock, and thanks for this. Really, makes a big difference.
I MOTM, and Marked installed of course (and it isn't yet). ;)
You should do more mods, you have great talent and ideas.
Take care,
Neofate
05-29-2011, 09:07 AM
Also -- I would be willing to 'donate' immediately for this overhead code which you could offer here for all to add manually if that would be quicker, or add to the code for download. Just let me know sir.
*I have noticed with my 4.1.3 -- Which I think has no problems with this mod.
That the thumbs up and down -- the {vb:raw helpful_answers} .. by default comes BEFORE the subject line.. and puts an awkward space between it and subject line.
Is there anyway I can get it to be 'inline' on the same line as the subject, so the subject looks normal? It makes the alignment of the listings look odd.. Is this normal behavior to push the subject line/header down?
Is there any logical reason why it can't be on the same line? There is more than enough space that is never occupied on the right hand side.
I also used the guide to place it below the signature, but while it works.. it have a space between it and the bottom of the post box.. (between it and the bar with the options to edit, quote, reply, multiquote and so on) -- AND it randomly will leave 2 to 4 single spaces between it and this option bar.
I use postbit_legacy by default.
Any answers , or help?
Maybe I need to modify the php, or some other code a bit to allow it to be inline with something?
I don't really mind where I have to put it, as long as it keeps the post box layout looking as it 'used' to.. or as intended.
I have it disabled until I can figure out an answer to this. Anyone is welcome to share ideas. I would appreciate it.
I will, as I said, donate for the option people are requesting and even to have this working properly.
Thank you !
ALBCODERS
05-29-2011, 06:32 PM
This is a beautifull mod I like it,but not working on vb 4.0.3
Ted S
05-30-2011, 05:42 AM
Also -- I would be willing to 'donate' immediately for this overhead code which you could offer here for all to add manually if that would be quicker, or add to the code for download. Just let me know sir.
Thanks for the offer however donations do not drive my development; comments on the thread and the clear illustration that people are working to extend the offering of the mod are what I look for and updates [other than bug fixes] are released in batches so that people don't have to upgrade frequently. The next planned update will likely be an extensive update this summer as I mentioned a few posts back.
That the thumbs up and down -- the {vb:raw helpful_answers} .. by default comes BEFORE the subject line.. and puts an awkward space between it and subject line.
Yes it does. It's placed in a DIV that shows up before the subjectline.
Is there anyway I can get it to be 'inline' on the same line as the subject, so the subject looks normal? It makes the alignment of the listings look odd.. Is this normal behavior to push the subject line/header down?
It's a separate div but with css you can place it however you like... float it, pad it, color it, etc.
Is there any logical reason why it can't be on the same line? There is more than enough space that is never occupied on the right hand side.
There's just about nothing that you can't do logically, however logic and easy [to install / avoid conflicts from] are different. The subject is an existing core part of the site and while it may be shorter most of the time, that's really about browser types, subject lengths, prefixes and resolution. I try to keep mods more universal... improving upon the base to fit your style better is a great idea. Very logical, very possible, but not ideal for a universal default.
I also used the guide to place it below the signature, but while it works.. it have a space between it and the bottom of the post box.. (between it and the bar with the options to edit, quote, reply, multiquote and so on) -- AND it randomly will leave 2 to 4 single spaces between it and this option bar.
It's not random, it's a function of stacking spacing in the post, the height of the area, other elements that all combine to appear as more or less padding.
Maybe I need to modify the php, or some other code a bit to allow it to be inline with something?
CSS, not PHP but yes, it's something you can and should customize to meet your exact needs.
If you aren't familiar with CSS I can help with this to a degree but vBulletin makes customizing styles painful. In short if you want two elements on the same line the easiest way is to "float" both of them, one to the left and one to the right. This is done with the attribute float:left; float:right. Let me know if that sounds greek or gets you started.
I will, as I said, donate for the option people are requesting and even to have this working properly.
Again, please be clear on the difference between working properly and working how you want. I don't disagree with your request but your comment implies that there is a bug which other users will read and take as it. The truth is that you would like functionality and while perfectly reasonable to ask, it's very different than "not working properly".
scubasteve3
06-05-2011, 05:32 AM
Hi Ted,
1. How would you make it so that users only rank the very first post (The initial thread)?
2. How do you get this to work on front page articles?
Thanks!!
Ted S
06-05-2011, 05:59 AM
Hi Ted,
1. How would you make it so that users only rank the very first post (The initial thread)?
There's a feature to not show this on the first post. Enable that.
Then pop open product-helpful_answers vb404.xml and go to line 907, change this from == to !=
Save. Upload the XML file. Done.
2. How do you get this to work on front page articles?
As in posts on the frontpage or articles stored sepertely from posts?
baghdad4ever
06-05-2011, 09:25 PM
hi
can you add button for every post by which the best answer chosen only by the thread starter?
and after he choose the best the thread automatically closed
Ted S
06-06-2011, 06:11 AM
hi
can you add button for every post by which the best answer chosen only by the thread starter?
and after he choose the best the thread automatically closed
This is really a seperate mod which could certainly work with this but as you're no longer having user's vote per post there isn't much value in making it all one system. Better for someone to build a seperate "Best Answer" system and then share the display placement with Helpful Answers.
TheShanka
06-11-2011, 09:05 AM
I'm unsure why this mod isn't currently working for my site; vBulletin 4.1.4 - I've installed it, all the files are up, made settings changed as I thought appropriate, but no joy. Perhaps it's the bit in the first post about it needing to be enabled in certain forums? How do I go about this as it only seems to mention threads in the Options for it.
Thanks in advance; looking forward to the feature working with my site - the members should get a real kick out of it.
Ted S
06-12-2011, 12:24 AM
I'm unsure why this mod isn't currently working for my site; vBulletin 4.1.4 - I've installed it, all the files are up, made settings changed as I thought appropriate, but no joy. Perhaps it's the bit in the first post about it needing to be enabled in certain forums? How do I go about this as it only seems to mention threads in the Options for it.
Thanks in advance; looking forward to the feature working with my site - the members should get a real kick out of it.
If it's not enabled in the forum you are viewing it certainly won't show up in the forum to "work".
You can enable it in the same place you would enable any any other option, the forum manager. Or you can use the bulk manager in yoru Admin CP to enable it in many forums. Both are explained briefly in the install file but it's pretty simple, you check yes or not :D
scubasteve3
06-19-2011, 12:17 AM
There's a feature to not show this on the first post. Enable that.
Then pop open product-helpful_answers vb404.xml and go to line 907, change this from == to !=
Save. Upload the XML file. Done.
As in posts on the frontpage or articles stored sepertely from posts?
Thanks Ted. I got it so the vote only shows up on the first post.
What I mean was, is it possible to add the same voting system thumbs up/down for front page articles?
Also, Would it be possible to change the way it shows the rating score from X # of users found this helpful. To the Thumbs up Icon and +X (where x is the # of people who found this helpful)
One last thing, how are the results stored in the database? What I mean is, the default thread rating system, the score is titled "votetotal". So I can run a query to order by votetotal. Is this possible with this mod? (Sorry, I'm obviously not a programmer)
Thank you so much!
Ted S
06-19-2011, 05:13 AM
What I mean was, is it possible to add the same voting system thumbs up/down for front page articles?
If it's just posts, yes, but it will take some work.
If you have articles via the CMS then you;d have to more or less rebuild it using the same code base. The system is setup for post IDs so another element would not work.
Also, Would it be possible to change the way it shows the rating score from X # of users found this helpful. To the Thumbs up Icon and +X (where x is the # of people who found this helpful)
Edit the template. Remove the X of Y and replace it with the right variable as shown in ths first post of this thread.
One last thing, how are the results stored in the database? What I mean is, the default thread rating system, the score is titled "votetotal". So I can run a query to order by votetotal. Is this possible with this mod? (Sorry, I'm obviously not a programmer)
There is a record of total votes and good votes per thread but it's in the table helpfulanswers, not post.
scubasteve3
06-19-2011, 06:54 AM
If it's just posts, yes, but it will take some work.
Edit the template. Remove the X of Y and replace it with the right variable as shown in ths first post of this thread.
Ok. I got that so now I can make it so it generates whatever I want it to say after the user has voted. Is it possible to add the gray version of the thumbs up/down image here and next to that say the text.
Ted S
06-20-2011, 10:36 PM
Ok. I got that so now I can make it so it generates whatever I want it to say after the user has voted. Is it possible to add the gray version of the thumbs up/down image here and next to that say the text.
It's HTML, you can add whatever images or other elements you want. <img src="xxx"> for images...
scubasteve3
06-23-2011, 03:42 PM
It's HTML, you can add whatever images or other elements you want. <img src="xxx"> for images...
Right.
I guess what I'm trying to do is have it so that after you vote (for thumbs up only, no negative votes counted) then the green thumbs up will be replaced by a gray thumbsup and next to that will have +goodranks.
I got it so that it says +goodranks but I need some help with the if statement for if users have already voted to insert the gray thumbsup image.
Ted S
06-24-2011, 12:03 AM
You already have to logic down... An image is no different than text, it merely needs a tag.
Just add the <img> tag to whatever code you changed the +goodranks bit too.
Hateman
06-27-2011, 06:33 PM
Hi,
i installed mod_deflate (apache) on my server, but since this installation, this tool don't work correctly on firefox 5.0. Any ideas about this problem?
Ted S
06-27-2011, 06:56 PM
Have you tried it with FF 5 without the module installed?
Hateman
06-28-2011, 09:42 AM
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?
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
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
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
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
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
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
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
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
DELETE FROM helpfulanswer;
But I still couldn't get this to run
UPDATE post SET goodrank = '', totalrank = '';
I keep getting this error
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
Okay on my 3rd try I was able to get this query to run
DELETE FROM helpfulanswer;
But I still couldn't get this to run
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
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
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:
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
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
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
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.php?p=1957576&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
Question; Where is the "tab" that you keep mentioning?
:confused: tab?
Ted S
07-19-2011, 06:37 AM
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
: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
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
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
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
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.
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
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?
Skyrider
08-04-2011, 06:15 AM
Is there anyway that users can undo their own voting to posts?
SᴩiDᴇЯ
08-06-2011, 01:56 AM
This Mod doesn't work has plugin bug and when i asked for help by PM, I got this......Support for this mod is not given via PM, well then i will uninstall the Mod and not even bother with you.
Unstalled.
TheLastSuperman
08-06-2011, 02:40 AM
This Mod doesn't work has plugin bug and when i asked for help by PM, I got this......Support for this mod is not given via PM, well then i will uninstall the Mod and not even bother with you.
Unstalled.
Not the best attitude to have in regards to a modification, many authors do not wish to be bothered with private messages and some don't mind it's that simple. This mod is very well supported by Ted publicly, whenever someone needs help and they post Ted is very helpful and does provide support.
Simply saying that, your having it installed or not installed is only affecting you :o.
SᴩiDᴇЯ
08-06-2011, 06:44 AM
Simply saying that, your having it installed or not installed is only affecting you :o.
And thats why you jumped to put your 2 bits here?
Then you should read my post properly its that simple, Quote " Plugin has a bug in it" Unquote.
I have nothing against the coder, but when he said what he said, i said that i wont bother with him and uninstalled the mod................What's your problem.
TheLastSuperman
08-06-2011, 10:28 AM
And thats why you jumped to put your 2 bits here?
Then you should read my post properly its that simple, Quote " Plugin has a bug in it" Unquote.
I have nothing against the coder, but when he said what he said, i said that i wont bother with him and uninstalled the mod................What's your problem.
Sure, it informs everyone else that sharing is caring and in a sense that you need to post more than "This mod is broken blah blah blah" so with that being said, what's the bug? If you posted anything other than a short rant we could possibly help, that's what was meant to be conveyed by my message, after all despite Ted being very supportive I'm also listed as a Supporter and don't mind being helpful if someone has posted something useful and if the person asking for help is cordial about it :cool:.
radiofranky
08-06-2011, 03:59 PM
Hi,
I was wondering how to register {vb:raw post.totalrank} to use in the SHOWTHREAD template? I would like to show next to google +
https://tmpdmp.com/cc9a7a1a4a1d89ab/234b887664ea7db2
thanks
Moving this mod to below the signature line:
1. Enable Manual Template Placement
2. Find the code:
{vb:raw template_hook.postbit_signature_end}
</div>
</vb:if>
3. Add {vb:raw helpful_answers} below this line
Tips & Tricks Using Template Variables:
{vb:raw post.totalrank} - The total number of ratings
{vb:raw post.goodrank} - The number of good ratings
{vb:raw post.badrank} - The number of bad ratings
{vb:raw post.helpfulgood} - True if the post is positive overall (more good than bad ratings)
{vb:raw post.rate_helpfulanswer} - True if the user can rate the post (false if they are banned or have rated it).
{vb:raw post.helpfulanswerid} - True if the user has already rated the post.
Top Helpful Answers Page:
This is disabled by default. Once enabled you can find it at www.yoursite.com/forums/helpfulanswers.php (http://www.yoursite.com/forums/helpfulanswers.php)
Ted S
08-06-2011, 06:05 PM
This Mod doesn't work has plugin bug and when i asked for help by PM, I got this......Support for this mod is not given via PM, well then i will uninstall the Mod and not even bother with you.
Unstalled.
Like I said in my PM, I only provide support in the official thread. If that doesn't work for you, removing the mod is clearly the right decision.
Best of luck with your site.
Ted S
08-06-2011, 06:09 PM
Then you should read my post properly its that simple, Quote " Plugin has a bug in it" Unquote.
There are no known bugs with the mod displaying and with a few thousand active sites running it, if you have details on one that no one else has caught we're all eager to hear about it so it can be fixed!
Ted S
08-06-2011, 06:11 PM
Hi,
I was wondering how to register {vb:raw post.totalrank} to use in the SHOWTHREAD template? I would like to show next to google +
https://tmpdmp.com/cc9a7a1a4a1d89ab/234b887664ea7db2
thanks
{vb:raw post.totalrank} is a post related variable, so it won't work in SHOWTHREAD which only grabs the total thread variables.
What are you hoping to show? The total number of votes for a thread?
SᴩiDᴇЯ
08-07-2011, 02:43 AM
Firstly i will publicly apologize to ted so i am sorry ted i got up set, but i do need help.
Secondly to the lastsuperman i will ask the questions in a correct and proper manner from now of on, i apologize for my bad manners.
Ted S
08-07-2011, 06:17 AM
Firstly i will publicly apologize to ted so i am sorry ted i got up set, but i do need help.
Secondly to the lastsuperman i will ask the questions in a correct and proper manner from now of on, i apologize for my bad manners.
So what's the issue? The more specific you are, the better we can dial in on your issue.
nerbert
08-07-2011, 07:47 AM
I don't know it this has been dealt with already. There's a bug in the helpful_answers template -- no third argument when you display good and bad ratings. Near the top change code to read as follows
<vb:if condition="$post['totalrank']">
{vb:rawphrase helpfulanswer_x_out_of_y,{vb:raw post.goodrank},{vb:raw post.totalrank},{vb:raw post.badrank}}
</vb:if>
{vb:raw post.badrank} is missing from the argument list.
SᴩiDᴇЯ
08-07-2011, 09:48 AM
The issue is fixed and the mod is working now, i had someone look at the plugin and fix the issue: http://screensnapr.com/v/Svn2Ld.png now working on vB 4.1.4
If you want to see it Live go here: http://WFreedom.com
Thank you Ted.
Poker Face
08-07-2011, 05:11 PM
Installed 4.1.5
Ted S
08-07-2011, 05:43 PM
The issue is fixed and the mod is working now, i had someone look at the plugin and fix the issue: http://screensnapr.com/v/Svn2Ld.png now working on vB 4.1.4
If you want to see it Live go here: http://WFreedom.com
Thank you Ted.
Let me guess, they read the instructions & enabled the option in the forum you were viewing? ;)
To be clear for anyone else looking at this thread, there are no known bugs with vB 4.x showing this mod with several thousand sites reporting in daily.
radiofranky
08-08-2011, 08:16 PM
I just want to place it on "SHOWTHREAD" bar. See my previous attached screen shoot.
thanks
{vb:raw post.totalrank} is a post related variable, so it won't work in SHOWTHREAD which only grabs the total thread variables.
What are you hoping to show? The total number of votes for a thread?
Ted S
08-09-2011, 01:11 AM
I just want to place it on "SHOWTHREAD" bar. See my previous attached screen shoot.
thanks
Your last post has a screenshot... but there's no indication of what data in it should be coming from this mod. Maybe the / 11? Doesn't give much insight...
This is a post mod so no information exists for the thread view, although you can easily grab it. You would need to alter the showthread.php script or corresponding plugins to run a new query grabbing the sum of totalrank on that post_id.
something like.... select sum(helpfulanswers.totalrank) from helpfulanswers where post_id = $XXX
danicamps
08-20-2011, 05:59 PM
Hi, I think I may be trying to do the same thing as Radiofranky
My end goal is to have the total rank display on the forum display - the full list of threads. I have attached a screen shot for clarification, but essentially, I would like to have the total number of votes showing on the forum homepage in either the Replies/Views column or in the Title/Thread Starter Column.
Thank you in advance!
Best,
d
Poker Face
08-21-2011, 05:34 PM
How, can I get some padding around this mod, in post that do not have Titles?
example (with post title)
http://www.brownave.com/filecab/images/vbulletin/helpful_hands.jpg
and (without)
http://www.brownave.com/filecab/images/vbulletin/helpful_hands2.jpg
very messy this way!
Ted S
08-21-2011, 07:14 PM
How, can I get some padding around this mod, in post that do not have Titles?
The mod floats a div to make this work. You can nest it in a parent element, remove the margin / padding as you see fit.
Just search for the helpful_answers template and go from there.
Ted S
08-21-2011, 07:18 PM
Hi, I think I may be trying to do the same thing as Radiofranky
My end goal is to have the total rank display on the forum display - the full list of threads. I have attached a screen shot for clarification, but essentially, I would like to have the total number of votes showing on the forum homepage in either the Replies/Views column or in the Title/Thread Starter Column.
Thank you in advance!
Best,
d
The difficulty here is that votes are stored on the post level, not thread, although the threadid is tracked. The easiest hack would be to query for each thread and get the count but that's terribly inefficient.
Thus you can either make a big modification and build a new thread coutner [which the next version of the mod will do] or be a little less crazy and just run a tally process via cron once a day or such. Really depends on your volume / desire to tweak around.
Neither is crazy complex but it's not changing a font color either...
Poker Face
08-21-2011, 10:12 PM
The mod floats a div to make this work. You can nest it in a parent element, remove the margin / padding as you see fit.
Just search for the helpful_answers template and go from there.
I appreciate the follow-up, Ted S, but a little additional guidance would be very much appreciated!
If not by you, anyone that understands this advice, I would appreciate the additional guidance!
I'm assuming that once in the; Customize Template: helpful_answers screen, that I am looking for this:
<div id="helpfulanswers_box_{vb:raw post.postid}" style="text-align:right;">
And if so, what would I add?
Thank-You in advance!
Ted S
08-21-2011, 10:23 PM
I appreciate the follow-up, Ted S, but a little additional guidance would be very much appreciated!
If not by you, anyone that understands this advice, I would appreciate the additional guidance!
I'm assuming that once in the; Customize Template: helpful_answers screen, that I am looking for this:
<div id="helpfulanswers_box_{vb:raw post.postid}" style="text-align:right;">
And if so, what would I add?
Thank-You in advance!
It depends on what you wish to do exactly and how. If you want to align something equal to another line you would float that line as well. If you want this to appear on top of other elements but not have space you would set the padding / margin to 0.
If css is new to you I highly suggest referring to a css tutorial such as the one at http://www.w3schools.com/css/default.asp - while you can certainly find help around here, the more you want to customize, the more useful it is to know the basics yourself.
danicamps
08-22-2011, 02:43 AM
Thus you can either make a big modification and build a new thread coutner [which the next version of the mod will do] or be a little less crazy and just run a tally process via cron once a day or such. Really depends on your volume / desire to tweak around.
Neither is crazy complex but it's not changing a font color either...
Ted, Thank you for the quick reply. Is this something that I could use Helpful Threads for? Trying to eliminate any manual process as much as possible. When looking at Helpful Answers, I wasn't sure which mod would be best. The most important feature is to have users voting up or down on a thread - not necessarily the underlying posts and have that tallying (to where any vote on a post is not going to change the vote count of the thread). Am I correct in my thinking that using Helpful Answers, this is happening, but just not able to display on the forum home page?
Also, thank you for your continued work on the module - it is awesome, I'm just very new to VBulletin and trying to set up functionality very quickly.
Best,
d
Ted S
08-22-2011, 03:25 AM
Ted, Thank you for the quick reply. Is this something that I could use Helpful Threads for? Trying to eliminate any manual process as much as possible. When looking at Helpful Answers, I wasn't sure which mod would be best. The most important feature is to have users voting up or down on a thread - not necessarily the underlying posts and have that tallying (to where any vote on a post is not going to change the vote count of the thread). Am I correct in my thinking that using Helpful Answers, this is happening, but just not able to display on the forum home page?
Also, thank you for your continued work on the module - it is awesome, I'm just very new to VBulletin and trying to set up functionality very quickly.
Best,
d
HA is very much a post mod and voting takes place per post.
While you could certainly hack things around to show a thread vote, it's not designed to work per thread so if you want to accomplish that you're starting with a solid base but have a number of tweaks to make to limit voting, change the display places, and tally things up to a more useful way.
danicamps
08-23-2011, 03:40 PM
HA is very much a post mod and voting takes place per post.
While you could certainly hack things around to show a thread vote, it's not designed to work per thread so if you want to accomplish that you're starting with a solid base but have a number of tweaks to make to limit voting, change the display places, and tally things up to a more useful way.
Ted, I think I see the issues you were mentioning. Right now, we are using HA and it works great for the threads, unless there is a post underneath and then voting on it creates a duplicated thread in the threadlist. With that in mind, would Helpful Threads be something that we should use instead. We want people to be able to create posts to threads, but we do not need them to be able to vote for the posts - only the thread.
I am not sure how we would go in and limit voting or change the display places with HA.
Thanks,
d
Ted S
08-23-2011, 04:18 PM
Ted, I think I see the issues you were mentioning. Right now, we are using HA and it works great for the threads, unless there is a post underneath and then voting on it creates a duplicated thread in the threadlist. With that in mind, would Helpful Threads be something that we should use instead. We want people to be able to create posts to threads, but we do not need them to be able to vote for the posts - only the thread.
I am not sure how we would go in and limit voting or change the display places with HA.
Thanks,
d
I'm not aware of a Helpful Threads mod but if someone created such a program it would definitely make more sense to use.
danicamps
08-23-2011, 06:34 PM
That would probably be because I think I made it up in my head.. :o
I think I was reading some of the forum posts on the different Helpful Answers mods and cross referenced..
Can you go into any more detail about how to limit the voting. Is there ways to limit the voting to the thread only and not allow at the post level?
Ted S
08-23-2011, 10:19 PM
Can you go into any more detail about how to limit the voting. Is there ways to limit the voting to the thread only and not allow at the post level?
There's no quick way to limit it to thread level... the mod doesn't care about threads, it works off of posts and just tracks a threadid here and there for displaying back info.
What you would need to do is change out that functionality to take advantage of the core code be rework how the voting is tallied and displayed. It's not a full rewrite but it's significant.
Lester Wilson
08-24-2011, 03:54 AM
Hello, great mod, installed
One question, i have many forum areas on my site, i'd like to take advanathe of the option to update multiple forums through the Bulk Forum Enabler located in the Helpful Answers Tab
However i cannot locate the tab. Can some one pointn me to the location of this tab? I dont see it on the forum management dialogue, or in the settings options for this mod.
Where is it?
Installation Instructions:
Step 3) Enable the system in any of your forums by visiting the forum options and scrolling to the end of the page.
Alternatively you can update multiple forums through the Bulk Forum Enabler located in the Helpful Answers Tab.(Required)
Ted S
08-24-2011, 05:02 AM
Hello, great mod, installed
One question, i have many forum areas on my site, i'd like to take advanathe of the option to update multiple forums through the Bulk Forum Enabler located in the Helpful Answers Tab
However i cannot locate the tab. Can some one pointn me to the location of this tab? I dont see it on the forum management dialogue, or in the settings options for this mod.
Where is it?
Installation Instructions:
Step 3) Enable the system in any of your forums by visiting the forum options and scrolling to the end of the page.
Alternatively you can update multiple forums through the Bulk Forum Enabler located in the Helpful Answers Tab.(Required)
It's in the sidebar of your ACP, in it's own section.
Lester Wilson
08-24-2011, 06:41 AM
One question, i have many forum areas on my site, i'd like to take advanathe of the option to update multiple forums through the Bulk Forum Enabler located in the Helpful Answers Tab
However i cannot locate the tab. Can some one pointn me to the location of this tab? I dont see it on the forum management dialogue, or in the settings options for this mod.It's in the sidebar of your ACP, in it's own section.
OK, its not showing on my installation.
I've installed everything in the upload folder via ftp
Is there some other component that i need to install?
Lester Wilson
08-24-2011, 07:58 AM
HI, just so that its clear as to what i'm seeing
I recorded the ACP and the tabs in this 1 min video (http://www.protonbasic.co.uk/VB/index.html)
Ted S
08-24-2011, 04:00 PM
HI, just so that its clear as to what i'm seeing
I recorded the ACP and the tabs in this 1 min video (http://www.protonbasic.co.uk/VB/index.html)
Not loading for me... but a screencap of the sidebar will do just fine as well :D
Lester Wilson
08-24-2011, 04:18 PM
OK I thought the vid would show more information
here is a screen capture of the side barhttp://www.protonbasic.co.uk/VB/sidebar.jpg
Ted S
08-25-2011, 02:06 AM
Hum... the group is called "Helpful Answers System" and should be there.
Can you double check that cpnav_helpfulanswers.xml ended up in your XML folder?
Lester Wilson
08-25-2011, 05:51 AM
cpnav_helpfulanswers.xml was NOT in the correct location.
It's fixed and working now. Thank you for your support.
bfdzio
08-31-2011, 02:21 PM
Anyone have any ideas on how to have posts rated above a certain number...be highlighted a different color? I figure just reverse the code on the collapsing and a few other things from there?
bfdzio
08-31-2011, 03:34 PM
Anyone have any ideas on how to have posts rated above a certain number...be highlighted a different color? I figure just reverse the code on the collapsing and a few other things from there?
nevermind, think I got it...10000x easier than I figured. Was going too far.
Ted S
09-01-2011, 05:47 AM
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!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.