I Need Pm Alert & Lastpost Script
Started on the old forum in August 2007 · view the original in the archive · old links redirect here
I badly need pm alert & last post script for my forum community.is here anybody to help me pls?
<? //LAST POST BY KISS $lpt = mysql_fetch_array(mysql_query("SELECT id, name FROM ibwf_topics ORDER BY lastpost DESC LIMIT 0,1")); $nops = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_posts")); if($nops[0]==0) { $pinfo = mysql_fetch_array(mysql_query("SELECT authorid FROM ibwf_topics")); $tluid = $pinfo[0]; }else{ $pinfo = mysql_fetch_array(mysql_query("SELECT uid FROM ibwf_posts ORDER BY dtpost DESC LIMIT 0, 1")); $tluid = $pinfo[0]; } $tlnm = htmlspecialchars($lpt[1]); $tlnick = getnick_uid($tluid); $format_link = ucwords(strtolower($tlnm)); $tpclnk = "><a href=\"index.php?action=viewtpc&sid=$sid&tid=$lpt[0]&go=last\">$format_link</a>"; echo "$tpclnk "; //END OF LAST POST ?>
then add this everywhere in the script include('lastpost.php'); External image (may be gone) enjoy
www.inbuzunar.mobi -Your mobile portal pocket
<? //LAST POST BY KISS $lpt = mysql_fetch_array(mysql_query("SELECT id, name FROM ibwf_topics ORDER BY lastpost DESC LIMIT 0,1")); $nops = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_posts")); if($nops[0]==0) { $pinfo = mysql_fetch_array(mysql_query("SELECT authorid FROM ibwf_topics")); $tluid = $pinfo[0]; }else{ $pinfo = mysql_fetch_array(mysql_query("SELECT uid FROM ibwf_posts ORDER BY dtpost DESC LIMIT 0, 1")); $tluid = $pinfo[0]; } $tlnm = htmlspecialchars($lpt[1]); $tlnick = getnick_uid($tluid); $format_link = ucwords(strtolower($tlnm)); $tpclnk = "><a href=\"index.php?action=viewtpc&sid=$sid&tid=$lpt[0]&go=last\">$format_link</a>"; echo "$tpclnk "; //END OF LAST POST ?>then add this everywhere in the script include('lastpost.php'); External image (may be gone) enjoy
LAST POST BY KISS????? God blees u dude....
but isnt tht lil bit freakin untrue????????????
i also found last post with wappy copyrights on it lmao and its excatly the same as this 1 lololololololololol
btw i've put this code sumwhr around here, but ugh hey how did i 4got 2 put LAST POST BY ALESH on it lmFao
eeeeerrr....
LAST POST BY KISS????? God blees u dude....
but isnt tht lil bit freakin untrue????????????
i also found last post with wappy copyrights on it lmao and its excatly the same as this 1 lololololololololol btw i've put this code sumwhr around here, but ugh hey how did i 4got 2 put LAST POST BY ALESH on it lmFao
it true but i only make copy and paste from my script to this part and post here External image (may be gone)
www.inbuzunar.mobi -Your mobile portal pocket
i think kiss is a real coder and dont need to copy External image (may be gone)