How can I achieve something like this
Posted: Mon Aug 15, 2011 12:32 pm
Hi,
I have seen this somewhere, but I've lost the link to it.
My website has users who have filled out their personal particulars for display when others search for them. Picture something like Facebook, there is a public viewable profile page, displaying only the information which each member chooses to show to friends/non-friends, formatted nicely with a photo, personal details etc.
How can I make a link for them such that their profile can be accessed with such an url:
http://mydomain.com/2314
where 2314 is their unique member id.
so anyone may type that and arrive at a standard page, formatted with personal details, photos, of member 2314
*EDIT* What I have right now is something like http://mydomain.com/view_profile?memberid=2314 which allows my script to search for the user to display. How do I remove the need for passing the variable memberid?
Thanks!
I have seen this somewhere, but I've lost the link to it.
My website has users who have filled out their personal particulars for display when others search for them. Picture something like Facebook, there is a public viewable profile page, displaying only the information which each member chooses to show to friends/non-friends, formatted nicely with a photo, personal details etc.
How can I make a link for them such that their profile can be accessed with such an url:
http://mydomain.com/2314
where 2314 is their unique member id.
so anyone may type that and arrive at a standard page, formatted with personal details, photos, of member 2314
*EDIT* What I have right now is something like http://mydomain.com/view_profile?memberid=2314 which allows my script to search for the user to display. How do I remove the need for passing the variable memberid?
Thanks!