private profile
Started on the old forum in March 2010 · view the original in the archive · old links redirect here
when u set it to 1 ( true) its private make the same action( for set private profile) and change the value inserted 😛 for example : tipe_private .. if the no. from there is bigger than 0 its private else if its 0 its not a private profile;)
search it here
com site: http://vampist.net download site: http://wapdloads.net fb: http://www.facebook.com/pmplx
yeah Google it
External image (may be gone) http://www.mb2.in 100% Ad free Hosting http://www.enaam.us Cheap Domain Names
http://mobmantra.com Ultimate Downloads [SIGPIC][/SIGPIC] http://www.9ic.biz Free Hosting Services http://facbook.inFree guest book for your site [**http://thunderbird.co.in fastest growing forum…
a little code for lazy boys
if(isset($_GET['en'])){ $mode = 1; $msg = "Your profile is now private to users"; }else{ $mode = 0; $msg = "Your profile is now public to users"; }
$res = mysql_query("UPDATE ibwf_users SET viewprofile='".$mode."' WHERE id='".getuid_sid($sid)."'");
if($res)
echo "$msg<br/>";
else
echo "The database doesnt work!<br/>";
//usage
if($row['viewprofile']==0)
echo "<a href=\"file_name.php?action=action_name&en&sid=$sid\">Make profile private</a><br/>";
else
echo "<a href=\"file_name.php?action=action_name&dis&sid=$sid\">Make profile public</a><br/>";