[Bb-trac] [bbPress] #711: Generic profile links
bbPress
bb-trac at lists.bbpress.org
Sun Jul 29 15:20:30 GMT 2007
#711: Generic profile links
-------------------------+--------------------------------------------------
Reporter: fel64 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Back-end | Version:
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
I think it would be a good idea if you could link to profile sections
generically, so that a single link works for everybody. For example,
profile.php would just show the current user's profile if they're logged
in, while profile.php?tab=edit would take them to edit their own profile
(rather than the "User not found" error now, which is no good to anyone).
(A good URI system for slug-based permalinks is needed I guess.)
In the template you can always have some code that gives the current
user's profile areas, but that's not really possible when you're posting
on the forums and you want to help somebody do something or point out a
new section to the profile - telling them to click this link, then look
for that other link and click that, it's just not as good. And all you'd
be doing is moving the logic that creates the right, specific link out of
the template into the core (which can then redirect to the 'specific'
URL).
--
Ticket URL: <http://trac.bbpress.org/ticket/711>
bbPress <http://bbpress.org/>
Innovative forum development
More information about the Bb-trac
mailing list