In elgg tool following page pg/friends/user_name only display only owner.
For example logged in user name is john he will access pg/friends/john page and he will not access pg/friends/balaji page.
This done by using following code
For example logged in user name is john he will access pg/friends/john page and he will not access pg/friends/balaji page.
This done by using following code
if($_SESSION['user']->guid != page_owner()){ forward($_SERVER['HTTP_REFERER']); }
0 comments:
Post a Comment