Icon Gener Male/female In Chatonline By Funmobile

Started on the old forum in May 2007 · view the original in the archive · old links redirect here

58 replies · 4,268 views · started 19 years ago · 1 min read

TL;DR · summary of 58 replies
  • - The fix was in the code provided by wizard, which needed to be placed in the online list section of the chat.php page.
  • - The code approach involved modifying the existing script to include a check for user sex (male/female) and display appropriate images/icons next to their names in the online list.
  • - It stayed unresolved for those who were trying to add male/female icons specifically for the RW script, as the provided code did not work for that particular setup.

Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.

10 participants
matthew26 Developer · 165 posts #2

same as online one mate just move things about

** visit my new forum wapsite on your mobile phone today.  wapfire.freehostia.com **

phoenix90 Developer · 113 posts #3

Im also looking for this script

phoenix90 Developer · 113 posts #5

Me? I want to add it to index.php = action=online

phoenix90 Developer · 113 posts #7

Thanks but Wolfy doesn't have any topics.. Maby it was deleted..

wizard Senior · 493 posts #11
while ($item = mysql_fetch_array($items))
    {
$fuckyou = mysql_fetch_array(mysql_query("SELECT sex FROM ibwf_users WHERE id='".$item[2]."'"));
if($fuckyou[0]=="1") {
$seximg = "<img src=\"images/male.gif\" alt=\"*\"/>";
}else if($fuckyou[0]=="2") {
$seximg = "<img src=\"images/female.gif\" alt=\"*\"/>";
}else{
$seximg = "wtf am i?";
}

      $lnk = "<a href=\"index.php?action=viewuser&who=$item[2]&ses=$ses\">$seximg$item[0]</a>";
      echo "$lnk - $item[1] 
";
    }
wizard Senior · 493 posts #13

i gave u d coding now im suppose to add it 4 u??????????????????????????????????????????????????????????????????????????????????????????????????????????????

amylee Principal · 1,092 posts #16

urgh! ffs why are you even running a site?, if you dont know how to maintain it! geezus...

Thank_You_Bot #18

<#thank#>

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close