By David on Wednesday, 24 October 2018
Posted in Technical Issues
Replies 6
Likes 0
Views 575
Votes 0
Hi,

Just wondering - if I tag someone in a post using an @ in front of their username, they'll receive a notification when they log in as well as an email. Also, the post will appear on their profile if the privacy is set to include them.

But others looking at the post, especially newcomers to the network, may not know that the highlighted username is actually a tag, as the @ symbol is not displayed.

Is there an easy way to add the @ symbol in front of user tags? I feel like this should be an option in Easysocial, if not the default, as it's hard to tell what the highlighted username is, especially if the viewer is not familiar with the user and system.

Cheers, David
Hi David,
Is there an easy way to add the @ symbol in front of user tags?
You may add the '@' in front of mentions by modifying the following core file.
JoomlaFolder/administrator/components/com_easysocial/includes/stream/item.php http://take.ms/VOlKY9
I feel like this should be an option in Easysocial, if not the default, as it's hard to tell what the highlighted username is, especially if the viewer is not familiar with the user and system.
You may post this in the feature request category so we can keep track of the demand of this feature.
·
Wednesday, 24 October 2018 16:04
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Raymond, just wondering - is it possible to add a template override for this? Or configure it so the change won't be removed when I upgrade?
·
Thursday, 25 October 2018 15:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey David,

Unfortunately this cannot be done with template overrides.
·
Thursday, 25 October 2018 16:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Raymond, works well. Just for reference - I just had a look at Facebook and Instagram. On FB, users use their full name - with capital letters, on Instagram, they just use a username without caps. FB tags don't use the @, Insta tags do use it. My site uses usernames like Instagram and def looks much better with the @..

Final question - just to be consistent, is there a way to add the @ when the user is typing?

As it stands, when the user types the @ then adds the username, the @ disappears once the system finds the user, and then reappears when the post is added. Can we change it so the @ remains the whole time?

Note: Will add a feature request once this thread is finished
·
Friday, 26 October 2018 14:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey David,
when the user types the @ then adds the username, the @ disappears once the system finds the user, and then reappears when the post is added. Can we change it so the @ remains the whole time?
Unfortunately, trying to achieve this involves modifying javascript files which would make this a whole lot more hard to maintain, unlike php files like the one I mentioned above which basically just changes the display.

Since javascript files are precompiled during installation, it would be more difficult to modify the respective file during version update. Other than that, doing a hack on the js file may cause unforeseen issues with other parts of the site.

As such, I wouldn't recommend doing this.
·
Friday, 26 October 2018 16:27
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post