vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - Innovative Ranks System (https://vborg.vbsupport.ru/showthread.php?t=193822)

TheLastSuperman 10-16-2008 10:00 PM

Innovative Ranks System
 

For Version 3.7.3, Please use this link --> Click Here

This is a Ranks System designed for VBulletin 3.6.8 & 3.7.3 PL1, it may work for other versions but It has not been verified so respectfully - Backup your Database before attempting, a wise Forum Admin always does a backup no matter how bothersome before trying a mod/hack.

Hack Version: 0.0.2
Compatible vB version: 3.6.8 , 3.7.3 PL1

DESCRIPTION:
This is a 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 ACP
- 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
- Options to set number of ranks displayed in postbit
- Options to turn on/off showing rank icon, images, rank requests in ranks list, ranks icons in memberlist
- Options to re-order ranks in postbit and member's profile
>Order by issued time (newest first)
>Order by issued time (oldest first)
>Order by Rank Order (ASC)
>Order by Rank Order (DESC)
- Option to set rank in-active. Inactive ranks will not be listed in rank list.
However, it will still be displayed in user's profile, if member has the rank.
- Option to set "Request Rank" option for each rank. (Need "Show request rank column" option ON to see the request link)
- Set custom usergroup permission, to set which group can request rank (access request rank page)
- Option to limit maximum number of users for each rank displayed in ranks list
- Change rank_request options, all options are set in AdminCP, template and phrase based. Totally customizable
- Option to send PM to use when he receives an rank.

Front page
- 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)
- Display limit ranks in postbit, with total ranks, and a link to ranks showcase in

Member profiles.
- Rank request, link to a form sending to email/PM/new thead or post (based on Dr Erwin Loh's Form hack)
- Display rank on Memberlist page (by trulylowcarb)
- Display individual rank with name of members who receive the rank


CHANGES/MODIFICATION:
(Manual i.e. "To Do")
- Files to add: 6 (/ranks.php, /rank_request.php, /admincp/rank.php, /admincp/rank_cat.php, /includes/xml/postbbit_ranks.xml, /includes/xml/cpnav_ranks.xml)
- Templates to edit: 5 (MEMBERINFO, postbit, postbit_legacy, memberlist, memberlist_resultsbit)

(Optional i.e. If you want thread posted based one-click approval)
- Add 1 New BBCode, see INSTALL.txt

(Automatic)
- Templates to add: 9 ('RANKS','ranks_rankbit','ranks_rankusers_bit','ra nks_bit','ranks_userranks_bit','ranks_category','r anks_categorybit', 'ranks_request_form', 'ranks_request_formanswers')
- Phrases to add: xxx
- Tables to add: 3 (rank, rank_user, rank_cat)



DIFFICULTY:
Easy
Time: about 2 minutes
Installer is included

HISTORY:
2008.10.15: Version 0.0.1 Created
2008.10.19: Updated to Version 0.0.2

IMPORTANT:
- BACKUP modified files and templates before making changes.
- Backup database is recommended.

DONATIONS:
YARS is free, but a donation of any amount is much appreciated.

INSTALL: Read INSTALL.txt

This mod was developed from the YAAS - Yet Another Awards System mod by Hancho! You can find out all about it here --> Click Here <-- :) Great mod, please see his listed credits so everyone who has lead up to this variation can be honored!

Developed by Kristof aka JurGradi, a recently retired administrator of Tournament Gaming World and a good friend of mine for almost a year now, He is a brilliant web guru who has surprised me at every turn with his vast knowledge of well... everything! Most certainly TheLastSuperman's.... Superman!

Install instructions and everything you need should be in the zip, read it carefully and take your time, this works and has been tested on http://www.tournamentgamingworld.com/online in several styles. Some of the guru's out there can tweak it more to suit their tastes all we ask is credit where credit is due i.e. how we listed where the idea came from.

For questions or Support please post below and I'll attempt to help you in any way I can even buggin' JurGradi on occasion however he has included an installer which I have repackaged via .zip therefor it has all the required files in the zip plus the same content in an installer form included as well so choose your method!

If you like it click install and be sure to check out the Yet Another Awards System by Hancho!

Special thanks to my friend JurGradi for his development of Yet Another Ranks System!

*The General Stars are the mod* ignore the custom image I inserted via html in the user title area... I need to remove it now lol!

Update: Uploaded YARSRANKS.zip which contains ranks for tournaments/clans/gaming sites to use with Yet Another Ranks System, themes are for Battlefield 2142 & Call of Duty 4! Special thanks to Called for the graphics!

*Attention* Please view the first page as the 2nd and 3rd post were reserved and contain additional information.

TheLastSuperman :rolleyes:
http://www.innovationbyinstinct.com

Old Statistics:
File Type: YARS.0.0.2.1.zip (42.9 KB, 27 downloads)
File Type: YARSRANKS.zip (420.4 KB, 11 downloads)
File Type: YARS.0.0.2.zip (42.6 KB, 7 downloads)
File Type: Update.0.0.2-1.zip (7.1 KB, 3 downloads)

TheLastSuperman 10-17-2008 01:24 AM

The Rank System is a variation of the Awards System by Hancho, it will work with the Awards Mod 100% as seen in the screenshots (See the admin panel screen shot, the Awards Mod is listed below the Ranks mod!).
  • If you have any request for additional screenshots please post and I will post them ASAP.
  • If you attempt this in another version and it works correctly please post below that you have it installed and which version you are running it on.
  • APPROVED: 10.18.2008 (YARSRANKS.zip uploaded, please see update notice!) Upon approval from our Development Team Leader - If the demand is high, Tournament Gaming World will release pre-made Ranks for gaming sites related to Battlefield 2142 & Call of Duty 4.
  • Upon approval from our Development Team Leader - If the demand is high, Tournament Gaming World will release pre-made Awards for gaming sites related to Battlefield 2142 & Call of Duty 4 for use with Yet Another Awards System mod by Hancho.

TheLastSuperman 10-17-2008 01:24 AM

Version Updates:

10/19/2008 - Updated to version 0.0.2, Optional BB Code in Install.txt IF you want to approve ranks by a simple click! this must be setup via the options with correct thread ID's etc. After setup when a member request an award it post the request to a new thread (the one you specified) and then simply click the Approve link to do so. The post will then be "soft deleted" and as for the user, check their profile ;).

General Updates:

10/21/2008 - Updated rank.php which is located in admincp folder. Please Download "Update.0.0.2-1.zip" and install in your admincp folder - without it you will receive a DB error in your admincp which will not allow you to remove a previous rank. Once you have updated, you can remove the previous ranks with success! Sorry for the coding error and thanks for using YARS!

Template Change Updates:

10/25/2008 - Updated w/ alternate code for postbit for a different display option!

Example:

In the screenshot provided, the normal way to display can be the Rank along w/ a border and title saying "Ranks Showcase" now if you want to display as just the image w/o a border as seen in the darker style screenshot - When you edit template "postbit" do not follow the normal instructions, follow these! (Or simply remove the old code version and follow info below!

Find:

Code:

                        <if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>
Add Below:

Code:

<!-- show ranks -->
<if condition="$post[showuserranks]">
<!-- <fieldset><legend><a href="member.php?u=$post[userid]#rank" title="$vbphrase[more_ranks]">$vbphrase[rank_showcase]</a></legend>  -->
<td class="alt2">
<div>
$post[userranks]
<!-- <br> -->
<!-- <a href="member.php?u=$post[userid]#rank" title="$vbphrase[more_ranks]">$vbphrase[total_ranks]</a>: $post[num_ranks] -->
</div>
</td>
<!-- </fieldset> -->
</if>
<!-- /show ranks -->


vip-q.com 10-17-2008 01:52 PM

thanks for this mod it's very cool

I hope to add one for 3.7.3

thanks :)

TheLastSuperman 10-17-2008 02:13 PM

No problem! After I asked JurGradi to prepare the mod for release he had it up ASAP!

Great coder and friend of mine.

The mod may already work for 3.7.3 however it has not been tested so please do a Database backup before attempting :), it is very useful in a Tournament Style site i.e. TGW hosts a 2142 & COD4 Tournament which allows us to pass out awards to members of both and also now, Ranks to those who participate in both!

We only want this to be helpful, useful, and worth the install ;)

S-MAN

RedeemedWarrior 10-17-2008 02:31 PM

So is this the awards system with the word Award replaced globally and internally with rank?

TheLastSuperman 10-17-2008 02:35 PM

Quote:

Originally Posted by RedeemedWarrior (Post 1647046)
So is this the awards system with the word Award replaced globally and internally with rank?

Basically yes but technically no - Jur reworked it to be separate and therefor both mods still work and retain their individuality and database differences plus the location of the image or showcase is different however if you are familiar w/ VB code it can be changed around to display in another location in postbit or if you use postbit_legacy. If it were just the same w/ words replaced it would not have two options in admincp i.e. separate areas for Ranks System & Awards System as seen in the admincp screenshot.

Basically at TGW in our sponsored Tournaments we have it to where you recieve awards after good performance on battledays which can be 1-5 to 10 or however many you deserve via your Captain or Command Staff... so we wanted a separate area to display their army rank so it would not get lost in all the awards ;).

Is that what you were wondering? Let me know if any of it was unclear or you require more info.

S-MAN

RedeemedWarrior 10-17-2008 02:39 PM

Just curious :)

TheLastSuperman 10-17-2008 05:02 PM

Quote:

Originally Posted by RedeemedWarrior (Post 1647054)
Just curious :)

No problem! It says supported eh? ;)

lol ohh and just remember even if it killed the cat, there's 8 more lives after the first :D

TheLastSuperman 10-18-2008 03:48 AM

Uploaded Ranks for use with YARS! Please see update notice and new file for DL.


All times are GMT. The time now is 02:29 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.01210 seconds
  • Memory Usage 1,781KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete