• Welcome to Simple Machines Community Forum. Please login or sign up.
October 28, 2021, 05:02:10 AM

News:

SMF 2.0.18 has been released! Please update. Read more.


An odd problem with member profile links.

Started by wynnyelle, April 15, 2013, 04:59:39 PM

Previous topic - Next topic

wynnyelle

Members have told me that passing profile links to each other doesn't work because when they do so, the link goes to their own profile rather than the other person's profile.

I told them that if they have the member's ID number included in the link, then that will go to the right profile. But they still say that it's difficult when passing links quickly around because that ID number doesn't get included often enough.

I would post more info if I had it...but I am a bit hazy on the problem. My apologies. When I get more info on the problem I'll post more on it. Has anyone else had this issue? How would it get fixed?

kat

Where are the getting the profile links from?

If I click on your username, or avatar, here, I get:

http://www.simplemachines.org/community/index.php?action=profile;u=246194

Is that what they're copy/pasting?

I got this from right-clicking on Maple's avatar:

http://warriorcatsrpg.com/index.php?action=profile;u=70856

This, by doing the same with #pudding's:

http://warriorcatsrpg.com/index.php?action=profile;u=56631

They seem OK. :)

Kindred

K@,

I think what she means is that when you click on the my profile link it calls up action=profile with no user identified ----   which, indeed, does go to the current user's profile.  That is not a problem and not a bug. That is completely by intention and design.
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."

kat

Ah. Their OWN profile links...

Yeah, that's a little different. Best to right-click on their own avatar/username, then. :)

"Members have told me that passing profile links to each other doesn't work because when they do so, the link goes to their own profile rather than the other person's profile." reads as passing-on other member's profile links, to me...

wynnyelle

I admit I don't completely understand the issue but I know it pertains to the "My Profile" link not specifying an ID number and people are grabbing it a lot from there. Either way, not a huge thing.

Kindred

Groovy, when you click the my profile button, you obviously want to view your own profile.  So, SMF assumes that, if you do not specify the user I'd in the u=### part of the URL, you intend to view your own profile.

If your users want people to view their profile, they would need to grab the link from any message that they have posted, by clicking on the avatar...
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."

hcfwesker

If this makes it any easier, but requires 1 whole extra step lol.  When member's get their OWN profile link from their profile, click the "Summary" option under Profile Info, which will display the link to THEIR profile with user ID in the URL bar.

Though, there's another alternative.  It can also be hardcoded in the 'Profile' tab up top to take member's to their full URL profile, if that would make it easier?

Sources/Subs.php
Find
'profile' => array(
'title' => $txt['profile'],
'href' => $scripturl . '?action=profile',
'show' => $context['allow_edit_profile'],
'sub_buttons' => array(
'summary' => array(
'title' => $txt['summary'],
'href' => $scripturl . '?action=profile',
'show' => true,
),


Replace with
'profile' => array(
'title' => $txt['profile'],
'href' => $scripturl . '?action=profile;u=' . $user_info['id'] . '',
'show' => $context['allow_edit_profile'],
'sub_buttons' => array(
'summary' => array(
'title' => $txt['summary'],
'href' => $scripturl . '?action=profile;u=' . $user_info['id'] . '',
'show' => true,
),



So, instead of my Profile button showing MY profile URL as
http://warriorcatsrpg.com/index.php?action=profile
it'll show it as
http://warriorcatsrpg.com/index.php?action=profile;u=6207

Don't have to use it, but it'll take that concern from showing member's another alternative or explaining how profile links work lol


Advertisement: