Skip to:
Content
Pages
Categories
Search
Top
Bottom

make profile.php show current member when no id given


  • _ck_
    Participant

    @_ck_

    Would it be an easy hack to make profile.php show the current member instead of “user not found” when visiting example.com/profile.php without an ?id=x specified ??

    I’d like to be able to send members to their profile with a link when they request help on how to upload an avatar, etc.

    (obviously if the person looking at profile is not logged in they’d still get the error… – next I have to figure out how to make a custom wpdie/bbdie plugin)

Viewing 1 replies (of 1 total)
  • I think it’d be easier to add a page that redirects to the user’s profile page. Otherwise you’d have to change core files. You should submit a trac ticket because it seems like a good idea.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.