Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Post Ranking System Details »»
Post Ranking System
Version: 2.5, by FullyTested FullyTested is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.8.x Rating:
Released: 01-31-2009 Last Update: 03-19-2009 Installs: 188
DB Changes Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

Post Ranking System
by FullyTested

This product does not modify any VB MySQL tables and thus can be used by all forums regardless of whether they have three thousand posts or three million posts in their database.
Also, no manual template edits.

In A Nutshell:
  1. This product provides the ability to track the quality of post contributions made by your registered members.
    Each member's rank totals may be displayed (and are searchable) via the postbit template and/or public profile page.
  2. Each post may be ranked 'up' (+1 point) or 'down' (-1 point) by your registered members. Each member may only do this once per post.
    This is done via AJAX if the viewer's browser has JavaScript enabled, or via a link, if not.
    Once a post has reached a certain point threshold (value is set via AdminCP), it's rank changes accordingly.
    All posts start as 'Neutral'.
    Positively ranked posts may have their rank changed to 'Highly Ranked' or 'Highest Ranked'.
    Negatively ranked posts may have their rank changed to 'Lowly Ranked' or 'Lowest Ranked'.
  3. Whenever a post has its rank changed, the post creator has his/her rank totals updated accordingly.
Available Options:
  • Rank threshold values may be changed at any time., Rank totals are then updated accordingly.
  • Each rank can have it's own text colour.
  • Each user has the option to have 'Lowest' ranked posts hidden in a collapsed state (same as the ignore postbit). This option is turned on via the User CP thread display options.
  • Each user has the option to have 'Highest' ranked posts highlighted to destinguish them from the rest of the posts in the thread. This option is turned on via the User CP thread display options.
  • Ability to globally force the above highlighted/hidden posts on all users.
  • Option to have extremely lowly ranked posts auto 'soft' deleted. If post is subsequently undeleted, it's rank will revert to 'Neutral'.
  • Ability to email mods upon auto deletion of a post.
  • Selection of usergroups that may not rank posts.
  • Selection of usergroups who's posts cannot be ranked.
  • Exclude specific forums from post ranking.
  • Ability to include/exclude rank name ('Highest Ranked') in postbit
  • Ability to include/exclude rank score (+10/-5) in postbit
  • Display user's post rank totals within the postbit template.
  • Display user's post rank totals within the public profile page.
  • Search for posts of a certain rank, which belong to a specific member, via the postbit or public profile page.
  • Display total count, and search for, posts of a certain rank via the 'Post Ranking System' menu in AdminCP.
  • Manage votes by User or Post via Admin CP.
  • Statistics page where top posts and top posters are displayed. This page may be limited certain usergroups.
  • Ability to set a cut-off date (in days). Posts older than x number of days cannot be ranked.
Accountable Actions
  • Post delete (soft and physical) // rank totals decrement
  • Post undelete // rank totals increment
  • Post mergers // rank totals decrement as post may no longer reflect original content on which it was ranked
  • Thread delete (soft and physical) // rank totals decrement
  • Thread undelete // rank totals increment
  • User mergers // ranks transferred to new user
  • User delete // voted upon post ranks updated., tables cleared of said user
To Install:
Please see the 'ReadMe' file for installation instructions.
Installing this mod should take no longer than 5 minutes.

Version 2.5
Fixed small bug with the stats page.
Added the ability to have the score and rank images display in a separate line when default setting is to not have the thread title in every post.
The following files have changed:
- postrankstats.php (please re-FTP to your server)
- product_postrank.xml (please re-import with 'Allow Overwrite' selected)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #152  
Old 02-27-2009, 01:42 AM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Other Idea:

- Is Important to Add a Yes/No Option to Allow (or Not) Users to Rate Their Own Posts.

(Like on the Post Thank You Hack there's an Option to Allow or Not Users to Thank Themselves).

(In many cases Admins Won't Like Users to Rate/Rank Their Own Posts).

My Best Regards.

Reply With Quote
  #153  
Old 02-27-2009, 09:28 AM
FullyTested FullyTested is offline
 
Join Date: Aug 2007
Posts: 163
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

inciarco, thanks for your feedback.

Quote:
Originally Posted by inciarco View Post
- Is Important to Add a Yes/No Option to Allow (or Not) Users to Rate Their Own Posts.
Quote:
Originally Posted by inciarco View Post
Would be Nice for Users to be Able to Change their Votes.
Since their vote is only one of many, it really makes no difference.


Quote:
Originally Posted by inciarco View Post
Would be Nice to have an Option to Choose/Write Which Usergroups Can See the Mod
I'll look into adding this into next version


Quote:
Originally Posted by inciarco View Post
- When Choosing to Hide Very Low Ranked Posts they are Hidden From Registered Users, but NOT From UnRegistered Users (Visitors); for Visitors the Posts Appear Extended and Not Collapsed.
- Also When Choosing to Highlight Very High Ranked Posts they are Highlighted For Registered Users, but NOT For UnRegistered Users (Visitors); for Visitors the Posts Appear Normal and Not Highlighted.
This was designed this way since hiding and highlighting posts is a user option (user = member)


Quote:
Originally Posted by inciarco View Post
- When Leaving Highlight Color (message and/or username area) Blank (with no Hex Value), then those Areas Appear with a Neutral Color, Not the (Alt1 or Alt2 CSS Color) ; it'd be Nice that if Leaving Any or Both of this Fields Blank, the Mod Uses the Original Alt1 and/or Alt2 to be Used on the Postbits that are to be Highlighted.
This means you do not want to use the highlighting option.
Simply disable this feature and the post will have its original Alt1 and Alt2 colours.
Or, if you only want one side to have the Alt colour then why not insert that colour as the value?
Reply With Quote
  #154  
Old 02-27-2009, 02:56 PM
aibon aibon is offline
 
Join Date: Mar 2002
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

there seems to be a major Bug. sometimes it works only on second click.
checking with firebug i can see that the first ajax request most always returns a 503
Reply With Quote
  #155  
Old 02-27-2009, 03:24 PM
Switch02 Switch02 is offline
 
Join Date: Nov 2006
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice work here mate congrats i will try it.
Reply With Quote
  #156  
Old 02-27-2009, 06:16 PM
FullyTested FullyTested is offline
 
Join Date: Aug 2007
Posts: 163
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by aibon View Post
there seems to be a major Bug. sometimes it works only on second click.
checking with firebug i can see that the first ajax request most always returns a 503
I am unable to duplicate this on Firefox running Firebug.
It always works on first click for me.
Can you provide more details please.
Reply With Quote
  #157  
Old 02-27-2009, 07:22 PM
vbboarder's Avatar
vbboarder vbboarder is offline
 
Join Date: Jun 2008
Location: Silicon Valley, CA
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this useful mod, nominated for MOTM!

Bugs Report:
1. When a user sets to auto collapse the lowest ranked posts, and then manually expands those posts, the reply & multi-quote buttons do not show up in both IE7 & FF3. Not sure if you intentionally left those buttons out, but those buttons may still be needed even for lowest ranked posts.

2. Clicking on the "# rank" link does not change it to "+upvote / -downvote" in IE7, but does work in FF3.
Reply With Quote
  #158  
Old 02-28-2009, 01:17 AM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FullyTested View Post
inciarco, thanks for your feedback.
This was designed this way since hiding and highlighting posts is a user option (user = member)
The Member Option (or Choosing to Apply that Option in All Cases) is Working Ok.

What is Not Working Fine is that If I Choose to Hide Very Low Ranked Posts, then the Hiding of Posts Only Work for Registered Members and Not For Unregistered Members.

If I'm a Unregistered Member then I can see Low Ranked Posts as well as the Other Posts No Matter the User's Will to Hide those Posts; the Hiding Rules are Only Applying to Registered Users and Not to Unregistered Ones.

It Should Apply to Registered Members as well as for Unregistered Members, (All Usergroups).

Make the Test:

- Choose to Hide Very Low Ranked Posts.
- Logged as Any User Verify that Any Post is Being Hide.
- Now as a Guest (Non Registered User), in Other Window, see that same Post... You'll see that It's Not Being Hidden for Guests. (That's the Bug - Hidden for Registered Users and Not for Unregistered ones).

I Hope You can Fix that Bug on your Next Update.

Really Great Mod, Congratulations and Once Again Thank You For Sharing It. :up:

My Best Regards.

Reply With Quote
  #159  
Old 02-28-2009, 01:58 AM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FullyTested View Post
inciarco, thanks for your feedback.
This means you do not want to use the highlighting option.
Simply disable this feature and the post will have its original Alt1 and Alt2 colours.
Or, if you only want one side to have the Alt colour then why not insert that colour as the value?
Actually I noticed that when the Highlight Option is Enabled, and I try to select a Post to Moderate it in any way, then the Moderation Color don't Overwrite the Hoghlight Color, so I was planning to Enable Only the Highlight for the Title and leave the Content with the Original Color (Leaving Blank that particular Hightlight Option), so that when I Moderate the Content/Body of the Post has the Moderation Background Color, but as I explained when I leaved the Field Blank then a Neutral Color Appeared Damaging the Layout Background Color for the Post's Body/Content, that's why I suggested that when Leaving any of those 2 Fields Blank, then the Mod Leaves the Original Alt1 and/or Alt2 CSS Classes of those Table Cells, so that when Moderating those Posts the Post gets the Moderation Background Color when Clicking the Selection Box of that Post.

(Moderate the Post can mean Copy it, and is important to have the Visual Background Help to know which Posts are being Moderated at certain time).

I Hope this can be Applied, is a Simple Logic Sentence, <if> Field/Option is Not Blank then Apply Background Color </if>, and you see that if Field is Blank then No Style will be Applied to the Cell and the Forum Softeware will use the Defaul Alt1 or Alt2 CSS Style.

My Best Regards.

Reply With Quote
  #160  
Old 02-28-2009, 05:35 AM
aibon aibon is offline
 
Join Date: Mar 2002
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FullyTested View Post
I am unable to duplicate this on Firefox running Firebug.
It always works on first click for me.
Can you provide more details please.
i dont know what more details i could provide... it just doesnt work on the first click. and the ajax call returns a 503.

i dont' know what more details i can get out of this. suggestions please?
Reply With Quote
  #161  
Old 02-28-2009, 03:45 PM
aibon aibon is offline
 
Join Date: Mar 2002
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

solved the problem. don't know why i didn't looked in the response directly.
my database user didnt have rights to use 'Lock Tables'. don't know why this doesn't make problmes in the rest of the board.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:36 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.04936 seconds
  • Memory Usage 2,327KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (9)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete