Logged Out
Create an Account
Login:
Password:

Forgot your password?
<!--System:IfRank:XXX-->

View Version History
The <!--System:IfRank--> command allows you to put rank-specific stuff on your layout. Everything between the <!--System:IfRank:X--> and <!--System:EndIfRank--> commands will be displayed if the user is rank X and above.

So, for example

<!--System:IfRank:1-->
	You are the super-administrator
<!--System:EndIfRank-->


The text "You are the super-administrator" only if you are Rank 1 (since there are no ranks above that).

Let's say that on the Ranks page, you have set up the following ranks:
RankIDRank Name
1Guild Master
2Officer
3Member
4Initiate
5Non-member

And if you have the following code:

<!--System:IfRank:3-->
	<div>
		<!--System:Countdown-->
	</div>
<!--System:EndIfRank-->


Then, the countdown to the next event will only show if you are ranked "Member" or above.

Incoming Guide Links
  • Layout File


  • Last Modified: 3/4/2008 10:17pm
    Contributors: Chops
    Easy Link
    BBCode Link: [guide=SystemIfRank][/guide]
    URL: http://dkpsystem.com/guide/SystemIfRank