PM Alert Script
I Need Pm Alert & Lastpost Script
Collapse
X
-
GuestTags: None
-
linkrx7
all this stuff has been posted here several times if u bothered to look u would find them instead of wasting space and time
-
ibro9801 -
-----------------------------------I badly need pm alert & last post script for my forum community.is here anybody to help me pls?[/b]
<?
//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&t id=$lpt[0]&go=last\">$format_link</a>";
echo "$tpclnk
";
//END OF LAST POST
?>
then add this everywhere in the script include('lastpost.php');
enjoy
www.inbuzunar.mobi - Your mobile portal pocket
Comment
-
-----------------------------------
<?
//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&t id=$lpt[0]&go=last\">$format_link</a>";
echo "$tpclnk
";
//END OF LAST POST
?>
then add this everywhere in the script include('lastpost.php');
enjoy[/b]
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 <span style="font-size:36pt;line-height:100%">
lmFao
</span>sigpiceeeeerrr....
Comment
-
it true but i only make copy and paste from my script to this part and post hereLAST 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 <span style="font-size:36pt;line-height:100%">
lmFao
</span>[/b]
www.inbuzunar.mobi - Your mobile portal pocket
Comment
-
Guest -
Guest
where do i need to add include('lastpost.php');????????????i cant understand.pls tell me specifically.
Comment
-
Guest -
Guest -
Guest
Comment