There's no feature in the plug-in that allows you to insert the username into the message. However, it would be pretty easy to add. Edit the file cb.profile_notifier.php and look for the string "[USER]". You'll see it in a bunch of str_replace calls correlated with the variable $user->name. You can add support for a [USERNAME] placeholder by simply adding it to all of these str_replace calls. The following is an example of one.
Currently:
| Code: |
$message .= str_replace(array('[OPTION]','[FIELD]','[OLD]','[NEW]','[SITE]','[USER]'),
array($title,$setting->name,$old_setting,$new_setting,$GLOBALS['mosConfig_sitename'],$user->name),$change);
|
Modified:
| Code: |
$message .= str_replace(array('[OPTION]','[FIELD]','[OLD]','[NEW]','[SITE]','[USER]','[USERNAME]'),
array($title,$setting->name,$old_setting,$new_setting,$GLOBALS['mosConfig_sitename'],$user->name,$user->username),$change);
|
I'll add this in the next release.