Topic: [mod] online/offline img
--------
// 1 //
--------
upload to your style directory
online.png
offline.png
--------
// 2 //
--------
open anythingstyle_cs.css
find:
.brd .online .userstatus span
replace with:
.brd .online .userstatus span {
border:0;
background-image:url(online.png);
background-repeat:no-repeat;
background-position:right;
width:110px;
height:18px;
margin-left:-71px; /* adjust this if the online text still showing up */
}
.brd .offline {
border:0;
/* start - remove this line if the offline img doesnt show
background:url(offline.png);
end - remove this line */
background-repeat: no-repeat;
background-position:right;
width:118px;
height:18px;
margin-left:-70px; /* adjust this if the offline text still showing up */
}
--------
// 3 //
--------
open viewtopic.php
find: (line 345)
$forum_page['author_ident']['status'] = '<li class="userstatus"><span
class="offline">'.$lang_topic['Offline'].'</span></li>';
replace with:
$forum_page['author_ident']['status'] = '<li class="userstatus"><div class="offline" style="background:url(offline.png); background-repeat:no-repeat; background-position:right;"><span class="offline">'.$lang_topic['Offline'].'</div></span></li>';
save, close. end