solved glitch when creating "@" mentions ?

Strumelia
Strumelia
@strumelia
6 years ago
3,603 posts
Not sure if this is only happening on my sites or for everyone:

When any member (either Admins or regular members) types in an @ mention in a post (so that the person mentioned will receive a notification, AND so that others can quickly click the link to go check out the mentioned person's profile page)... here's what happens:

1) it works correctly as expected when you type the user's name after "@" in ALL LOWER CASE letters- typed the same as one sees the user's name in the URL of their profile page. Examples: https://fotmd.com/strumelia (works correctly when typed as @strumelia) OR https://fotmd.com/dusty-turtle (works correctly when typed as @dusty-turtle)
2) it does send out mention notification however it does NOT create a live link if you type out the user's name as you might see it on their profile page or in a 'posted by' link. Thus, if you type either @strumelia or @Dusty-Turtle it does not create a live link for the mention (but does seem to send out a notification.

Lots of my members SEE fellow members' names shown in various places and on their profile pages as Strumelia or Dusty Turtle, and so they naturally type their mention including upper case, as in: @Strumelia or as @Dusty-Turtle ...then it fails to make a hotlink to the mentioned person's profile page because of the upper case letters they used. --> see my attached screenshot to see this happening.

I could tell my members how to do it in lower case so it works... but most members will not see my instructional post after the first week and they and new members will revert to doing it intuitively using upper case letters they see in the person's profile name.

Is there a way I can fix this to make the system recognize the profile they are typing and form the mention correctly whether including upper or lower case for the first letters of the name?
@ link mentions.jpg
@ link mentions.jpg  •  513KB




--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015

updated by @strumelia: 12/02/18 10:46:16AM
nate
@nate
6 years ago
917 posts
There's suppose to be a drop down that appears when the user begins to type a users name to ensure everything works. Is that not happening?
Strumelia
Strumelia
@strumelia
6 years ago
3,603 posts
No a drop-down (like I do get when starting a PM) is NOT happening Nate. I just tested it again here:
https://fotmd.com/forums/forum/testing/31035/a-discusson-created-by-me

I do get the notifications either way though. (!)


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015

updated by @strumelia: 08/01/18 10:58:48AM
brian
@brian
6 years ago
10,148 posts
The drop down only happens if you are entering a timeline update - it doesn't happen everywhere. So the "correct" profile_url is always lower case - it's never capitalized or mixed case. The difference is:

@brian - this is my PROFILE URL
Brian - this is my USER NAME

They are 2 different things internally but most users don't know that or even care. I'll see if I can spot what might be going on here, but DS searches are not case sensitive so "Brian" is the same as "brian".


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
6 years ago
10,148 posts
Strumelia:
Lots of my members SEE fellow members' names shown in various places and on their profile pages as Strumelia or Dusty Turtle, and so they naturally type their mention including upper case, as in: @Strumelia or as @Dusty-Turtle ...then it fails to make a hotlink to the mentioned person's profile page because of the upper case letters they used. --> see my attached screenshot to see this happening.

If you look at your post you can see it is working:

@Strumelia
and
@strumelia
and
@StRuMeLiA

link up. So not sure why you would not see that on your site (since again, the DS search is case insensitive).


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Strumelia
Strumelia
@strumelia
6 years ago
3,603 posts
Hmm.. so it appears that the upper/lower case thing is just not working on my sites then. Yet even when the mixed case 'mention' is not a hotlink, it still sends out a notification... that means my system is recognizing what it is, just not making it a live link when there are any upper case letters used.


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015

updated by @strumelia: 08/01/18 12:53:48PM
brian
@brian
6 years ago
10,148 posts
Strumelia:
Hmm.. so it appears that the upper/lower case thing is just not working on my sites then. Yet even when the mixed case 'mention' is not a hotlink, it still sends out a notification... that means my system is recognizing what it is, just not making it a live link when there are any upper case letters used.

Yeah we can clearly see it working here, so my guess would be something custom on your site that has been added or done that is keeping it from working right.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Strumelia
Strumelia
@strumelia
6 years ago
3,603 posts
The only thing I can think of is that I disabled some of the personal timelines or individual accesses to timelines (or adding to timelines) that are available to members on my site... while leaving basically just the main site-wide timeline feed in place on the home page. Could this have anything to do with it?


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015

updated by @strumelia: 08/01/18 01:26:54PM
brian
@brian
6 years ago
10,148 posts
Strumelia:
The only thing I can think of is that I disabled some of the personal timelines or individual accesses to timelines (or adding to timelines) that are available to members on my site... while leaving basically just the main site-wide timeline feed in place on the home page. Could this have anything to do with it?

Sorry for the late follow up here. No - that should not have anything to do with it. Can you give me the URL to a page where there are comments or updates that have @ profile_urls in it that are NOT being linked to that you feel should be?

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Strumelia
Strumelia
@strumelia
6 years ago
3,603 posts
Brian, here's a post I just made, at the top of this page:
https://fotmd.com/forums/forum/off-topic-discussions/14131/healthy-living-healthy-eating-exercise-weight-loss-veggie-gardening-etc
...I used two examples, each time using the member names with capital letters as they appear in their profile names: Dusty Turtle, and Hugssandi. If I use the capital letters in my @ mention, it does not turn into a hot link. If I use only all lower case, it becomes a hotlink as intended.


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
Strumelia
Strumelia
@strumelia
6 years ago
3,603 posts
Oh, and here's where I tested it with and without the other day:
https://fotmd.com/forums/forum/testing/31035/a-discusson-created-by-me

(...that's a test discussion.)


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
michael
@michael
6 years ago
7,714 posts
Thanks for that. I can reproduce it here and am looking for why.
michael
@michael
6 years ago
7,714 posts
The issue is, if the correct lowercase version is present anywhere in the body of text then all the versions will work, but if there is no full-lowercase version then non of the replacements will work.

eg (i expect this wont work):

@Strumelia
and
@struMelia
and
@StRuMeLiA

because there is no lowercase @STRUMELIA in this body of text the others wont be found.

--edit--
will be fixed in an upcoming jrCore version.
updated by @michael: 08/08/18 06:54:12PM
Strumelia
Strumelia
@strumelia
6 years ago
3,603 posts
How odd!
Michael, thank you for figuring out what was going on and for putting in a FIX in the next Core update... something to look forward to, definitely! :D I must remember to check how it works after the next core update.


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015

updated by @strumelia: 08/09/18 06:39:30AM
Strumelia
Strumelia
@strumelia
6 years ago
3,603 posts
Just reporting that I applied the new Core update and now the hotlink '@ mentions' are working great on both my sites. It now no longer matters what kind of combo of upper/lower letters are used, or even whether a comma or period precedes or follows the name immediately... it all works!
Thanks so much, this is GREAT and will help site activity a lot once the members catch on and start using it more. :)


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
michael
@michael
6 years ago
7,714 posts
:) Great news.