View Full Version : Add-On Releases - [AJAX] Helpful Answers - Allow users to rate individual posts
SurfTalk
02-20-2010, 11:56 AM
very very strange.
I'm not able to duplicate your error but what's really wierd is that the function can_administer isn't used in this script. Is there any more detail in the error like the path or other files which may help me track this down?
Sorry Ted I think i've confused things by listing two seperate issues in quick succession. The error message containing "can_administer" has been fixed - I'd uploaded the wrong .php file - my bad! The error I'm left with I raised in a second post (I've uninstalled and re-installed twice since), which is the following: I get the 1 to 10 scale, and I can place a vote on the scale and get the thank you message, but the ranking is displayed like this, "This post has been ranked $post[avgrank] out of 10 with $post[totalrank] votes" Sorry again for the confusion, hopefully this is easier to fix! I've seen reference to this problem in a french vb forum, but couldn't follow the fix!
Pro-eSports.com
02-20-2010, 01:42 PM
Ted, I entered the forum ID and it doesn't work, even thread ID's don't work.
Ted S
02-20-2010, 08:52 PM
Ted, I entered the forum ID and it doesn't work, even thread ID's don't work.
Check the forum manager to be sure it's enabled in that forum. Thread IDs have absolutely nothing to do with this mod... it's entirely forum based.
Ted S
02-20-2010, 08:53 PM
Sorry Ted I think i've confused things by listing two seperate issues in quick succession. The error message containing "can_administer" has been fixed - I'd uploaded the wrong .php file - my bad! The error I'm left with I raised in a second post (I've uninstalled and re-installed twice since), which is the following: I get the 1 to 10 scale, and I can place a vote on the scale and get the thank you message, but the ranking is displayed like this, "This post has been ranked $post[avgrank] out of 10 with $post[totalrank] votes" Sorry again for the confusion, hopefully this is easier to fix! I've seen reference to this problem in a french vb forum, but couldn't follow the fix!
Ahh. This one I know, look for a fix tomorrow.
Ted S
02-21-2010, 12:41 AM
Sorry Ted I think i've confused things by listing two seperate issues in quick succession. The error message containing "can_administer" has been fixed - I'd uploaded the wrong .php file - my bad! The error I'm left with I raised in a second post (I've uninstalled and re-installed twice since), which is the following: I get the 1 to 10 scale, and I can place a vote on the scale and get the thank you message, but the ranking is displayed like this, "This post has been ranked $post[avgrank] out of 10 with $post[totalrank] votes" Sorry again for the confusion, hopefully this is easier to fix! I've seen reference to this problem in a french vb forum, but couldn't follow the fix!
Here's the version with these variables all fixed up. Since most people don't use the 10 scale I'm going to hold off on an update (which notifies everyone) until there's other changes.
SurfTalk
02-21-2010, 06:42 PM
Here's the version with these variables all fixed up. Since most people don't use the 10 scale I'm going to hold off on an update (which notifies everyone) until there's other changes.
Ted, you're a legend! All working :):) Many, many thanks.
KiLLWiT
02-22-2010, 04:18 AM
I have 'Enable Profile Voting Stats - I & II' enabled but I am not seeing anything in the user's profile under "About Me". Is that where it's supposed to show the ratings for each user? I can't see it anywhere in their profile and I'm on vB 4.0.1. Other than that, everything else is working okay.
Greight
02-25-2010, 07:02 PM
Possible bug: When I give myself a thumbs up (after allowing this in the settings), I get:
%1$s members found this post helpful
edit: I'm not sure what's wrong but it seems it's not saving my choice on the Rating Display (Select how the rating options should be shown.)
I choose images and it only shows the "Yes" text... this seems to modify whether the bug of %1$s shows or not. In some options it works as intended.
edit again: On further review, the problems seem to originate when I change the "Allow negative responses" setting to "No".
Same problem here. When I disable negative rating after I rate a post this is shown: %1$s members found this post helpful.
Ted S
02-25-2010, 09:50 PM
Same problem here. When I disable negative rating after I rate a post this is shown: %1$s members found this post helpful.
Strange. My test site runs this without any issues but I will check more over the weekend.
Greight
02-26-2010, 12:34 PM
Strange. My test site runs this without any issues but I will check more over the weekend.
Thanks dude
dihuta
03-04-2010, 12:58 AM
Hope this Mod will work also on Blog Entry and Article (CMS).
Thank you!
Ted S
03-04-2010, 01:26 AM
Thanks dude
Not sure why you get this when I don't... And I can't duplicate it yet.
Can you share your settings to help me track this down? Thanks!
steve71
03-07-2010, 02:24 PM
steve, I'll just add this to the next update release. Ok? :D
Much appreciated...or to the 4.0 version as we will be updating eventually. :)
Just a reminder of the little update having the receiving usernames listed in helpfulanswers.php instead of the post#
:)
Ted S
03-07-2010, 10:54 PM
Just a reminder of the little update having the receiving usernames listed in helpfulanswers.php instead of the post#
:)
thanks!
Forum Lover
03-07-2010, 11:15 PM
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)
how do i enable this option??
Can we make it as www.yoursite.com/forums/popular.php
I would like to use it as members can populate +/- and give reputations, also member can vew a list of top members.
Tagged so far.
Forum Lover
03-07-2010, 11:21 PM
Just checked, its not working for blog. :(
Ted S
03-08-2010, 01:02 AM
Just checked, its not working for blog. :(
Of course not... It's a post rating tool. Blog entries aren't posts.
Ted S
03-08-2010, 01:04 AM
Can we make it as www.yoursite.com/forums/popular.php (http://www.yoursite.com/forums/popular.php)
I would like to use it as members can populate +/- and give reputations, also member can vew a list of top members.
Tagged so far.
This is not a reputation module about members, it's a post voting system which can contribute to your reputation setup if you so chose. If there's a way you would like to extend post voting to work with reputation more I am always up for new suggestions but am not really clear on your comments.
Forum Lover
03-10-2010, 12:12 AM
This is not a reputation module about members, it's a post voting system which can contribute to your reputation setup if you so chose. If there's a way you would like to extend post voting to work with reputation more I am always up for new suggestions but am not really clear on your comments.
I will get back to you soon with the idea, thanks for quick respond mate. :)
sticky
03-11-2010, 05:50 AM
Can I disable the text and just have the thumbs up or down image?
sticky
03-11-2010, 06:53 AM
Can I turn off the the helpful answer rating for posts made by admins and mods?
Also, can admins mods be exempted from votes per day rules, etc.?
Ted S
03-12-2010, 04:15 AM
Can I disable the text and just have the thumbs up or down image?
You can edit the phrase and change the display however you like.
Ted S
03-12-2010, 04:16 AM
Can I turn off the the helpful answer rating for posts made by admins and mods?
Also, can admins mods be exempted from votes per day rules, etc.?
Wrap the entire helpful_answers_roll template in a conditional that checks the group of the post user. May require a little edit to the php as well.
sticky
03-12-2010, 07:33 AM
Wrap the entire helpful_answers_roll template in a conditional that checks the group of the post user. May require a little edit to the php as well.
I have no idea how to do this.
Sparky McSmith
03-14-2010, 10:15 PM
Is there a way to make a post collapse (be somewhat hidden) when it receives are certain number of negative ratings?
Can this be done with this mod?
archet1337
03-15-2010, 12:46 PM
I have a weird problem
For some reason I am not allowed to rate the first post in certain threads..
I have checked that "hide on first post" is set to off. In some forums I can rate the first and in others I can't. I have also made sure helpful answers is enabled in all forums.
Example:
http://www.digi-tech.org/news-info/98-change-log.html - This first post you can rate
http://www.digi-tech.org/web-design/106-tips-make-professional-flyer-design.html - This first post you can't rate
I don't get it.
Any help would be much appreciated.
dinodonk
03-17-2010, 03:16 AM
can i use it like yahoo answer? thread starter only can pick one reply.
hi!
thanks for the upgrade for vb4!
i'm running a vb4 test board, and when i look at the last "helpful ratings" in my settings, the boxes on the left are broken.
please look at the screenshot for the original skin of vb4.0.2.
thank you.
ahmedbehiry
03-18-2010, 11:22 AM
If I need to modify the icon size used in this addon, do I need to modify any temlates other than the "helpful_answers_roll"? as I tried modifying it but didn't see any changes happening.. or this is a cache issue?
widemind
03-18-2010, 07:04 PM
When I opt to disallow negative votes, the thumbs up / thumbs down icon changes to a simple "yes" in text, instead of just a thumbs up - even though I have the thumbs-up image option selected, not the text option. Am I the only one having this problem?
Ted S
03-18-2010, 10:13 PM
If I need to modify the icon size used in this addon, do I need to modify any temlates other than the "helpful_answers_roll"? as I tried modifying it but didn't see any changes happening.. or this is a cache issue?
This is coded into the XML file.
ahmedbehiry
03-19-2010, 03:07 AM
SO i NEED TO CHANGE IT FROM THE PRODUCT XML FILE BEFORE INSTALLING IT?
Ted S
03-19-2010, 04:00 AM
SO i NEED TO CHANGE IT FROM THE PRODUCT XML FILE BEFORE INSTALLING IT?
If you want to edit the image sizes, sure.
DarknessDivine
03-20-2010, 05:41 PM
Possible bug: When I give myself a thumbs up (after allowing this in the settings), I get:
%1$s members found this post helpful
edit: I'm not sure what's wrong but it seems it's not saving my choice on the Rating Display (Select how the rating options should be shown.)
I choose images and it only shows the "Yes" text... this seems to modify whether the bug of %1$s shows or not. In some options it works as intended.
edit again: On further review, the problems seem to originate when I change the "Allow negative responses" setting to "No".
Same problem here. When I disable negative rating after I rate a post this is shown: %1$s members found this post helpful.
I am having the same issue version 4.02
Ted S
03-21-2010, 01:27 AM
I am having the same issue version 4.02
You have negative turned to 'no' but which voting display option are you using?
DarknessDivine
03-21-2010, 05:58 PM
You have negative turned to 'no' but which voting display option are you using?
Rollover thumbs which was the only one I could get to actually show up with Negative No checked.
I set it to allow negatives and it works so I guess I can leave it for now.
Ted S
03-22-2010, 03:10 AM
Thanks. I'll take another look as this is the same settings one of my sites uses, but without any % issue.
GONUMBER6
03-22-2010, 03:33 AM
I am having the same problem with the rollover thumbs and only positive feedback setting as well. Works fine with positive & negative. Using version 4.02
Wild Bronco
03-22-2010, 09:34 PM
Installed and working nicely :) Thanks
I don't know if this has been sugested but, this would be nice for the CMS as well...
10 out of 10 members found this article helpful.
Wild Bronco
03-22-2010, 10:02 PM
And in the blog similar to facebooks LIKE thing
Ted S
03-23-2010, 01:45 AM
And in the blog similar to facebooks LIKE thing
This is something I'm looking at. Each feature is entirely seperate but I'll likely clone the mod for each of them.
Wild Bronco
03-24-2010, 01:19 AM
This is something I'm looking at. Each feature is entirely seperate but I'll likely clone the mod for each of them.
Nice :)
Mostjolly
03-29-2010, 03:21 PM
Hey Ted,
Why do we get the same results, for example:
Did you find this post helpful? Positive | Negative
1) When I click on Positive I get "1 people found this post to be useful." THIS IS ACCEPTABLE.
2) When I click on Negative I STILL get "1 people found this post to be useful." THIS IS UNACCEPTABLE... (because it's not useful for negative response..)
Technically, we're getting the SAME PHRASE weither be Negative or Positive.. which is confusing.
Solution: I would prefer whenever someone clicks on Negative sign it should give us "1 people found this post to be lame/shameful".
How could I add an extra phrase associated for Negative ratings?
P.S. BTW, 1 people found this post..... is my costume phrase :)
Hikikomori
03-30-2010, 11:44 PM
I think the profile.php?do=helpfulans page breaks the layout (left sidebars), just a tiny bit.
I was also wondering would it be possible to have a setting to only allow marking a helpful post for the threadstarter? In a specific forum I want the threadstarter to be eligible to be marked as helpful/not helpful, but not any additional posts in that thread.
Ted S
04-03-2010, 10:50 PM
Hey Ted,
Why do we get the same results, for example:
Did you find this post helpful? Positive | Negative
1) When I click on Positive I get "1 people found this post to be useful." THIS IS ACCEPTABLE.
2) When I click on Negative I STILL get "1 people found this post to be useful." THIS IS UNACCEPTABLE... (because it's not useful for negative response..)
Technically, we're getting the SAME PHRASE weither be Negative or Positive.. which is confusing.
Solution: I would prefer whenever someone clicks on Negative sign it should give us "1 people found this post to be lame/shameful".
How could I add an extra phrase associated for Negative ratings?
P.S. BTW, 1 people found this post..... is my costume phrase :)
When someone clicks negative and the negative option is enabled it should state that 1 out of 2 people found the post helpful. Be sure you are using the original phrase and template to get this functionality. If you have changed it you need to be sure your phrase works properly.
Ted S
04-03-2010, 10:51 PM
I was also wondering would it be possible to have a setting to only allow marking a helpful post for the threadstarter? In a specific forum I want the threadstarter to be eligible to be marked as helpful/not helpful, but not any additional posts in that thread.
You would have to modify the addon to do this.
Greight
04-04-2010, 01:42 PM
First thanks again for this nice mod, then can you please add a function so that the user can cancel his vote?
Forum Lover
04-04-2010, 11:00 PM
Ted S, can we have similar for blogs too please?
Ted S
04-05-2010, 02:02 AM
Ted S, can we have similar for blogs too please?
Yes. Soon.
Verionia
04-05-2010, 05:36 AM
I am using 4.02, followed the instructions manual yet nothing shows... cant get this mod to work.
Verionia
04-05-2010, 08:51 PM
Followed everything on the threads, but still doesn't work and show on ANY forum. Will disable until next update.
Ted S
04-05-2010, 09:58 PM
Followed everything on the threads, but still doesn't work and show on ANY forum. Will disable until next update.
Have you enabled it in any forum?
Verionia
04-05-2010, 10:36 PM
Have you enabled it in any forum?
Yes I have through the bulk and forum. See PM
Ted S
04-06-2010, 01:16 AM
Yes I have through the bulk and forum. See PM
Have you modified your postbit or postbit_legacy templates?
Verionia
04-06-2010, 01:35 AM
Have you modified your postbit or postbit_legacy templates?
Yes, this is my postbit_legacy code:
<vb:if condition="$post['signature']">
<blockquote class="signature restore"><div class="signaturecontainer">{vb:raw post.signature}</div></blockquote>
{vb:raw template_hook.postbit_signature_end}
</vb:if>
{vb:raw template_hook.postbit_signature_end}
</div>
</vb:if>
{vb:raw helpful_answers}
<div class="cleardiv"></div>
</div>
</div>
Ted S
04-06-2010, 04:33 AM
Yes, this is my postbit_legacy code:
<vb:if condition="$post['signature']">
<blockquote class="signature restore"><div class="signaturecontainer">{vb:raw post.signature}</div></blockquote>
{vb:raw template_hook.postbit_signature_end}
</vb:if>
{vb:raw template_hook.postbit_signature_end}
</div>
</vb:if>
{vb:raw helpful_answers}
<div class="cleardiv"></div>
</div>
</div>
You will need to compare against the original template to be sure all of the template_hook calls remain in place. This addon uses postbit_messagearea_start
Is there a way to make a post collapse (be somewhat hidden) when it receives are certain number of negative ratings?
Can this be done with this mod?
Hi Ted S.
same question.
Need it for 4.0.2 and 3.8, both :)
pete_brady
04-07-2010, 07:29 AM
option to hide low ranked posts would be great - users are really missing the old Post Ranking mod since the upgrade to vb4
Greight
04-07-2010, 08:44 AM
First thanks again for this nice mod, then can you please add a function so that the user can cancel his vote?
Any luck?
Hikikomori
04-07-2010, 05:11 PM
I was also wondering would it be possible to have a setting to only allow marking a helpful post for the threadstarter? In a specific forum I want the threadstarter to be eligible to be marked as helpful/not helpful, but not any additional posts in that thread.
You would have to modify the addon to do this.
Would this be difficult to do? Is there a simple if statement or something similar I can add to the plugin code? Thanks.
Ted S
04-08-2010, 04:24 AM
Any luck?
This is not on the development roadmap for this mod at this time although you could certainly add it.
Ted S
04-08-2010, 04:29 AM
Would this be difficult to do? Is there a simple if statement or something similar I can add to the plugin code? Thanks.
Would this be difficult to do? Is there a simple if statement or something similar I can add to the plugin code? Thanks.
Pretty simple...
You can cheat and edit the template helpful_answers_roll
<vb:if condition="$show['rate_helpfulanswer']">
To something like...
<vb:if condition="$show['rate_helpfulanswer'] AND $userinfo['userid'] == post.userid">
You should of course modify the helpfulanswers.php file to insure someone can't cheat a vote as the template just controls the display of voting.
Ted S
04-08-2010, 04:33 AM
option to hide low ranked posts would be great - users are really missing the old Post Ranking mod since the upgrade to vb4
This is on the roadmap for this modification and something I hope to have done soon!
This is on the roadmap for this modification and something I hope to have done soon!
Thank you very much :up:
Verionia
04-08-2010, 01:14 PM
You will need to compare against the original template to be sure all of the template_hook calls remain in place. This addon uses postbit_messagearea_start
Still no luck, can't get it to work :/
Greight
04-08-2010, 01:34 PM
This is not on the development roadmap for this mod at this time although you could certainly add it.
So can you tell me how :confused:
This is on the roadmap for this modification and something I hope to have done soon!
Hi Ted S.
Will you add this to 3.8 version too?
Hikikomori
04-08-2010, 04:52 PM
Pretty simple...
You can cheat and edit the template helpful_answers_roll
<vb:if condition="$show['rate_helpfulanswer']">
To something like...
<vb:if condition="$show['rate_helpfulanswer'] AND $userinfo['userid'] == post.userid">
You should of course modify the helpfulanswers.php file to insure someone can't cheat a vote as the template just controls the display of voting.
Weird, I tried adding that code, but there wasn't any effect. Although I think have a bigger problem, nothing I do to change the helpful_answers_roll template takes any effect. I tried writing random text in the template, I even tried removing all text from the template, but there was no change. I've tried reinstalling and on different styles, but it was the same. Any idea what could be wrong?
Ted S
04-08-2010, 05:34 PM
Still no luck, can't get it to work :/
Can you post your current settings & postbit / postbit_legacy template?
Ted S
04-08-2010, 05:35 PM
Weird, I tried adding that code, but there wasn't any effect. Although I think have a bigger problem, nothing I do to change the helpful_answers_roll template takes any effect. I tried writing random text in the template, I even tried removing all text from the template, but there was no change. I've tried reinstalling and on different styles, but it was the same. Any idea what could be wrong?
There are a few templates used depending on your settings.... many people use the _roll option but you may not. Check the other helpful_answers templates.
Ted S
04-08-2010, 05:35 PM
Hi Ted S.
Will you add this to 3.8 version too?
Depends on how easy the code is to port back.
Ted S
04-08-2010, 05:37 PM
So can you tell me how :confused:
It's not difficult but it would require some decent coding work. Basically you'd need to add a new function to allow for removing a vote and then edit the display template to show htis option.
pete_brady
04-08-2010, 08:37 PM
This is on the roadmap for this modification and something I hope to have done soon!
ace. Just installed.
Hikikomori
04-08-2010, 11:28 PM
There are a few templates used depending on your settings.... many people use the _roll option but you may not. Check the other helpful_answers templates.
Thanks, this worked. I needed to use the helpful_answers template instead of helpful_answers_roll. I also used $post['parent'] == 0 to check if it was the first post instead of $userinfo['userid'] == post.userid, that one didn't seem to work.
Depends on how easy the code is to port back.
Thank you. Just collapse feature is enough.
waiting for the next version with these features :)
Ted S
04-09-2010, 04:42 AM
Thanks, this worked. I needed to use the helpful_answers template instead of helpful_answers_roll. I also used $post['parent'] == 0 to check if it was the first post instead of $userinfo['userid'] == post.userid, that one didn't seem to work.
firstpostid is how you check the first post.
Verionia
04-09-2010, 01:33 PM
Can you post your current settings & postbit / postbit_legacy template?
Here is my postbit:
<li class="postbit postbitim" id="post_{vb:raw post.postid}">
<div class="postdetails_noavatar">
<div class="posthead">
<label for="post_imod_checkbox_{vb:raw post.postid}">
<span class="postdate {vb:raw post.statusicon}">
<vb:if condition="$show['announcement']">
<span class="date">{vb:rawphrase x_until_y, {vb:raw post.startdate}, {vb:raw post.enddate}}</span>
<vb:else />
<span class="date">{vb:raw post.postdate}<vb:if condition="!$show['detailedtime']"> <span class="time">{vb:raw post.posttime}</span></vb:if></span>
</vb:if>
</span>
<span class="nodecontrols">
<span class="postcontrols_top">
<vb:if condition="$post['postid'] AND $post['threadid']">
<a name="post{vb:raw post.postid}"></a>
<a href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_post}}#post{vb:raw post.postid}" class="postcounter" id="postcount{vb:raw post.postid}" title="{vb:raw post.postcount}">#{vb:raw post.postcount}</a>
</vb:if>
<vb:if condition="$show['inlinemod']">
<input type="checkbox" id="post_imod_checkbox_{vb:raw post.postid}" name="plist[{vb:raw post.postid}]" class="postimod" value="{vb:raw post.checkbox_value}" />
</vb:if>
</span>
</span>
</label>
</div>
<div class="userinfo<vb:if condition="!$show['avatar']">_noavatar</vb:if>">
<div class="contact">
<vb:if condition="$show['avatar']">
<a class="postuseravatarlink" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
<vb:if condition="$post.avatarurl">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
<vb:else />
<img src="{vb:stylevar imgdir_misc}/unknown.gif" />
</vb:if>
</a>
</vb:if>
<div class="username_container">
<vb:if condition="$post['userid']">
{vb:raw memberaction_dropdown}
{vb:raw post.onlinestatus}
<vb:else />
<span class="username guest">{vb:raw post.username}</span>
</vb:if>
<span class="usertitle">
{vb:raw post.usertitle}
</span>
<vb:if condition="$post['rank']">
<span class="rank">{vb:raw post.rank}</span>
</vb:if>
{vb:raw template_hook.postbit_userinfo_left}
<vb:if condition="$show['reputation']">
<span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputationdisplay}</span>
</vb:if>
<vb:if condition="$post['userid']">
<div class="imlinks">
{vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon}
</div>
</vb:if>
</div>
</div>
<vb:if condition="$post['userid']">
<div class="userinfo_extra">
<dl class="userstats">
{vb:raw post.crowns}{vb:raw post.champtext}<br />
<vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></vb:if>
<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></vb:if>
<vb:if condition="$post['age']"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></vb:if>
<dt>{vb:rawphrase posts}</dt> <dd>{vb:raw post.posts}</dd>
{vb:raw template_hook.postbit_userinfo_right_after_posts}
</dl>
<vb:if condition="$show['infraction'] OR $show['reppower']">
<dl class="user_rep">
<vb:if condition="$show['infraction']">
<dt>{vb:rawphrase infractions}</dt>
<dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd>
</vb:if>
<vb:if condition="$show['reputation']">
<vb:if condition="$show['reppower']">
<dt>{vb:rawphrase reppower}</dt>
<dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd>
</vb:if>
</vb:if>
</dl>
</vb:if>
{vb:raw template_hook.postbit_userinfo_right}
</div>
</vb:if>
</div>
</div>
<div class="postbody">
{vb:raw template_hook.postbit_messagearea_start}
<div class="postrow">
<vb:if condition="$post['title'] OR $show['messageicon'] OR $show['inlinemod']">
<h2 class="posttitle icon icon{vb:raw post.iconid}">
{vb:raw post.title}
</h2>
</vb:if>
<vb:if condition="$post['isfirstshown']">
{vb:raw ad_location.ad_showthread_firstpost_start}
{vb:raw ad_location.thread_first_post_content}
</vb:if>
<vb:if condition="$post['islastshown']">
{vb:raw ad_location.thread_last_post_content}
</vb:if>
<div class="content<vb:if condition="$post['isfirstshown'] || $post['islastshown']"></vb:if>">
<div id="post_message_{vb:raw post.postid}">
<blockquote class="postcontent restore">
{vb:raw post.message}
</blockquote>
</div>
<vb:if condition="$show['attachments']">
<div class="attachments">
<vb:if condition="$show['thumbnailattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_thumbnails}</legend>
{vb:raw post.thumbnailattachments}
</fieldset>
</vb:if>
<vb:if condition="$show['imageattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_images}</legend>
{vb:raw post.imageattachments}
</fieldset>
</vb:if>
<vb:if condition="$show['imageattachmentlink']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_images}</legend>
<ul>
{vb:raw post.imageattachmentlinks}
</ul>
</fieldset>
</vb:if>
<vb:if condition="$show['otherattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_files}</legend>
<ul>
{vb:raw post.otherattachments}
</ul>
</fieldset>
</vb:if>
<vb:if condition="$show['moderatedattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attachments_pending_approval}</legend>
<ul>
{vb:raw post.moderatedattachments}
</ul>
</fieldset>
</vb:if>
</div>
<!-- / attachments -->
</vb:if>
</div>
<vb:if condition="$show['postedited']">
<!-- edit note -->
<blockquote class="postcontent lastedited">
<!-- <img src="{vb:stylevar imgdir_button}/edit_40b.png" alt="" /> -->
<vb:if condition="$show['postedithistory']">
{vb:rawphrase last_edited_link_by_x_on_y_at_z_postid, {vb:raw post.edit_username}, {vb:raw post.edit_date},
{vb:raw post.edit_time}, {vb:raw post.historyurl}}
<vb:else />
{vb:rawphrase last_edited_by_x_on_y_at_z, {vb:raw post.edit_username}, {vb:raw post.edit_date}, {vb:raw post.edit_time}}
</vb:if>
<vb:if condition="$post['edit_reason']">
<span class="reason">{vb:rawphrase reason}:</span> {vb:raw post.edit_reason}
</vb:if>
</blockquote>
<!-- / edit note -->
</vb:if>
{vb:raw template_hook.postbit_signature_start}
<vb:if condition="$post['signature']">
<blockquote class="signature restore"><div class="signaturecontainer">{vb:raw post.signature}</div></blockquote>
</vb:if>
{vb:raw template_hook.postbit_signature_end}
</div>
</div>
<div class="postfoot">
<div class="textcontrols">
<span class="postcontrols">
<img style="display:none" id="progress_{vb:raw post.postid}" src="{vb:stylevar imgdir_misc}/progress.gif" alt="{vb:rawphrase loading_editor_please_wait}" />
<vb:if condition="$post['editlink']">
<a class="editpost" href="{vb:raw post.editlink}" name="vB::QuickEdit::{vb:raw post.postid}"><img src="{vb:stylevar imgdir_button}/trans_40b.png" id="editimg_{vb:raw post.postid}" alt="{vb:rawphrase edit_delete_message}" /> {vb:rawphrase edit_post}</a>
<span class="seperator"> </span>
</vb:if>
<vb:if condition="$show['quickreply'] AND !$show['threadedmode']">
<a id="qr_{vb:raw post.postid}" class='quickreply' href="{vb:raw post.replylink}" rel="nofollow" onclick="return false"><img id="replyimg_{vb:raw post.postid}" src="{vb:stylevar imgdir_button}/trans_40b.png" alt="{vb:rawphrase quick_reply_to_this_message}" /> {vb:rawphrase reply}</a>
<span class="seperator"> </span>
</vb:if>
<vb:if condition="$post['replylink']">
<a id="qrwq_{vb:raw post.postid}" class="newreply" href="{vb:raw post.replylink}" rel="nofollow" ><img id="quoteimg_{vb:raw post.postid}" src="{vb:stylevar imgdir_button}/trans_40b.png" alt="{vb:rawphrase reply_with_quote}" /> <vb:if condition="$post['forwardlink']">{vb:rawphrase reply_to_private_message}<vb:else />{vb:rawphrase reply_with_quote}</vb:if></a>
<span class="seperator"> </span>
</vb:if>
<vb:if condition="$show['multiquote_post']">
<a class='multiquote' href="{vb:raw post.replylink}" rel="nofollow" onclick="return false;" id="mq_{vb:raw post.postid}"><img id="mq_image_{vb:raw post.postid}" src="{vb:stylevar imgdir_button}/trans_40b.png" alt="{vb:rawphrase multi_quote_this_message}" /> </a>
</vb:if>
</span>
<span class="postlinking">
<vb:if condition="!$post['forwardlink'] && THIS_SCRIPT != 'usernote'">
<vb:if condition="$promote_sectionid AND $promote_sectionid != -1">
<a href="{vb:raw $promote_url}" class="promotecms">{vb:rawphrase promote_to_article}</a>
<span class="seperator"> </span>
</vb:if>
</vb:if>
{vb:raw template_hook.postbit_controls}
{vb:raw post.iplogged}
<vb:if condition="$post['forwardlink']">
<a class="forwardpost" href="{vb:raw post.forwardlink}" rel="nofollow" ><img src="{vb:stylevar imgdir_button}/reply_40b.png" alt="{vb:rawphrase forward_message}" /> {vb:rawphrase forward}</a>
<span class="seperator"> </span>
</vb:if>
<vb:if condition="$show['reputationlink']">
<span class="reputationpopupmenu popupmenu popupcustom" title="{vb:raw post.postid}"><a class="popupctrl reputation" href="reputation.php?{vb:raw session.sessionurl}p={vb:raw post.postid}" title="{vb:rawphrase add_reputation}" rel="nofollow" id="reputation_{vb:raw post.postid}"><!--<img src="{vb:stylevar imgdir_button}/reputation-40b.png" alt="{vb:rawphrase add_reputation}" />--> </a></span>
</vb:if>
<vb:if condition="$show['infractionlink']">
<a class="infraction" href="infraction.php?{vb:raw session.sessionurl}do=report&p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}"><!-- <img src="{vb:stylevar imgdir_button}/add-infraction_sm.png" alt="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}" /> --> </a>
</vb:if>
<vb:if condition="$show['reportlink']">
<a class="report" href="{vb:raw post.reportlink}" rel="nofollow" title="{vb:rawphrase report_bad_post}"><!-- <img src="{vb:stylevar imgdir_button}/report-40b.png" alt="{vb:rawphrase report_bad_post}" /> --> </a>
</vb:if>
<vb:if condition="$show['moderated']">
<img class="moderated" src="{vb:stylevar imgdir_misc}/moderated_sm.png" alt="{vb:rawphrase moderated_post}" />
</vb:if>
<vb:if condition="$show['spam']">
<img class="spam" src="{vb:stylevar imgdir_misc}/spam_detected.png" alt="{vb:rawphrase spam_post}" />
</vb:if>
<vb:if condition="$show['deletedpost']">
<vb:if condition="$show['managepost']">
<a class="deleted" href="postings.php?{vb:raw session.sessionurl}do=managepost&p={vb:raw post.postid}" title="{vb:rawphrase manage}"><!-- <img src="{vb:stylevar imgdir_misc}/deleted_sm.png" alt="{vb:rawphrase manage}" /> --> </a>
<vb:else />
<img class="deleted_nolink" class="inlineimage src="{vb:stylevar imgdir_misc}/deleted_sm.png" alt="{vb:rawphrase deleted_post}" />
</vb:if>
</vb:if>
<vb:if condition="$show['redcard']">
<a class="redcard" href="infraction.php?{vb:raw session.sessionurl}do=view&p={vb:raw post.postid}" rel="nofollow" title="vb:rawphrase received_infraction}"><!-- <img src="{vb:stylevar imgdir_button}/red-card_sm.png" alt="{vb:rawphrase received_infraction}" /> --> </a>
<vb:elseif condition="$show['yellowcard']" />
<a class="yellowcard" href="infraction.php?{vb:raw session.sessionurl}do=view&p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_warning}"><!--<img src="{vb:stylevar imgdir_button}/yellow-card_sm.png" alt="{vb:rawphrase received_warning}" /> --> </a>
</vb:if>
</span>
</div>
</div>
<hr />
</li>
{vb:raw template_hook.postbit_end}
Verionia
04-09-2010, 01:33 PM
My postbit_legacy:
{vb:raw template_hook.postbit_start}
<li class="postbitlegacy postbitim" id="post_{vb:raw post.postid}">
<!-- see bottom of postbit.css for .userinfo .popupmenu styles -->
<div class="posthead">
<label for="post_imod_checkbox_{vb:raw post.postid}">
<span class="postdate {vb:raw post.statusicon}">
<vb:if condition="$show['announcement']">
<span class="date">{vb:rawphrase x_until_y, {vb:raw post.startdate}, {vb:raw post.enddate}}</span>
<vb:else />
<span class="date">{vb:raw post.postdate}<vb:if condition="!$show['detailedtime']"> <span class="time">{vb:raw post.posttime}</span></vb:if></span>
</vb:if>
</span>
</label>
<span class="nodecontrols">
<vb:if condition="$post['postid'] AND $post['threadid']">
<a name="post{vb:raw post.postid}" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_post}}#post{vb:raw post.postid}" class="postcounter">#{vb:raw post.postcount}</a>
</vb:if>
<vb:if condition="$show['inlinemod']">
<input class="postimod" type="checkbox" id="post_imod_checkbox_{vb:raw post.postid}" name="plist[{vb:raw post.postid}]" value="{vb:raw post.checkbox_value}" />
</vb:if>
</span>
</div>
<div class="postdetails">
<div class="userinfo">
<div class="username_container">
<vb:if condition="$post['userid']">
{vb:raw memberaction_dropdown}
{vb:raw post.onlinestatus}
<vb:else />
<span class="username guest">{vb:raw post.musername}</span>
</vb:if>
</div>
<span class="usertitle">
{vb:raw post.usertitle}
</span>
<!-- Wy Country Flags Start --><div>
<vb:if condition="$post['field21']"><img src="http://www.beautymonials.com/images/buttons/flags/{vb:raw post.field21}.gif" alt="{vb:raw post.field21} is {vb:raw post.username}'s Country Flag" border="" /></vb:if><b> {vb:raw post.field21}</b></p>
<!-- Wy Flags End --></div>
<vb:if condition="$post['rank']">
<span class="rank">{vb:raw post.rank}</span>
</vb:if>
{vb:raw template_hook.postbit_userinfo_left}
<vb:if condition="$show['reputation']">
<span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputationdisplay}</span>
</vb:if>
<vb:if condition="$show['avatar']">
<a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
</a>
</vb:if>
<vb:if condition="$post['userid']">
<hr />
<dl class="userinfo_extra">
<vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></vb:if>
<!-- PRINCEEDWARD LAST ONLINE DATE AND TIME START -->
<vb:if condition="$post['lastactivity']">
<dt>{vb:rawphrase last_online_activity}</dt><dd>{vb:raw post.lastactivity_date} @ {vb:raw post.lastactivity_time}</dd>
</vb:if>
<!-- / PRINCEEDWARD LAST ONLINE DATE AND TIME END -->
<!-- Wy Gender in postbit Start -->
<vb:if condition="$post['field20']"> <dt>Gender</dt> <dd><img src="./images/misc/{vb:raw post.field20}.gif" alt="" /></dd></vb:if>
<!-- Wy Gender in postbit End -->
<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></vb:if>
<vb:if condition="$post['age']"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></vb:if>
<dt>{vb:rawphrase 'posts'}</dt> <dd>{vb:raw post.posts}</dd>
{vb:raw template_hook.postbit_userinfo_right_after_posts}
</dl>
<vb:if condition="$show['infraction'] OR $show['reppower']">
<dl class="user_rep">
<vb:if condition="$show['infraction']">
<dt>{vb:rawphrase infractions}</dt>
<dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd>
</vb:if>
<vb:if condition="$show['reputation']">
<vb:if condition="$show['reppower']">
<dt>{vb:rawphrase reppower}</dt>
<dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd>
</vb:if>
<dd>{vb:raw post.crowns}{vb:raw post.champtext}</dd><br />
</vb:if>
</dl>
</vb:if>
{vb:raw template_hook.postbit_userinfo_right}
<div class="imlinks">
{vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon}
</div>
</vb:if>
</div>
<div class="postbody">
<div class="postrow<vb:if condition="$show['postedited'] || $post['signature']"> has_after_content</vb:if>">
{vb:raw template_hook.postbit_messagearea_start}
<vb:if condition="$post['title'] OR $show['messageicon']">
<h2 class="title icon icon{vb:raw post.iconid}">
{vb:raw post.title}
</h2>
</vb:if>
<vb:if condition="$post['isfirstshown']">
{vb:raw ad_location.ad_showthread_firstpost_start}
{vb:raw ad_location.thread_first_post_content}
</vb:if>
<vb:if condition="$post['islastshown']">
{vb:raw ad_location.thread_last_post_content}
</vb:if>
<div class="content<vb:if condition="$post['isfirstshown'] || $post['islastshown']"></vb:if>">
<div id="post_message_{vb:raw post.postid}">
<blockquote class="postcontent restore ">
{vb:raw post.message}
</blockquote>
</div>
<vb:if condition="$show['attachments']">
<div class="attachments">
<vb:if condition="$show['thumbnailattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_thumbnails}</legend>
{vb:raw post.thumbnailattachments}
</fieldset>
</vb:if>
<vb:if condition="$show['imageattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_images}</legend>
{vb:raw post.imageattachments}
</fieldset>
</vb:if>
<vb:if condition="$show['imageattachmentlink']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_images}</legend>
<ul>
{vb:raw post.imageattachmentlinks}
</ul>
</fieldset>
</vb:if>
<vb:if condition="$show['otherattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_files}</legend>
<ul>
{vb:raw post.otherattachments}
</ul>
</fieldset>
</vb:if>
<vb:if condition="$show['moderatedattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attachments_pending_approval}</legend>
<ul>
{vb:raw post.moderatedattachments}
</ul>
</fieldset>
</vb:if>
</div>
<!-- / attachments -->
</vb:if>
</div>
</div>
<vb:if condition="$show['postedited'] || $post['signature']">
<div class="after_content">
<vb:if condition="$show['postedited']">
<!-- edit note -->
<blockquote class="postcontent lastedited">
<!-- <img src="{vb:stylevar imgdir_button}/edit_40b.png" class="inlineimg" alt="" /> -->
<vb:if condition="$show['postedithistory']">
{vb:rawphrase last_edited_link_by_x_on_y_at_z_postid, {vb:raw post.edit_username}, {vb:raw post.edit_date},
{vb:raw post.edit_time}, {vb:raw post.historyurl}}
<vb:else />
{vb:rawphrase last_edited_by_x_on_y_at_z, {vb:raw post.edit_username}, {vb:raw post.edit_date}, {vb:raw post.edit_time}}
</vb:if>
<vb:if condition="$post['edit_reason']">
<span class="reason">{vb:rawphrase reason}:</span> {vb:raw post.edit_reason}
</vb:if>
</blockquote>
<!-- / edit note -->
</vb:if>
{vb:raw template_hook.postbit_signature_start}
<!--YoBroMoFo Thread Starter-->
<vb:if condition="$post['signature'] OR $thread['postuserid'] == $post['userid']">
<!-- sig -->
<div>
__________________<br />
<vb:if condition="$thread['postuserid'] == $post['userid']">
<img src="images/thread_starter.gif" alt="Thread Starter"><br />
</vb:if>
</div>
<!-- / sig -->
</vb:if>
<!--end of YoBroMoFo Thread Starter-->
<vb:if condition="$post['signature']">
<blockquote class="signature restore"><div class="signaturecontainer">{vb:raw post.signature}</div></blockquote>
{vb:raw template_hook.postbit_signature_end}
</vb:if>
{vb:raw template_hook.postbit_signature_end}
</div>
</vb:if>
{vb:raw helpful_answers}{vb:raw post.totalrank}
<div class="cleardiv"></div>
</div>
</div>
<div class="postfoot">
<!-- <div class="postfoot_container"> -->
<div class="textcontrols">
<span class="postcontrols">
<img style="display:none" id="progress_{vb:raw post.postid}" src="{vb:stylevar imgdir_misc}/progress.gif" alt="{vb:rawphrase loading_editor_please_wait}" />
<vb:if condition="$post['editlink']">
<a class="editpost" href="{vb:raw post.editlink}" name="vB::QuickEdit::{vb:raw post.postid}"><img src="{vb:stylevar imgdir_button}/trans_40b.png" id="editimg_{vb:raw post.postid}" alt="{vb:rawphrase edit_delete_message}" /> {vb:rawphrase edit_post}</a>
<span class="seperator"> </span>
</vb:if>
<vb:if condition="$show['quickreply'] AND !$show['threadedmode']">
<a id="qr_{vb:raw post.postid}" class='quickreply' href="{vb:raw post.replylink}" rel="nofollow"><img id="replyimg_{vb:raw post.postid}" src="{vb:stylevar imgdir_button}/trans_40b.png" alt="{vb:rawphrase quick_reply_to_this_message}" /> {vb:rawphrase reply}</a>
<span class="seperator"> </span>
</vb:if>
<vb:if condition="$post['replylink']">
<a id="qrwq_{vb:raw post.postid}" class="newreply" href="{vb:raw post.replylink}" rel="nofollow"><img id="quoteimg_{vb:raw post.postid}" src="{vb:stylevar imgdir_button}/trans_40b.png" alt="{vb:rawphrase reply_with_quote}" /> {vb:rawphrase reply_with_quote}</a>
<span class="seperator"> </span>
</vb:if>
<vb:if condition="$show['multiquote_post']">
<a class="multiquote" href="{vb:raw post.replylink}" rel="nofollow" onclick="return false;" id="mq_{vb:raw post.postid}"><img id="mq_image_{vb:raw post.postid}" src="{vb:stylevar imgdir_button}/trans_40b.png" alt="{vb:rawphrase multi_quote_this_message}" /> </a>
</vb:if>
</span>
<span class="postlinking">
<vb:if condition="!$post['forwardlink'] && THIS_SCRIPT != 'usernote'">
<vb:if condition="$promote_sectionid">
<a href="{vb:raw $promote_url}" class="promotecms">{vb:rawphrase promote_to_article}</a>
<span class="seperator"> </span>
</vb:if>
</vb:if>
{vb:raw template_hook.postbit_controls}
{vb:raw post.iplogged}
<vb:if condition="$show['reputationlink']">
<span class="reputationpopupmenu popupmenu popupcustom" title="{vb:raw post.postid}"><a class="popupctrl reputation" title="Reputation" href="reputation.php?{vb:raw session.sessionurl}p={vb:raw post.postid}" rel="nofollow" id="reputation_{vb:raw post.postid}"><!--<img src="{vb:stylevar imgdir_button}/reputation-40b.png" alt="Reputation" /> --> </a></span>
</vb:if>
<vb:if condition="$show['infractionlink']">
<a class="infraction" href="infraction.php?{vb:raw session.sessionurl}do=report&p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}"><!-- <img src="{vb:stylevar imgdir_button}/add-infraction_sm.png" alt="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}" /> --> </a>
</vb:if>
<vb:if condition="$show['reportlink']">
<a class="report" href="{vb:raw post.reportlink}" rel="nofollow" title="{vb:rawphrase report_bad_post}"><!-- <img src="{vb:stylevar imgdir_button}/report-40b.png" alt="{vb:rawphrase report_bad_post}" /> --> </a>
</vb:if>
<vb:if condition="$show['moderated']">
<img class="moderated" src="{vb:stylevar imgdir_misc}/moderated_sm.png" alt="{vb:rawphrase moderated_post}" />
</vb:if>
<vb:if condition="$show['spam']">
<img class="spam" src="{vb:stylevar imgdir_misc}/spam_detected.png" alt="{vb:rawphrase spam_post}" />
</vb:if>
<vb:if condition="$show['deletedpost']">
<vb:if condition="$show['managepost']">
<a class="deleted" href="postings.php?{vb:raw session.sessionurl}do=managepost&p={vb:raw post.postid}" title="{vb:rawphrase manage}"><!-- <img src="{vb:stylevar imgdir_misc}/deleted_sm.png" alt="{vb:rawphrase manage}" /> --> </a>
<vb:else />
<img class="deleted_nolink" class="inlineimage src="{vb:stylevar imgdir_misc}/deleted_sm.png" alt="{vb:rawphrase deleted_post}" />
</vb:if>
</vb:if>
<vb:if condition="$show['redcard']">
<a class="redcard" href="infraction.php?{vb:raw session.sessionurl}do=view&p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_infraction}"><!-- <img src="{vb:stylevar imgdir_button}/red-card_sm.png" alt="{vb:rawphrase received_infraction}" /> --> </a>
<vb:elseif condition="$show['yellowcard']" />
<a class="yellowcard" href="infraction.php?{vb:raw session.sessionurl}do=view&p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_warning}"><!--<img src="{vb:stylevar imgdir_button}/yellow-card_sm.png" alt="{vb:rawphrase received_warning}" /> --> </a>
</vb:if>
<vb:if condition="$post['forwardlink']">
<a class="forwardpost" href="{vb:raw post.forwardlink}" rel="nofollow"><img src="{vb:stylevar imgdir_button}/reply_40b.png" alt="{vb:rawphrase forward_message}" /> {vb:rawphrase forward}</a>
</vb:if>
</span>
<!-- </div> -->
</div>
</div>
<hr />
</li>
{vb:raw template_hook.postbit_end}
Greight
04-09-2010, 03:45 PM
It's not difficult but it would require some decent coding work. Basically you'd need to add a new function to allow for removing a vote and then edit the display template to show htis option.
Then I think I should give up because I don't know anything about coding. Anyway thanks for responding.
Hi Ted.
Will you consider a feature to list user names (who voted) beside the post like the other "thank you hack"?
Ted S
04-14-2010, 04:35 AM
Hi Ted.
Will you consider a feature to list user names (who voted) beside the post like the other "thank you hack"?
Sure.
Sure.
thanks a LOT!
I have held off installing that hack till now on vB 4 that is. Everyone just loved it in vB 3.
so i guess we will eagerly wait for this feature :)
Ranger187
04-17-2010, 06:27 AM
Ted, just noticed this..
If I'm in Admin CP > Plugins & Products > Manage Products and click the Helpfull answers one it takes me to https://vborg.vbsupport.ru/showthread.php?p=233296 instead of this thread.
Ted S
04-18-2010, 12:52 AM
Ted, just noticed this..
If I'm in Admin CP > Plugins & Products > Manage Products and click the Helpfull answers one it takes me to https://vborg.vbsupport.ru/showthread.php?p=233296 instead of this thread.
Think I'll have to fix that :D
James T Brock
04-18-2010, 06:44 PM
Depends on how easy the code is to port back.
The 3.8 version has something like double the installs, seems like it would be worth giving it at the very least equal consideration.
Ted S
04-18-2010, 08:26 PM
The 3.8 version has something like double the installs, seems like it would be worth giving it at the very least equal consideration.
Installs are a misleading stat but I agree, provided that both versions are managable.
kmohamed
04-20-2010, 06:04 PM
ok great mod in vb3 i consider this very useful mod
however in vb4 it seem like i lost all of the old data
i have back-up for my data in vb3 do you know if i am able to pull up the old data and put it in vb4? how?
--
i tried fresh installtion for vb4 and nothing is showing in the threads i try to put the code manually and is still not working
again thanx for the great mod
Rafa-el
04-22-2010, 03:29 PM
Problems with this two variables:
{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.
Not showing up using the 10 point scale.
kmohamed
04-22-2010, 04:32 PM
ok great mod in vb3 i consider this very useful mod
however in vb4 it seem like i lost all of the old data
i have back-up for my data in vb3 do you know if i am able to pull up the old data and put it in vb4? how?
--
i tried fresh installtion for vb4 and nothing is showing in the threads i try to put the code manually and is still not working
again thanx for the great mod
i am sorry is working i only have to enable it from the forum setting i am sorry ..
please if you have a chance
***i have a back-up for my data in vb3 do you know if i am able to pull up the old data for your mod and put it in vb4? how? plz ;)
wesooby
04-23-2010, 10:18 AM
Hello!
First - THANK YOU so MUCH for this AWESOME Add On!!
I have someone helping me try to modify it a bit, but we can't quite get it. What we want to do is to tie the Helpful hack with uCash
: https://vborg.vbsupport.ru/showthread.php?t=227910
So, when someone says a post is Helpful, then they get some uCash.
The person who is helping us tried for a few hours... and he says he can't figure it out. He said "I can't find the door..." If you could give us any clues or direction... that would be SO appreciated!
THANKS!!
sticky
04-24-2010, 12:23 PM
This is probably my favorite mod but there is one thing that would make it perfect for me.
Is there any way to exempt certain usergroups from restrictions? Such as, allow admins and mods to rate as many posts as they want but not regular users?
sticky
04-24-2010, 12:23 PM
Hello!
First - THANK YOU so MUCH for this AWESOME Add On!!
I have someone helping me try to modify it a bit, but we can't quite get it. What we want to do is to tie the Helpful hack with uCash
: https://vborg.vbsupport.ru/showthread.php?t=227910
So, when someone says a post is Helpful, then they get some uCash.
The person who is helping us tried for a few hours... and he says he can't figure it out. He said "I can't find the door..." If you could give us any clues or direction... that would be SO appreciated!
THANKS!!
I'm using it with Ucash, no problems.
Ted S
04-25-2010, 07:18 AM
Problems with this two variables:
{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.
Not showing up using the 10 point scale.
The 10 point scale will have less variables and functions than the rollover option. However, both of thsoe variables are global to the addon, how are you using them?
Ted S
04-25-2010, 07:19 AM
i am sorry is working i only have to enable it from the forum setting i am sorry ..
please if you have a chance
***i have a back-up for my data in vb3 do you know if i am able to pull up the old data for your mod and put it in vb4? how? plz ;)
The mod will port from 3.8 to 4.0 provided that you were using a current version. If it does not port be sure you kept the tables in place for your upgrade.
Ted S
04-25-2010, 07:21 AM
Hello!
First - THANK YOU so MUCH for this AWESOME Add On!!
I have someone helping me try to modify it a bit, but we can't quite get it. What we want to do is to tie the Helpful hack with uCash
: https://vborg.vbsupport.ru/showthread.php?t=227910
So, when someone says a post is Helpful, then they get some uCash.
The person who is helping us tried for a few hours... and he says he can't figure it out. He said "I can't find the door..." If you could give us any clues or direction... that would be SO appreciated!
THANKS!!
Thanks for post. At this time I do not provide support for integrating other mods unless I have used them extensively, however if there are additional hooks or variables needed to make another mod work let me know and I would be happy to update mine to meet those needs as best possible.
Ted S
04-25-2010, 07:21 AM
This is probably my favorite mod but there is one thing that would make it perfect for me.
Is there any way to exempt certain usergroups from restrictions? Such as, allow admins and mods to rate as many posts as they want but not regular users?
There is no limit on voting at this point although it's a nice idea. If others express interest I'd be glad to look at adding this for an update.
FractalizeR
04-25-2010, 02:16 PM
There is no limit on voting at this point although it's a nice idea. If others express interest I'd be glad to look at adding this for an update.
I think I'll vote for that. You see, a potential abuser can create fake login and downvote many-many threads until banned. I would like to have per-usergroup restriction. It would be also good to have this restriction dependable on the time passed since user is registered.
fluidswork
04-25-2010, 03:59 PM
will give it a try .............
Ted S
04-26-2010, 03:55 AM
Helpful Answers users - by popular request I have added a new optional feature to let you hide posts that are negatively rated (you set how negative). Hiding is done via ajax so users can easily open/ close the post. This can be found in 2.3.0 beta.
The display for this feature can be customized by editing the template 'helpful_answers_hidelowstart' where you can change the column color, border, etc as desired.
Check out an example of two hidden posts attached.
Note: Because negative posts will always be hidden with a thread is loaded, the cookie system will not be able to override this like on the forum homepage or other collapse boxes.
dihuta
04-26-2010, 10:03 AM
Great!
I love this mod much! Waiting for Blog and CMS.
FractalizeR
04-26-2010, 11:28 AM
Anyone has the problem, that no info is shown in user profile? All settings seem to be enabled.
I've noticed a piece of strange code in member_build_blocks_start:
$templater = vB_Template::create('helpful_statsbit_ten');
$templater = vB_Template::create('helpful_statsbit');
The first call seem to be redundant.
Ted S
04-26-2010, 05:27 PM
Anyone has the problem, that no info is shown in user profile? All settings seem to be enabled.
I've noticed a piece of strange code in member_build_blocks_start:
$templater = vB_Template::create('helpful_statsbit_ten');
$templater = vB_Template::create('helpful_statsbit');
The first call seem to be redundant.
I'll take a look at this asap!
Alien
04-26-2010, 06:41 PM
Were there any other additions/fixes yet in the latest beta, or just the new hidden posts feature at this time?
Ted S
04-26-2010, 07:45 PM
Were there any other additions/fixes yet in the latest beta, or just the new hidden posts feature at this time?
One small bug fix to address people who disable negative ratings not seeing voting options.
I will be doing a more extensive bug fix shortly.
hotslot
04-26-2010, 11:32 PM
Crazy, I cannot get this simple program to work.
It's activated, However when I click Yes or No if question or answer was helpful it simply redirects me back to main page.
Can someone help me on this?
Ted S
04-27-2010, 01:47 AM
Crazy, I cannot get this simple program to work.
It's activated, However when I click Yes or No if question or answer was helpful it simply redirects me back to main page.
Can someone help me on this?
Do you have ajax enabled on your site? Is your browser showing any errors with javascript? Did you upload the included javascript files?
Ted S
04-27-2010, 04:31 AM
I think I'll vote for that. You see, a potential abuser can create fake login and downvote many-many threads until banned. I would like to have per-usergroup restriction. It would be also good to have this restriction dependable on the time passed since user is registered.
FYI, I totally forgot but vote limiting is already a feature of this mod.
FractalizeR
04-28-2010, 01:26 PM
Per-usergroup?
Ted S
04-28-2010, 05:13 PM
Per-usergroup?
No, overall.
Would you see it being a few groups excluded or a true, per usergroup, daily limit?
FractalizeR
04-29-2010, 08:44 AM
Per usergroup daily limit is better.
It's a long time since I am looking for a VBulletin mod, that will help our moderators to keep forum clean. The best system I ever saw is implemented at www.stackoverflow.com. So, if you allow I would express my personal suggestions for Helpful Answers mod. I am sure they are wanted by any moderator.
- Selected usergroups (generally admins, supermods and mods) should have a possibility to see what users and how rated selected message. This is needed to prevent system abuse by ghost account created to promote stupid threads.
- Per-group voting limit. So, for example on my forum just registered users are kept in Novice usergroup until they post 10 messages on forum. I would like them to be able to vote no more than, say, 10 votes per day. After they post 10 messages, they are moved to regular user group and their limit is now, say, 50. Regular Moderators should have 100 as a limit. And SuperMods and Admins should have no limit at all.
- Statistic on best and worst helpful users viewable by each forum member (and an ability to turn off best, worst and both having also an ability to remain active for selected usergroups. For me admins, and all mods should see that and if some NASTY extra-stupid person appears on forum, warn/ban him). May be this can be provided as a hook to VSa - Advanced Forum Statistics and/or implemented independently.
- Ability to set statuses depending on user scores like Vbulletin post statuses. For example, if user has less than 20 helpful scores, it is considered as "regular". 20-50 = "Helpful". 50-100 = "Forum Star", 100-499 = "Chief forum caretaker", 500-1000 = "junior moderator candidate" etc. This status should be shown in postbit below user messages count. When you hover status, it will tooltip score count and percentage to reach next level. All members with level more than, say, 100 are potential candidates to moderators and should be reviewed by staff.
- Moderator functions: "Remove all positive votes from this message", "Remove all negative votes from this message". This is needed when stupid people begin to downvote some useful post just to abuse one user.
- Add an ability to recount all votes and their stats (this is needed in case of some forum glitch). You can add this to usual recounters section when you, for example, rebuild forum search index.
- Scoring algorithm needs to be changed. Here are some links on simple, but effective ways to correctly calculate total scores:
http://stackoverflow.com/questions/1411199/what-is-a-better-way-to-sort-by-a-5-star-rating
http://stackoverflow.com/questions/977390/scoring-rating-engines-advice-and-examples
http://stackoverflow.com/questions/2134504/what-is-the-best-algorithm-to-calculate-the-most-scored-item
This is to prevent a post with 1 10-score vote to be put higher, than a post with 100 10-score and 20 5-score votes in total rating.
- "X of Y users considered this post helpful" long text can be replaced by something like progress bar. So, I say in settings, that progress bar should be full when at least 20 users voted. So, if only 10 voted positively on this post so far, I will see 50% filled with green. If 10 users voted positively, and 10 negatively, progress bar should be at zero. If all 20 voted negatively, progress bar should be RED and at 100%.
These are just a suggestions on how this can be. Something may be changed or reworked.
P.S. I still don't see any stats in user profiles despite I enabled them on forum.
Ted S
04-30-2010, 02:11 AM
Phew that's a long list. I think we can start cutting into it though...
How about the ability to set daily voting limits (done now) + groups that are excluded... then the ability for mods to open a window and see who voted what... and the ability to remove said vote... and the ability to remove all votes from a user.
Working on the profile stats. That hook is being very unhelpful, not sure why why.
Verionia
04-30-2010, 03:23 AM
Updated one still doesnt work for me, please help me!!
kmohamed
04-30-2010, 03:46 AM
is great new feature it looks great but is not working at all
thanx for the hard work
Ted S
04-30-2010, 03:46 AM
Updated one still doesnt work for me, please help me!!
Let's review.
1.... Do you have modified or original postbit templates?
2.... Have you enabled the mod in the forum you're viewing?
3.... Have you changed any of the options?
FractalizeR
04-30-2010, 08:39 AM
How about the ability to set daily voting limits (done now) + groups that are excluded... then the ability for mods to open a window and see who voted what... and the ability to remove said vote... and the ability to remove all votes from a user.
Thanks, Ted. That would be excellent.
sevenmix
04-30-2010, 03:54 PM
Waiting for the update in the profile stats, i didnt mark the negative votes as possible.
Great mod, :)
FractalizeR
05-01-2010, 06:42 AM
I think, the data in profile should be separated into new tab. The code is here (https://vborg.vbsupport.ru/showthread.php?t=235860).
Ted S
05-02-2010, 11:48 PM
I think, the data in profile should be separated into new tab. The code is here (https://vborg.vbsupport.ru/showthread.php?t=235860).
Thanks!!! :D
FractalizeR
05-03-2010, 07:03 AM
Welcome ;) Your addon is GREAT! :)
Alex@Mk3OC
05-04-2010, 05:33 PM
I'm thinking about using this to replace our current post thanks mod, but I have a couple of questions.
- Is it possible to only use this in certain forums?
- Is there a way of displaying in the users postbit how many helpful posts they have?
Ted S
05-04-2010, 06:01 PM
I'm thinking about using this to replace our current post thanks mod, but I have a couple of questions.
- Is it possible to only use this in certain forums?
- Is there a way of displaying in the users postbit how many helpful posts they have?
Yes.
Not at this time.
Alex@Mk3OC
05-04-2010, 10:26 PM
Do you have any plans to add the latter?
Ted S
05-04-2010, 11:49 PM
Do you have any plans to add the latter?
I do although i have not scooped out exactly how it would work and am open to comments.
chriske
05-05-2010, 12:22 AM
On 3.8 i used a postrank mod, there was an option to hide negative posts with an X amount of negative votes.
Any chance this would be implemented in the future?
Tagged & thanks for this mod, think ill give it a try :)
Ted S
05-05-2010, 04:50 AM
On 3.8 i used a postrank mod, there was an option to hide negative posts with an X amount of negative votes.
Any chance this would be implemented in the future?
Tagged & thanks for this mod, think ill give it a try :)
This already exists.
Alex@Mk3OC
05-05-2010, 08:40 AM
I do although i have not scooped out exactly how it would work and am open to comments.
I'd think that something simple along the line of
Helpful Posts: (number of helpful posts)
Then maybe the option to have unhelpful posts underneath it which would bemincp on whether to display them or not?
bfdzio
05-06-2010, 03:54 PM
Couple of issues...first being unless I use the manual placement (which I do anyway) it would show the rating in the first post, then 2 'rating' images in the second...and 3 in the third..4 in the fourth..and so on. So basically you would have 5 or 6 thumbs up/down button sets by the 5th or 6th post..per post.
Also I just was tinkering with the 'hide negative rated posts' to see what it would do...I set it to hide a post with 2 negative ratings that was in the middle of a test thread. It hid the post and then also hid every single post underneath it.
Keep in mind in the screenshot, that the user 'Throwback' only posted once in the thread, and there are several posts after his. It looks fine when I turn it off the hide negative posts part.
Ted S
05-06-2010, 06:46 PM
Couple of issues...first being unless I use the manual placement (which I do anyway) it would show the rating in the first post, then 2 'rating' images in the second...and 3 in the third..4 in the fourth..and so on. So basically you would have 5 or 6 thumbs up/down button sets by the 5th or 6th post..per post.
This bug tends to occur when people have modified their templates and duplicated or removed hooks.
Also I just was tinkering with the 'hide negative rated posts' to see what it would do...I set it to hide a post with 2 negative ratings that was in the middle of a test thread. It hid the post and then also hid every single post underneath it.
Interesting, I'll test this further.
kmohamed
05-06-2010, 09:59 PM
thanx again for the mod
there most be a bug in the {Hide Negative Posts}
because every-time i enable this option the background of all post doesn't appear and the thread that has negative rating stile showing
------
is it possible to have the highest rated post to be below the thread? for specific forum?!
Ted S
05-06-2010, 10:29 PM
thanx again for the mod
there most be a bug in the {Hide Negative Posts}
because every-time i enable this option the background of all post doesn't appear and the thread that has negative rating stile showing
This is something I am looking into.
kmohamed
05-07-2010, 03:06 AM
This is something I am looking into.
thanx
bfdzio
05-07-2010, 12:41 PM
This bug tends to occur when people have modified their templates and duplicated or removed hooks.
Interesting, I'll test this further.
Thanks, the first bug isn't an issue though my template is lightly modified...only in the color scheme though so I am not sure what I could have done other than my mods. The second bug is the one that is keeping me from have this feature turned back on (used to have it on my board previous to vb4. Any fix would be great..
kmohamed
05-07-2010, 07:21 PM
ted is a great coder and he would fix this bug soon as possible
MarcAlle
05-07-2010, 11:47 PM
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 cant get these to work. I have them in the postbit template but it only shows {vb:raw post.goodrank} for the post that is currently there. Is there a way to show the entire rating for the entire forum on each post (kind of like the post count)
riskofficer
05-08-2010, 07:16 AM
Hello, is there a way to convert "Post Thank You Hack"s "Thanks" to your system? I have had "Post Thank You Hack" for years, and that is why have big statistics of "Thanks". It will be very pitty to lose them all. Sadly thing that there is no more support for "Thanks" another thing is that you have negative ratings, this is plus.
One more question, is there a way to show who rates a post like in "Thanks" mod?
FractalizeR
05-08-2010, 08:31 AM
Abe1 is back so I think it some time he will fix bugs in Thanks.
As for conversion, I think it's possible. But... I think if you will ask some coder about it, it may cost around $50-100 (I mean for conversion script).
One more question, is there a way to show who rates a post like in "Thanks" mod?
I think there should be an option what groups may see this info. Because at least on my forum people just look for ones, who downvoted their posts and downvote theirs despite of post's usefulness.
Ted S
05-08-2010, 07:35 PM
Hello, is there a way to convert "Post Thank You Hack"s "Thanks" to your system? I have had "Post Thank You Hack" for years, and that is why have big statistics of "Thanks". It will be very pitty to lose them all. Sadly thing that there is no more support for "Thanks" another thing is that you have negative ratings, this is plus.
Had an import script for the 3.8 version, you could try it on 4.0 but I;m not sure if the thanks mod changed.
One more question, is there a way to show who rates a post like in "Thanks" mod?
That's on the roadmap (as an option).
Ted S
05-08-2010, 07:36 PM
I think there should be an option what groups may see this info. Because at least on my forum people just look for ones, who downvoted their posts and downvote theirs despite of post's usefulness.
This would be an option for mods only, unless enabled for all members.
Ted S
05-09-2010, 12:28 AM
Also I just was tinkering with the 'hide negative rated posts' to see what it would do...I set it to hide a post with 2 negative ratings that was in the middle of a test thread. It hid the post and then also hid every single post underneath it.
I'm not able to duplicate this issue. Can you tell me what method of the post bit you are using and what your settings are for this mod? Thank you.
UnixGeek
05-09-2010, 06:32 AM
Ted... thanks for publishing this mod. But, unfortunately for me its not working.
I have vb 4.0.3 version and nothing shows up on the posts. I have checked whether its enabled on the forums. I even searched for the word "helpful" all over my templates including my default one. I thing, the mod is not even editing the templates to include the variable. I also tried adding it manually but it seems to be not working. Kindly, provide me any advice what to check for it to work. Thanks again in advance.
Ted S
05-09-2010, 06:33 AM
Ted... thanks for publishing this mod. But, unfortunately for me its not working.
I have vb 4.0.3 version and nothing shows up on the posts. I have checked whether its enabled on the forums. I even searched for the word "helpful" all over my templates including my default one. I thing, the mod is not even editing the templates to include the variable. I also tried adding it manually but it seems to be not working. Kindly, provide me any advice what to check for it to work. Thanks again in advance.
Let's double check here...
Mod is on
Mod is enabled
It's on a particular forum
And you don't have any crazy customizations to the template?
bfdzio
05-10-2010, 06:20 PM
I'm not able to duplicate this issue. Can you tell me what method of the post bit you are using and what your settings are for this mod? Thank you.
Method? I'm using manual placement in the postbit legacy, the manual placement is the one that was mention on here (by sig line). Here are my settings as of right now (see the pics).
heyzeus909
05-10-2010, 06:52 PM
"The ability to decide which forums are open for helpful answer ratings."
I haven't been able to locate the option to turn off this hack to specific forums. I do, however, see the following as an option:
"Do Not Show on Selected Threads"
How do I turn this off in specific forums, as opposed to specific threads?
Thanks.
Ted S
05-10-2010, 07:47 PM
"The ability to decide which forums are open for helpful answer ratings."
I haven't been able to locate the option to turn off this hack to specific forums. I do, however, see the following as an option:
"Do Not Show on Selected Threads"
How do I turn this off in specific forums, as opposed to specific threads?
Thanks.
Forum options. The mod must be enabled or disabled per forum. There is also a bulk enabler.
kmohamed
05-12-2010, 06:19 AM
i found a bug :
when you have the following options
Show Guest Voting Option l on
Enable Post Minimum Check l off
then guest are able to vote i don't how and why but they are able to vote
try this in your site
http://www.yoursite.com/forum/helpfulanswers.php?do=rate&postid=1&rank=0
------------
i fix this bug by editing
Enable Post Minimum Check l on
thank you ted in advance
sticky
05-17-2010, 08:50 AM
Is there any way to possibly add a way to exempt certain usergroups from the "how many times user can vote a day?"
I would for administrators and mods to not be limited for example but regular users to be limited.
derandechser
05-20-2010, 08:46 AM
Hi, first, THANK you for this great addon! I think there?s an error in the templates like this one, found in helpful_answers_topten_bit:
Isn?t there a "}" missing after vb:rawphrase helpfulanswer_top.
Same in Template helpful_answers_top_bit
<tr>
<td class="alt1">{vb:rawphrase helpfulanswer_top,{vb:raw postid},{vb:raw userid}} <a href="./showthread.php?p={vb:raw postid}#post{vb:raw postid}">{vb:raw title}</a></td>
<td class="alt1" align="center">{vb:raw ftitle}</td>
<td class="alt1" align="center">{vb:raw avgrank}</td>
<td class="alt1" align="center">{vb:raw totalrank}</td>
<td class="alt1" align="center">{vb:raw lastvote}</td>
</tr>
And now a question: I can?t see the box under the first post which will show the most helpful answer. I tried everything in AdminCP. I?ve enabled the Most Helpful Post Block, but it won?t work.
Could someone help me with that?
Greetings,
Peter
FractalizeR
05-21-2010, 06:37 AM
BTW, Ted, when can we expect a version with at least user profiles fixed? I can't wait installing it to my forum and begin spam-hunt with it ;)
Ted S
05-21-2010, 02:55 PM
BTW, Ted, when can we expect a version with at least user profiles fixed? I can't wait installing it to my forum and begin spam-hunt with it ;)
After I get the 3.8 version updated... And learn how to get a profile hook to work in 4.0. Demands demands. :D
SamDelgado
05-22-2010, 10:10 AM
So did anyone get this to work with ucash? Someone in the thread said they did, but they didn't explain how. I just want a user to gain or lose 1 point based on a positive or negative rating. Any thoughts?
Also, I am assuming this is possible but I have no idea how I would do it. I want the rating to work like leagueoflegends.com forums located here (http://www.leagueoflegends.com/board/showthread.php?t=119531). The bottom of the posts just basically rating(+3) or rating (-1). Is this possible to do instead of the 1 out of 1 members thought this was helpful...?
SamDelgado
05-24-2010, 08:59 PM
Anyone know when we can expect the next release?
Ted S
05-25-2010, 02:38 AM
Anyone know when we can expect the next release?
There is a planned update for the 3.8 version. 4.0 update will come when I have enough useful features and/or correct the profile display bug.
SamDelgado
05-25-2010, 05:05 AM
Sounds good
GONUMBER6
05-28-2010, 01:31 PM
Ted thank you for this wonderful mod, I have been using it a few months now.
In order to stimulate user activity, I have installed vbactivity and the points market system.
Is there anyway to make it so that my users get points to their reputation in vbactivity? Right now even though I have helpful answers set to give reputation, it does not calculate rep points.
Dragonbyte Tech (maker of vbactivity) said this about the coding:
That applies for when people give eachother reputation using vBulletin's own reputation system.
It will support the Helpful Answers mod only if that mod was coded to add reputation in the same way vBulletin adds reputation.
Can this be achieved somehow?
Thanks :)
mad@Max
05-28-2010, 03:27 PM
Ted S, how about this js
function helpfulanswers_rate(postid, rank)
{
var xml = new vB_AJAX_Handler();
xml.callback = function(o){
fetch_object('helpfulanswers_box_' + postid).innerHTML = o.responseText;
};
xml.send('helpfulanswers.php', '&do=helpfulanswer&using_ajax=1&p=' + postid + '&rank=' + rank);
return false;
}
that much more laconically:)
sticky
06-03-2010, 04:54 AM
Is there any way to make this work with the "reputation user spread" option? It seems to not pay attention to it and allow someone to neg rep the same user multiple times.
wesooby
06-03-2010, 10:06 AM
Hello Ted!
Well - you are AWESOME, of course! This mod IS Mod! :)
I was wondering if there's any way to add an "Including YOU!" phrase to the Thanks given indicator?
Something like this:
2 out of 2 members found this post helpful. Including YOU! : ) Thank you for rating this post!
and then after
2 out of 2 members found this post helpful. Including YOU! : )
So that users revisiting posts after a while will see what they've already done?
Thanks!! :) :)
Ted S
06-03-2010, 03:01 PM
Hello Ted!
Well - you are AWESOME, of course! This mod IS Mod! :)
I was wondering if there's any way to add an "Including YOU!" phrase to the Thanks given indicator?
Something like this:
2 out of 2 members found this post helpful. Including YOU! : ) Thank you for rating this post!
and then after
2 out of 2 members found this post helpful. Including YOU! : )
So that users revisiting posts after a while will see what they've already done?
Thanks!! :) :)
Do you know much about template conditionals?
wesooby
06-08-2010, 05:52 AM
Hello Ted!!
Don't know too much... but if you could sketch out the basic idea I think I could give it a shot.
T H A N K S ! ! ! :) :)
persianpros
06-10-2010, 09:35 AM
Persian Language For Helpful Answers
By Persian Prince
Good Luck
FractalizeR
06-11-2010, 10:58 AM
Ted, if you need help with mod... Why not to thematically split it into several *.php files so that there are only require_once() statements left in *.xml and use Launchpad for example for development?
It's hard to code in one big xml file and checkins/checkouts by several devs are not possible in this way.
I think there will be several devs, that are interested in helping with development including me.
Ted S
06-11-2010, 05:36 PM
Ted, if you need help with mod... Why not to thematically split it into several *.php files so that there are only require_once() statements left in *.xml and use Launchpad for example for development?
It's hard to code in one big xml file and checkins/checkouts by several devs are not possible in this way.
I think there will be several devs, that are interested in helping with development including me.
Completely open on bringing others in here, what functions do you see adding includes support for?
FractalizeR
06-12-2010, 07:04 AM
I suggested to split *.xml into several *.php files only to ease collaboration. For example, I can work on adding mod data to user's profile and for that there should be ha_userprofile.php with the code for appropriate hook. And you just require_once() this file in main *.xml. I will be able to checkin/checkout this file independently from others and will not interrupt any other work.
mad@Max
06-12-2010, 10:45 AM
FractalizeR, is not a panacea:)
FractalizeR
06-13-2010, 12:31 PM
Panacea for what? I don't get you.
mad@Max
06-13-2010, 05:18 PM
Выводить код в файлы для увеличения производительности. Плюс получим небольшое неудобство в редактировании:)
Ted S
06-14-2010, 04:13 AM
I suggested to split *.xml into several *.php files only to ease collaboration. For example, I can work on adding mod data to user's profile and for that there should be ha_userprofile.php with the code for appropriate hook. And you just require_once() this file in main *.xml. I will be able to checkin/checkout this file independently from others and will not interrupt any other work.
I'm not seeing the added benefit of the require files for splitting things up but I am all for making this extendable, and not just by me.
How about I add a hook to cover additional modules, you write your profile data tool and make it an addon release. I'm glad to support any modifications to the core code but this would help avoid the multiple devs working on the same source that you identified.
Aside from the profile I'm actually rather low on user input so I'm crafting up more ideas of my own. Lots of the stuff to do is really documenting... things like profile votes exist (for showing in posts), I just need to educate on how to use them better.
FractalizeR
06-14-2010, 07:13 AM
To push code out to files to increase performance. Plus we will get a minor inconvenience for code editing
Please speak English here. I am not suggesting to split code out to files to increase performance. However, that will increase it if server have APC or similar op cache installed. VBulletin is executing it's hooks via eval() and that sucks in performance.
I am suggesting to split plugin into several files by functionality to improve the ability to collaborate. Editing one XML is like editing a... I don't know... Will you be able to code editor like Microsoft Paint all in one C++ source code file? Is that convenient? Of course, you can pull code parts out of XML at least to have some code highlighting and after editing - put it back there. But is that convenient? I prefer rich IDEs like Zend Studio for writing code. And they are, of course, no suitable for editing XML files with embedded PHP code.
Also if something like Git will be used, we will be able to push code for review by Ted and he will be able to easily pull it and import into the project.
Aside from the profile I'm actually rather low on user input so I'm crafting up more ideas of my own. Lots of the stuff to do is really documenting... things like profile votes exist (for showing in posts), I just need to educate on how to use them better.
So... should we craft some code example on integrating data to user profile? Can you send me your latest plugin XML so that I could try to do that? FractalizeR@yandex.ru.
Ted S
06-15-2010, 04:38 AM
So... should we craft some code example on integrating data to user profile? Can you send me your latest plugin XML so that I could try to do that? FractalizeR@yandex.ru.
I was actually suggesting you write what you want and I'll make it work as an addon. This way you can modify as you see fit, and I can build any support needed to make it work.
I don't see a check in/ checkout system making sense for this mod as it's a pretty small project but am very open to supporting other coders working on addons / edits for it as needed.
FractalizeR
06-21-2010, 06:35 AM
Patch for member profile info for 2.3.0:
1. Add to cache_templates hook:
if (THIS_SCRIPT == 'member')
{
if($vbulletin->options['helpans_stats_ten']) {
$cache[] = 'helpful_statsbit_ten';
} else {
$cache[] = 'helpful_statsbit';
}
}
2. Delete member_build_blocks_start hook and make member_profileblock_fetch_unwrapped hook with the following contents instead:
<plugin active="1" executionorder="100">
<title>Helpful Answers -- Profile Stats</title>
<hookname>member_profileblock_fetch_unwrapped</hookname>
<phpcode><![CDATA[
if ($this->registry->options['helpans_stats_votes'] OR $this->registry->options['helpans_stats_ranks'] OR $this->registry->options['helpans_stats_ten']){
// if we're using standard 0/1 voting show counts
if(!$this->registry->options['helpans_rank_ten']){
if ($this->registry->options['helpans_stats_votes']){
$helpfulanswer = $this->registry->db->query_first_slave("
SELECT COUNT(helpfulanswerid) as count
FROM " . TABLE_PREFIX . "helpfulanswer as helpfulanswer
WHERE userid = " . intval($userinfo['userid']) . "
");
}
if ($this->registry->options['helpans_stats_ranks']){
$helpfulposts = $this->registry->db->query_first_slave("
SELECT SUM(helpfulpost.goodrank) as goodranks,SUM(helpfulpost.totalrank) as totalranks
FROM " . TABLE_PREFIX . "helpfulpost as helpfulpost
INNER JOIN " . TABLE_PREFIX . "post AS post ON(post.postid = helpfulpost.postid)
WHERE post.userid = " . intval($userinfo['userid']) . "
GROUP by post.userid
");
}
$helpfulposts['badranks'] = $helpfulposts['totalranks'] - $helpfulposts['goodranks'];
if($helpfulposts['goodranks'] > 0 AND $helpfulposts['totalranks'] > 0){ $helpfulposts['average'] = ($helpfulposts['goodranks'] / $helpfulposts['totalranks']); }
($hook = vBulletinHook::fetch_hook('helpfulanswers_user_sta ts')) ? eval($hook) : false;
$templater = vB_Template::create('helpful_statsbit');
$templater->register('helpfulanswer_count', $helpfulanswer['count']);
$templater->register('helpfulanswer_goodranks', $helpfulposts['goodranks']);
$templater->register('helpfulanswer_totalranks', $helpfulposts['totalranks']);
$templater->register('helpfulanswer_badranks', $helpfulposts['badranks']);
$templater->register('helpfulanswer_average', $helpfulposts['average']);
$template_hook['profile_stats_last'] .= $templater->render();
// if we're using 10 scale votes show different
} else {
if ($this->registry->options['helpans_stats_ten']){
$helpfulposts = $this->registry->db->query_first_slave("
SELECT SUM(helpfulpost.goodrank) as goodrank, SUM(helpfulpost.totalrank) as totalranks
FROM " . TABLE_PREFIX . "helpfulpost as helpfulpost
INNER JOIN " . TABLE_PREFIX . "post AS post ON(post.postid = helpfulpost.postid)
WHERE post.userid = " . intval($userinfo['userid']) . "
GROUP by post.userid
");
if($helpfulposts['goodrank'] && $helpfulposts['totalranks'] > 0){ $helpfulposts['avgrank'] = $helpfulposts['goodrank'] / $helpfulposts['totalranks']; }
$helpfulposts['avgrank'] = number_format($helpfulposts['avgrank'], 1, '.', ' ');
$templater = vB_Template::create('helpful_statsbit_ten');
$templater->register('helpfulanswer_goodranks', $helpfulposts['goodranks']);
$templater->register('helpfulanswer_totalranks', $helpfulposts['totalranks']);
$templater->register('helpfulanswer_badranks', $helpfulposts['badranks']);
$templater->register('helpfulanswer_average', $helpfulposts['average']);
$template_hook['profile_stats_last'] .= $templater->render();
}
}
}
]]></phpcode>
</plugin>
Also you can find ideas for next versions here: https://vborg.vbsupport.ru/showpost.php?p=2028942&postcount=362
FractalizeR
06-21-2010, 07:00 AM
Localization bugs found and fixed:
helpful_statsbit_ten and helpful_statsbit should be fully phrased. Add the following phrases:
<phrase name="helpfulanswer_helpfulansw" date="0" username="Ted S" version="1.3.1"><![CDATA[Helpful answers]]></phrase>
<phrase name="helpfulanswer_from" date="0" username="Ted S" version="1.3.1"><![CDATA[from]]></phrase>
<phrase name="helpfulanswer_times" date="0" username="Ted S" version="1.3.1"><![CDATA[times]]></phrase>
<phrase name="helpfulanswer_posts" date="0" username="Ted S" version="1.3.1"><![CDATA[posts]]></phrase>
and phrase template:
<template name="helpful_statsbit" templatetype="template" username="Ted S" version="2.1.0"><![CDATA[
<h5 class="subsubsectionhead">{vb:rawphrase helpfulanswer_title}</h5>
<div class="blockrow">
<vb:if condition="$helpfulanswer_count">
<dl class="stats">
<dt>{vb:rawphrase helpfulanswer_postsrated}</dt>
<dd>{vb:raw helpfulanswer_count} {vb:raw helpfulanswer_posts}</dd>
</dl>
</vb:if>
<vb:if condition="$helpfulanswer_goodranks">
<dl class="stats">
<dt>{vb:rawphrase helpfulanswer_postshavebeen}</dt>
<dd>{vb:raw helpfulanswer_helpfulansw} {vb:raw helpfulanswer_goodranks} {vb:raw helpfulanswer_from} {vb:raw helpfulanswer_totalranks} {vb:raw helpfulanswer_times}</dd>
</dl>
</vb:if>
</div>
]]></template>
FractalizeR
06-21-2010, 07:48 AM
The only thing I lack now (and that prevent me from starting using this addon on main forum) is the possibility for moderation staff to view how and who rated specified thread + the ability to cancel specific / all voting on it. Also that would be good to have an ability to close specific thread to voting completely. Some "holy war" threads could be locked from the beginning this way.
sticky
06-21-2010, 11:18 AM
Is there any way to make this work with the "reputation user spread" option? It seems to not pay attention to it and allow someone to neg rep the same user multiple times.
Ted, would you be able to help with me with this please? I use helpful answers with the rep system but users are abusing the neg reps.
vivamexico55
06-21-2010, 02:47 PM
Hi!
I just upgraded to 4.04 and the image to +1 is not showing, any idea why?
vivamexico55
06-21-2010, 05:09 PM
Hi!
I just upgraded to 4.04 and the image to +1 is not showing, any idea why?
This is driving me crazy, I can see in the postbit that there's a line added when I enable the product and it goes away when I disable it, so something is happening, but the +1 image is not showing anymore.
Nothing actually changed besides updating the style, but I already uploaded the images to the new style. I've double checked that plugins are enabled, I re-ran the forum bulk enabler, I'm going crazy.
Anyone else upgraded to 4.04 and had this plugin disappear?
edit: When I say "+1 image" I mean the thumbs up, I disabled thumbs down
FractalizeR
06-21-2010, 06:08 PM
Can you post HTML here? Are you using 10-point system?
vivamexico55
06-21-2010, 06:39 PM
I'm using "Thumbs up/down" system. I can sure post HTML if it's not against the rules:
<div class="posthead">
<label for="post_imod_checkbox_598184">
<span class="postdate old">
<span class="date">Proximos Conciertos 2010, 12-nov-2009</span>
</span>
</label>
<span class="nodecontrols">
<!-- vBSkinworks Modification: Moved post control links from bottom left to top right -->
<a title="Add Infraction for dball" href="infraction.php?do=report&p=598184" rel="nofollow"><img src="images/custom/vuel/buttons/infraction.gif" alt="Add Infraction for dball" /></a>
<a title="Reportar post" href="report.php?p=598184" rel="nofollow"><img src="images/custom/vuel/buttons/report.gif" alt="Reportar post" /></a>
<a name="post598184" href="showthread.php?51405-Proximos-Conciertos-2010&p=598184&viewfull=1#post598184" class="postcounter">#1</a>
<input class="postimod" type="checkbox" id="post_imod_checkbox_598184" name="plist[598184]" value="0" />
</span>
</div>
<div class="postdetails">
<div class="userinfo">
<!-- vBSkinworks Modification: Moved a user title, rank, rep, and avatar into the "username_container" div which is center-aligned -->
<div class="username_container">
<div class="popupmenu memberaction">
<a class="username offline popupctrl" href="member.php?230-dball" title="dball no ha iniciado sesi?n"><strong>dball</strong></a>
<ul class="popupbody popuphover memberaction_body">
<li class="left">
<img src="images/custom/vuel/site_icons/profile.png" alt="" />
<a href="member.php?230-dball">
Ver perfil
</a>
</li>
<li class="right">
<img src="images/custom/vuel/site_icons/forum.png" alt="" />
<a href="search.php?do=finduser&userid=230&contenttype=vBFo rum_Post&showposts=1" rel='nofollow'>
Ver posts del Foro
</a>
</li>
<li class="left">
<img src="images/custom/vuel/site_icons/message.png" alt="" />
<a href="private.php?do=newpm&u=230" rel='nofollow'>
Mensaje privado
</a>
</li>
<li class="right">
<img src="images/custom/vuel/site_icons/article.png" alt="" />
<a href="list.php/author/230-dball" rel='nofollow'>
Ver art?culos publicados
</a>
</li>
<li class="left">
<img src="images/custom/vuel/site_icons/add.png" alt="" />
<a href="profile.php?do=addlist&userlist=buddy&u=230">
Agregar a tu lista de amiguis
</a>
</li>
</ul>
</div>
<br />
Inutil para la Patria
<br />
<br />
<img src="customavatars/avatar230_39.gif" alt="Avatar de dball" />
</div>
<hr />
<dl class="userinfo_extra">
<div><dt>Se pervirti? desde</dt> <dd>septiembre-2006</dd></div>
<div><dt>vengo de</dt> <dd>morado, joar joar vengo de morado</dd></div>
<div><dt>Coeficiente Intelectual</dt> <dd>2,215</dd></div>
</dl>
<dl class="userinfo_extra">
<center><img class="inlineimg onlinestatus" src="images/custom/vuel/statusicon/user_offline.gif" alt="dball no ha iniciado sesi?n" border="0" />
</center>
</dl>
<div class="imlinks">
</div>
</div>
<div class="postbody">
<div class="postrow">
<div id="helpfulanswers_box_598184" style="text-align:right;">
<br /><hr size="1" style="color:$stylevar[tborder_bgcolor]" />
</div>
<div class="content">
<div id="post_message_598184">
<blockquote class="postcontent restore ">
<br />
<img src="http://4.bp.blogspot.com/_s3CEKuJPGog/St5j1xdMiBI/AAAAAAAAQzE/iI4Xk7gWfvE/s400/cerati_coca_cola_fest.jpg" border="0" alt="" /><br />
<br />
y ya tengo boletos! <img src="images/smilies/tortu.gif" border="0" alt="" title="Tortu" class="inlineimg" />
</blockquote>
</div>
</div>
</div>
<div class="after_content">
I bolded the only thing about helpful answers I can find.
vivamexico55
06-21-2010, 06:43 PM
Here's a sample page if you want to see the HTML directly
http://www.leforo.com/showthread.php?51405-Proximos-Conciertos-2010
vivamexico55
06-21-2010, 06:55 PM
Willing to paypal 10 bux for any help solving this =)
FractalizeR
06-22-2010, 10:42 AM
Are you sure your style has all template template hooks in place? Check with developer. Plugin is in place, but it seems that template hook which is rendering voting buttons in place does not work.
vivamexico55
06-22-2010, 03:43 PM
Are you sure your style has all template template hooks in place? Check with developer. Plugin is in place, but it seems that template hook which is rendering voting buttons in place does not work.
I don't believe it is the style's problem because browsing with the default style doesn't work either:
http://www.leforo.com/forum.php?styleid=13
The thing is the plugin is there because you can see the ratings some old posts have, but you can't rate posts anymore. I think it's an issue with this plugin. Something happened from upgrade to 4.03 to 4.04.
Ted S
06-22-2010, 08:32 PM
I have not had a chance to run 4.0.4 yet and will look into this on the weekend.
FractalizeR
06-23-2010, 06:26 AM
I have it working on 4.0.4. Rating icons (pluses in my case) are in place.
vivamexico55
06-23-2010, 07:33 PM
I have it working on 4.0.4. Rating icons (pluses in my case) are in place.
That sucks (for me). Any idea why it's not showing on my site? I've double checked all the regular options. Should I uninstall and install again?
FractalizeR
06-24-2010, 06:42 AM
I don't believe it is the style's problem because browsing with the default style doesn't work either:
http://www.leforo.com/forum.php?styleid=13
I don't see any default style on your forum. Default style is like here: http://www.vbulletin.com/forum/
In default style there is a style selection box at the bottom of the page. May be your Default style is also changed. But you can revert templates to check, I think.
Ted, did you have a chance to look at my patches? I've sent you private message, but no reply.
Ted S
06-24-2010, 02:39 PM
That sucks (for me). Any idea why it's not showing on my site? I've double checked all the regular options. Should I uninstall and install again?
Let's go through the basics... Are you sure it's enabled in that forum (check again as an update could reset this variable), and that you have the auto placement in place.
sticky
06-24-2010, 02:58 PM
Ted, would you be able to help with me with this please? I use helpful answers with the rep system but users are abusing the neg reps.
Feeling like my text is invisible ;)
Ken Sanders
06-24-2010, 09:32 PM
Thanks for this mod! Goes great with the VBexperience.:D
Ted S
06-25-2010, 03:13 AM
Feeling like my text is invisible ;)
I have not had a chance to look into this but am very well aware of your post.
vivamexico55
06-25-2010, 06:20 AM
Let's go through the basics... Are you sure it's enabled in that forum (check again as an update could reset this variable), and that you have the auto placement in place.
Yep, I've triple checked that & ran the bulk updater again and no dice, but here's an image anyway, thanks for replying:
http://img532.imageshack.us/img532/8693/rating1.gif
FractalizeR
06-25-2010, 06:53 AM
Another fix:
There was some problem with phrasing. Just a typo I think. Curly bracers were incorrectly placed near vb:rawphrase helpfulanswer_top which led to the name of the phrase displayed instead of it's contents on the page with helpful phrases list on forum (http://www.example.com/helpfulanswers.php). Corrected version follows:
<template name="helpful_answers_topten_bit" templatetype="template" date="0" username="Ted S" version="2.1.4">
<![CDATA[
<tr>
<td class="alt1">{vb:rawphrase helpfulanswer_top {vb:raw postid},{vb:raw userid}} <a href="./showthread.php?p={vb:raw postid}#post{vb:raw postid}">{vb:raw title}</a></td>
<td class="alt1" align="center">{vb:raw ftitle}</td>
<td class="alt1" align="center">{vb:raw avgrank}</td>
<td class="alt1" align="center">{vb:raw totalrank}</td>
<td class="alt1" align="center">{vb:raw lastvote}</td>
</tr>
]]></template>
<template name="helpful_answers_top_bit" templatetype="template" date="0" username="Ted S" version="2.1.4">
<![CDATA[
<tr>
<td class="alt1">{vb:rawphrase helpfulanswer_top {vb:raw postid},{vb:raw userid}} <a href="./showthread.php?p={vb:raw postid}#post{vb:raw postid}">{vb:raw title}</a></td>
<td class="alt1" align="center">{vb:raw ftitle}</td>
<td class="alt1" align="center">{vb:raw goodrank} ({vb:raw goodpercent}%)</td>
<td class="alt1" align="center">{vb:raw totalrank}</td>
<td class="alt1" align="center">{vb:raw lastvote}</td>
</tr>
]]></template>
Ted, can you please verify and incorporate my fixes?
FractalizeR
06-25-2010, 07:04 AM
Another fix:
Problem:
Uncached templates when displaying http://www.example.com/helpfulanswers.php (if $_REQUEST['do'] is empty - templates were not cached).
Fix:
Add the $actiontemplates['none'] to the $actitontemplates section like below:
// pre-cache templates used by specific actions
$actiontemplates = array(
'topanswers' => array(
'helpful_answers',
'helpful_answers_top',
'helpful_answers_top_bit',
'helpful_answers_topten_bit',
'forumdisplay_sortarrow',
)
);
$actiontemplates['none'] = & $actiontemplates['topanswers'];
Ted S
06-25-2010, 08:31 PM
Thanks FractalizeR. Ive been on the road but will get on this all this evening.
FractalizeR
06-26-2010, 07:40 AM
Welcome ;)
linuxututs
06-27-2010, 01:28 AM
Thanks Ted; Used this back with 3.8.x version and loved it.
subscribed...
Thanks,
Ted S
06-27-2010, 11:30 PM
2.3.1 is a bug fix release thanks to the hard work of FractalizeR who found and posted solves for these issues. These are minor bugs but an update is required for anyone who wishes to use profile stats.
To update upload the new version of helpfulanswers.php and install the latest xml plugin.
You can modify the profile display through the template helpful_statsbit
What's coming next for HA:
- The ability to close posts based on votes (nightly cron)
- Moderation for voting and banning of abusive members
- Daily voting cap by usergroup
- Additional voting styles / displays
- Updated integration of Reputation System to accommodate weighted scale, limits
pc-forum.dk
06-28-2010, 11:12 AM
As I can see, i'm not the only one who experience that nothing shows in the threads. I have both Bulk Enabled it, and checked under forum manager that every single one of them has it enabled. But still, nothing shows up. What to do? What have I missed? What should I be looking for? Sorry for the inconvenience :(
sticky
06-28-2010, 12:53 PM
2.3.1 is a bug fix release thanks to the hard work of FractalizeR who found and posted solves for these issues. These are minor bugs but an update is required for anyone who wishes to use profile stats.
To update upload the new version of helpfulanswers.php and install the latest xml plugin.
You can modify the profile display through the template helpful_statsbit
What's coming next for HA:
- The ability to close posts based on votes (nightly cron)
- Moderation for voting and banning of abusive members
- Daily voting cap by usergroup
- Additional voting styles / displays
- Updated integration of Reputation System to accommodate weighted scale, limits
These are excellent changes, thank you!
Would it be possible to add excluding certain usergroups from voting?
Also, add the ability to exclude negative reputations from voting?
Modertaion for voting and banning of abusive members is a great addition as is the ability to close posts! Is that close posts or close threads? As in, if it has too many negative ratings the post will no longer show?
vivamexico55
06-28-2010, 07:29 PM
As I can see, i'm not the only one who experience that nothing shows in the threads. I have both Bulk Enabled it, and checked under forum manager that every single one of them has it enabled. But still, nothing shows up. What to do? What have I missed? What should I be looking for? Sorry for the inconvenience :(
Do you use a custom skin? Also which VB4 version do you use?
Ted S
06-28-2010, 11:22 PM
As I can see, i'm not the only one who experience that nothing shows in the threads. I have both Bulk Enabled it, and checked under forum manager that every single one of them has it enabled. But still, nothing shows up. What to do? What have I missed? What should I be looking for? Sorry for the inconvenience :(
Are you using a customized or default template?
What version of vb?
anupam_luv
06-29-2010, 12:50 AM
Are you using a customized or default template?
What version of vb?
I'm also facing this problem, I cant see any message or thumbs up pic to rate .... Im using custom template with only some style vars changed to get custom colors...
Plz help...
Ted S
06-29-2010, 02:43 AM
I'm also facing this problem, I cant see any message or thumbs up pic to rate .... Im using custom template with only some style vars changed to get custom colors...
Plz help...
First check that you have the mod turned on and enabled for the forum you are viewing threads in.
Copy the postbit / postbit legacy template and try reverting it. If that fixes it you'll know why.
FractalizeR
06-29-2010, 06:32 AM
As I can see, i'm not the only one who experience that nothing shows in the threads. I have both Bulk Enabled it, and checked under forum manager that every single one of them has it enabled. But still, nothing shows up. What to do? What have I missed? What should I be looking for? Sorry for the inconvenience :(
The first thing you need to check is if your style templates are original or at least if default template hooks are in place there.
pc-forum.dk
06-29-2010, 07:08 AM
I have tried with both the default skin and with a customized, neither works. I am pretty sure I have enabled it, but again - I might have misunderstood how to enable it. As I said in my post, I have enabled it under all of my forums under Forum Manager and by Bulk enabling.
Ted S
06-30-2010, 04:07 AM
I have tried with both the default skin and with a customized, neither works. I am pretty sure I have enabled it, but again - I might have misunderstood how to enable it. As I said in my post, I have enabled it under all of my forums under Forum Manager and by Bulk enabling.
Check an individual forum to make sure the setting 'stuck'. Also check your overall settings to be sure the modifcation is on and not set to hide its self on the post you are viewing.
pc-forum.dk
06-30-2010, 07:40 AM
I have checked it under every single forum - and it is on. And if you mean Bulk by overal settings, then yes. So I'm actually not sure what you mean by "not set to hide its self on the post you are viewing."
vicelover
06-30-2010, 12:47 PM
Hi, Ted S
Can I use this mod for Blog Entries and CMS articles? If no, can we add this feature. In that way, not only can user rate the thread/post, but also blog entries and CMS articles.
Best Regards.
Ted S
06-30-2010, 04:38 PM
Hi, Ted S
Can I use this mod for Blog Entries and CMS articles? If no, can we add this feature. In that way, not only can user rate the thread/post, but also blog entries and CMS articles.
Best Regards.
You would need a seperate mod to do this.
vivamexico55
06-30-2010, 07:03 PM
Ted, do you think uninstalling and reinstalling would fix the fact that it doesn't show on my forum?
FractalizeR
07-01-2010, 06:19 PM
BUG:
With "Hide Negative Posts" enabled and "Hide Negative Posts - Count" > 0 all unvoted posts are hidden.
The cause:
Line 954 in xml:
if($vbulletin->options['helpans_hidelow'] AND (($post['goodrank'] - $post['totalrank']) < $vbulletin->options['helpans_hidelownum']) ){
The solution:
Change the above line to:
if($vbulletin->options['helpans_hidelow'] AND (($post['totalrank'] - $post['goodrank']) > $vbulletin->options['helpans_hidelownum']) ){
FractalizeR
07-01-2010, 07:28 PM
Phrasing bug:
Template helpful_statsbit:
There should be something like this:
<dl class="stats">
<dt>{vb:rawphrase helpfulanswer_postshavebeen}</dt>
<dd>{vb:raw helpfulanswer_goodranks} {vb:rawphrase helpfulanswer_from} {vb:raw helpfulanswer_totalranks}</dd>
</dl>
Because current content is rendered incorrectly. This is not a fix, I am still looking into issue. Can you look also? I can't quite understand, what really should be there.
Ted S
07-02-2010, 05:45 AM
BUG:
With "Hide Negative Posts" enabled and "Hide Negative Posts - Count" > 0 all unvoted posts are hidden.
The cause:
Line 954 in xml:
if($vbulletin->options['helpans_hidelow'] AND (($post['goodrank'] - $post['totalrank']) < $vbulletin->options['helpans_hidelownum']) ){
The solution:
Change the above line to:
if($vbulletin->options['helpans_hidelow'] AND (($post['totalrank'] - $post['goodrank']) > $vbulletin->options['helpans_hidelownum']) ){
Good catch, although anyone sending this over 0 is setting themselves up for failure...
Ted S
07-02-2010, 05:46 AM
Ted, do you think uninstalling and reinstalling would fix the fact that it doesn't show on my forum?
It's possible but unlikely to help. The only other solution I can offer is to take a look myself if you are comfertable with me logging in to your site.
Astyanax
07-03-2010, 10:27 PM
I will use this MOD but I dont like the look of the thumb up and down. Can you update with more modern thumb icons?
FractalizeR
07-04-2010, 06:53 AM
Have you checked options?
Astyanax
07-04-2010, 07:44 AM
Have you checked options?
Yes, but the thumbs are still ugly. Why not use something like this: http://www.psdgraphics.com/wp-content/uploads/2009/12/thumbs-up-down-icons.jpg
or this: http://static-p3.fotolia.com/jpg/00/13/06/94/400_F_13069472_UTJczZjBGQ4rWGv97fpFaikDrLbNxSJI.jp g
Search results on Google: http://www.google.se/images?um=1&hl=sv&tbs=isch%3A1&sa=1&q=thumb+up+down+icons&btnG=S%C3%B6k&aq=f&aqi=&aql=&oq=&gs_rfai=
Ted S
07-04-2010, 09:20 AM
Yes, but the thumbs are still ugly. Why not use something like this: http://www.psdgraphics.com/wp-content/uploads/2009/12/thumbs-up-down-icons.jpg
or this: http://static-p3.fotolia.com/jpg/00/13/06/94/400_F_13069472_UTJczZjBGQ4rWGv97fpFaikDrLbNxSJI.jp g
Search results on Google: http://www.google.se/images?um=1&hl=sv&tbs=isch%3A1&sa=1&q=thumb+up+down+icons&btnG=S%C3%B6k&aq=f&aqi=&aql=&oq=&gs_rfai=
You can use whatever images you want for your site. The ones in this mod were created by users for public use; I can not include general images found on the web, they are copyrighted.
Astyanax
07-04-2010, 09:23 AM
I thought icons available in icon archives on Internet were free to use? Anyway, I can change this myself I guess?
FractalizeR
07-04-2010, 09:59 AM
If you find a good set of icons, please post them here
Astyanax
07-04-2010, 10:19 AM
If you find a good set of icons, please post them here
Ok!
http://www.freeiconsdownload.com/Free_Downloads.asp?id=265
http://www.freeiconsdownload.com/Free_Downloads.asp?id=307
Smaller icons:
http://www.freeiconsdownload.com/Free_Downloads.asp?id=227
http://www.freeiconsdownload.com/Free_Downloads.asp?id=608
> I'm also facing this problem, I cant see any message or thumbs up pic to rate
same here. vb 4.0.4 Patch Level 1, double checked notice in red. unregistered users see links tho.
when user signed in - there is empty div per post:
<div id="helpfulanswers_box_16" style="text-align:right;">
<br><hr size="1" style="color:$stylevar[tborder_bgcolor]">
</div>
thanks
Ted S
07-04-2010, 09:49 PM
I thought icons available in icon archives on Internet were free to use? Anyway, I can change this myself I guess?
Not at all. An image is copyrighted unless stated otherwise. This mod includes a few sites that most people like; if you want to use your own, the mod fully supports that.
fulviods
07-05-2010, 12:05 PM
I would like to use helpful answers only on some forums and not all. I also would like that this system increase reputation, but i dont want to activate/show the reputation system. It is possible? If I dont activate the reputation system in vb but inside the helpful answers setting i activate reputation will it work? Thanks!
I am using vbulletin 4.0.4 and tried my level best to get this mod work for my forum. But I failed. For unregistered user it shows but not for registered users. I have enabled the helpful ans in vbulletin options as well as in forums.
bposner
07-06-2010, 09:47 PM
I am using vbulletin 4.0.4 and tried my level best to get this mod work for my forum. But I failed. For unregistered user it shows but not for registered users. I have enabled the helpful ans in vbulletin options as well as in forums.
I just tried this, and it works the same way for my install too (had the guest access on) which is as it should be and requests I register, but users that are logged in can't see the little question.
bposner
07-06-2010, 10:24 PM
I had posted this in the wrong version of the forum.. (3.8) so I'll re post here in the correct version forum.
Installed this, see nothing.. ?? no errors on install, using version 2.3.1 of this product.
forum is enabled and went through the posts here and no suggestion seemed to work. simple install. I do see that if I check the ability for guests to see it, the question does show up, so I know the forum is activated, but other users, even ADMIN can't see it. I've tried different browsers sill no question, only guests and only if the guest option is checked.
Thanks
Ted S
07-07-2010, 04:51 AM
I had posted this in the wrong version of the forum.. (3.8) so I'll re post here in the correct version forum.
Installed this, see nothing.. ?? no errors on install, using version 2.3.1 of this product.
forum is enabled and went through the posts here and no suggestion seemed to work. simple install. I do see that if I check the ability for guests to see it, the question does show up, so I know the forum is activated, but other users, even ADMIN can't see it. I've tried different browsers sill no question, only guests and only if the guest option is checked.
Thanks
What version of vBulletin are you running?
bposner
07-07-2010, 02:39 PM
What version of vBulletin are you running?
thank you for your reply.
4.0.4
bposner
07-07-2010, 03:06 PM
Here are my settings
https://vborg.vbsupport.ru/external/2010/07/62.jpg
https://vborg.vbsupport.ru/external/2010/07/63.jpg
https://vborg.vbsupport.ru/external/2010/07/64.jpg
@TED
have u tested ur mod in vbulletin 4.0.4? asking u this becoz..i have had a hell of time and energy in process of making this mod work for me..nothing happend..
Ken Sanders
07-07-2010, 05:54 PM
I'm running 4.0.4 and it works fine for me.
bposner
07-07-2010, 06:03 PM
I'm running 4.0.4 and it works fine for me.
Please, Oh wise one, reveal your secret! ;)
linuxututs
07-07-2010, 06:10 PM
I have tried several things to get this to cache, but with no success.
helpful_answers_mosthelp_post
Any ideas guy's?
I see where it is already supposed to be caching, but its not.
I have even added another cache for it, with no success.
Thanks,
Ken Sanders
07-07-2010, 06:54 PM
Please, Oh wise one, reveal your secret! ;)
I wish I had one to reveal, but I can tell you that I haven't installed the latest update. I am running the one prior to it. :) Now you guys have me scared to update.
bposner
07-07-2010, 07:54 PM
I wish I had one to reveal, but I can tell you that I haven't installed the latest update. I am running the one prior to it. :) Now you guys have me scared to update.
Well the funny thing, if I set the Guest access to yes, and log out, and open the forum for non logged in visitors, I can see the question, so the program is there.. must be some sort of permissions thing I'm missing :(
Would love to use this
Ken Sanders
07-07-2010, 08:20 PM
The only settings I have different than yours is the self rating and post minimum check. Both of mine are set to no.
vivamexico55
07-07-2010, 10:22 PM
Well the funny thing, if I set the Guest access to yes, and log out, and open the forum for non logged in visitors, I can see the question, so the program is there.. must be some sort of permissions thing I'm missing :(
Would love to use this
The plugin is there, but it doesnt show for some reason. I know because posts that were rated still show up when the plugin is enabled, but you just can't rate new posts.
Ted if you're interested in checking out my forum with an admin account so you can see what's wrong and maybe fix it, I can provide you with one, PM me, just don't break anything ;)
Ted S
07-07-2010, 11:09 PM
Thanks for your comments everyone. I will be installing 4.0.4 on my test server and reviewing this ASAP!
bposner
07-09-2010, 01:01 PM
..any update? thank you
maidos
07-11-2010, 02:37 PM
tjhis doesnt work on vb 4.0.4
Ted S
07-12-2010, 02:02 AM
tjhis doesnt work on vb 4.0.4
No it does not . For some reason the variables aren't getting assigned right, just gotta find out why.
FractalizeR
07-12-2010, 06:26 AM
Strange, but plugin works on my 4.0.4
hey Ted.
this might be related to this (http://tracker.vbulletin.com/browse/VBIV-7945).
tpearl5
07-12-2010, 10:18 PM
I'm having the same problems as above with a new install on 4.0.4
Ted S
07-12-2010, 11:44 PM
hey Ted.
this might be related to this (http://tracker.vbulletin.com/browse/VBIV-7945).
Thanks!!!
Ted S
07-13-2010, 01:03 AM
For those members having issues on 4.0.4 please try the attached XML file and let me know if this resolves your issues while still holding all of the functionality you expect from this mod.
Thank you!
linuxututs
07-13-2010, 07:26 AM
Thanks Mate,
Upgrade killed my ad on first post though.
Thanks,
maidos
07-13-2010, 11:25 AM
hm even with the new xml it doesnt seem to be working
tpearl5
07-13-2010, 11:30 AM
Hi Ted - that worked - only problem is none of the settings in the admincp seem to be affecting anything - for example, the rating display only displays as text despite the setting in the admincp.
bposner
07-13-2010, 02:23 PM
Hi Ted - that worked - only problem is none of the settings in the admincp seem to be affecting anything - for example, the rating display only displays as text despite the setting in the admincp.
I have the same issue, the program shows up, the helpfulanswers.php displays database, the profile seems to be updated, but no graphics, nor no 10 point scale when enabled.
We're gettin' closer :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.