Nice I made a edit, its not rilly hard but o well, I made it
(tested in default_ex on 1.0.5 rc1)
check my screenshot
this is what I did
in message.php
beneath
| Code: |
<div class = "viewcover">
<?php
if ($msg_userrankimg) {
echo $msg_userrankimg;
}
?>
</div>
|
add
| Code: |
<!-- USER BADGES edit made by NLkaiser -->
<!-- <div align="center" style="margin-top:5px; margin-bottom:5px;"> -->
<div class = "viewcover">
<?php
if ($ugid == 19){
echo '<img src="components/default/images/english/ranks/author_image.gif">';
}elseif ($ugid == 20){
echo '<img src="components/com_fireboard/template/default/images/english/ranks/editor_image.gif">';
}elseif ($ugid == 21){
echo '<img src="components/com_fireboard/template/default_ex/images/dutch/ranks/publisher_image.gif">';
}elseif ($ugid == 25){
echo '<img src="components/com_fireboard/template/default/images/english/ranks/admin_image.gif">';
}
if ($uIsMod){
echo '<img src="components/com_fireboard/template/default/images/english/ranks/rankmod.gif">';
}
?>
<!-- USER BADGES edit made by NLkaiser -->
|
Don't forget to change the user type numbers and locations of the gif files
the last part is to gif a mod a mod picture and the 1st part is just the normal
then go to
view.php and find
| Code: |
if ($uIsMod and !$showSpRank)
{
$rText = _RANK_MODERATOR;
$rImg = JB_URLRANKSPATH . 'rankmod.gif';
}
if ($uIsAdm and !$showSpRank)
{
$rText = _RANK_ADMINISTRATOR;
$rImg = JB_URLRANKSPATH . 'rankadmin.gif';
}
|
and change it to (or just remove it)
| Code: |
/*if ($uIsMod and !$showSpRank)
{
$rText = _RANK_MODERATOR;
$rImg = JB_URLRANKSPATH . 'rankmod.gif';
}
if ($uIsAdm and !$showSpRank)
{
$rText = _RANK_ADMINISTRATOR;
$rImg = JB_URLRANKSPATH . 'rankadmin.gif';
} */
|
This will gif the admin and mod not auto an mod / admin image
the mods and admins that you now have will still have that image but that can easy be changed in the firaboard admin
