Code: Select all
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/emperor/public_html/forum/includes/acp/acp_users.php on line 1572
Code: Select all
$template->assign_vars(array(
'S_RANK' => true,
'S_RANK_OPTIONS' => $s_rank_options,
//multiple ranks mod by Goz
'S_RANK2' => true,
'S_RANK2_OPTIONS' => $s_rank2_options,
'S_RANK3' => true,
'S_RANK3_OPTIONS' => $s_rank3_options
'S_RANK4' => true,
'S_RANK4_OPTIONS' => $s_rank4_options
'S_RANK5' => true,
'S_RANK5_OPTIONS' => $s_rank5_options
'S_RANK6' => true,
'S_RANK6_OPTIONS' => $s_rank6_options
'S_RANK7' => true,
'S_RANK7_OPTIONS' => $s_rank7_options
'S_RANK8' => true,
'S_RANK8_OPTIONS' => $s_rank8_options
'S_RANK9' => true,
'S_RANK9_OPTIONS' => $s_rank9_options)
);
Can you please point me in that direction, I really need that mod. Then I might add this one later for other special ranks.Goztow wrote:someone already made a mod to link it to groups.
Yes, it keeps the post rank/normal rank.Jaga wrote:I really could use this mod, as I have tons of different and special ranks to hand out, but I would really like to keep the display of the post rank as well.
Code: Select all
<!-- ELSEIF S_RANK -->
<form id="user_prefs" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_ACP_USER_RANK}</legend>
<dl>
<dt><label for="user_rank">{L_USER_RANK}:</label></dt>
<dd><select name="user_rank" id="user_rank">{S_RANK_OPTIONS}</select></dd>
<dt><label for="user_rank2">User rank 2:</label></dt>
<dd><select name="user_rank2" id="user_rank2">{S_RANK2_OPTIONS}</select></dd>
<dt><label for="user_rank3">User rank 3:</label></dt>
<dd><select name="user_rank3" id="user_rank3">{S_RANK3_OPTIONS}</select></dd>
<dt><label for="user_rank4">User rank 4:</label></dt>
<dd><select name="user_rank4" id="user_rank4">{S_RANK4_OPTIONS}</select></dd>
<dt><label for="user_rank5">User rank 5:</label></dt>
<dd><select name="user_rank5" id="user_rank5">{S_RANK5_OPTIONS}</select></dd>
</dl>
</fieldset>
<fieldset class="quick">
<input class="button1" type="submit" name="update" value="{L_SUBMIT}" />
{S_FORM_TOKEN}
</fieldset>
</form>