Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
@Mention plugin question regarding email security
Avatar
Carlos Bravo Sanchez
Member
Free Members
sp_UserOfflineSmall Offline
Jul 13, 2013 - 4:22 am

Dear Simple:Press team,

We were wondering if you could provide us with help to modify the mentions plugin slightly. Our users sign up using an email address and then their first/last name is used on our membership site and the forum.

This creates a slight issue as when we installed the mentions plugin, the email address appeared in parenthesis after the name in the dropdown autocomplete list (data protection issue). So something like this appeared: @alex (alex gmail.com) or similar.

We assume this is because the mention plugin displays the usernames (which in our case are email addresses) as well as forum or alternate names.

Is there anything we can do to not display these email addresses with the plugin and just display the screen/member names?

Thanks in advance!

 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jul 13, 2013 - 5:51 am

Mr Papa will no doubt correct me if I am mistaken (he wrote the plugin) but I think you will find it does not use the login name to populate the list but actually uses what WordPress call the 'nice name'. The reason for this is that it requires a user identifier with no spaces and the display name can of course - just like mine and yours -  include spaces.

Whether that can be changed I will need Steve to comment on and he wil be back later in the day.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 13, 2013 - 6:28 am

no, afraid it's not possible. as Andy says, the user nicename is used since we can't really use the display name because of the regex needed for finding mentions.

we could hide it from the popup display but bit would still show when initially pasted into the post.

 

Avatar
Carlos Bravo Sanchez
Member
Free Members
sp_UserOfflineSmall Offline
Jul 17, 2013 - 2:41 am

Thanks for the response!

Could this fall under your custom plugin offer? Would it be possible to create a mentions plugin that can use the forum name for example? Are there any custom solutions to this?

Regards.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 17, 2013 - 2:03 pm

at the moment, I do not know a good way to use the display name instead...  its because as part of identifying the name as you type...  the problem with a display name is there is no way to recognize when to stop searching for what is being typed as a name...

in other words, a valid display name with a mention, could be:

@this is my name

that is, display names can include spaces and other typical punctuation elements...  so when an @ is typed, we would essentially have to keep checking for a display name for ever since we cannot distinguish a display name from a sentence or any other text...  this absolutely kills performance and makes it hard for the text display to even keep up with the typing because of the constant db queries checking for a display name...

with the user nice name, there is a know starting (the @ symbol) and stopping (space, punctuation, etc) point to end the name checking since they cannot contain spaces or other punctuation type characters...

like you, we would like to change it too... but until we have an efficient method for doing so, we cannot... but will keep looking/working...

Avatar
Carlos Bravo Sanchez
Member
Free Members
sp_UserOfflineSmall Offline
Jul 18, 2013 - 2:57 am

Thanks for the explanation and response.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jul 18, 2013 - 4:24 am

We do have a discussion on this going on in the background trying to think of an alternative method.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625