News:

Join the Facebook Fan Page.

Main Menu

user profile url

Started by wtfwtf, March 14, 2018, 02:33:41 PM

Previous topic - Next topic

wtfwtf

is there a way to create a link that any user can click on to land on his/her forum url
the link i want to add it in the help through manual.english.php

Suki

Yes, by default action=profile without an u param will take any registered user to her/his profile page:

https://www.simplemachines.org/community/index.php?action=profile
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

wtfwtf

Quote from: Suki on March 14, 2018, 02:49:16 PM
Yes, by default action=profile without an u param will take any registered user to her/his profile page:

https://www.simplemachines.org/community/index.php?action=profile

yes i am using this, but i want to take the lasy ones directly to the profile url

Illori

that will take them to their profile, what else do you want?

try clicking on it to see for yourself how it works.

Kindred

there is a link right in the main menu...

also, the username in a post, links to that user's profile
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

wtfwtf

Quote from: Kindred on March 14, 2018, 03:23:50 PM
there is a link right in the main menu...

also, the username in a post, links to that user's profile

i want them to get to the url page
not : site.com/index.php?action=profile
but : site.com/index.php?action=profile;area=summary;u=120

i want them to easily find the user id with 1 click

Illori

why do they need to find the user id? you dont need the user id in the URL to end up in their profile.

wtfwtf

Quote from: Illori on March 15, 2018, 05:58:03 AM
why do they need to find the user id? you dont need the user id in the URL to end up in their profile.

yes i know, but users should give their profile url, thus trying to mame it easy for them to find it.
if there's no way to do that withough changing the php files, then i'll just do that.

Suki

So, you actually want each member to post a link to their own profile page?

For example, mine would be: https://www.simplemachines.org/community/index.php?action=profile;u=245528

If so, I believe there are a couple of BBC mods for that, let the user use the user bbc tag or something similar, although I don't know if those mods would have a similar fallback as SMF has  but it wouldn't be hard to add it.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Advertisement: