Firefox PHP

Send PM as...

Posted by InitHello 
Send PM as...
September 30, 2011 09:48AM
So I'm working on modifying a bulk PM plugin to suit my needs, and I'm wondering if there's any way to set the sending username, for example to 'System'. I've tried hooking into pm_before_send and setting $pm_message['from_username'] and $_POST['from'] already, to no avail.

If anyone could point me in the right direction, that would be appreciated.
Re: Send PM as...
September 30, 2011 10:32AM
If I'm not totally mistaken it will always be the display_name of the sending user.
So if you want to change that, then create a user "System" and set its user_id as the sender (can't promise that either as its not expected to send a PM under a different user).


Thomas Seifert
Sorry, only registered users may post in this forum.

Click here to login