Skeptical Posted September 18, 2010 Share Posted September 18, 2010 I was playing around with one of the free trials mods, and can't seem to find the original script any longer. Anyone know which it is? I see these files in my whmcs includes/hooks/ folder: remindtrial_hook.php removetrial_hook.php trial_functions.php 0 Quote Link to comment Share on other sites More sharing options...
Skeptical Posted September 25, 2010 Author Share Posted September 25, 2010 Anyone? I still can't locate it. 0 Quote Link to comment Share on other sites More sharing options...
easyhosting Posted September 25, 2010 Share Posted September 25, 2010 try http://www.whmcs.com/members/communityaddons.php?action=viewmod&id=49 0 Quote Link to comment Share on other sites More sharing options...
rjgonzalez Posted December 7, 2010 Share Posted December 7, 2010 Be careful with this hook that can turn your ad min area off, if it happens only edit the file in the line # file name: end_free_trials_hook.php In the line: 273 from this: $query = "SELECT tblhosting.id,tblhosting.regdate,tblproducts.servertype FROM tblhosting INNER JOIN tblproducts ON tblproducts.id=tblhosting.packageid WHERE packageid=".(int)$pid." AND regdate<'$warndays1' AND (domainstatus='Active' OR domainstatus='Suspended')"; to this: $query = "SELECT tblhosting.id,tblhosting.regdate,tblproducts.servertype FROM tblhosting INNER JOIN tblproducts ON tblproducts.id=tblhosting.packageid WHERE packageid=".(int)$pid." AND regdate<'$warndays1' AND (domainstatus='Active' OR domainstatus='Active')"; 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted December 7, 2010 Share Posted December 7, 2010 (domainstatus='Active' OR domainstatus='Active') Why would you want to do that and the db call can't turn off your admin area!! 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.