Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Yet Another Ranks System Details »»
Yet Another Ranks System
Version: 4.1.4, by TheLastSuperman (Senior Member) TheLastSuperman is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Category: Major Additions - Version: 4.2.x Rating:
Released: 06-27-2011 Last Update: 10-29-2012 Installs: 171
Supported DB Changes Uses Plugins Auto-Templates
Additional Files Translations  

* CREATE A BACKUP OF YOUR FORUM AND DATABASE BEFORE INSTALLING !

I've had quite a few PM's in regards to this and seeing as how once upon a time I administered a gaming tournament forum it came in handy... we had virtual armies in battlefield games with Generals, LtCol's, Captains, squads of 6 and enjoyed a rank structure along with our awards so we converted the Awards mod into a Ranks mod, many also had a need for it and now we have it for 4.x. This is a complete re-write of the 4.x Yet Another Awards System by CypherSTL and Xanlamin ( https://vborg.vbsupport.ru/showthread.php?t=232684 ) with updates including one fix by another community member for the profile tabs (noted in Changelog.txt). I hope everyone enjoys it who finds a use for it .

DESCRIPTION:
This is a Medals/Ranks system. Admin can give members ranks, and rank icons will be displayed in member's profile, posts, as well as in a rank list.

FEATURES:

In AdminCP
  • Can Create/Edit/Delete/Reorder categories/sub-categories in ACP (with category name and description)
  • Can Create/Edit/Delete ranks in ACP (with Rank Name, Description, Icon URL, Image URL)
  • Can Move one (or all) rank(s) from one category to another
  • Can set some ranks un-classified (not displayed for public)
  • Can re-order ranks in ranks showcase
  • Issue ranks to members, based on username or userid, with Issue Reason
  • Remove ranks from members

In ModCP
  • Issue ranks to members, based on username or userid, with Issue Reason
  • Remove ranks from members

Front page & other
  • Display ranks list in with: Rank Name, Description, Icon, Image, and Members who get each rank.
  • Display ranks showcase in profile, with Rank information, Issue time and reason
  • Display rank icons in postbit (showthread, showpost, announcement, private)
  • Separate Rank Request/Recommendation Forms
  • CSS Customizable
  • Points System *Requires MySQL 5.0+


Attention:

If you do not properly setup this modification you will see errors such as:

Quote:
Originally Posted by faraz_hamza View Post
Code:
Something unexpected has happened, your rank request cannot be sent at this time. Please contact a site administrator for assistance.
I am getting this error when i recommend or issue rank request?

how to fix it ?
Basically here's the short on this:
  • Edit your usergroups, for each usergroup set whether they can request and recommend ranks.
  • Setup the mod options in AdminCP > Ranks System > Rank System Settings.
  • If your having the requests or recommendations posted as a New Thread OR New Post within a existing thread please ensure that the members usergroup has permission to do so, in other words they can't post a new rank request into a private admin-only forum or a new post in a admin only thread correct? Bingo . You can create a new forum and only allow viewing to normal members .
  • If your having users requesting ranks every min or two, adjust your minimum time between posts to be one minute.
  • Try disabling the Points System, do you still have a issue?

Other issues:
  • What is the minimum version of MySQL Required?
    - The core of the ranks sytem will function on MySQL 4.1. However, in order to use the Points System you must be running at least MySQL 5.0+
  • I'm seeing output like "-- BEGIN TEMPLATE: ranks_rankusers_bit -->" before it displays members. Why?
    In your AdminCP > Settings > Options > General Settings > Add Template Name in HTML Comments = OFF
  • Styling issues? - https://vborg.vbsupport.ru/showpost....58&postcount=2
  • If you have any other issues, post them however I need to know if this was the 2nd, 3rd or 4th request, what was done before the error and if issuing to another user worked afterwords! Thanks!

Download Now

File Type: zip Innovative-YARS-vB4.zip (102.2 KB, 796 views)

Screenshots

File Type: png RankAdmin.png (158.9 KB, 0 views)
File Type: png RankPostbit.png (67.6 KB, 0 views)
File Type: png RankPrivateMessage.png (94.4 KB, 0 views)
File Type: png RankProfile.png (65.0 KB, 0 views)
File Type: png RankAdmin2.png (98.2 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
12 благодарности(ей) от:
Azucar, BCP Hung, elwizard, FinalFantasy, Gorgasm, Jack.D, mitch84, mohammadxxx, Sage Knight, Sayid, snowlion

Comments
  #2  
Old 06-27-2011, 10:27 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated to v4.1.4 on 7/2/2011
Notes:
  • Removed some residual Awards references in snippets of the code.
  • Updated two phrases.
  • Tested and initial bug report of database error depends on settings from tests ran, please be sure to test on a site with more than one user and have the options set correctly in admincp.
  • Tested and confirmed to work on vBulletin 4.1.4.

Updated (Remains at v4.1.4) on 7/3/2011
Notes:
  • Updated SQL to properly delete awards.
  • Confirmed the dismissed DB error upon request/recommend after further testing and this has been sorted.

Updated (Remains at v4.1.4) on 7/11/2011
Notes:
  • Updated installation SQL to check for MySQL version and define as TYPE or ENGINE correctly.

Updated (Remains at v4.1.4) on 10/29/2012
Notes:
  • Fixed Security Vulnerability UNIT => UINT etc.
________________________

Custom Style - Display issues on the Rank Page?

Edit template RANKS and find:
Code:
{vb:raw header}
{vb:raw navbar}

{vb:raw rank_categories}
Add [S]{vb:cssfile additional.css}[/S] {vb:raw headinclude_bottom} as shown in blue then save template:

Code:
<link rel="stylesheet" type="text/css" href="{vb:var vbcsspath}editor.css" />
<link rel="stylesheet" type="text/css" href="{vb:var vbcsspath}bbcode.css" />
{vb:raw headinclude_bottom}
</head>
*I'll include the call of additional.css in the next version .
Reply With Quote
Благодарность от:
nacaruncr
  #3  
Old 06-27-2011, 10:30 PM
lapiervb lapiervb is offline
 
Join Date: Mar 2010
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Demo, pics?
Reply With Quote
Благодарность от:
mohammadxxx
  #4  
Old 06-27-2011, 11:03 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lapiervb View Post
Demo, pics?
Up .
Reply With Quote
  #5  
Old 06-28-2011, 01:28 AM
Kaspersku Kaspersku is offline
 
Join Date: Jun 2011
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's great, I very like but I have some question for you:
It can use for 4.1.x or 4.x.x ?
Are you test it in all verison 4.x.x?

Thanks you much
Reply With Quote
Благодарность от:
mohammadxxx
  #6  
Old 06-28-2011, 01:45 AM
Kaspersku Kaspersku is offline
 
Join Date: Jun 2011
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh dear, it can not be installed on vbb 4.1.4
When I installed the 4.1.4 database, then it fails, I try to install on localhost, it was like, you can explain ?

Quote:
Database error in vBulletin 4.1.4:

Invalid SQL:
ALTER TABLE rank ADD rank_allowrecommend TINYINT( 1 ) DEFAULT 1 NOT NULL,ADD rank_pointvalue TINYINT( 3 ) DEFAULT 0 NOT NULL;

MySQL Error : Table 'vbb4.1.4.rank' doesn't exist
Error Number : 1146
Request Date : Tuesday, June 28th 2011 @ 04:42:20 AM
Error Date : Tuesday, June 28th 2011 @ 04:42:23 AM
Script : http://localhost/vbb4.1.4/admincp/pl...=productimport
Referrer : http://localhost/vbb4.1.4/admincp/pl...?do=productadd
IP Address : 127.0.0.1
Username : Admin
Classname : vB_Database
MySQL Version : 5.5.8
Reply With Quote
  #7  
Old 06-28-2011, 04:08 AM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kaspersku View Post
Oh dear, it can not be installed on vbb 4.1.4
When I installed the 4.1.4 database, then it fails, I try to install on localhost, it was like, you can explain ?
[S]I've only ran this on 4.1.3 and below per the info in the mod description: vB Version: 4.1.3[/S]

Edit: Works fine in 4.1.3 and 4.1.4 etc and this was due to MySQL version i.e. Type or Engine as pointed out by Ninjapaul - https://vborg.vbsupport.ru/showpost....4&postcount=33
Reply With Quote
  #8  
Old 06-28-2011, 04:56 AM
nacaruncr nacaruncr is offline
 
Join Date: Nov 2010
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so.... is the same as awards hack, right?
only a few changes.. the words, isn't it?
Reply With Quote
  #9  
Old 06-28-2011, 06:18 AM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nacaruncr View Post
so.... is the same as awards hack, right?
only a few changes.. the words, isn't it?
Bingo, so you can install this and use in conjunction w/ the Awards mod if your running a military or FPS gaming community etc etc same as it's been since we first converted Hachno's mod into the Ranks system pretty much, I simply used Cypher and Xan's code to make it easier on me to update since a few had requested it for 4.x .

In fact you could rename the Awards mod into well.. anything and use it like a badge/ribbon/award/rank whatever mod, it is marked as re-usable code after all .
Reply With Quote
Благодарность от:
nacaruncr
  #10  
Old 06-28-2011, 06:43 AM
nacaruncr nacaruncr is offline
 
Join Date: Nov 2010
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ohhh... it's awesome men, this is so good
Reply With Quote
2 благодарности(ей) от:
COL NIL SATIS, TheLastSuperman
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 02:19 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06906 seconds
  • Memory Usage 2,368KB
  • Queries Executed 26 (?)
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
  • (3)bbcode_code
  • (5)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
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (10)post_thanks_box
  • (17)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (6)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete