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
-
- You are the super-administrator
-
<!--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:
RankID | Rank Name |
1 | Guild Master |
2 | Officer |
3 | Member |
4 | Initiate |
5 | Non-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.
Last Modified: 3/4/2008 10:17pm
Contributors:
Chops
Easy Link
BBCode Link: [guide=SystemIfRank][/guide]
URL: http://dkpsystem.com/guide/SystemIfRank
|