private inbox system can anyone fix

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    private inbox system can anyone fix

    I have already done the private profile but in inbox i get confused what way should i do this actually.

    $buddy = mysql_fetch_array(mysql_query("SELECT `agreed` FROM `buddylist` where (`name`='".$dblogin."' AND `test`='".$koma[0]."') OR (`name`='".$koma[0]."' AND `test`='".$dblogin."') order by id desc LIMIT 1"));


    $inboxper=mysql_fetch_array(mysql_query("SELECT inboxper FROM `chat_users` WHERE login='$touser' limit 1;"));

    if(($buddy[0]==0) OR ($inboxper=="1"))
    {

    $msg= '';

    }

    actually confused what will be the code or the way to do this like only buddies can send message he him self can send the message ???

    but other people will not able to send the message to the person if his inboxper = 1 ????

    anybody can fix it ?

    #2
    use search button ive posted a code that u can make profile inbox and gallery private

    Comment


      #3
      Why need private inbox if there's ignore user..
      My Blog: http://jhommark.blogspot.com
      My Facebook: http://www.facebook.com/jhommark
      My Official Site: http://www.undergroundweb.tk
      My Community Site: http://undergroundwap.xtreemhost.com

      Comment


        #4
        becuase how many people you can ignore + for girls for their seucirty reasons and couples the system will be like default it will be open for everyone but if any user want to make inbox private he can do that specially for girls

        Comment


          #5
          yea thats true thats why i wanted the code firstly so if u dnt want any member except ur friends to view the items u switch private mode on

          Comment


            #6
            Ok fine.,so it's like private profile, where only frnds are allowed..
            My Blog: http://jhommark.blogspot.com
            My Facebook: http://www.facebook.com/jhommark
            My Official Site: http://www.undergroundweb.tk
            My Community Site: http://undergroundwap.xtreemhost.com

            Comment

            Working...
            X