The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Link to actual profile.

View previous topic View next topic Go down

Link to actual profile.

Post by Totoquil on 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?

Totoquil
New Member

Posts : 12
Reputation : 0
Language : English

Back to top Go down

Re: Link to actual profile.

Post by panterua on 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
Forumember

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

http://mudreadlocks.superforo.net/u8

Back to top Go down

Re: Link to actual profile.

Post by Totoquil on 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.

Totoquil
New Member

Posts : 12
Reputation : 0
Language : English

Back to top Go down

Re: Link to actual profile.

Post by panterua on 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
Forumember

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

http://mudreadlocks.superforo.net/u8

Back to top Go down

View previous topic View next topic Back to top


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