If status contains @tag then..?
-
All I need is a PHP scripts that detects if the variable "comment" includes any " @username " - and then get that username without the "@" :)
Thank's. I did it a bit different:
Your method will only find the first username in a comment though.
That is true :)
@bungle Long time since this post was active, but I just want to say thank you again, since I went back to this post now after re-making the website and I use this for notifications when someone is tagged. I used your version this time, so much better.Add a Comment