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 - User Powered Moderation System Lite (Post Management System) (https://vborg.vbsupport.ru/showthread.php?t=145075)

eXtremeTim 04-16-2007 10:00 PM

User Powered Moderation System Lite (Post Management System)
 
What this hack does:

This hack allows your users to rate the individual posts in the threads so that they can effectively moderate them somewhat. By defualt posts with a negative rating thats below a predefined threshold (defined by admin) will be collapsed with an expand link there to show the hidden posts.

Features:
Admin Definable threshold
*User definable threshold if enabled (will use the admin defined threshold as a fallback for if the user has no threshold defined)
*Ability to define which usergroups posts can never be hidden by defualt
*Ability to define which usersgroups posts may never be rateable

Uses ajax to update the post rating so no page reloading. Has a fallback method for boards that dont use ajax and users that dont have javascript. Users who dont use javascript will still be able to rate the posts but they will not be able to use the toggle function to show or hide a post.

Planned Additional Features:
Ability to enable the system on a per forum basis
Full usergroup permissions control
A point system where users votes if enabled will no longer always be +/-1. The point system would basicly create a set of criteria similiar to the reputation system with a given value for each time a criteria is met and that value will effect their rating potential in either a possitive or negative way depending on what you have setup.
Others that just havent been thought of yet.

Some Background Information:
This hack uses no queries to when displaying the posts. Infact the only queries in this system are done when a rating is added. Making this hack extremely server friendly.


*professional version features.


Version 1.0.1 Released
Whats fixed?
Fixed a bug regarding the private message system.

How to upgrade?
Just reload the plugin



Edit:

Missed the following two queries for the package for install so for now just run them in phpmyadmin replacing TABLE_PREFIX with your table prefix.

SQL Query: (how to run queries)
ALTER TABLE `TABLE_PREFIXpost` ADD `rating` INT( 10 ) NOT NULL DEFAULT '0'; CREATE TABLE `upms_posts` ( `pid` INT( 10 ) NOT NULL , `uid` INT( 10 ) NOT NULL , `value` VARCHAR( 10 ) NOT NULL , `ipaddy` VARCHAR( 50 ) NOT NULL ) ENGINE = MYISAM ;

Note to not touch the table upms_posts as it is not designed to be prefixed for future reasons.

eXtremeTim 04-17-2007 09:10 AM

What is this?

Are you a user of digg.com? Well they have a comment system there where users can in essence do a positive or negative vote on a post and at x negative the post is hidden by default. This hack replicates this features on vbulletin.

vip-q.com 04-17-2007 09:32 AM

great I like it :)

Installed :)

eXtremeTim 04-17-2007 09:33 AM

Glad to hear that. :)

ddr 04-17-2007 10:57 AM

good idea. thanks

Bad Bunny 04-17-2007 03:18 PM

I definitley like this...gonna install for later reference. Thanks!

ZomgStuff 04-17-2007 03:24 PM

Very nice!

eXtremeTim 04-17-2007 07:18 PM

I take it so far so good on the installs?

fluentdesigns 04-17-2007 08:01 PM

one suggestion... add ability for the post to be totally removed and not readable by others at all anymore.

eXtremeTim 04-17-2007 08:49 PM

Maybe in a later version. :)


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