It working, it working
yes, you dit it.
Is true the module is very old, and have much deprecated functions,
Question: How I solve the deprecated problems?
I add in the index.php the facebook icon, and the twiter icon and it working see it here TO SEE THE WORKING MODULE CLICK HERE
1. The only problem I gave, is the field of the facebook or ICQ field is to small,
I need a big field in the sql database.
2. it is necessary to fix the IP icon, so identifies the IP as text.
you can help to do that?
NEAR LINE 138
Quote:
if ($array_total_entry[$i]['icq'] !=""){
$entry[$i]['icq'] = "<a href='http://www.facebook.com/".$array_total_entry[$i]['icq']."'><img src='./images/icq.gif' alt='"._NAR_ICQ."' /></a>";
}
if ($array_total_entry[$i]['yim'] !=""){
$entry[$i]['yim'] = "<a href=http://edit.yahoo.com/config/send_webmesg?.target=".$array_total_entry[$i]['yim']."&.src=pg><img src='./images/yim.gif' alt='"._NAR_YIM."' /></a>";
}
if ($array_total_entry[$i]['aim'] !=""){
$entry[$i]['aim'] = "<a href=http://twitter.com/#!/".$array_total_entry[$i]['aim']."><img src='./images/aim.gif' alt='"._NAR_AIM."' /></a>";
}
if ($array_total_entry[$i]['msn'] !=""){
$entry[$i]['msn'] = "<a href=http://members.msn.com/?mem=".$array_total_entry[$i]['msn']."><img src='./images/msn.gif' alt='"._NAR_MSN."' /></a>";
}
if ($xoopsUser && $xoopsUser->isAdmin($xoopsModule->mid())) {
$entry[$i]['admin_option'] = "<p align='right'><img src='images/ip.gif' alt='".$array_total_entry[$i]["ip"]."'><a href='admin/index.php?op=editEntry&id=".$array_total_entry[$i]["id"]."'> <img src='images/edit.gif' alt='"._NAR_EDIT."' border='0' /></a><a href='admin/index.php?op=delEntry&id=".$array_total_entry[$i]["id"]."'> <img src='images/del.gif' alt='"._NAR_DELETEPOST."' border='0' /></a></p>";
}