vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - Post Ranking System (https://vborg.vbsupport.ru/showthread.php?t=203801)

FullyTested 01-31-2009 10:00 PM

Post Ranking System
 
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)

Jon Tolzien 02-01-2009 05:59 AM

no files are their... Did i miss something?

rob01 02-01-2009 06:12 AM

i will tag it, but how much resources this mod uses (queries, and so on)?

Andyrew 02-01-2009 06:36 AM

I'm getting database errors when i click on any of the high or low ranked options in ACP

Invalid SQL:

SELECT lowest, postranktotals.userid, user.username
FROM vb3_postranktotals
INNER JOIN vb3_user AS user ON(postranktotals.userid = user.userid)
WHERE lowest > 0
ORDER BY lowest DESC, user.username
LIMIT 0, 50;

MySQL Error : Unknown column 'postranktotals.userid' in 'field list'

Also if i click on the ranked numbers on some ones profile page i get

Invalid User specified. If you followed a valid link, please notify the administrator

Would be good to put an option to turn this mod on or off in settings.

I have disabled the product for the moment.

tranceup 02-01-2009 08:38 AM

run 3.7 ?

adhmwagde 02-01-2009 10:24 AM

Hello man ... nice work but README File is empaty " Mac OS X 2 y ? SMLdSMUL ATTR ء ? œ œ com.apple.TextEncoding UTF-8;134217984 "

also the ranking come without images ... i upload the images in misc but i didn't see in the posts ..

and we have

PHP Code:

MySQL Error   You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'ON DUPLICATE KEY UPDATE hide_post = 0, highlight_post = 0' at l
Error Number  
1064 

this come if you want to change " Post Rank Hide Post " in profile also if i try to ranking in the subject i didn't see the numbers changed in the profile or in the post look my screen

thanks

FullyTested 02-01-2009 01:11 PM

I have changed the attached zip file to one created on a Windows OS.
Previous version was by a Mac.

I hope this will solve the problem.

adhmwagde 02-01-2009 02:09 PM

Quote:

Originally Posted by FullyTested (Post 1730844)
I have changed the attached zip file to one created on a Windows OS.
Previous version was by a Mac.

I hope this will solve the problem.


thanks to change the attach .. but still i have the same problem ... :(

TalkTemplate 02-01-2009 02:21 PM

looks nice i will try it!

Vaupell 02-01-2009 03:41 PM

tagging this, but waiting for some succes stories. ;)


All times are GMT. The time now is 03:07 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.01305 seconds
  • Memory Usage 1,746KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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