Notification when my username is typed
@Arc took a vacation in a nice remote island. He asked me to say you don't need to worry about him. He won't be communicating much because there isn't Internet or phones there.
I would like a notification system, that alerts me whenever a user type my name. That should happen before the user clicks the submit button.
You'll have to be more specific. Do you want this to happen in the composer, in chat messages, anywhere on the site, etc... ?
Do you want the notification in the logs, email, your forum alerts, etc..?
@yariplus I would like it anywhere in the site. The notification needs to be very fast too.
In some forums we had to cheat dropping the user connection, giving us more time, because the notifications were too slow.
@candlejack Notifications are almost near instant when you're still on the site. I really don't see the point of this (Infact, I got a notification while writing this post)
@candlejack It's definitely doable as a plugin.
You would create a socket event in the server code to send you a notification.
In the client script, you could use a generic jQuery selector to catch the input event of all editable fields and check the value against a regex, then fire the socket event if there is a match. It would notify you near instantly. Then set a boolean in the tag so it doesn't fire multiple times.
If you wanted to be really sneaky, you could add a timeout for a few seconds so that it sends the post/message they were typing, logs them out, and changes their email and password so they can't login.
Yikes. Why? Lol. I already have more than enough notifications from users who actually spend time writing proper posts and tagging me
a_5mith last edited by
That sounds like my idea of hell, why not just install a keylogger on their machines via malware and do it that way?*
*Don't actually do that...
henrywright last edited by
With this idea in place, I could have spam notified 30 users in this post and nobody but those users would know about it
Oh, I knew about that the whole time. Still tempted to make it real for the lolz.