Online user with avatar,
Collapse
X
-
Originally posted by arg0s12 View Posti see your thread but my needed is see the online user with avatar in mainpage even your not logged-in..
Leave a comment:
-
Sorry bro, heres the code, thread of sir rider,
for forums
for 1st Post !
index.php action="viewtpc".
(after
Code:$unick = getnick_uid($ttext[0]);
add this
Code:$uid =$ttext[0]; $avatar = getavatar($uid); if ($avatar=="") { echo"<img src=\"images/nopic.jpg\" width=\"32\" height=\"32\" alt=\"avatar\"/>"; }else{ echo"<img src=\"$avatar\" width=\"32\" height=\"32\" alt=\"avatar\"/>"; }
find and add after
Code:$unick = getnick_uid($post[2]);
Code:$uid =$post[2]; $avatar = getavatar($uid); if ($avatar=="") { echo"<img src=\"images/nopic.jpg\" width=\"32\" height=\"32\" alt=\"avatar\"/>"; }else{ echo"<img src=\"$avatar\" width=\"32\" height=\"32\" alt=\"avatar\"/>";
Leave a comment:
-
if u look at some of my posted scripts ull find it or even in the list of lava mods on here
Leave a comment:
Leave a comment: