Show profile screens only to the logged in user.
-
Here’s my issue and I notice some other plugins have overlooked this problem.
Say I’m using the profile background plugin which adds a screen with a form for changing the background at mysite.com/exampleuser/profile/change-bg. Well if I change the username I’m at their profile looking at the same form which should not be the case. So how can I add a nav item to the profile with a screen that is only viewable if it’s the logged in user’s.
This should all be changed by getting rid of the username in the url for everything but the profile.
The profile should be mysite.com/exampleuser
But any personal pages like the edit page should be mysite.com/profile/edit. That’s how twitter does it.
- The topic ‘Show profile screens only to the logged in user.’ is closed to new replies.