Code: Select all
#
#-----[ FIND ´M§ä ]------------------------------------------
#
<tr>
<td valign="top" align="right" nowrap="nowrap"><span class="gen">{L_INTERESTS}:</span></td>
<td> <b><span class="gen">{INTERESTS}</span></b></td>
</tr>
#
#-----[ AFTER, ADD ¤§«á¥[¤J ]------------------------------------------
#
<!-- [BEGIN LEVEL MOD] -->
<tr>
<td align="right" valign="top" nowrap="nowrap" class="explaintitle"><span class="postdetails">Level/Skill Ratio: </span></td>
<td><b><span class="gen">{LEVEL}/{LEVEL_SKILLRATIO}</span></b></td>
</tr>
<tr>
<td align="right" valign="top" nowrap="nowrap" class="explaintitle"><span class="postdetails">Class: </span></td>
<td><b><span class="gen">{LEVEL_CLASSNAME}</span></b></td>
</tr>
<tr>
<td align="right" valign="top" nowrap="nowrap" class="explaintitle"> </td>
<td>
<span class="postdetails"> </span>
<table width="143" border="0" cellpadding="0" cellspacing="0" style="background-image:url(templates/subSilver/images/level_mod/lm_bkg.gif)">
<tr>
<td><img src="images/spacer.gif" alt="" width="31" height="49" /></td>
<td width="100%">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/spacer.gif" alt="" width="20" height="6" /></td>
</tr>
<tr>
<td><img src="templates/subSilver/images/level_mod/lm_hp_bar.gif" alt="{HP}" title="{HP}" width="{HP_WIDTH}" height="9" /><img src="templates/subSilver/images/level_mod/lm_hp_bar_end.gif" alt="" width="4" height="9" /></td>
</tr>
<tr>
<td><img src="images/spacer.gif" alt="" width="20" height="4" /></td>
</tr>
<tr>
<td><img src="templates/subSilver/images/level_mod/lm_mp_bar.gif" alt="{MP}" title="{MP}" width="{MP_WIDTH}" height="9" /><img src="templates/subSilver/images/level_mod/lm_mp_bar_end.gif" alt="" width="4" height="9" /></td>
</tr>
<tr>
<td><img src="images/spacer.gif" alt="" width="20" height="4" /></td>
</tr>
<tr>
<td><img src="templates/subSilver/images/level_mod/lm_exp_bar.gif" alt="{EXP}" title="{EXP}" width="{EXP_WIDTH}" height="9" /><img src="templates/subSilver/images/level_mod/lm_exp_bar_end.gif" alt="" width="4" height="9" /></td>
</tr>
<tr>
<td><img src="images/spacer.gif" alt="" width="20" height="8" /></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<!-- [END LEVEL MOD] -->
Code: Select all
"POSTER_HP" => $level_hp,
"POSTER_HP_WIDTH" => $level_hp_percent,
"POSTER_HP_EMPTY" => ( 100 - $level_hp_percent ),
"POSTER_MP" => $level_mp,
"POSTER_MP_WIDTH" => $level_mp_percent,
"POSTER_MP_EMPTY" => ( 100 - $level_mp_percent ),
"POSTER_EXP" => $level_exp,
"POSTER_EXP_WIDTH" => $level_exp_percent,
"POSTER_EXP_EMPTY" => ( 100 - $level_exp_percent ),
"POSTER_LEVEL" => $level_level,
"POSTER_LEVEL_CLASSNAME" => $level_classname,
"POSTER_LEVEL_SKILLRATIO" => $level_skillratio,
Code: Select all
POSTER_LEVEL; POSTER_LEVEL_SKILLRATIO; POSTER_LEVEL_CLASSNAME etc...
Code: Select all
'HP' => $level_hp,
'HP_WIDTH' => $level_hp_percent,
'HP_EMPTY' => ( 100 - $level_hp_percent ),
'MP' => $level_mp,
'MP_WIDTH' => $level_mp_percent,
'MP_EMPTY' => ( 100 - $level_mp_percent ),
'EXP' => $level_exp,
'EXP_WIDTH' => $level_exp_percent,
'EXP_EMPTY' => ( 100 - $level_exp_percent ),
'LEVEL' => $level_level,
'LEVEL_CLASSNAME' => $level_classname,
'LEVEL_SKILLRATIO' => $level_skillratio,
Code: Select all
LEVEL; LEVEL_SKILLRATIO; LEVEL_CLASSNAME etc
Code: Select all
// Are we in profile or viewtopic?
$trash = $_SERVER['SCRIPT_NAME'];
$lpos = strrpos($trash,"/") + 1;
$rpos = strpos($trash, ".php");
$trash = substr($trash,$lpos,($rpos-$lpos));
if ($trash == 'profile') {
$profileversion = true;
} else {
$profileversion = false;
}
if ($profileversion) {
if($profiledata['user_posts'] < 1) {
$level_level = 0;
} else {
$level_level = floor( pow( log10( $profiledata['user_posts'] ), 3 ) ) + 1;
}
} else {
if($postrow[$i]['user_posts'] < 1) {
$level_level = 0;
} else {
$level_level = floor( pow( log10( $postrow[$i]['user_posts'] ), 3 ) ) + 1;
}
}
deny wrote: I tried but without any luck!!
It is in fact simple problem and only visible if someone click on profile from the user but...
Thanks anyway for trying to fix it!!