private inbox system can anyone fix

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

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

3 participants
bijaybd Developer · 178 posts #1

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 ?

riderz Lead · 975 posts #2

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


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

bijaybd Developer · 178 posts #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

riderz Lead · 975 posts #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


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

Write your reply now; next you create a free account (or sign in) and it is posted right away. 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