Quote:
Originally Posted by trackpads
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";
}
dont forget to change your pm content.