vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - [AJAX] Helpful Answers - Allow users to rate individual posts (https://vborg.vbsupport.ru/showthread.php?t=233296)

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

Quote:

Originally Posted by Verionia (Post 2029372)
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

Quote:

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.

Ted S 05-02-2010 11:48 PM

Quote:

Originally Posted by FractalizeR (Post 2029932)
I think, the data in profile should be separated into new tab. The code is here.

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

Quote:

Originally Posted by Alex@Mk3OC (Post 2031710)
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

Quote:

Originally Posted by Alex@Mk3OC (Post 2031844)
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

Quote:

Originally Posted by chriske (Post 2031882)
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

Quote:

Originally Posted by Ted S (Post 2031875)
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

1 Attachment(s)
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

Quote:

Originally Posted by bfdzio (Post 2032652)
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.

Quote:

Originally Posted by bfdzio (Post 2032652)
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

Quote:

Originally Posted by kmohamed (Post 2032825)
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

Quote:

Originally Posted by Ted S (Post 2032838)
This is something I am looking into.

thanx

bfdzio 05-07-2010 12:41 PM

Quote:

Originally Posted by Ted S (Post 2032728)
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

Quote:

Originally Posted by Ted S (Post 1957576)
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).

Quote:

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

Quote:

Originally Posted by riskofficer (Post 2033597)
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.

Quote:

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

Quote:

Originally Posted by FractalizeR (Post 2033612)
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

Quote:

Originally Posted by bfdzio (Post 2032652)
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

Quote:

Originally Posted by UnixGeek (Post 2034024)
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

1 Attachment(s)
Quote:

Originally Posted by Ted S (Post 2033955)
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

Quote:

Originally Posted by heyzeus909 (Post 2034674)
"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

Code:

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

PHP Code:

<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

Quote:

Originally Posted by FractalizeR (Post 2041088)
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. 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...?


All times are GMT. The time now is 08:13 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02371 seconds
  • Memory Usage 1,855KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (22)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete