How Can I Use the ShorCode?
Simple just add [user_rank] in your post content and if you want to get the rank of another user (default is post author) then just set user_id to the id of the user who’s rank you want eg: [user_rank user_id="23"]
How Can I Use the Top ranked ShorCode?
Once again very simple just add [user_rank_top] which will get you a list of top 5 ranked users, you can change the number , item wrapper and container eg: [user_rank_top number="20" container="ol" item_wrapper="li"]
How Can I Style, Design the shortcodes output?
Both Shortcodes use a simple templating system which takes tokens and replaces them with the user data eg:
[user_rank]
[user-firstname] [user-lastname]
[title]
[points]
[/user_rank]
Just make sure you enter the template after the shortcode tag and add aclosing tag.
Nice, what are the shortcode template tokens that I can Use?
- [title] – prints the user’s rank title
- [points] – prints the user’s points
- [user_login] – prints the user’s login
- [user_nicename] – prints the user’s nicename
- [user_email] – prints the user’s email
- [user_url] – prints the user’s URL
- [user_firstname] – prints the user’s First name
- [user_lastname] – prints the user’s last name
- [user_description] – prints the user’s description/bio
How Can I Use the Top ranked template tag?
get_top_users($number);
foreach($top_users as $u){
$user_info = get_userdata($u[‘user_id’]);
echo “User: “.$user_info->user_login. ” Points: ” . $u[‘points]. ” Title: “. $u[‘title’]. “
“;
}?>
Nothing is happening, whats Wrong?
Nothing 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;?>
And you must set $user_id
Why do i get just the points?
You 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.
ba_get_user_points($user_id,true);
echo “title: “. $user_rank[‘title’] . “Points: ” . $user_rank[‘points’];?>
Once again you must set $user_id
Hot can i get top ranked users?
use get_top_users method with the number of top users you want , for example to get the top 5 use:
get_top_users(5);
foreach ($top_users as $user){
$user_info = get_userdata($user[‘user_id’]);
echo $user_info->user_login . ” title: “. $user_rank[‘title’] . “Points: ” . $user_rank[‘points’];
}
?>
Bainternet User Ranks
توسط Bainternet
گزارش خرابی
اگر با مشکلی مواجه شدهاید،
لطفاً آن را با جزئیات برای ما ارسال کنید.
🔒 برای ثبت گزارش خرابی باید وارد سایت شوید.
ورود / ثبت نام به سایت
Create and display user rank titles based on there post count, comment count or both.
This is aimed at multi 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.
features
any feedback or suggestions are welcome.
check out my other plugins
Simple steps:
Extract the zip file and just drop the contents in the wp-content/plugins/ directory of your WordPress installation.
Then activate the Plugin from Plugins page.
Go to Plugins option panel named “Bainternet User Ranks” under options.
Setup your Titles and Points levels and maybe other settings.
save!.
سوالات متداول
How Can I Use the ShorCode?
Simple just add
[user_rank]in your post content and if you want to get the rank of another user (default is post author) then just set user_id to the id of the user who’s rank you want eg:[user_rank user_id="23"]How Can I Use the Top ranked ShorCode?
Once again very simple just add
[user_rank_top]which will get you a list of top 5 ranked users, you can change the number , item wrapper and container eg:[user_rank_top number="20" container="ol" item_wrapper="li"]How Can I Style, Design the shortcodes output?
Both Shortcodes use a simple templating system which takes tokens and replaces them with the user data eg:
[user_rank]
[user-firstname] [user-lastname]
[title]
[points]
Just make sure you enter the template after the shortcode tag and add aclosing tag.
Nice, what are the shortcode template tokens that I can Use?
How Can I Use the Top ranked template tag?
get_top_users($number);
foreach($top_users as $u){
$user_info = get_userdata($u[‘user_id’]);
echo “User: “.$user_info->user_login. ” Points: ” . $u[‘points]. ” Title: “. $u[‘title’]. “
“;
}?>
Nothing is happening, whats Wrong?
Nothing you just need to call the plugin in your theme file something like this:
And you must set $user_id
Why do i get just the points?
You 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.
ba_get_user_points($user_id,true);
echo “title: “. $user_rank[‘title’] . “Points: ” . $user_rank[‘points’];?>
Once again you must set $user_id
Hot can i get top ranked users?
use
get_top_usersmethod with the number of top users you want , for example to get the top 5 use:get_top_users(5);
foreach ($top_users as $user){
$user_info = get_userdata($user[‘user_id’]);
echo $user_info->user_login . ” title: “. $user_rank[‘title’] . “Points: ” . $user_rank[‘points’];
}
?>
ورود / ثبت نام
عنوان
×قیمت:
رایگان
نگارش
1.5.2
آخرین انتشار
20 اردیبهشت 1405
آخرین بروزرسانی
3 ماه پیش
نصب های فعال
10+
نگارش وردپرس
وردپرس 2.9.2+
تست شده از نسخه
وردپرس 4.7.0
نگارش PHP
-
تگ ها
forum-like-ranking post-and-comments-ranking user-karma user-ranking user-titles
نسخه ها
1 نسخه
نیاز به پشتیبانی دارید ؟
کارشناسان ما آماده پاسخگویی هستند
افزونه های مرتبط
Cache by Folium
★★★★☆ 84.0/۱۰۰
(10 امتیاز)
Fast, easy to use cache for WordPress with option for up-to 3 separate CDN’s – for js, css & images from 3 providers. Added
Dienstplan
Dienstplan is a self-hosted shift and duty roster planner for WordPress. It is built for organisations that run on volunteers — fire departments, emergency
Cashu For WooCommerce
A secure Cashu payment gateway for your WooCommerce store. This plugin adds a checkout that accepts Lightning or Cashu ecash, paying out to your
Quote & Cut
Quote & Cut connects WooCommerce to the Quote & Cut cloud service for laser-cutting and sheet-optimization workflows. With this plugin you can: Accept DXF
Simple Stopwatch Easy to Use
Simple Stopwatch Easy to Use lets you embed a fully functional stopwatch anywhere on your WordPress site using a simple shortcode. Features: Start, Stop,
RoidNet URL Shortener and Link Tracker
A lightweight, secure, and self-hosted solution to shorten URLs, track link clicks, and generate WhatsApp chat links. RoidNet URL Shortener and Link Tracker is