Support Forum

Best way to use mentions

MR MrWizard
MrWizard
Member

I find that when I try to mention someone by typing @and the username displayed next to the post… %50 of the time it just doens’t pull the person up.

What is the most efficient way to mention people, wasting as little time as possible fumbling through usernames and emails?

9 Answers

New Answer

MP Mr Papa
Mr Papa
Member

what are the users typing?   you need to type the user nicename… not the display name…

MR MrWizard
MrWizard
Member

If we’re reading along with the forum, how are we supposed to know their nickname without having to click on their profile to figure it out.  Why woudlnt’ you just use the display name that’s right there on the post?  It adds multiple clicks and research to the process. 

 

MP Mr Papa
Mr Papa
Member

nicename, not nickname…

see: https://simple-press.com/support-forum/sp5-plugin-topics/mention-plugin-question-regarding-email-security/#p128841

or several others on the same topic…

we dont like using nicename rather than display name either… but until we can find a workable solution using display name, we are stuck with nicename…  and we have looked and will be looking again… priority at the moment is 5.3 and then the mobile theme…

MR MrWizard
MrWizard
Member

Why don’t you just display their nicename somewhere on their little info bar on the left?  At least that way I’d be able to tag them… many times I can’t. 

I can’t see any reason why a nicename would need to be kept private anyhow.

MP Mr Papa
Mr Papa
Member

nicename does not need to be kept private (though some folks like obfuscation)…  but the nicename limiits what you can have for a display name… for example, I could not be Mr Papa but would have to be mr-papa…

If you like, there is no reason why you couldnt also display the nicename in the user info area… a pretty simple addition…  in your functions.php file, add this:

add_filter(‘sph_user_class_meta’, ‘my_user_info’);
function my_user_info($list) {
    $list[‘user_nicename’] = ‘name’;
    return $list;
}

then where you want to display the nicename in spTopicView.php, just add:

echo $spThisPostUser->user_nicename;

you may want to style it…

and as mentioned, we are continuing to discuss potential methods to try to use display name… its just going to have to wait for 5.3 release and some mobile theme activity…

MR MrWizard
MrWizard
Member

I’m having a little trouble finding sp topic view… I checked in the plugin editor and didn’t see anything.  Is this something unlisted in the wordpress dashboard?

God I will be happy to have this fixed… it will be so nice to not have to look through a huge list, only to find the lack of what I’m looking for.

 

Thanks Mr. Papa

MP Mr Papa
Mr Papa
Member

sp topic view is in your sp theme…  so by default… wp-content/sp-resources/forum-themes/default/templates… replace default with your theme name…

of course, you can edit it via forum – themes – theme editor too…  just not the wp theme editor…

MR MrWizard
MrWizard
Member

Nicename is added!  Thanks!  This will make my life a LOT easier!

 

What the hell is a nicename anyhow?

YS Yellow Swordfish
Yellow Swordfish
Member

nice name is the WordPress user name with no spaces or other non-alphanumeric characters. personally, I don’t know what they use it for.