Thank you for taking the time to look into this IBBoard and responding. I will try reinstalling the mod and see if I may have messed something up. I had to deviate slightly from your instructions to accomodate the progress bar mod. Perhaps you’re right and I had inadvertantly nested your changes where I shouldn’t have.IBBoard wrote:I can't guarantee that this mod will be compatible with other mods, but I've just had a quick look at the other mod for you.
The other mod doesn't alter the members list, so it sounds like your mod hasn't been applied properly. Either that or there is something else that is affecting the mod and stopping it working properly because it changes the same areas. I don't know what other mods you may have installed, though.
As for the progress bars not showing up, you'll need to make sure that you merge the two sets of template changes correctly. The most obvious cause of what you describe is that the additions from the other mod have been caught within a section of template from this mod that only shows up when someone has an extra rank.
Code: Select all
// Rank progress bar mod [+]
$rank_level = rank_level($user_cache[$poster_id]['posts'], $user_cache[$poster_id]['rank_title']);
if ( ($rank_level[0] != 0) )
{
$rank_level = round(($user_cache[$poster_id]['posts'] - $rank_level[1]) / ($rank_level[0] - $rank_level[1]) * 100);
}
else
{
$rank_level = 0;
}
// Rank progress bar mod [-]
// Rank progress bar mod [+]
'RANK_LEVEL' => $rank_level,
'RANK_LEVEL_SIZE' => $rank_level * 2,
'RANK_SHOW_LEVEL' => ($rank_level > 0) ? true : false,
// Rank progress bar mod [-]
Code: Select all
if (defined('SHOW_SPECIAL_AS_EXTRA') && SHOW_SPECIAL_AS_EXTRA)
{
$user_cache[$poster_id]['extra_rank_title'] = $user_cache[$poster_id]['rank_title'];
$user_cache[$poster_id]['extra_rank_image'] = $user_cache[$poster_id]['rank_image'];
$user_cache[$poster_id]['extra_rank_image_src'] = $user_cache[$poster_id]['rank_image_src'];
$user_cache[$poster_id]['rank_title'] = $user_cache[$poster_id]['rank_image'] = $user_cache[$poster_id]['rank_image_src'] = '';
get_user_additional_rank($row['user_rank'], $row['user_posts'], $user_cache[$poster_id]['rank_title'], $user_cache[$poster_id]['rank_image'], $user_cache[$poster_id]['rank_image_src']);
}
else
{
get_user_additional_rank($row['user_rank'], $row['user_posts'], $user_cache[$poster_id]['extra_rank_title'], $user_cache[$poster_id]['extra_rank_image'], $user_cache[$poster_id]['extra_rank_image_src']);
}
Code: Select all
<!-- IF postrow.RANK_TITLE or postrow.RANK_IMG --><dd><br />{postrow.RANK_IMG}</dd>
<!-- ENDIF -->
<!-- IF postrow.EXTRA_RANK_TITLE or postrow.EXTRA_RANK_IMG --><dd>{postrow.EXTRA_RANK_IMG}</dd>
<!-- ENDIF -->
<!-- IF postrow.RANK_SHOW_LEVEL --><dd style="padding-left:5px; padding-top:2px;"><div style="text-align:left; display:block; height:3px; width:80px; border:1px solid #DACDA5;"><div style="font-size:0; height:3px; width:{postrow.RANK_LEVEL_SIZE}px; background: url('images/progress.jpg') no-repeat;"></div></div></dd><!-- ENDIF -->
Hey I know who can beta test it!!!IBBoard wrote:Being a techy/programmer, I'm working on an easier solution for this: Make a new, cleaner, more efficient and more feature-filled version of the "progress bar" mod myself I'm hoping to get an initial copy out tonight and it'll have a set of instructions to integrate the two mods.
Hiya,whoisit wrote: Would like to ask how I can remove the text above the rank?
Code: Select all
<!-- IF postrow.RANK_TITLE -->
<tr>
<td class="postdetails">{postrow.RANK_TITLE}</td>
</tr>
<!-- ENDIF -->
Too true for me anyway!!youngjediknight wrote: I’ve never actually used Subsilver based themes though but in general, it never hurts to dabble around inside the files – you might find accomplishing certain things are more straightforward than you think.
Although the opposite can be true too haha.