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
  #72  
Old 10-22-2011, 03:40 PM
CharlieDelta CharlieDelta is offline
 
Join Date: Apr 2010
Posts: 616
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Nuker_Viper View Post
i have had the same problem so this is what i did:
Since i use the ranks for my clan members only and they can only have 1 rank at a time; i disabled the following in the Plugin Manger:

YARS in Member Profile - Cache Templates
YARS in Member Profile - Init
YARS in Member Profile - Profile

I also replaced $vbphrase[rank_description] the text "Description" with "Rank Duties"
And sme rank settings: userinfo_left and style 3 so that it just uses the icon. Disabled the image in the display. So no need to upload an image - just an icon.

This will disable the tab in your profiles but keep the postbit intact. Just make sure your postbit i set to at least 1 and it is active.
Thanks for the input Viper.:up: This may come in handy in the future.
I was able to get everything working as it should. I think there must have been some code missing in the awards mod. I re-edited the templates and plugins as described on the thread by another user and that seemed to do the trick.
Reply With Quote
  #73  
Old 10-23-2011, 04:11 AM
MalluParadise MalluParadise is offline
 
Join Date: Oct 2008
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

working on 4.1.7?
Reply With Quote
  #74  
Old 10-23-2011, 05:59 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 MalluParadise View Post
working on 4.1.7?
https://vborg.vbsupport.ru/showpost....5&postcount=65
Reply With Quote
  #75  
Old 10-23-2011, 09:16 AM
djpatch djpatch is offline
 
Join Date: Feb 2009
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Getting this error when I try to go to the ranks page. Using Vb 4.1.7.
Deprecated: Assigning the return value of new by reference is deprecated in forum\ranks.php on line 46
Reply With Quote
  #76  
Old 10-23-2011, 03:44 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 djpatch View Post
Getting this error when I try to go to the ranks page. Using Vb 4.1.7.
Deprecated: Assigning the return value of new by reference is deprecated in forum\ranks.php on line 46
More than likely it's due to your PHP version i.e. 5.3.x for now simply edit ranks.php and find:

Code:
$bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
Replace with:

Code:
$bbcode_parser = new vB_BbCodeParser($vbulletin, fetch_tag_list());
Save & re-upload the file, error should be gone, it's the =& that's causing all the fuss .
Reply With Quote
  #77  
Old 10-24-2011, 07:56 AM
hanhdn hanhdn is offline
 
Join Date: Aug 2011
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi TheLastSuperman ,
I can't not open http://srsc.com.vn/forum/ranks.php it show error:
This webpage is not available
The webpage at http://srsc.com.vn/forum/ranks.php might be temporarily down or it may have moved permanently to a new web address.
With recommend_rank.php and request_rank.php work fine
I'm sure that the url corrected

(my forum using vbb4.08 platform)
Reply With Quote
  #78  
Old 10-26-2011, 12:52 PM
gamersplatoon gamersplatoon is offline
 
Join Date: Oct 2011
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm having a header problem after i installed a fixed forum ,the ranks tab gets automatically fluid and it messes up the whole header and page width..
here is a screenshots,
i need help.

http://imageshack.us/f/694/19490726.png/
http://imageshack.us/f/225/94262547.png/

vb version 4.1.7

Please HELP ASAP>.
Reply With Quote
  #79  
Old 10-27-2011, 12:26 PM
SN1PERCITY SN1PERCITY is offline
 
Join Date: Apr 2011
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Database error in vBulletin 4.1.6:

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 : Duplicate column name 'rank_allowrecommend'
Error Number : 1060
Request Date : Thursday, October 27th 2011 @ 06:24:47 AM
Error Date : Thursday, October 27th 2011 @ 06:24:48 AM
Script : http://www.*******************/admin...=productimport
Referrer : http://www.******************/adminc...?do=productadd
IP Address : **.***.*.*****
Username : BIGADMIN
Classname : vB_Database
MySQL Version : 5.0.92-community-log

this is what im getting
Reply With Quote
  #80  
Old 10-31-2011, 01:10 AM
MalluParadise MalluParadise is offline
 
Join Date: Oct 2008
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ranks.php is fixed in 4.1.7 ?
Reply With Quote
  #81  
Old 10-31-2011, 05:55 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 SN1PERCITY View Post
Database error in vBulletin 4.1.6

this is what im getting
I believe it's the last part of the install code for 3.8.3 version... will update if need be upon further review, will be in the new version though .

Quote:
Originally Posted by MalluParadise View Post
ranks.php is fixed in 4.1.7 ?
Yes unless you are on PHP 5.3 then see here:
https://vborg.vbsupport.ru/showpost....1&postcount=75
Reply With Quote
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 11:38 PM.


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.09826 seconds
  • Memory Usage 2,367KB
  • 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
  • (6)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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (6)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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_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