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
  #182  
Old 12-02-2012, 06:38 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 W2OE_Prodigy View Post
Anyone have an idea how to fix this error?

Fatal error: Cannot redeclare construct_depth_mark() (previously declared in /home/w2oe/public_html/ranks.php:97) in /home/w2oe/public_html/includes/adminfunctions.php on line 1922
https://vborg.vbsupport.ru/showpost....&postcount=118
Reply With Quote
  #183  
Old 01-02-2013, 12:22 PM
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Posts: 684
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try to store the CSS as files
admincp >> Settings >> Options >> Style & Language Settings >> Store CSS Stylesheets as Files? (Select "YES")

Results:
The <legend> is not working in postbit style
The default postbit style will be as same as (Style 2) where (Style 1) is not working. (There is no <legend>)

Any idea about how to fox this bug?
Reply With Quote
  #184  
Old 01-29-2013, 01:25 AM
Capt C Ray Capt C Ray is offline
 
Join Date: Sep 2011
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just installed this mod in version 4.2.0. It shows in the ACP panel and it is set to show the link in the navigation bar. But the tab is not there. Any suggestions?
Reply With Quote
  #185  
Old 03-19-2013, 10:16 PM
fishmaster fishmaster is offline
 
Join Date: Nov 2006
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

System working correctly but keep getting the below 2 errors when issuing awards.

Any idea on how to address them?

Warning: mysql_insert_id() [function.mysql-insert-id]: Access denied for user 'nobody'@'localhost' (using password: NO) in [path]/admincp/rank.php on line 594

Warning: mysql_insert_id() [function.mysql-insert-id]: A link to the server could not be established in [path]/admincp/rank.php on line 594
Reply With Quote
  #186  
Old 05-12-2013, 02:59 PM
fishmaster fishmaster is offline
 
Join Date: Nov 2006
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone have any ideas?

Warning: mysql_insert_id() [function.mysql-insert-id]: Access denied for user 'nobody'@'localhost' (using password: NO) in [path]/admincp/rank.php on line 594

Warning: mysql_insert_id() [function.mysql-insert-id]: A link to the server could not be established in [path]/admincp/rank.php on line 594

Works fine though..
Reply With Quote
  #187  
Old 06-06-2013, 05:28 AM
mobile4persian mobile4persian is offline
 
Join Date: Apr 2009
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how can i align styel 1 to center?

Reply With Quote
  #188  
Old 06-28-2013, 08:15 PM
mathforum mathforum is offline
 
Join Date: Nov 2005
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm trying to include the ranks with the normal postbit info - join date, post, etc. and tried using the following code:

<vb:if condition="$post[showuserranks]"><dt>Awards</dt><dd>$post[userranks]</dd></vb:if>

What I see is this:



Any ideas?
Reply With Quote
  #189  
Old 08-29-2013, 08:07 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 sadiq6210 View Post
Try to store the CSS as files
admincp >> Settings >> Options >> Style & Language Settings >> Store CSS Stylesheets as Files? (Select "YES")

Results:
The <legend> is not working in postbit style
The default postbit style will be as same as (Style 2) where (Style 1) is not working. (There is no <legend>)

Any idea about how to fox this bug?
You need to view the file "Default CSS Data.txt" within the .zip, make sure you have the correct layout chosen then add the matching css to your additional.css file and adjust to suite.

Style 1 is supposed to have the legend, are you saying it's not within your default style when using style 1 option or are you running a custom style where something might be conflicting? I'm assuming it was not showing becuase there was no ranks.css file present, adding to additional.css file should sort this though.


Quote:
Originally Posted by Capt C Ray View Post
I just installed this mod in version 4.2.0. It shows in the ACP panel and it is set to show the link in the navigation bar. But the tab is not there. Any suggestions?
4.2.0 uses the navigation manager, visit the plugin manager and disable the ranks tab, now use the navigation manager to add a new tab for this .

Quote:
Originally Posted by fishmaster View Post
Anyone have any ideas?

Warning: mysql_insert_id() [function.mysql-insert-id]: Access denied for user 'nobody'@'localhost' (using password: NO) in [path]/admincp/rank.php on line 594

Warning: mysql_insert_id() [function.mysql-insert-id]: A link to the server could not be established in [path]/admincp/rank.php on line 594

Works fine though..
Well at first it would read as if it was not connecting and/or you have incorrect config.php info however seeing as the forum works and this works minus the error I'm unsure unless you're on PHP 5.5 already but 5.5.0 released in June your post was from March and I know your host was not running a 5.5 release candidate so I'm unsure. It has been a while since I've had time to reply here so if your still running this and the issue is present let me know.

mysql_insert_id() is deprecated in php 5.5.0+ that is why it came to mind but again post date makes me think it was something else at the time.

Quote:
Originally Posted by mobile4persian View Post
how can i align styel 1 to center?

Off the top of my head... try adding this to additional.css OR replacing the definition in ranks.css template:

Code:
.ranks_legend {
float:none; text-align:center;
 }

Quote:
Originally Posted by mathforum View Post
I'm trying to include the ranks with the normal postbit info - join date, post, etc. and tried using the following code:

<vb:if condition="$post[showuserranks]"><dt>Awards</dt><dd>$post[userranks]</dd></vb:if>

What I see is this:



Any ideas?
That will not work, edit the appropriate template in the rank template of families based on what style for the ranks you have. AdminCP > Styles & Templates > Style Manager > Edit Templates > Yet Another Ranks System Templates
Reply With Quote
  #190  
Old 08-30-2013, 06:44 AM
friendlymela's Avatar
friendlymela friendlymela is offline
 
Join Date: Dec 2012
Location: Karachi, Pakistan
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This mod will work on 4.2.1?
Reply With Quote
  #191  
Old 08-30-2013, 10: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 friendlymela View Post
This mod will work on 4.2.1?
I see no reason why not, if you find an issue report promptly for a fix .
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 10:26 PM.


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.08023 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
  • (2)bbcode_code
  • (8)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