vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - [AJAX] Helpful Answers - Post Rating System (plus many sub-features) (https://vborg.vbsupport.ru/showthread.php?t=204117)

Ted S 09-25-2009 02:56 PM

TheInsaneManiac - I certainly don't try and make comparisons about if another modification is better or worse than mine. The Post Ranking System is a great application with some similar features and some different ones. Both mods attempt to rank posts but how the voting is done, what options exist and how things are displayed back is simply different. The biggest gap being that the Post Ranking System shows the magnitude of votes (lowest ranked, highest ranked) and mine shows the exact vote count -- it's two different approaches and you should use whichever best fits your needs.

As for your feature ideas:

1. Topic Rating - See my Helpful Threads modification which is for rating topics and not posts.

2. Bad Rating - I'm open on this. How do you see it working? What constitutes bad (1 negative or 100)?

3 - Quick Links - Already exists in the Most Helpful Answers Page.

EagleNick 09-27-2009 10:56 AM

1 Attachment(s)
I have a suggestion: When viewing rating history in the AdminCP, it would be nice to have a column of the name of the user who made the post that was rated. (See screenshot; in this view I am viewing all of "OneUpDave's" ratings, but I would like to see the post author for each entry).
This would make it easier to identify abuse of the system. How? We could see if a user is marking the posts of his friend as helpful (regardless of if they are helpful or not) while marking any other post as unhelpful.

Ted S 09-27-2009 04:32 PM

1 Attachment(s)
Quote:

Originally Posted by EagleNick (Post 1891264)
I have a suggestion: When viewing rating history in the AdminCP, it would be nice to have a column of the name of the user who made the post that was rated. (See screenshot; in this view I am viewing all of "OneUpDave's" ratings, but I would like to see the post author for each entry).
This would make it easier to identify abuse of the system. How? We could see if a user is marking the posts of his friend as helpful (regardless of if they are helpful or not) while marking any other post as unhelpful.

Very simple change. I've made the update but don't want to release a whole new version for just this so in the mean time, here's the file for those who want it.

Upload the new plugin file and upload/admincp/helpfulanswers.php

EagleNick 09-27-2009 06:42 PM

Quote:

Originally Posted by Ted S (Post 1891376)
Very simple change. I've made the update but don't want to release a whole new version for just this so in the mean time, here's the file for those who want it.

Upload the new plugin file and upload/admincp/helpfulanswers.php

Ted, you are perhaps the most dependable coder/developer here. Simply extravagant.

One small quirk: It lists the thread author (whoever created the first post of the thread), but what I would rather have is the author of the post that was rated.

Example: John creates a thread. Mark replies with an explanation. Dave marks Mark's post as helpful.
In the AdminCP, it shows John as the thread author for Dave's rating; it should list Mark as the author of the post that was rated.

Did that make any sense? :lol:

Ted S 09-27-2009 08:20 PM

1 Attachment(s)
That's what I get for not reading through your entire post...

Attached a new admincp/helpfulanswers.php file (one word change to make it happen).

And thanks for the kind words! Definitely nice to hear good comments about my coding seeing as how I am not a coder IRL.

Trana 10-12-2009 02:14 AM

Quote:

Originally Posted by Ted S (Post 1889494)
Did you put that TD into a new table row? Is it in a table at all? What else is in the table?

Here is the beginning of my postbit_legacy:

Quote:

<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
<if condition="$show['announcement']">
<td class="thead" style="font-weight:normal" colspan="2">
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>


</td>
<else />
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-right: 0px" $post[scrolltothis]>
<!-- status icon and date -->
<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</td>
<td class="thead" style="font-weight:normal" align="$stylevar[right]">

$helpful_answers

&nbsp;
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a>
</if>
<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />

<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a></if>
$post[iplogged]
</if>

$template_hook[postbit_messagearea_start]
</td>
</if>
</tr>

Ted S 10-12-2009 02:57 AM

Create a new table just for the helpful answers content.

Trana 10-12-2009 03:07 AM

Quote:

Originally Posted by Ted S (Post 1898393)
Create a new table just for the helpful answers content.

Within the existing TD?

Ted S 10-12-2009 03:12 AM

Sure. It's not about the existing table (there are tons on the page). It's about using a new one to align the elements as you want them to be.

One cell to have the display bit, another for whatever else you want on that line.

Trana 10-12-2009 12:29 PM

OK, that makes everything show up on the same line, thanks.


All times are GMT. The time now is 03:15 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.02567 seconds
  • Memory Usage 1,757KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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