Hi blaine. I modified your xml to log all points earned. For points earned for posting a response, I added this part:
Code:
$nplogentry = date('Ymd') . ' ' . strftime('%T') . ' response ' . $vbulletin->options['ppr'] . ' ' . $vbulletin->options['icashf'] . ' ' . $vbulletin->userinfo['username'];
$npearnlog = fopen('../../noypisoearnlog.txt','a') or die("can't open cashlog: $php_errormsg");
fwrite($npearnlog, $nplogentry . "\r\n");
fflush($npearnlog);
fclose($npearnlog) or die ($php_errormsg);
Now, I would also like to log the actual post number. What would the variable look like for this?