View Full Version : Add-On Releases - [AJAX] Helpful Answers - Allow users to rate individual posts
Ted S
02-03-2009, 10:00 PM
Every day your users contribute hundreds if not thousands of posts making it hard for new members and guests to separate out the best answers from those that are less helpful. The Helpful Answers System offers your members a quick way (AJAX) to rate individual posts as either helpful or not allowing future visitors to understand the benefits of each post.
Designed for maximum flexibility:
This addon is built to be flexible and offers several customization options including:
The ability to use image or text ratings.
The ability to offer yes/no or scaled 1-10 point ranking.
The ability to turn off negative ratings for a positive only system.
The ability to decide which forums are open for helpful answer ratings.
The ability to audit the system and identify top users and potential abusers.
The ability to ban specific members from using the system.
The ability to customize the AJAX message shown after a post is rated.
The ability to edit all text and messages through phrases.
The ability to show a page with the top helpful posts.
The ability to show rating stats on a user's profile.
Integration with the reputation system for ratings.
Template driven display that can easily be customized to your forum.For advanced users template conditionals and variables let you further extend the functionality to color highlight good or bad posts, include ratings in user?s profiles and much more.
Modification Installation:
This addon requires uploading multiple files, installing a vBulletin product and enabling the feature in any forums you wish. No template modifications are required. Please see the included install file for detailed instructions.
If you are not seeing the rating bar double check that you have enabled the feature in the forum you are in and insure the Manual Template override option is not enabled.
Rating Review & Deletion:
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. Through this panel you will be able to view a user's overall rating history and individual ratings and can remove either if necessary. Users can also be explicitly banned from the system.
Reputation System Integration:
Helpful Answers can be extended to directly tie into your reputation system giving users positive or negative points based on the ratings of their posts. There are numerous options on how to handle ratings that can be found in a separate Helpful Answers Reputation part of your vBulletin Settings page.
Anonymous Stats Tracking (optional):
vBulletin forums reach millions of consumers around the world yet little is known about their habits and opinions. This addon was released to the public out of requests but also to further the research of forum user's behaviors and actions through collecting the most basic data on thousands of sites.
By default this addon will pass basic rating data (positive or negative) to a 3rd party site for statistical purposes. Only the most basic data is captured (the vote and your site name) and no user information or specific forum details are logged, not even an IP address.
While you may disable this feature through the administrative options I ask that you consider leaving it in place to help this research effort and insure the continued support of the addon.
The tracking feature uses the php library cURL on a 5 second timeout. If cURL is not installed this option is automatically disabled.
History of this addon:
This addon was originally developed for private use in 2006 for a site of mine but after getting several past clients requested requests and messages I decided to package it up for public release.
Ted S
02-03-2009, 11:37 PM
Tips & Tricks Using Template Variables:
While the Helpful Answers section may appear to only add to a small part of your post it can be used much more extensively to change the color of an entire post, to add a special icon or just about anything else you like. Here are list of the variables available for your templates and a few sample conditions you can use with them:
$post[totalrank] - The total number of ratings
$post[goodrank] - The number of good ratings
$post[badrank] - The number of bad ratings
$post[helpfulgood] - True if the post is positive overall (more good than bad ratings)
$show[rate_helpfulanswer] - True if the user can rate the post (false if they are banned or have rated it).
$post[helpfulanswerid] - True if the user has already rated the post.
Future Updates:
I'm pleased with this addon so far but plan to extend it as feedback comes in so please share your comments and suggestions as they will be read and responded too.
Coming soon... A page showcasing your top 10 (or 20 or 30 or 100) posts.
Ted S
02-04-2009, 12:52 AM
Thanks for the private feedback; I've added a simple page showing the Most Helpful Answers. This can be disabled through the options and the number of results to show can also be configured.
Spank
02-04-2009, 01:18 AM
Brill, will download and install later. Thanks
Rickeo
02-04-2009, 01:45 AM
Any chance of getting this to work on 3.8x?
Ted S
02-04-2009, 01:58 AM
Any chance of getting this to work on 3.8x?
https://vborg.vbsupport.ru/showthread.php?t=204117
GigaSb
02-04-2009, 06:31 AM
help here please, got errors:
Database error in vBulletin 3.7.0:
Invalid SQL:
SELECT
post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS isdeleted,
user.*, userfield.*, usertextfield.*,
icon.title as icontitle, icon.iconpath,
avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight,
spamlog.postid AS spamlog_postid,
deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason,
editlog.userid AS edit_userid, editlog.username AS edit_username, editlog.dateline AS edit_dateline,
editlog.reason AS edit_reason, editlog.hashistory,
postparsed.pagetext_html, postparsed.hasimages,
sigparsed.signatureparsed, sigparsed.hasimages AS sighasimages,
sigpic.userid AS sigpic, sigpic.dateline AS sigpicdateline, sigpic.width AS sigpicwidth, sigpic.height AS sigpicheight,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, infractiongroupid
,post.goodrank,post.totalrank,helpfulanswer.helpfu lanswerid
FROM post AS post
LEFT JOIN user AS user ON(user.userid = post.userid)
LEFT JOIN userfield AS userfield ON(userfield.userid = user.userid)
LEFT JOIN usertextfield AS usertextfield ON(usertextfield.userid = user.userid)
LEFT JOIN icon AS icon ON(icon.iconid = post.iconid)
LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)
LEFT JOIN spamlog AS spamlog ON(spamlog.postid = post.postid)
LEFT JOIN deletionlog AS deletionlog ON(post.postid = deletionlog.primaryid AND deletionlog.type = 'post')
LEFT JOIN editlog AS editlog ON(editlog.postid = post.postid)
LEFT JOIN postparsed AS postparsed ON(postparsed.postid = post.postid AND postparsed.styleid = 4 AND postparsed.languageid = 3)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 4 AND sigparsed.languageid = 3)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)
LEFT JOIN helpfulanswer AS helpfulanswer ON(helpfulanswer.postid = post.postid and helpfulanswer.userid = 1)
WHERE post.postid IN (0,210,231)
ORDER BY post.dateline;
MySQL Error : Table 'mysite_fph.helpfulanswer' doesn't exist
Error Number : 1146
Request Date : Wednesday, February 4th 2009 @ 11:26:54 AM
Error Date : Wednesday, February 4th 2009 @ 11:26:54 AM
Script : http://www.mysite.co.il/showthread.php?t=188
Referrer : http://www.mysite.co.il/forumdisplay.php?f=3
IP Address : XX.XXX.XX.XXX
Username : PCTech
Classname : vB_Database
MySQL Version : 5.0.37-standard
6piston
02-04-2009, 11:32 AM
help here please, got errors:
Database error in vBulletin 3.7.0:
try this:
https://vborg.vbsupport.ru/showpost.php?p=1733591&postcount=8
6piston
02-04-2009, 11:40 AM
hi Ted
i've created the sql table manually using the link i posted above. but now, i get other sql errors. this time:
when i click Yes / No the AJAX effect doesn't work, instead, a window pops up and says:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Zerotohundred.com Database Error</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="ROBOTS" content="NOINDEX,NOFOLLOW,NOARCHIVE" />
<style type="text/css">
<!--
body { background-color: white; color: black; }
#container { width: 400px; }
#message { width: 400px; color: black; background-color: #FFFFCC; }
#bodytitle { font: 13pt/15pt verdana, arial, sans-serif; height: 35px; vertical-align: top; }
.bodytext { font: 8pt/11pt verdana, arial, sans-serif; }
a:link { font: 8pt/11pt verdana, arial, sans-serif; color: red; }
a:visited { font: 8pt/11pt verdana, arial, sans-serif; color: #4e4e4e; }
-->
</style>
</head>
<body>
<table cellpadding="3" cellspacing="5" id="container">
<tr>
<td><img src="http://www.zerotohundred.com/newforums/image.php?type=dberror" alt="Database Error" width="48" height="48" /></td>
<td id="bodytitle" width="100%">Database error</td>
</tr>
<tr>
<td class="bodytext" colspan="2">The Zerotohundred.com database has encountered a problem.</td>
</tr>
<tr>
<td colspan="2"><hr /></td>
</tr>
<tr>
<td class="bodytext" colspan="2">
Please try the following:
<ul>
<li>Load the page again by clicking the <a href="#" onclick="window.location = window.location;">Refresh</a> button in your web browser.</li>
<li>Open the <a href="/">www.zerotohundred.com</a> home page, then try to open another page.</li>
<li>Click the <a href="javascript:history.back(1)">Back</a> button to try another link.</li>
</ul>
</td>
</tr>
<tr>
<td class="bodytext" colspan="2">The www.zerotohundred.com forum technical staff have been notified of the error, though you may <a href="mailto:">contact them</a> if the problem persists.</td>
</tr>
<tr>
<td class="bodytext" colspan="2"> <br />We apologise for any inconvenience.</td>
</tr>
</table>
<form><textarea rows="15" cols="70" wrap="off" id="message">Database error in vBulletin 3.7.2:
Invalid SQL:
SELECT post.goodrank,post.totalrank
FROM vb3post
WHERE postid = 2661498;
MySQL Error : Unknown column 'post.goodrank' in 'field list'
Error Number : 1054
Request Date : Wednesday, February 4th 2009 @ 09:37:03 PM
Error Date : Wednesday, February 4th 2009 @ 09:37:04 PM
Script : http://www.zerotohundred.com/newforums/helpfulanswers.php
Referrer : http://www.zerotohundred.com/newforums/tech-forced-induction/195836-how-to-make-more-power-out-of-4g93-sohc-bot.html
IP Address : 124.82.95.141
Username : Tom
Classname : vB_Database
MySQL Version : 5.0.51a-community-log</textarea></form>
</body>
</html>
so it's this:
MySQL Error : Unknown column 'post.goodrank' in 'field list'
please advise ted
GigaSb
02-04-2009, 12:10 PM
i added the query that u advised me..
thank u very much!
apiasto
02-04-2009, 12:13 PM
i am getting the same error.i will wait for stable hack
6piston
02-04-2009, 12:13 PM
cool!. now you may face the next same prob as i am
tpearl5
02-04-2009, 03:07 PM
hrm - I like this idea, although I've already modified the wording of the reputation system to resemble something similar.
Ted S
02-04-2009, 07:07 PM
My appologies to those who have experienced bugs with the system. 3 issues were identified (2 with queries like the errors above show) and 1 in the creation of the table. An updated version has been released which solves all known issues.
Ted S
02-04-2009, 07:08 PM
Note: Version 1.3.3 has been released which fixes several small issues related to creating the mySQL table for this addon and with two queries. With this update the current mysql query errors will go away and the table will be properly created.
All users are advised to upgrade while those who have experienced database errors should uninstall and then upgrade.
To upgrade simply upload the new version of helpfulanswer.php and install the new plugin file.
apiasto
02-05-2009, 05:59 AM
awesome man working great ,i am putting this for MOTM,good work thanks.can you add 1 option like if i wanna allow it only for first post?and to show total amount of ranks a user recieved in postbit,thanks
6piston
02-05-2009, 07:36 AM
yup now it works beautifully :)
please expand this mod as much as you can!! it's great
tpearl5
02-06-2009, 12:06 AM
Ted - would you consider adding functionality to add to a users reputation and points for vbplaza?
Ted S
02-06-2009, 02:52 AM
Ted - would you consider adding functionality to add to a users reputation and points for vbplaza?
can you explain this a bit more?
Quantnet
02-06-2009, 02:54 AM
suggestion:
Instead of manually enable forum by forum, consider having the options in setting control to enable a group of forums.
for example:
Enable (Forum ID) : 1,3,4,5
Disable: 2,6,8
Ted S
02-06-2009, 04:06 AM
suggestion:
Instead of manually enable forum by forum, consider having the options in setting control to enable a group of forums.
for example:
Enable (Forum ID) : 1,3,4,5
Disable: 2,6,8
I'm not sure that's any more effective. Many sites have 50 or 100 or more forums and getting all their ids would not be fun. perhaps a bulk upload tool would make more sense.
tpearl5
02-06-2009, 02:01 PM
can you explain this a bit more?
Sure
Add option to allow this hack to also contribute to the user's reputation. (without comments) This way the user gets credit for posting the thread/post.
Add option to contribute to thread rating. "yes" is a 5, "no" is a 1. Thread rating is redundant with this hack, no?
Include setting for vbplaza to add points to user when they get a good rating, and subtract when they get a bad rating. (this will be done through reputation if that option is added)
Ted S
02-06-2009, 07:40 PM
Version 1.3.4 has been releases which addresses several minor bugs and adds functionality. Here's a complete list of the changes:
- Bug Fix: Templates 'helpful_answers_top' and 'helpful_answers_top_bit' are now cached.
- Bug Fix: English text in topanswers routine now uses phrases
- Bug Fix: Users may not rate their own posts (see new feature)
- New template: 'helpful_answers_error' is used to show ajax errors
- New feature: Admins may require a minimum number of posts before a user can rate posts
- New feature: Admins may now enable self rating to let users rate their own posts
- New feature: User related errors now print back to ajax users (allows user to understand issue)
Updating is recommended but not required.
Ted S
02-06-2009, 07:43 PM
Add option to allow this hack to also contribute to the user's reputation. (without comments) This way the user gets credit for posting the thread/post.
How about a positive point (or points, you'd set the scale) for each vote they get [negative for a negative vote].
Add option to contribute to thread rating. "yes" is a 5, "no" is a 1. Thread rating is redundant with this hack, no?
I'm not sure the post should impact the thread rating... you could have a great post with a few bad ratings. We could however do a new column: average post and show the ratings of those?
Include setting for vbplaza to add points to user when they get a good rating, and subtract when they get a bad rating. (this will be done through reputation if that option is added)
I'm not familiar with this system; is this AND the rep both needed?
guvner
02-06-2009, 09:30 PM
For my tech support forum this is ideal - many thanks Ted!
I'm testing this at the moment in a private forum - just one small problem though, I can't get the "Did you find this post helpful? Yes | No" box to show up when using the standard postbit template yet it shows just fine with postbit legacy.
In my case, my primary style is uses the standard postbit and I also offer a child style of the primary which uses the postbit legacy template as the default.
I can confirm that the template hook $template_hook[postbit_controls] appears in both templates.
To troubleshoot this, I next added the template code $helpful_answers to the default VB templates and the same thing happened - it showed up when the legacy template is used but not with the standard postbit template.
Any ideas? :confused:
Ted S
02-06-2009, 10:29 PM
I just tried this myself; Try placing the variable before "<!-- message, attachments, sig -->".
If that doesn't work let me know.
guvner
02-06-2009, 10:39 PM
Nope, sorry - same result - this is very puzzling - can't think of a logical reason for it.
Ted S
02-06-2009, 10:43 PM
Interesting. Can you think of any Addons which may impact the postbit template? If you view source do you see the <hr ...> tag?
guvner
02-06-2009, 10:47 PM
yes - just after the title as per:
<!-- icon and title -->
<div class="smallfont">
<strong>Re: It's really starting to get annoying...</strong>
</div>
<hr size="1" style="color:#D1D1E1; background-color:#D1D1E1" />
<!-- / icon and title -->
I considered another hack being involved - but why would my stock VB templates be affected the same in the same way?
Should I post my posbit template code here?
Ted S
02-06-2009, 10:51 PM
Well that's good progress. It doesn't sound like another addon conflict as the script is making it to rendering.
It looks like there's no vote to show and for some reason no rights for you to vote on that post. Are you sure the addon is (1) enabled for the forum with the postbit style and (2) not your own post?
guvner
02-06-2009, 10:57 PM
Are you sure the addon is (1) enabled for the forum with the postbit style and (2) not your own post?Yes , quite.
I'm running it in my hidden management forum. When I select the style with postbit legacy it shows - when I switch styles to the one using standard postbit it disappears. This confirms that it's switched on and working just fine - just not with one of the templates.
Give me a few secs and I'll post 2 screenies of the same post in the same forum . . .
Ted S
02-06-2009, 11:03 PM
Ok, I reviewed the code you posted before and this is strange. While you have the HR tag I don't see the DIV tag that wraps the entire element (it should be <div id="helpfulanswers_box_ ... >). Does that appear?
guvner
02-06-2009, 11:04 PM
OK - 2 screenies - same post.
1. Postbit
2. Postbit legacy
I know that it won't provide any clues - just to confirm that the forum's been correctly selected and that the mod is working.
guvner
02-06-2009, 11:08 PM
Ok, I reviewed the code you posted before and this is strange. While you have the HR tag I don't see the DIV tag that wraps the entire element (it should be <div id="helpfulanswers_box_ ... >). Does that appear?
In the template that's working (legacy) yes it does:
<div id="helpfulanswers_box_237366">
<br /><hr size="1" style="color:#D1D1E1" />
1 out of 1 members found this post helpful.
</div>
But in the postbit template page source it doesn't appear. :confused:
Ted S
02-06-2009, 11:14 PM
Well that makes even less sense. Revert the template helpful_answers in that style and be sure it starts with:
<if condition="$show['helpfulanswer']">
<div id="helpfulanswers_box_$post[postid]">
guvner
02-06-2009, 11:22 PM
Revert wasn't an option so I guess it's still original - and I confirm it starts as you describe.
guvner
02-06-2009, 11:24 PM
I've just re-installed and overwritten (just in case) and no change. :(
Ted S
02-06-2009, 11:28 PM
I'm sorry to keep making you work on this but I can't duplicate on any of my test sites.
Can you edit the template helpful_answers and change the <hr> line (add some random text) and see if that shows up when you view?
guvner
02-06-2009, 11:41 PM
Think I'm getting somewhere - I'll get back to in a few ;)
Thanks for your patience :)
guvner
02-07-2009, 08:34 AM
All fixed Ted - I can't really tell you what the problem was but I reverted the faulty template, added back my hacks and then re9nstalled your mod and all's well.
Thanks for your assistance.
One more question - once someone clicks that the post was helpful, is there an easy way to have the cell background change color to highlight it?
Mike :)
Ted S
02-07-2009, 03:02 PM
Strange but glad it works.
You can use a conditional to highlight good posts. I'll put sample code up in a bit.
guvner
02-07-2009, 06:22 PM
Hi Ted,
I'd like to add my voice to a couple of previous suggestions as well.
1. I think this mod would be perfect if it hooked into the rep. points system - but in a simple manner. I'd like to see it be able to award a point(s) for a good suggestion, but I couldn't use it to subtract points - IMHO that would be too harsh to penalize someone for providing an answer that didn't quite work out.
2. I also agree with a previous poster that the mod's options page needs to have a cell which allows us to add a comma separated listing of applicable forums (or the reverse - a list of excluded forums). In my particular setup, I have 78 forums and sub-forums - all but 6 of them needed the mod to be activated. It took me a long time last night to set them all up - granted that was mostly down to browser refresh speeds, but being able to deal with all forums in one go would be sweet.
3. I'm also hoping that your sample (or future) code will include the ability to add a line in the postbit somewhere under the avatar which lists how many helpful posts a member has made? A little like the current "thank you" mod does - i.e. "Thanked 396 times in 329 posts"
4. In helpfulanswers.php, when the link is clicked, I'd like to see it go to the post in question, but in full thread view (for context) instead of just the single post view.
Hope these suggestions are useful because for forums like mine, this is going to be a very popular mod - I've already nominated it for MOTM.
Thanks,
Mike :)
Ted S
02-07-2009, 07:20 PM
Thanks mike. All good ideas that will all be making it into the addon (the first 3 sooner). That said the detail on how you want it to work is awesome. Thanks.
apiasto
02-07-2009, 09:30 PM
thnx for the update,will it be the same process or just the xml with overwrite?
Ted S
02-07-2009, 09:35 PM
For upgrades you should reupload the php file and install the new plugin. If an update is plugin only I'll generally announce it as such. Thanks for asking!
tpearl5
02-08-2009, 09:30 PM
How about a positive point (or points, you'd set the scale) for each vote they get [negative for a negative vote].
Reputation points? yeh, that would be great!
I'm not sure the post should impact the thread rating... you could have a great post with a few bad ratings. We could however do a new column: average post and show the ratings of those?
Maybe just the first thread should impact the rating? If there's an individual post within a thread that is getting a lot of good ratings then it should probably be in its own thread anyway.
I'm not familiar with this system; is this AND the rep both needed?
No - if you add the reputation feature then that alone will add to their vbplaza points.
Ted S
02-09-2009, 11:13 PM
I'm pleased to announce the release of version 1.4.0 which contains several major feature updates and a few bug fixes. See the complete change log below:
- (Feature) Added optional integration with the reputation system
- (Feature) Added optional variable to identify the top rated thread in template conditionals
- (Feature) Added optional statistics to a user's profile
- (Admin) Added Bulk tool to enable system in forums
- (Admin) Option to disable automatic template plugin
- (System) Add overall rank variable for template conditionals
- (System) Auto add to templates for easier installs (no more templates to edit)
- (System) Added hook locations throughout addon
- (Bug) Fixes issue where non-ajax users weren't getting votes counted
- (Bug) Don't show HR line if no votes and user cant vote
This wraps up most of the requested features on my list. If there's something you would like to see added that was not put into 1.4.0 please let me know.
And of course as a new release please report any bugs or errors you find.
guvner
02-10-2009, 02:54 AM
Great stuff Ted!
A couple of questions if I may:
1. Will the upgrade revert my current helful-answers templates and/or overwrite the current phrases? I have some formatting in there I want to keep so if they do revert I'll take a copy first.
2. You mentioned earlier about some conditional examples - i.e. I wanted to add some code to the postbit in addition to the usercp feature which you've now built in - did you get a chance to look at this yet?
My users love this hack - thank you again!
Mike :)
Ted S
02-10-2009, 03:01 AM
Thanks Mike!
1. Will the upgrade revert my current helful-answers templates and/or overwrite the current phrases? I have some formatting in there I want to keep so if they do revert I'll take a copy first.
The old phrases shouldn't be overritten but the template might depending on the version you used (no changes in 1.4 but there were before) so back that up.
2. You mentioned earlier about some conditional examples - i.e. I wanted to add some code to the postbit in addition to the usercp feature which you've now built in - did you get a chance to look at this yet?
I'm building some more examples tonight, if you tell me what you're trying to do I can start with that example...
guvner
02-10-2009, 03:15 AM
Sounds good - I'd like to add a line to the postbit which is along the lines of what the "thank you" mod provides. similar to:
"Thanked 396 times in 329 posts"
I guess we could adjust the phrase ourselves in the conditional, but perhaps something like:
"Has provided xx helpful answers in the last yy days"
Maybe the "yy days" is a stretch and could add too many extra queries, but just a thought . . .
tpearl5
02-10-2009, 03:25 AM
I'm pleased to announce the release of version 1.4.0 which contains several major feature updates and a few bug fixes. See the complete change log below:
- (Feature) Added optional integration with the reputation system
- (Feature) Added optional variable to identify the top rated thread in template conditionals
- (Feature) Added optional statistics to a user's profile
- (Admin) Added Bulk tool to enable system in forums
- (Admin) Option to disable automatic template plugin
- (System) Add overall rank variable for template conditionals
- (System) Auto add to templates for easier installs (no more templates to edit)
- (System) Added hook locations throughout addon
- (Bug) Fixes issue where non-ajax users weren't getting votes counted
- (Bug) Don't show HR line if no votes and user cant vote
This wraps up most of the requested features on my list. If there's something you would like to see added that was not put into 1.4.0 please let me know.
And of course as a new release please report any bugs or errors you find.
When "Enable Profile Voting Stats" is turned on this warning is thrown in the user's profile:
Warning: Division by zero in /home/SITE/public_html/includes/class_profileblock.php(250) : eval()'d code on line 50
Also, the second option "Manual Template Placement" - I think that title is wrong (If enabled the user's profile will reflect total good, bad and total ratings of their posts. Adds a query each time a user's profile is viewed.)
Ted S
02-10-2009, 03:27 AM
Edit, I appologize but I spoke too quickly on this...
What you're looking to do isn't difficult but it's also not native to addon... But that doesn't need to stop you. What is a concern is the number of queries added (one per post).
Votes are stored in a table and along side the post but not with the user so to fetch them you need separately from the big query that fetches threads. If you're interested in this (realize it's one query per post) let me know and I can write up the code.
Ted S
02-10-2009, 03:28 AM
When "Enable Profile Voting Stats" is turned on this warning is thrown in the user's profile:
Thanks. Are you using 1.4.1 which I posted a bit back or 1.4.0?
Also, the second option "Manual Template Placement" - I think that title is wrong (If enabled the user's profile will reflect total good, bad and total ratings of their posts. Adds a query each time a user's profile is viewed.)
Thanks. Will fix...
Ted S
02-10-2009, 03:31 AM
Version 1.4.2 posted which fixes a mess-up in the admin option phrases causing some confusion over a stats tool. Just a mislabeled field, upgrading is not necessary.
GigaSb
02-10-2009, 06:10 AM
how do i make the text to be in the right side?
I added div align into postbit_legacy:
<div align="right">
$helpful_answers
</div>
it worked at first.. but when updated to last version its not effecting.
jlew24asu
02-10-2009, 11:04 AM
installed. so is this supposed to only show up in the first post of the thread or all posts? (in a given forum)
Ted S
02-10-2009, 02:38 PM
installed. so is this supposed to only show up in the first post of the thread or all posts? (in a given forum)
This modification is for rating all posts in a thread.
Ted S
02-10-2009, 02:39 PM
installed. so is this supposed to only show up in the first post of the thread or all posts? (in a given forum)
You can either wrap the code in a table cell aligned right or edit the template helpful_answers to change the alignment of the DIV.
tpearl5
02-10-2009, 05:47 PM
Thanks. Are you using 1.4.1 which I posted a bit back or 1.4.0?
Thanks. Will fix...
I was using 1.4.0. Updated to 1.4.2 which fixed both problems. thanks!
jlew24asu
02-10-2009, 06:23 PM
ok thanks Ted
torontonian
02-12-2009, 06:11 PM
Hi,
Thanks for this excellent plugin. It was just what I've been looking for, although I have a few questions which may require a few mods:
1. How can I make the "Rating History and Editing" stats appear in the moderator's control panel? I can see this in the admin control panel, but I'd like moderators or at least super moderators to be able to see this info too.
2. Is there a way to adapt this to show the reputation of a user based on the ratings that their posts have received as opposed to the ratings that they have assigned to other posts. In other words, I'd like the admin and moderator to be able to see which users have received a large amount of positive and negative replies to their posts.
3. For the result display options, can you add a "negative ratings" column next to the "positive ratings" column. Currently, I have to look at the "total" and "positive" and see where there is a difference in numbers to know that there are some negatives. It would be much quicker to be able to spot the negative ones instantly and also to be able to sort by negative ratings.
The reason why I am asking for all of this is that I would like to use this to ensure that posts are always answered of the highest quality so I need to see who is answering incorrectly in order to improve the standard of replies.
Thanks again. I look forward to receiving your reply.
guvner
02-12-2009, 06:18 PM
For a future revision, I'd like to request that if possible, all the mod's controls are consolidated into single page as currently they appears as 2 entries under VB options and again as a sidebar menu item in the adminCP.
Mike :)
Ted S
02-12-2009, 07:39 PM
1. How can I make the "Rating History and Editing" stats appear in the moderator's control panel? I can see this in the admin control panel, but I'd like moderators or at least super moderators to be able to see this info too.
You would need to copy the admincp file and possibly change it a bit to work with mod permissions as well as create a new bitfield xml file to get the link to show up.
2. Is there a way to adapt this to show the reputation of a user based on the ratings that their posts have received as opposed to the ratings that they have assigned to other posts. In other words, I'd like the admin and moderator to be able to see which users have received a large amount of positive and negative replies to their posts.
Again this isn't native to the program but you could run a query to get it.
Something like "SELECT userid,sum(goodrank) as goodranks FROM postid ORDER BY goodranks DESC LIMIT 50" would show you the top 50 ranked members.
3. For the result display options, can you add a "negative ratings" column next to the "positive ratings" column. Currently, I have to look at the "total" and "positive" and see where there is a difference in numbers to know that there are some negatives. It would be much quicker to be able to spot the negative ones instantly and also to be able to sort by negative ratings.
Are you referring to in the admin panel or on the user script?
Ted S
02-12-2009, 07:41 PM
For a future revision, I'd like to request that if possible, all the mod's controls are consolidated into single page as currently they appears as 2 entries under VB options and again as a sidebar menu item in the adminCP.
Mike :)
Sorry Mike but neither will be consolidated in the official addon. I have two entries in the settings group because one is simply too long and the reputation features don't apply to all users.
As for the links in the sidebar, those are different features and would not make sense to combine (one does not bulk edit forums while reviewing ratings).
Of course you could always change things yourself if you want it more consolidated.
Ted S
02-13-2009, 05:35 AM
Based on comments from a few members (and mainly biocyberman) I've added a second rating option to the script. This option allows for posts to be voted on from 1 to 10 rather than just being marked as "helpful or not helpful".
The ten point scale is an optional feature which is enabled globally (either you use one or the other). There are a few features that won't work with the ten point scale including the profile stats, the no negative option and others. However there are also some new features with the ten point scale.
I encourage you to try this out on a test site (or your live site if you're looking to switch over) and give me your feedback.
To remove all previous votes (required if changing methods) run the queries:
UPDATE post SET goodrank = '', totalrank = '';
DELETE FROM helpfulanswer;
If you use table prefixes be sure to include that as well.
Note: This is in beta and while it works fine on my system I'm leaving 1.4.2 as the official version until I get some feedback on how this works.
Second Note: To get this done I used numbers (1 2 3 4 5....) for rankings rather than stars. I will be looking into adding a simple star image in the future and encourage suggestions on that image.
Ted S
02-13-2009, 05:37 AM
Changes in 1.5.0
- (Feature) Addition of ten-point rating scale (optional)
- (Feature) Addition of profile stats for ten-point rating scale
- (Feature) Modified display of top ratings page for ten-point ratings
- (Admin) Addition of negative ratings column for moderation
- (Bug) Rating's still show up in showpost template after user has voted
- (Bug) Individual user can't be banned
tpearl5
02-13-2009, 06:55 PM
Based on comments from a few members (and mainly biocyberman) I've added a second rating option to the script. This option allows for posts to be voted on from 1 to 10 rather than just being marked as "helpful or not helpful".
Why not just use the existing rating system for this?
GigaSb
02-13-2009, 07:48 PM
how do i make the text to be in the right side?
I added div align into postbit_legacy:
<div align="right">
$helpful_answers
</div>
it worked at first.. but when updated to last version its not effecting.
can i get help here?
Ted S
02-13-2009, 08:59 PM
can i get help here?
I responded to that several pages back... You may want to search for the answer but the general idea is that there is already a div controlling the reviews so you'll want to either edit that or wrap the div in a table.
Ted S
02-13-2009, 08:59 PM
Why not just use the existing rating system for this?
I'm not aware of a native post rating system in vBulletin...?
Ted S
02-13-2009, 09:23 PM
Version 1.5.1 has been released.
This is a minor fix that adds a redundancy check to insure votes on the ten point scale option are not over 10 points.
This update also removes an extra > character in the options area.
Upgrading is optional.
guvner
02-16-2009, 07:50 AM
Hi Ted :)
We've been discussing this your mod at my forum today, and one member asked if the cell under the post with the most votes could change color to help distinguish it from other posts in the thread.
I know this was mentioned last week and was wondering what would be involved in enabling a feature like that?
Mike
Ted S
02-16-2009, 05:20 PM
Version 1.5.2 has been released to fix a small bug with the profile stats tool. This bug only impacted users with the ten-scale ratings feature enabled and an upgrade is not required if you did not use this feature.
To upgrade install the new plugin file. No changes were made to any of the other files.
Ted S
02-16-2009, 05:26 PM
Hi Ted :)
We've been discussing this your mod at my forum today, and one member asked if the cell under the post with the most votes could change color to help distinguish it from other posts in the thread.
I know this was mentioned last week and was wondering what would be involved in enabling a feature like that?
Mike
Mike,
You can do this in two steps.
First go to your Helpful Answers System Settings and enable the top answer feature. This will give you acces to the top post via the variable $threadinfo[toppost]. But note, this will also add a query when a post is loaded.
Next you'll need to edit the template postbit or postbit_legacy to make use of this variable.
Depending on how you want the cell to look you'll want to modify the code appropriately.
<if condition="$threadinfo[toppost] = $post[postid]"> ... </if>
HI, if i try to use $helpful_answers (enabling Manual Template Placement) it simply doesn't work!
can you help me?
thanks!
Ted S
02-17-2009, 12:02 AM
HI, if i try to use $helpful_answers (enabling Manual Template Placement) it simply doesn't work!
can you help me?
thanks!
Where are you trying to place the variable?
after <!-- / controls -->
(inside the postbit_legacy!)
i have to do the manual placement because i have also the post thank you hack, and in the image you can see what happens if they work together with the automatic placement:
https://vborg.vbsupport.ru/external/2009/02/56.jpg
(grazie = thanks)
alternatively, is there a way to move the automatic placement AFTER the thank you button?
SymbioteK
02-17-2009, 09:17 AM
ok, i guess i'm just too dumb
all installed fine, followed instructions, its all there in admin.
just not there client side.....
tpearl5
02-17-2009, 12:38 PM
I'm not aware of a native post rating system in vBulletin...?
I was thinking of the thread rating system. nevermind.
Ted S
02-17-2009, 05:15 PM
ok, i guess i'm just too dumb
all installed fine, followed instructions, its all there in admin.
just not there client side.....
Don't be so hard on yourself!
Are you sure you've enabled it in the forum you're viewing?
Ted S
02-17-2009, 05:16 PM
after <!-- / controls -->
(inside the postbit_legacy!)
i have to do the manual placement because i have also the post thank you hack, and in the image you can see what happens if they work together with the automatic placement:
https://vborg.vbsupport.ru/attachment.php?attachmentid=95024&stc=1&d=1234867068
(grazie = thanks)
alternatively, is there a way to move the automatic placement AFTER the thank you button?
Strange.
I suppose if you changed the order of the plugin it would show up under it.
Ted S
02-17-2009, 05:37 PM
after <!-- / controls -->
(inside the postbit_legacy!)
i have to do the manual placement because i have also the post thank you hack, and in the image you can see what happens if they work together with the automatic placement:
(grazie = thanks)
alternatively, is there a way to move the automatic placement AFTER the thank you button?
Please try the attached plugin and let me know if that works for you.
Strange.
I suppose if you changed the order of the plugin it would show up under it.
how to i change the order of the plugins?
i've tried your attachment but it does not load into vbulletin (maybe because now i have 3.8?)
thanks
Ted S
02-23-2009, 06:25 PM
Hello Helpful Answers users!
Version 1.5.3 has been released which adds two new features:
First you will now have the option to disable ratings in the first post of a thread as they are often questions and rating does not make sense.
Secondly thanks to contributions by two Maidos and Simon Lloyd I've added thumbs up & down AND positive or negative rating images. By default the thumbs icons will now be used but you can change back to text through your options settings.
To upgrade:
Simply upload the files in the folder upload/images/button to your site and install the new plugin file. No changes have been made to the php files.
apiasto
02-24-2009, 10:40 AM
thnx for the good work
Ted S
02-24-2009, 02:34 PM
I have released version 1.5.5 which fixes a very small bug with the extensions for plus & minus icons. To upgrade simply upload the new plugin file. No other changes have been made.
Users not using plus and minus images do not need to upgrade.
tpearl5
03-01-2009, 10:35 PM
What would it take to allow guests to vote on threads?
Ted S
03-01-2009, 10:58 PM
What would it take to allow guests to vote on threads?
There's a fair amount involved in allowing guest voting as the tracking methodology all has to change. Right now we use the userid to see who voted; with guest voting you have to consider IPs, Cookies and possibly the user agent. This has to be updated in a few places (adding a vote, checking for a dup vote, showing the vote link, etc...). Beyond that there's just a few tweaks to let guests get access to the feature and in reporting.
This is definitely not something I see adding to the addon in the near future as an option (options require everything to be turned on and off which adds to more statements and more code to process) but if you were adding this directly it wouldn't be too difficult.
Ted S
03-29-2009, 04:13 PM
Today I released 1.7.0 stable.
This update incorporates two small changes adding a last vote column to the top helpful posts page and linking top helpful posts to their full thread to put them in context.
More importantly however 1.7.0 marks the end of the 1.6.x beta series which has been up for a few weeks.
With 1.7 there's a complete change in how post vote summaries are stored (summaries contain the total votes, good votes and last vote time). This change moves away from using the main post table and adds a new table just for helpful answers. For most sites this won't mark a notable difference but for larger sites it will reduce load and limit the number of edits to the post table.
1.7.0 is designed to convert anyone from 1.5.x without notable impact but if you do find yourself missing votes simply run the script ha_revote.php as found in the tools & samples post (https://vborg.vbsupport.ru/showpost.php?p=1733465&postcount=2) and your vote history will be resynced.
I look forward to hearing all of your suggestions and comments for 1.8!
Razasharp
04-13-2009, 06:34 PM
Hi Ted
I finally got around to installing this on my 3.7 board.
Just a quickie, is it possible to simply change the rating system so that all it shows is the thumbs up/down buttons, along with the number of thumbs ups or downs the post has had next to them?
At the mo it takes up too much space and all that text is not needed as most people know thumbs rating systems these days. If I can do this via template edits - great! Just let me know which templates I need to change :)
Thanks for a cool plug-in!
Ted S
04-13-2009, 07:39 PM
Hi Ted
I finally got around to installing this on my 3.7 board.
Just a quickie, is it possible to simply change the rating system so that all it shows is the thumbs up/down buttons, along with the number of thumbs ups or downs the post has had next to them?
At the mo it takes up too much space and all that text is not needed as most people know thumbs rating systems these days. If I can do this via template edits - great! Just let me know which templates I need to change :)
Thanks for a cool plug-in!
Just edit the helpful_answer template as you see fit!
Razasharp
04-13-2009, 10:36 PM
Thanks Ted. I've edited it but it's not quite working how I want.
All I want is the thumbs up/down buttons to show, with the current number/rating for each either side of the button. Then if a user rates a post, his rating is appended via ajax and the buttons stop being links (so they know they've rated). Maybe even have an alternative set of buttons to show when they've rated (maybe with a dot or alt text so we can show how they rated themselves).
At the mo, when they rate it says 'thanks' but takes all my other buttons in the td along with it (not ideal as they may want to report a post too, after giving it neg rating).
Anyway to simplify it so it works like this? Or are there more templates I could edit?
Ted S
04-13-2009, 11:13 PM
You can accomplish all of this with the template you're using now. Just be sure to use the different variables for showing and not showing ranks. You'll also need to manually add the links and images for the thumbs rather than relying on the script to put those in for you.
Let me know if you get stuck...
Razasharp
04-13-2009, 11:29 PM
Hi Ted
I can get as far as showing the static images after they've voted, along with the current score - but can I tell them which one they voted too? (in the alt text will be fine).
Also, when they vote it still clears the area with the 'thanks message anyway I can get it to say thanks, but then go back to how it was?
Shall I make my current changes live so you can take a look?
Razasharp
04-14-2009, 12:32 AM
Hey Ted - got it :D
Will let you know how we get on with it - stats sending is on. Would be cool if you could share the results with us too?
Ted S
04-14-2009, 12:54 AM
Hi Ted
I can get as far as showing the static images after they've voted, along with the current score - but can I tell them which one they voted too? (in the alt text will be fine).
Also, when they vote it still clears the area with the 'thanks message anyway I can get it to say thanks, but then go back to how it was?
Shall I make my current changes live so you can take a look?
All you would need to tell them is to have a second set of images to show (i.e. a clear image).
You can use the $helpful should be set to 1 if they voted yes and 0 for no.
Ted S
04-14-2009, 12:56 AM
Hey Ted - got it :D
Will let you know how we get on with it - stats sending is on. Would be cool if you could share the results with us too?
I've been waiting until we pass the 25k vote mark at which point I'll be sharing some stat trends (obviously without any site data). I do need to filter out a few things as some sites don't use the system the same way and impact the overall scores...
One tidbit based on the 20k or so votes so far... 75% of posts are given positive rankings. Not bad!
Razasharp
04-14-2009, 02:33 AM
I'd be interested to see them! I haven't added the profile bits to my style yet - but I think that will be interesting too.
Can we see who rated a post? (in case of abuse)
All you would need to tell them is to have a second set of images to show (i.e. a clear image).
You can use the $helpful should be set to 1 if they voted yes and 0 for no.
How do you mean Ted?
Edit:
Hey Ted, how do I get the $blocks[helpful_statsbit] to display in my customised profile? :-/
Ted S
04-14-2009, 03:28 AM
Can we see who rated a post? (in case of abuse)
Yes. There's an extensive log tool in the admin that lets you view ratings by user and remove them if you so chose.
Hey Ted, how do I get the $blocks[helpful_statsbit] to display in my customised profile?
That's another template... helpful_statsbit or helpful_statsbit_ten if you use the 10 point scale.
Razasharp
04-14-2009, 07:47 AM
It doesn't work tho?
I put $helpful_statsbit in my memberinfo template and nothing shows for it :-/
Ted S
04-14-2009, 05:46 PM
Did you enable the stars in your admin options?
Razasharp
04-14-2009, 05:58 PM
Stars? Do you mean stats? If so yes.
They show in the default style, but not in my customised style..
Also, quick bit of feedback from my users - they really like it!
Ted S
04-15-2009, 01:14 AM
Sorry.... typing from the iPhone isn't always the best.
You'll need to figure out what's been removed from your memberinfo template and get it back. It should code along the lines of $hook.
Don't have the full script around today to give you the exact syntax.
Razasharp
04-15-2009, 03:22 AM
My profiles are extremely customised, if you can let me know the syntax when you are back at the office that would be great Ted :)
I had an idea related to this thread too, but will run it by you in the TAZ AUMod section first in case you want to run with it there instead.
Ted S
04-26-2009, 10:49 PM
I've released 1.8.0 of this addon which is a small feature release.
The main purpose of this update is to introduce rollover rankings similar to what YouTube uses.
Rollover rankings can be enabled using the ratings dropdown option.
If you enable this option the template helpful_answers_roll will be used in place of helpful_answers. Please re-apply any customizations you may have made.
I have also updated the Top Helpful Answers page to include a new variable postusername as well as some hooks for other modifications.
1.9.0 will be coming next month and will include showing notifications when a post has been rated.
Razasharp
04-27-2009, 12:48 AM
Nice one Ted :)
Was just wondering, is it possible to add an option so that we can disable the 'effect' of thumbs downs in a specific forum?
People can still rate a post down, but I don't want it affecting that users reputation or overall score (in that specific forum).
Would that be easy enough to do? Maybe I can do it by some custom edits? Thanks in advance for any help!
Ted S
04-27-2009, 01:08 AM
That's easy enough. Just open up the plugin file and find the plugin hook helpfulanswers_dorate
You'll need to modify the first IF statement to skip the forum.
Something like this should work:
if ($vbulletin->options['reputationenable'] AND $vbulletin->options['helpans_rep_use'] AND $userid != $vbulletin->userinfo['userid'] AND $threadinfo['forumid] != XYZ'){
Razasharp
04-27-2009, 01:13 AM
Thanks Ted, you're a star :)
Ted S
04-27-2009, 01:20 AM
No problem. Let me know how it works.
Razasharp
04-27-2009, 02:47 PM
I won't be using it for a while yet, but I'll do a test and report back...
Ted S
04-29-2009, 01:14 AM
I have posted version 1.8.1 which is a small update release fixing a bug in the installer and a few erroneous HTML tags. Updating is optional.
To upgrade replace the xml file only. No changes were made to any upload files.
mariocaz
05-01-2009, 06:25 PM
This version is totally compatible with 3.7.X right Ted ?? I have 3.7.6
Ted S
05-01-2009, 07:42 PM
3.7.6, 3.7.5... It's all pretty much the same code. So yes you'll be fine.
mariocaz
05-01-2009, 07:59 PM
Perfect, I will install it immediately!!! and hope that works great in my forum if not I will ask your awesome help Ted.
mariocaz
05-01-2009, 08:03 PM
One little thing, I downloaded the 1.8.2 version but in the ACP say that I installed 1.8.1
Ted S
05-01-2009, 08:10 PM
Don't worry about it. You have 1.8.1... I made a quick (one line) edit for 1.8.2 but didn't rename the version. When I do the next functional upgrade this will be fixed.
mariocaz
05-01-2009, 08:12 PM
Perfect, also want to ask you if first I have to activate it for ALL the Forums and the put the exceptions ?? and also if I put the Forum all the subforums(categories) will be affected ?, I hope so because my forum is a little big with a lot of categories
Ted S
05-02-2009, 01:28 AM
You can enable it for all, enable it for all BUT a few or just enable it for a few.
The list uses forum IDs only and not category structure.
mariocaz
05-02-2009, 01:32 AM
Ok thank you for the information let me do it.
mariocaz
05-02-2009, 03:25 AM
Ted,
A few things, please help me.....
What I have to do to show all the helpful posts to my users ?? is there a link or something like that ?? I don?t see it.
And the other thing is this, after install your awesome mod I see that button down there with the question of your mod.
https://vborg.vbsupport.ru/ (http://img5.imageshack.us/my.php?image=buttonp.jpg)
http://img5.imageshack.us/img5/6873/buttonp.jpg
Thanx I will be waiting your great help in this.
Mario
mariocaz
05-02-2009, 04:52 AM
Ted,
I saw in another post here that another user had the same problem as me (position button with the thank you hack), I saw that you helped him and put him another product file, but that was another version of the mod so I couldn?t test it. :(
Here is the post that I am talking about:
https://vborg.vbsupport.ru/showpost.php?p=1746679&postcount=77
Thanks.
Ted S
05-02-2009, 05:17 PM
No need for a different plugin file.
Simply turn on manual template placement and add the variable shown in the admin to you to your postbit template where you want it to show.
mariocaz
05-02-2009, 05:24 PM
Ufff Ted and how could I do that ??? :(
Please help me..........
Here is my postbit if you want to take a look.
$template_hook[postbit_start]
<table class="tborder" id="post$post[postid]" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead" $post[scrolltothis]>
<div class="normal" style="float:$stylevar[right]">
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a> </if>
<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>
</if>
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a> </if>
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a> </if>
$post[iplogged]
<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
</if>
</div>
<div class="normal">
<!-- status icon and date -->
<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
<if condition="!$show['announcement']">
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
<else />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</div>
</td>
</tr>
<tr>
<td class="alt2" style="padding:0px">
<!-- user info -->
<table cellpadding="0" cellspacing="$stylevar[cellpadding]" border="0" width="100%">
<tr>
<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>
<td nowrap="nowrap">
<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
$post[onlinestatus]
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>
<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
$template_hook[postbit_userinfo_left]
</td>
<td width="100%"> </td>
<td valign="top" nowrap="nowrap">
<div class="smallfont">
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
<div>
$vbphrase[posts]: $post[posts]
</div>
$template_hook[postbit_userinfo_right_after_posts]
<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
<if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
$template_hook[postbit_userinfo_right]
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
</div>
</td>
</tr>
</table>
<!-- / user info -->
</td>
</tr>
<tr>
<if condition="$show['moderated']">
<td class="alt2" id="td_post_$post[postid]">
<else />
<td class="alt1" id="td_post_$post[postid]">
</if>
<!-- message, attachments, sig -->
$template_hook[postbit_messagearea_start]
<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>
<!-- message -->
<div id="post_message_$post[postid]">
$ad_location[ad_showthread_firstpost_start]
$post[message]
</div>
<!-- / message -->
<if condition="$show['attachments']">
<!-- attachments -->
<div style="padding:$stylevar[cellpadding]px">
<if condition="$show['thumbnailattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</fieldset>
</if>
<if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</fieldset>
</if>
<if condition="$show['imageattachmentlink']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</fieldset>
</if>
<if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if>
<if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset>
</if>
</div>
<!-- / attachments -->
</if>
$template_hook[postbit_signature_start]
$ad_location[ad_showthread_firstpost_sig]
<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>
$template_hook[postbit_signature_end]
<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont">
<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
<em>
<if condition="$show['postedithistory']">
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]" 4="posthistory.php?$session[sessionurl]p=$post[postid]">$vbphrase[last_edited_link_by_x_on_y_at_z_postid]</phrase>
<else />
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>
</if>
<if condition="$post['edit_reason']">
$vbphrase[reason]: $post[edit_reason]
</if>
</em>
</div>
<!-- / edit note -->
</if>
<div style="margin-top: 10px" align="$stylevar[right]">
<!-- controls -->
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
</if>
<if condition="$show['quickreply'] AND !$show['threadedmode']">
<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
<if condition="$show['spam']">
<img src="$stylevar[imgdir_misc]/spam_detected.png" alt="$vbphrase[spam_post]" border="0" />
</if>
<if condition="$show['deletedpost']">
<if condition="$show['managepost']">
<a href="postings.php?$session[sessionurl]do=managepost&p=$post[postid]"><img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[manage]" border="0" /></a>
<else />
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
</if>
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
$template_hook[postbit_controls]
<!-- / controls -->
</div>
<!-- message, attachments, sig -->
</td>
</tr>
</table>
$template_hook[postbit_end]
<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none;">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td></tr>
</if>
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_contacts]</phrase></a></td></tr>
</if>
$template_hook[postbit_user_popup]
</table>
</div>
<!-- / post $post[postid] popup menu -->
the thanks button is: $template_hook[postbit_controls]
mariocaz
05-02-2009, 05:42 PM
Yesterday I tried to move it a lot of times but I couldn?t. :(
Ted S
05-02-2009, 08:12 PM
Place the variable under $template_hook[postbit_controls] and you'll be good.
mariocaz
05-02-2009, 08:20 PM
Ted but what variable I have to put under $template_hook[postbit_controls] ???
I think the one of your mod but I don´t know which one is it.
mariocaz
05-03-2009, 03:21 PM
Please help Ted, I want to have your mod working perfectly in my forum. =)
Ted S
05-04-2009, 12:38 AM
The variable for your forum is stated in the admin options next to the manual template placement option.
Also please note that while I understand you want to get a response now I can't promise any response let alone an instant one. Thanks.
mariocaz
05-04-2009, 03:30 AM
Ted sorry I don?t understand you my friend in this: "The variable for your forum is stated in the admin options next to the manual template placement option."
I understan that the variable of the thanks button is $template_hook[postbit_controls] of the tahnk you mod, right ??? so please tell me which one is the variable that I need to put under $template_hook[postbit_controls] ???
Or tell me exact the instrucions to fix the problem, you have ther my navbar code.
http://img5.imageshack.us/img5/6873/buttonp.jpg (http://img5.imageshack.us/my.php?image=buttonp.jpg)
http://img5.imageshack.us/img5/6873/buttonp.jpg
I thinke that the variable that have to be under $template_hook[postbit_controls] is the one of your mod, but I don?t know what is the variable. :(
I hope now you understand me better jejeje
Ted S
05-05-2009, 01:52 AM
Go to your admin and look for the manual template option. The variable is states right there.
mariocaz
05-05-2009, 02:03 AM
uufff but where I will see the variable ???
If I click in the edit then I see all the templates.... postbit, header, navbar, etc.
and I don´t know where to see the variable you are talking about, I am there.
I can give you access to my ACP.
mariocaz
05-05-2009, 04:20 PM
I think Ted if you tell me what is the variable that I have to put under $template_hook[postbit_controls] I could fix my problem, I don´t know which one is the other variable your are telling me, because I don´t see the option in the ACP that you told me and I looked in all the options, I am a little desperate, because my users are confusend with the thank you mod and yours because the position of the buttons.
Like I told you if it will be mor easy I can give you totally ACP access, just tell me.
Or tell me the exactly instructions to edit my postbit and I will do it.
Really thank you so much my friend for all your awesome help and of course your patience!!
Cheers,
Mario
mariocaz
05-06-2009, 09:51 PM
I did it Ted!!!
I enable the manual edit in the ACP, I didn´t know that you refer to this option, sorry.
Now please tell me how my users will see the helpful post please ??
mariocaz
05-06-2009, 11:18 PM
Ok Ted, Finally I get the button in the correct place.
But I don´t know and I re-read all your explanation of your mod and I don´t know if my users could see with a link or something all the helpful posts in X time (like the new posts) of the forum ???? or only this is for the administrator ?
Please tell me Ted, I think that you are thinking that I stupid jejeje, sorry if yes.
Thanx!!
Mario
Ted S
05-07-2009, 01:36 AM
But I don?t know and I re-read all your explanation of your mod and I don?t know if my users could see with a link or something all the helpful posts in X time (like the new posts) of the forum ???? or only this is for the administrator ?
I have no idea what you're looking to do. Please rephrase your question.
mariocaz
05-07-2009, 03:01 AM
Ok jeje sorry Ted!!!
The users could see the Helpful posts like this ??
https://vborg.vbsupport.ru/attachment.php?attachmentid=94047&d=1233711334
Or how the user could know the helpful posts of my forum ?? only entering to the threads and see which posts are helpful ??
I hope this time yes you understand me, sorry again.
Ted S
05-07-2009, 03:44 AM
You would have to extend the addon to bring that functionality into the front-end. This addon does not do this.
mariocaz
05-07-2009, 03:51 AM
So it is only for the administrators (staff) ?
mariocaz
05-07-2009, 03:53 AM
Or how can I extend theaddon to bring that functionaluty into the front-end ?
Thanx Ted !!
Ted S
05-07-2009, 02:51 PM
Or how can I extend theaddon to bring that functionaluty into the front-end ?
Thanx Ted !!
You would have to replicate the functionality as you see fit by coding it in a new script.
Ted S
05-07-2009, 02:52 PM
So it is only for the administrators (staff) ?
AdminCP tools are intended for admins.
mariocaz
05-07-2009, 03:51 PM
Oh ok Ted, now I understand better the Mod, so this one is like the Post Thank You Mod that the users will see if the post is helpful or not entering to the thread and see which ones there are helpful, right ?
Trana
05-23-2009, 03:38 AM
Can someone please tell me where I can edit the hardcoded icon sizes and the <br> in front of the template? I did the manual template edit in my postbit_legacy and replaced the icons but the size is still set somewhere. I see the codes in the helpfulanswer_roll template but even after editing it nothing is changing.
Can someone help me find what I need to change?
Thanks!
Ted S
05-23-2009, 03:45 AM
The size is in the plugin code. Remove the variable and add your own img tags.
Trana
05-23-2009, 03:54 AM
Is the helpfulanswers.php where I can view the stats and best posts? When I open that page I just get a blank white page.
Trana
05-23-2009, 03:59 AM
The size is in the plugin code. Remove the variable and add your own img tags.
Cool, thanks for that! Also, where is the <br> just at the beginning of the template? When I insert it manually it drops down a line and I want it all on the same line with the post number and the inline checkbox.
Thanks.
Ted S
05-25-2009, 03:52 AM
Is the helpfulanswers.php where I can view the stats and best posts? When I open that page I just get a blank white page.
Have you enabled the page from your admincp?
Ted S
06-08-2009, 02:28 AM
1.8.3 Has been released.
This is a small bug fix which addresses two issues:
- Fixes problems with the reputation module not working
- Fixes problems with disabling negative voting and using different rating styles
To update just upload the xml file to your Admin CP. No changes have been made to script files.
Ted S
06-09-2009, 12:21 AM
Version 1.8.4 has been released which fixes an SQL bug. This bug was introduced in 1.8.3 when I used an old version of a query. Users who did not upload helpfulanswers.php will not be impacted.
To upgrade upload helpfulanswers.php. You can update the plugin file as well to change the version number although this is not required.
reddyink
07-25-2009, 10:59 AM
I would like to use this excellent mod for rating replies.
Can we integrate this mod with a point systems where users get points based on
ratings received (quality & quantity)
ratings provided
thanks -
Ted S
07-25-2009, 05:30 PM
This mod integrated with a vbCredits via third party addon and the reputation system.
Is there another system you would like to integrate it with?
TK1990
07-29-2009, 05:46 PM
Hello.
I changed the phrases and it shows still the same. :S
Jah-Hools
07-30-2009, 02:02 PM
Hi
Can this be added on a selective per forum basis? (so not forum-wide just on some forums?)
Thanks
Ted S
07-30-2009, 03:39 PM
Hi
Can this be added on a selective per forum basis? (so not forum-wide just on some forums?)
Thanks
Yup.
Ted S
08-08-2009, 07:29 PM
After several months of testing by many users I have released 1.9.5 which is a large update to the Helpful Answers system.
Some of the changes in this release:
- The notification system can now be used to tell them when someone voted on their post
- You can now display a message under the first post linking to the top rated post
- Updates to the hooks and plugin system to meet vbulletin guides
- Fixes to several small bugs
- Improved installer code
- Specific threads can be excluded or included via the admin
Note: Installing this version will rework your existing votes updating each one to include additional data. Please be mindful of this as an upgrade will take a few minutes for larger sites.
libertylounge
08-10-2009, 05:16 PM
If I disable the giving of reputation in specific forums.. can this still add reputation to users overall scores?
libertylounge
08-10-2009, 06:33 PM
Additionally, there's something wrong with the query you say to run if you switch between the 10 point scale and the up/down vote:
UPDATE post SET goodrank = '', totalrank = '';
DELETE FROM helpfulanswer;
I get the following 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:
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
Ted S
08-11-2009, 04:20 PM
Thank you. I will be sure to update this asap.
schmidt123a
08-12-2009, 05:44 PM
where is usergroup permission ?
Ted S
08-12-2009, 09:32 PM
where is usergroup permission ?
Looks like you double posted this, please check the other thread and stick to one thread so I don't end up trying to answer you twice. Thanks.
Ted S
08-12-2009, 09:34 PM
Additionally, there's something wrong with the query you say to run if you switch between the 10 point scale and the up/down vote:
UPDATE post SET goodrank = '', totalrank = '';
DELETE FROM helpfulanswer;
I get the following error:
And:
Which script did you run to get this error?
basketmen
08-26-2009, 01:38 PM
guys, is there version for vbulletin 3.6 for this hack
i had try to install but get this when importing
The following dependencies were not met:
This product is not compatible with version 3.6.8 of vBulletin. (Compatible starting with 3.7.0)
Ted S
08-26-2009, 03:00 PM
You can edit the modification to install on 3.6 but it is not supported against the 3.6 code although it should work just fine.
Ted S
09-01-2009, 01:34 AM
Hello Helpful Answers users. Today I am please to announce 2.0.0 which is a big number that includes a big feature long asked for (although the actual changes are rather small).
2.0 introduces user level stats on good votes, totalvotes and bad votes which you can put right into the postbit template using $post[hagoodrank] $post[hatotalrank] and $post[habadrank]
These stats combine a user's entire post history (votes on their posts) into simple numbers for your use.
Updating to 2.0 may take a few minutes as old votes are converted into the user profile. To reduce queries the user table is extended to offer both a good and total rank field.
2.0 requires uploading all .php files as well as updating the XML plugin and to use the new variables you will need to edit your postbit template as you see fit.
viper357
09-01-2009, 09:40 AM
You can edit the modification to install on 3.6 but it is not supported against the 3.6 code although it should work just fine.
Does this still apply to 2.0.0 on 3.6.12? I haven't installed it yet.
viper357
09-01-2009, 12:06 PM
Ok, I've got it installed and running on 3.6.12 but it's only showing on the first post, any idea why?
edit: If you view the full thread then it only shows in the first post, but if you click on the individual post number (to show only that post - showpost.php) then it shows fine, just on the showthread.php it doesn't.
edit again: It's showing on the first post of each page of a thread.
viper357
09-01-2009, 12:58 PM
I've tried playing around with it by putting it in different places, it will show up wherever I put it but still only in the first post. I have tried the manual option as well.
I have disabled all of my other hacks 5 at a time but that made no difference.
Ted S
09-01-2009, 09:45 PM
Does this still apply to 2.0.0 on 3.6.12? I haven't installed it yet.
Yes. 3.6, 3.7 and 3.8 are all fairly similar and I can't think of anything that would break in this mod. However as I don't have a 3.6 test site anymore I can't validate that myself.
Ted S
09-01-2009, 10:00 PM
I've tried playing around with it by putting it in different places, it will show up wherever I put it but still only in the first post. I have tried the manual option as well.
I have disabled all of my other hacks 5 at a time but that made no difference.
Check your options... are you setting this to not appear in the first post by chance? Have you changed any other settings?
viper357
09-02-2009, 06:26 AM
Check your options... are you setting this to not appear in the first post by chance? Have you changed any other settings?
If I set that to not appear then it doesn't appear, if I set it to appear in the first post then it does appear, so it is doing what it is supposed to do, but it only shows in the first post, here is a link so you can see --> http://www.marineaquariumsa.com/showthread.php?t=5238
On that link, post number 2 does not have the thumbsup, but if you click on the post number to show just the post then it suddenly appears --> http://www.marineaquariumsa.com/showpost.php?p=110776&postcount=2
I am desperate to get this working, my members are crying for something like this :)
Ted S
09-02-2009, 06:34 PM
If I set that to not appear then it doesn't appear, if I set it to appear in the first post then it does appear, so it is doing what it is supposed to do, but it only shows in the first post, here is a link so you can see --> http://www.marineaquariumsa.com/showthread.php?t=5238
On that link, post number 2 does not have the thumbsup, but if you click on the post number to show just the post then it suddenly appears --> http://www.marineaquariumsa.com/showpost.php?p=110776&postcount=2
I am desperate to get this working, my members are crying for something like this :)
Strange.
Let's give the attached version a shot (note this uses 2.0 so if you are not on 2.0 it will upgrade you).
Let me know if it works...
viper357
09-03-2009, 04:32 PM
Strange.
Let's give the attached version a shot (note this uses 2.0 so if you are not on 2.0 it will upgrade you).
Let me know if it works...
No change, still the same.
Ted S
09-03-2009, 07:15 PM
Very strange. What other mods are you running that alter your posts? Have you tried turning other ones off?
hey viper, did you get it to work on 3.6 ?
kNeeLy
09-26-2009, 10:34 AM
I just installed this after seeing it used on a forum I regular...so I figured I'd give it a shot!! marked as installed and werking with no problems on 3.7.4!!!
Tortikova
09-28-2009, 07:36 PM
same problem, as viper357 has =(
3.7.0, tried disabling all installed plugins - did not help =(
any ideas?
Ted S
09-28-2009, 09:52 PM
same problem, as viper357 has =(
3.7.0, tried disabling all installed plugins - did not help =(
any ideas?
Have you customized your postbit templates? What version are you running?
Tortikova
09-29-2009, 08:48 AM
Have you customized your postbit templates? What version are you running?
yep, but I've tried using default ones - the same story =(
I'm using 3.7.0 and was trying 1.9.5, 2.0.0 and 2.0.1 plugin versions
Ted S
10-01-2009, 01:23 AM
yep, but I've tried using default ones - the same story =(
I'm using 3.7.0 and was trying 1.9.5, 2.0.0 and 2.0.1 plugin versions
Give the attached plugin file a try.
Ted S
11-09-2009, 05:50 AM
Wow! I just looked at the log for the sites using the tracking feature (anonymous of course) and there's been over 300,000 votes to date. In the last month numbers have almost doubled... 75%+ of votes are still positive and as more sites add helpful answers expect the numbers to only grow as people start looking for this as a standard feature.
To celebrate I'm looking to release 2.5 before the new vbulletin 4.0 comes out so send in your feature suggestions today!
pjkcards
01-02-2010, 07:23 PM
When I try to import the product into 3.6.7, I get an error saying it isn't compatible. Is there a way to bypass this so I can see if I can get it to work? Cheers.
Ted S
01-02-2010, 11:18 PM
When I try to import the product into 3.6.7, I get an error saying it isn't compatible. Is there a way to bypass this so I can see if I can get it to work? Cheers.
Edit the XML file... near the top is the min version.
pjkcards
01-03-2010, 07:26 PM
Edit the XML file... near the top is the min version.
Great, thanks.
I installed it, and it appears to work. However, when I rate 1 post in a thread, it refreshed the page, and returns a "1 of 1 members have found this post helpful" under ALL of the posts in that thread. I want it to rate individual posts. Know of a way around this?
Cheers!
Ted S
01-03-2010, 09:30 PM
Great, thanks.
I installed it, and it appears to work. However, when I rate 1 post in a thread, it refreshed the page, and returns a "1 of 1 members have found this post helpful" under ALL of the posts in that thread. I want it to rate individual posts. Know of a way around this?
Cheers!
This mod is for individual posts. Sounds like something is different in 3.6 that's causing the same code to get rendered. You'd have to look at the code strucutre -- I don't offer support for that old of a version although I'm pretty sure others are running this mod on 3.6.
pjkcards
01-15-2010, 07:08 PM
Thanks for the info.
If anyone reads this and has discovered the problem, please send me a PM. Thanks in advance.
Cheers.
nerbert
06-18-2010, 09:05 PM
I would like to display a net rating equal to (good rating) - ( bad rating). I thought it would be easy to define a new variable in helpfulanswers.php to do that but it doesn't seem to work.
I can do the phrase edits and HTML but I'm no good at PHP.
Thanks.
whether it would be possible to do something like that in this modification, for example, posts which got 10 negative ratings [or average] , were hidden and you click that you can see them. This would be useful in hiding does not help or do not need posts
Ted S
06-20-2010, 06:15 PM
whether it would be possible to do something like that in this modification, for example, posts which got 10 negative ratings [or average] , were hidden and you click that you can see them. This would be useful in hiding does not help or do not need posts
This is already a feature.
and on what basis it works because I never see this in the options?
I mean something like the image, but that is an example of Polish web page
Ted S
06-20-2010, 10:13 PM
and on what basis it works because I never see this in the options?
I mean something like the image, but that is an example of Polish web page
You'll need to use the 3.8 version to get this feature. I do not support 3.7 anymore.
I used version 3.8 but still can not find this option ... whenever I click minus the post and so have estimation of +0 ... When I click on + everything is okay +1
Ted S
06-22-2010, 08:29 PM
I used version 3.8 but still can not find this option ... whenever I click minus the post and so have estimation of +0 ... When I click on + everything is okay +1
The option is in the Helpful Answers configuration, you must enable the feature and set a threshold for posts to be hidden, they must then have a number below that threshold for it to work.
uninstalled version 2.0.0b, installed version 2.0.5 , really not find this option, I attach a screen with the setup on my vB
toolblast
10-15-2010, 03:04 AM
Installed on 3.6 and getting the same issue as other posters in this thread where it is showing ONLY on the FIRST POST of each page in the thread. For example, it shows on the OP but then none of the other posts on that thread page, but when you go to page 2 of the thread, its on the first post of that page.... but not on any others. Very strange.
Other than that the plugin works, when I click it the votes are cast and it works... but only on the first post which isnt what I need.. I want it showing on all posts!!!
Anyone find a solution????
toolblast
10-15-2010, 04:46 PM
Found the solution, for those running 3.6 go into the plugin that renders the postbit start, and remove the 'hook' code that appears somewhere in the middle... it doesn't seem to affect anything and now the ratings will appear on all posts instead of just the first one.
toolblast
10-15-2010, 04:48 PM
AJAX still appears to not be working... when I click the thumbs it refreshes the page and I lose where I was. However, the function does work and shows 1 of 1 members found helpful, etc. But it isn't ajax which is annoying as it refreshes the page and scrolls back to the top.
Any solutions to this??? I've added in the yahoo ajax js libraries... still nothing
Ted S
10-19-2010, 04:17 AM
AJAX still appears to not be working... when I click the thumbs it refreshes the page and I lose where I was. However, the function does work and shows 1 of 1 members found helpful, etc. But it isn't ajax which is annoying as it refreshes the page and scrolls back to the top.
Any solutions to this??? I've added in the yahoo ajax js libraries... still nothing
This mod is for 3.7... I would expect some issues on 3.6
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.