It's working for me now... don't know what the issue was.
what about if the username has [] on it? I'm using @[uid] but it's kinda confused for normal users....
What function controlls the "explode" (im not really sure if you use explode xd) in your plugin? I'd like to check that out
(2011-09-22, 04:19 PM)ImLink Wrote: [ -> ]what about if the username has [] on it? I'm using @[uid] but it's kinda confused for normal users....
What function controlls the "explode" (im not really sure if you use explode xd) in your plugin? I'd like to check that out
Well, at the time of designing the plugin i didn't think about this issue (maybe because i was sure that MyBB threated that as an illegal character for username) well in that case my plugin would never recognize an user with those characters.
And no i don't use explode, you're looking for this:
function get_tags_from_message($message)
{
if(!preg_match_all("#@\[(.*?)\]#", $message, $matches))
return array();
return array_unique($matches[1]);
}
But then you should edit the function called at the editing of post and the one which displays the tags, it isn't exactly a kind of magic but neither that complex.
If you're thinking to use the @username format, i highly discourage that because you will find trouble in handling usernames with whitespaces
rectified and works like a charm

I would really like if this plugin wasn't sending PMs but there was a notification in the header like the Facebook one!
As of now there isn't another system besides PM.
When there will be a SERIOUS one i may consider the idea of implementing it
I still can't get this plugin to work on my website. No matter what I do, it does not work.
No support either it appears