EhsanCh Posted November 18, 2011 Share Posted November 18, 2011 How to add a line to whmcs log in hooks ? 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted November 18, 2011 Share Posted November 18, 2011 There might be a built in function for it, but this is how I do it. $d = insert_query("tblactivitylog", array('date'=>'NOW()', 'description'=>'Some description', 'user'=>'Your_ADMIN_user', 'userid'=>'ASSOCIATED_USER_ID')); 0 Quote Link to comment Share on other sites More sharing options...
Miron Posted November 18, 2011 Share Posted November 18, 2011 Hi, I'm using this short method: logactivity("Text to display in Activity log"); Whmcs handle everything else (admin, date, user, etc). 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.