The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Link to actual profile.

2 posters

Go down

Link to actual profile. Empty Link to actual profile.

Post by Totoquil January 10th 2011, 5:55 am

I want to make a link in the nav bar that takes my users straight to their profile, not their user cp. How would I do that?
avatar
Totoquil
New Member

Posts : 12
Reputation : 0
Language : English

Back to top Go down

Link to actual profile. Empty Re: Link to actual profile.

Post by panterua January 10th 2011, 5:25 pm

Try this: go admin panel - display - homepage / headers & navigation, click in 'Add a customized menu', fill the fields: 'Menu: Profile' (put here the you want), in 'Redirection URL' put this: /profile?mode=viewprofile&u={USERNAME*} (important: delete the asterisk!) and finally uncheck 'Guests', save and test this. greetings
panterua
panterua
Forumember

Male Posts : 90
Reputation : 110
Language : Spanish, English
Location : Uruguay

http://mudreadlocks.superforo.net/u8

Back to top Go down

Link to actual profile. Empty Re: Link to actual profile.

Post by Totoquil January 10th 2011, 7:57 pm

I did that, but it tells me that the user doesn't exist when I click the link. And I did take out the asterisk.
avatar
Totoquil
New Member

Posts : 12
Reputation : 0
Language : English

Back to top Go down

Link to actual profile. Empty Re: Link to actual profile.

Post by panterua January 10th 2011, 9:29 pm

sorry, i previously used it, now i checked and i see this not work longer Sad
The code prints the username in a link, and the user sees his own nick, eg.:
/profile?mode=viewprofile&u=Nickuser_123
structure of profiles address, before ↑↑
and now is:
/u1234 (the number is the identificator of the user)
by this change in the URL, i see that 'trick' does not work anymore
mwii i not know another way to accomplish this, sorry for not test this again previously tell you, man
panterua
panterua
Forumember

Male Posts : 90
Reputation : 110
Language : Spanish, English
Location : Uruguay

http://mudreadlocks.superforo.net/u8

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum