Here's what I just tried in my Auto Actions PHP code block. I'm using substitutions as you mentioned in your last post. The code follows and the error it generated is included as well. Any suggestions would be appreciated.
Code:
Function Gen_CRM_Creds()
{
// Include Backend library
include '/hermes/bosoraweb077/b945/ipg.usjbcom/usjbcom/butler/include/Butler.php';
$RandPass = Vt_Rand_Str(10);
$New_User_Id = VtInsert($newuser = [username],$newpass = $RandPass,$newemail = [email], $newfirstname = [firstname], $newlastname = [lastname] );
}
Parse error: syntax error, unexpected '@' in .../com_comprofiler/plugin/user/plug_cbautoactions/models/code.php(59) : runtime-created function on line 6 Fatal error: Function name must be a string in .../com_comprofiler/plugin/user/plug_cbautoactions/models/code.php on line 60