Need pm by code for lavalair

Started on the old forum in August 2009 · view the original in the archive · old links redirect here

5 replies · 448 views · started 17 years ago · 1 min read

3 participants
arman Newbie · 8 posts #1

hi,anybody can help me by give pm by code for lavalair?thanks

Coding Life :)

riderz Lead · 975 posts #2

give more info bout the script i think its already posted here


Jacques jacques@gw-designs.co.za http://coding.biz.tm Come join and lets make it a place to learn all the noobies how to code


NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

arman Newbie · 8 posts #3

i see many posts but can't find it.pm by code like we don't need to go inbox when anyone pm me,in index page it will see pm by :user name.if i click on it i will go the pm directly.

Coding Life :)

riderz Lead · 975 posts #4
$umsg = getunreadpm(getuid_sid($sid));
$item = mysql_fetch_array(mysql_query("SELECT
            a.name, b.id FROM ibwf_users a
            INNER JOIN ibwf_private b ON a.id = b.byuid
            WHERE b.touid='".$uid."' AND b.unread='1'
            ORDER BY b.timesent DESC
            LIMIT 1"));

  if($umsg>0)
  {
  echo "You have got <a href=\"inbox.php?action=main&sid=$sid\">$umsg</a> PM<br/>";
echo "Last PM by <a href=\"inbox.php?action=readpm&pmid=$item[1]&sid=$sid\">$item[0]</a><br/>";

  }

Jacques jacques@gw-designs.co.za http://coding.biz.tm Come join and lets make it a place to learn all the noobies how to code


NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

arman Newbie · 8 posts #5

thanks 🙂.can u plz give the unread pm by you code in lava?i find one code in posts but it n't working

Coding Life :)

rukiya Lead · 569 posts #6
$umsg = getunreadpm(getuid_sid($sid));
$rukiya= mysql_query("SELECT
            a.name, b.id FROM ibwf_users a
            INNER JOIN ibwf_private b ON a.id = b.byuid
            WHERE b.touid=$uid AND b.unread=1
            ORDER BY b.timesent DESC");

  if($umsg>0)
  {
echo "You have got <a href=\"inbox.php?action=main&sid=$sid\">$umsg</a> unread PMs<br/>";
while ($item = mysql_fetch_row($rukiya))
{ 
echo "<a href=\"inbox.php?action=readpm&pmid=$item[1]&sid=$sid\">$item[0]</a><br/>";
}
  }

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