So i saw an question on WordPress Answers and i jumped and answered that i have something like that, but after looking for it for a while in all of my sites and computers nothing was found.
The Problem was , I already jumped in and posted that i have something like that and since i needed something like that for a client site i just started to write it from scratch.
Bainternet User Ranks
This is aimed at multiple Author,User blogs which you can create rank levels in your blog based on author post count, comment count or both. Its ranking system similar to a forum and keep track of Karma Points.
Screenshots:
Create and display user rank titles based on there post count, comment count or both.
Features:
- Add as many Titles as you want and the minimum point to reach that Title.
- Set the point count for each post.
- Set the point count for each comment.
- Display Title, points or both.
Download:
Download the latest Version from WordPress.org
Simple Installation steps:
1. Extract the zip file and just drop the contents in the wp-content/plugins/ directory of your WordPress installation.
2. Then activate the Plugin from Plugins page.
3. Go to Plugins option panel named "Bainternet User Ranks" under options.
4. Setup your Titles and Points levels and maybe other settings.
5. save!.
Usage
you just need to call the plugin in your theme file something like this:
<?php $baur_plugin = new baur_Plugin(); $user_rank = $baur_plugin->ba_get_user_points($user_id); echo "Points: " . $user_rank;?>
this will display something like:
Points: 3032
if you want to display both title and points then need to pass another parameter to the 'ba_get_user_points' function (Boolean , default false) to get an array that contains both Title and Points:
<?php $baur_plugin = new baur_Plugin(); $user_rank = $baur_plugin->ba_get_user_points($user_id,true); echo "title: ". $user_rank['title'] . "Points: " . $user_rank['points'];?>
this will display something like:
Title: Expert Points: 3032
this is it, enjoy and any feedback is welcome, also make sure to submit bug if you find any.