vb.org Archive

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

Ted S 04-13-2009 07:39 PM

Quote:

Originally Posted by Razasharp (Post 1790432)
Hi Ted

I finally got around to installing this on my 3.7 board.

Just a quickie, is it possible to simply change the rating system so that all it shows is the thumbs up/down buttons, along with the number of thumbs ups or downs the post has had next to them?

At the mo it takes up too much space and all that text is not needed as most people know thumbs rating systems these days. If I can do this via template edits - great! Just let me know which templates I need to change :)

Thanks for a cool plug-in!

Just edit the helpful_answer template as you see fit!

Razasharp 04-13-2009 10:36 PM

Thanks Ted. I've edited it but it's not quite working how I want.

All I want is the thumbs up/down buttons to show, with the current number/rating for each either side of the button. Then if a user rates a post, his rating is appended via ajax and the buttons stop being links (so they know they've rated). Maybe even have an alternative set of buttons to show when they've rated (maybe with a dot or alt text so we can show how they rated themselves).

At the mo, when they rate it says 'thanks' but takes all my other buttons in the td along with it (not ideal as they may want to report a post too, after giving it neg rating).

Anyway to simplify it so it works like this? Or are there more templates I could edit?

Ted S 04-13-2009 11:13 PM

You can accomplish all of this with the template you're using now. Just be sure to use the different variables for showing and not showing ranks. You'll also need to manually add the links and images for the thumbs rather than relying on the script to put those in for you.

Let me know if you get stuck...

Razasharp 04-13-2009 11:29 PM

Hi Ted

I can get as far as showing the static images after they've voted, along with the current score - but can I tell them which one they voted too? (in the alt text will be fine).

Also, when they vote it still clears the area with the 'thanks message anyway I can get it to say thanks, but then go back to how it was?

Shall I make my current changes live so you can take a look?

Razasharp 04-14-2009 12:32 AM

Hey Ted - got it :D

Will let you know how we get on with it - stats sending is on. Would be cool if you could share the results with us too?

Ted S 04-14-2009 12:54 AM

Quote:

Originally Posted by Razasharp (Post 1790629)
Hi Ted

I can get as far as showing the static images after they've voted, along with the current score - but can I tell them which one they voted too? (in the alt text will be fine).

Also, when they vote it still clears the area with the 'thanks message anyway I can get it to say thanks, but then go back to how it was?

Shall I make my current changes live so you can take a look?

All you would need to tell them is to have a second set of images to show (i.e. a clear image).

You can use the $helpful should be set to 1 if they voted yes and 0 for no.

Ted S 04-14-2009 12:56 AM

Quote:

Originally Posted by Razasharp (Post 1790673)
Hey Ted - got it :D

Will let you know how we get on with it - stats sending is on. Would be cool if you could share the results with us too?

I've been waiting until we pass the 25k vote mark at which point I'll be sharing some stat trends (obviously without any site data). I do need to filter out a few things as some sites don't use the system the same way and impact the overall scores...

One tidbit based on the 20k or so votes so far... 75% of posts are given positive rankings. Not bad!

Razasharp 04-14-2009 02:33 AM

I'd be interested to see them! I haven't added the profile bits to my style yet - but I think that will be interesting too.

Can we see who rated a post? (in case of abuse)

Quote:

Originally Posted by Ted S (Post 1790686)
All you would need to tell them is to have a second set of images to show (i.e. a clear image).

You can use the $helpful should be set to 1 if they voted yes and 0 for no.

How do you mean Ted?

Edit:
Hey Ted, how do I get the $blocks[helpful_statsbit] to display in my customised profile? :-/

Ted S 04-14-2009 03:28 AM

Quote:

Can we see who rated a post? (in case of abuse)
Yes. There's an extensive log tool in the admin that lets you view ratings by user and remove them if you so chose.

Quote:

Hey Ted, how do I get the $blocks[helpful_statsbit] to display in my customised profile?
That's another template... helpful_statsbit or helpful_statsbit_ten if you use the 10 point scale.

Razasharp 04-14-2009 07:47 AM

It doesn't work tho?

I put $helpful_statsbit in my memberinfo template and nothing shows for it :-/


All times are GMT. The time now is 05:52 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.01251 seconds
  • Memory Usage 1,745KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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