how to add a custom rank to revcms

matthew1112

Member
Aug 6, 2010
57
9
hello i made a page for my revcms and would like to know how i can define giving them the rank the same as vip so example a rank 8 admin can be a dj without having to be rank 3
 

Lee_01

Active Member
Jun 28, 2012
116
32
PHP:
<div id="column2" class="column">

<div id="column2" class="column">
<div class="habblet-container ">
                <div class="box-content1">
                        <div class="cbb clearfix blue ">

                            <h2 class="title">Event Manager
                            </h2>
                        <div style="padding:5px">
                    <?php
$getash = mysql_query("SELECT look FROM users WHERE username = 'Lee'");
while($muslim2 = mysql_fetch_array($getash))
{
?>
<img style="vertical-align:top" src="http://www.habbo.it/habbo-imaging/avatarimage?action=crr=6&figure=<?php echo $muslim2['look']; ?>&size=b&direction=2&head_direction=3&gesture=sml&size=m" align="left"></img><?php } ?>
<br><a href="#"><b>Lee</b></a> - <i> <font color="grey">Event Manager</font></i><br> Lee is the Event Manager. He is in charge of the hiring and firing in event staff as well as organising different events.


</div></div></div></div>


Basic box which will fetch a specific person's username and their looks. Where it says 'Lee' replace with the desired username. And replace wherever it says Lee to whoever you want. You can edit the description too. But anyway it will make what's in the screenshot below;

508e9f6fcbe84c72a08de5740bccaadd.png


This doesn't have to be just for the Event Manager though, this can be for a DJ or user of the week or whatever use you want. Just change everything to what you want and it will fetch the user no matter what rank they are. And if you're any good at coding, you can also probably add online status, badge etc. but that's too much effort for me on a Sunday lol
 

Users who are viewing this thread

Top