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)

torontonian 02-12-2009 06:11 PM

Hi,

Thanks for this excellent plugin. It was just what I've been looking for, although I have a few questions which may require a few mods:

1. How can I make the "Rating History and Editing" stats appear in the moderator's control panel? I can see this in the admin control panel, but I'd like moderators or at least super moderators to be able to see this info too.

2. Is there a way to adapt this to show the reputation of a user based on the ratings that their posts have received as opposed to the ratings that they have assigned to other posts. In other words, I'd like the admin and moderator to be able to see which users have received a large amount of positive and negative replies to their posts.

3. For the result display options, can you add a "negative ratings" column next to the "positive ratings" column. Currently, I have to look at the "total" and "positive" and see where there is a difference in numbers to know that there are some negatives. It would be much quicker to be able to spot the negative ones instantly and also to be able to sort by negative ratings.

The reason why I am asking for all of this is that I would like to use this to ensure that posts are always answered of the highest quality so I need to see who is answering incorrectly in order to improve the standard of replies.

Thanks again. I look forward to receiving your reply.

guvner 02-12-2009 06:18 PM

For a future revision, I'd like to request that if possible, all the mod's controls are consolidated into single page as currently they appears as 2 entries under VB options and again as a sidebar menu item in the adminCP.

Mike :)

Ted S 02-12-2009 07:39 PM

Quote:

Originally Posted by torontonian (Post 1742149)
1. How can I make the "Rating History and Editing" stats appear in the moderator's control panel? I can see this in the admin control panel, but I'd like moderators or at least super moderators to be able to see this info too.

You would need to copy the admincp file and possibly change it a bit to work with mod permissions as well as create a new bitfield xml file to get the link to show up.

Quote:

Originally Posted by torontonian (Post 1742149)
2. Is there a way to adapt this to show the reputation of a user based on the ratings that their posts have received as opposed to the ratings that they have assigned to other posts. In other words, I'd like the admin and moderator to be able to see which users have received a large amount of positive and negative replies to their posts.

Again this isn't native to the program but you could run a query to get it.

Something like "SELECT userid,sum(goodrank) as goodranks FROM postid ORDER BY goodranks DESC LIMIT 50" would show you the top 50 ranked members.

Quote:

3. For the result display options, can you add a "negative ratings" column next to the "positive ratings" column. Currently, I have to look at the "total" and "positive" and see where there is a difference in numbers to know that there are some negatives. It would be much quicker to be able to spot the negative ones instantly and also to be able to sort by negative ratings.
Are you referring to in the admin panel or on the user script?

Ted S 02-12-2009 07:41 PM

Quote:

Originally Posted by guvner (Post 1742157)
For a future revision, I'd like to request that if possible, all the mod's controls are consolidated into single page as currently they appears as 2 entries under VB options and again as a sidebar menu item in the adminCP.

Mike :)

Sorry Mike but neither will be consolidated in the official addon. I have two entries in the settings group because one is simply too long and the reputation features don't apply to all users.

As for the links in the sidebar, those are different features and would not make sense to combine (one does not bulk edit forums while reviewing ratings).

Of course you could always change things yourself if you want it more consolidated.

Ted S 02-13-2009 05:35 AM

Based on comments from a few members (and mainly biocyberman) I've added a second rating option to the script. This option allows for posts to be voted on from 1 to 10 rather than just being marked as "helpful or not helpful".

The ten point scale is an optional feature which is enabled globally (either you use one or the other). There are a few features that won't work with the ten point scale including the profile stats, the no negative option and others. However there are also some new features with the ten point scale.

I encourage you to try this out on a test site (or your live site if you're looking to switch over) and give me your feedback.

To remove all previous votes (required if changing methods) run the queries:
Code:

UPDATE post SET goodrank = '', totalrank = '';
DELETE FROM helpfulanswer;

If you use table prefixes be sure to include that as well.

Note: This is in beta and while it works fine on my system I'm leaving 1.4.2 as the official version until I get some feedback on how this works.

Second Note: To get this done I used numbers (1 2 3 4 5....) for rankings rather than stars. I will be looking into adding a simple star image in the future and encourage suggestions on that image.

Ted S 02-13-2009 05:37 AM

Changes in 1.5.0
- (Feature) Addition of ten-point rating scale (optional)
- (Feature) Addition of profile stats for ten-point rating scale
- (Feature) Modified display of top ratings page for ten-point ratings
- (Admin) Addition of negative ratings column for moderation
- (Bug) Rating's still show up in showpost template after user has voted
- (Bug) Individual user can't be banned

tpearl5 02-13-2009 06:55 PM

Quote:

Originally Posted by Ted S (Post 1742567)
Based on comments from a few members (and mainly biocyberman) I've added a second rating option to the script. This option allows for posts to be voted on from 1 to 10 rather than just being marked as "helpful or not helpful".

Why not just use the existing rating system for this?

GigaSb 02-13-2009 07:48 PM

Quote:

Originally Posted by GigaSb (Post 1739472)
how do i make the text to be in the right side?

I added div align into postbit_legacy:

<div align="right">
$helpful_answers
</div>


it worked at first.. but when updated to last version its not effecting.

can i get help here?

Ted S 02-13-2009 08:59 PM

Quote:

Originally Posted by GigaSb (Post 1743195)
can i get help here?

I responded to that several pages back... You may want to search for the answer but the general idea is that there is already a div controlling the reviews so you'll want to either edit that or wrap the div in a table.

Ted S 02-13-2009 08:59 PM

Quote:

Originally Posted by tpearl5 (Post 1743166)
Why not just use the existing rating system for this?

I'm not aware of a native post rating system in vBulletin...?


All times are GMT. The time now is 09:33 AM.

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.01183 seconds
  • Memory Usage 1,751KB
  • 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
  • (8)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
  • (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