dopetalk

Technology => SMF Forum Code Modifications => Topic started by: Chip on January 04, 2016, 07:38:19 PM

Title: Tag (@mention) Members
Post by: Chip on January 04, 2016, 07:38:19 PM
http://custom.simplemachines.org/mods/index.php?mod=3860

installed and tested.

just add @username in a post to notify (tag) the user.

an email will be sent but you can disable that.
Title: Re: Tag (@mention) Members
Post by: Chip on January 05, 2016, 05:37:28 PM
an example:

@Z
@andrew, msg_text
@DeadCat
@Griffin
Title: Re: Tag (@mention) Members
Post by: Chip on January 18, 2016, 02:35:34 PM
Adds a new permission enabling membergroups to be granted permission to mention others.

now enabled for everyone
Title: Re: Tag (@mention) Members
Post by: Chip on February 01, 2016, 04:12:53 AM
note: the membername is also selectable and takes you to their profile.
Title: Re: Tag (@mention) Members
Post by: Chip on November 12, 2017, 03:54:03 PM
To accommodate @Z, i made a Javascript code change (courtesy of Simple Machines) in ./Themes/default/scripts/mentions.js

from:
Code: [Select]
                                if (query.length < 2)
to:
Code: [Select]
                                if (query.length < 1)

my first Javascript change  ... note when implementing Javscript code modifications - clear the browser cache afterwards to reload the script because (this may help somebody else as novices like me (there must be others out there)) I have just learned that website scripts run in one of two places [source: http://www.codeconquest.com/website/client-side-vs-server-side/]:

Quote
JavaScript is an example of the client side (also called the front-end) and PHP is an example of the server side (also called the back-end).

The client of a website refers to the web browser that is viewing it. The server of a website is, of course, the server that hosts it
Title: Re: Tag (@mention) Members
Post by: Chip on March 01, 2018, 10:21:05 PM
manual use:

[member=1675]andrew[/member]
Title: Re: Tag (@mention) Members
Post by: Chip on May 03, 2021, 11:02:12 PM
Testing:

@smfadmin testing 1,2,3
SimplePortal 2.3.6 © 2008-2014, SimplePortal