Private profile and inbox

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

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

4 participants
riderz Lead · 975 posts #1

i got this code so far who can help me to complete it for the private profile for a user and make a code who can send u pm

$query=mysql_fetch_array( mysql_query("SELECT allowed FROM users WHERE id='".$who."'"));
if($query=1)
{
codings here
}else{
disabled
}

and create drop menu or something like that, who writes in base number... 1= allowed 0 disabled..


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

Pablo Developer · 164 posts #2

hey ryderz i coded it bt having a problem when the profile is private the user of the profile cant view the profile either and am the owner and i cant either having the same problem as hypetype

riderz Lead · 975 posts #3

pablo u cant view the pro but other can thats my error also


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

Pablo Developer · 164 posts #4

well i set mine a way bro wen the person add the person as a frend are bud theres a profile u can view other wise

i0nutzxp Developer · 150 posts #5
$me = getuid_sid($sid);
$query=mysql_fetch_array( mysql_query("SELECT allowed FROM users WHERE id='".$who."'"));
if($query[0]=="1"||$who==$me||ismod($me)||arebuds($me, $who))
{
codings here
}else{
disabled
}
<?php unlink('World/Europe/Romania.country'); ?>

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