Problem with the new install file multiple_ranks.xml....
1-I found a typo:
Code: Select all
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
Code:Select All
<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>],
should be this ( the last 2 characters ], shouldn't be there. )
Code: Select all
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
Code:Select All
<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>
and in "member_list.php"
Code: Select all
Find
Tip: This may be a partial find and not the whole line.
Code:Select All
get_user_rank($data['user_rank'], $data['user_posts'], $rank_title, $rank_img, $rank_img_src);
Add before
Tip: Add these lines on a new blank line before the preceding line(s) to find.
Code:Select All
//multiple ranks mod by Goz
$rank_title = $rank_img = $rank_img_src = $rank2_title = $rank2_img = $rank2_img_src = $rank3_title = $rank3_img = $rank3_img_src = '';
if we execute this properly it would give use this
Code: Select all
$rank_title = $rank_img = $rank_img_src = '';
//multiple ranks mod by Goz
$rank_title = $rank_img = $rank_img_src = $rank2_title = $rank2_img = $rank2_img_src = $rank3_title = $rank3_img = $rank3_img_src = '';
I wonder if the ****$rank_title = $rank_img = $rank_img_src = '';**** is supposed to be redundant? it seems to me that we are using it twice that way??
-------------------------------------------------------
these 2 problems do not affect the MOD as it work fine with it at the exception of the **** ], *** that only cause a problem of look.