This is port of my Send PM On Reputation For vB3.0
This mod allow members to enable sending PM option when a user give him/her a reputation point.
To enable sending PM upon receiving reputation point, go to User CP => Edit Profile =>
PM upon reputation option, then check the option.
Plugins: 1
Template mod: none
Installation Time: 1-2 mins
=========================
Log into AdminCP => User Profile Fields => Add New User Profile Field => Multiple-Selection Checkbox
Title: Automatic PM on Reputation Option
Description: A PM will be sent to you when a user give your a reputation point if you enable this option.
Limit Selection: 1
Boxes Per Line: 1
Options: Enable Automatic PM on Reputation
(default to other fields)
Now go to User Profile Field Manager and jot down new field id, i.e fieldXX.
---------
PLUGINS:
UPLOAD AutoPMonRep.xml plugin.
Dont forget to open Auto PM On Reputation, and adjust fieldX to your fieldid.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
One of the old features was that the PM would come from the actual user sending the rep, is there a way to do that with this version?
Thanks!
-Jason
Open you plugin,
FIND:
PHP Code:
$sender = "Forum Bot"; // rename it to whatever you like
$senderid = 1; // userid
$pm_title = "You have been given $score rep point.";
$pm_content = $vbulletin->userinfo['username'] . " has just given you $score reputation point for your post.\n\rKeep up good work!\n\r";
if($score < 0)
{
$pm_content = $vbulletin->userinfo['username'] . " has disagreed with your post of yours\n\rYou may need to investigate the reason.\n\r";
}
CHANGE TO::
PHP Code:
$sender = "$vbulletin->userinfo['username']"; // rename it to whatever you like
$senderid = $vbulletin->userinfo['userid']; // userid
$pm_title = "You have been given $score rep point.";
$pm_content = $vbulletin->userinfo['username'] . " has just given you $score reputation point for your post.\n\rKeep up good work!\n\r";
if($score < 0)
{
$pm_content = $vbulletin->userinfo['username'] . " has disagreed with your post of yours\n\rYou may need to investigate the reason.\n\r";
}
$sender = "Forum Bot"; // rename it to whatever you like
$senderid = 1; // userid
$pm_title = "You have been given $score rep point.";
$pm_content = $vbulletin->userinfo['username'] . " has just given you $score reputation point for your post.\n\rKeep up good work!\n\r";
if($score < 0)
{
$pm_content = $vbulletin->userinfo['username'] . " has disagreed with your post of yours\n\rYou may need to investigate the reason.\n\r";
}
CHANGE TO::
PHP Code:
$sender = "$vbulletin->userinfo['username']"; // rename it to whatever you like
$senderid = $vbulletin->userinfo['userid']; // userid
$pm_title = "You have been given $score rep point.";
$pm_content = $vbulletin->userinfo['username'] . " has just given you $score reputation point for your post.\n\rKeep up good work!\n\r";
if($score < 0)
{
$pm_content = $vbulletin->userinfo['username'] . " has disagreed with your post of yours\n\rYou may need to investigate the reason.\n\r";
}
dont forget to change your pm content.
I get this as the username when a member gives a rep. This shows up as the sender of the pm: