Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Vanilla account link ?

So, I'm creating a link in my main site menu called " Account" and I need it to lead to the user profile page in vanilla if they are logged in or to the register page if they aren't. Any ideas ?

Comments

  • If you make profiles private to guests, then you only need to point to /profile

    Otherwise you will need to detect the cookie.

    grep is your friend.

  • @x00 said:
    If you make profiles private to guests, then you only need to point to /profile

    Otherwise you will need to detect the cookie.

    Sorry, that was kinda hard to understand, can you make it clearer ?

  • You main site is what software?

    grep is your friend.

  • @x00 said:
    You main site is what software?

    I use Wordpress.

  • Ok how are you adding the link through a theme / menu / widget?

    grep is your friend.

  • It worked now, don't know what happened though. Thanks a lot for you guys' help !

Sign In or Register to comment.