Jump to content

How do I setup 30 days trial account?


e[X]treme[Z]

Recommended Posts

Hi,

 

I am just getting to grips with whmcs and am setting up a free trial using the remindtrial.php and removetrial.php files provided at http://www.webhostingbusinessbook.com

 

I have a few questions I was wondering if anyone could help with...

 

1. It says to edit this info

 

$sql_gettrial = "select id from tblhosting where DATEDIFF(now(),regdate)=$trial_period_days and (packageid=16 or packageid=17)";

 

to show the package ID from whmcs. I have set up the free trial package but am not sure whether I use the SAME ID to replace BOTH '16' and '17' above

 

2. In remindtrial.php there is a line

 

$clientArea = "https://yourdomain.com/whmcs/clientarea.php";

 

Am I right in assuming I replace 'yourdomain' with my domain (sounds dumb I know but it isn't mentioned in the book)?

 

3. Further down there are the lines

 

$Name = "WebHost.Com"; //senders name

$email = "admin@webhost.com"; //senders e-mail adress

 

Again, do I replace 'WebHost.Com' with my own domain, and same for the email address?

 

Many thanks

Link to comment
Share on other sites

  • 4 weeks later...

How do we prevent abuse of the free trials? At least with a money back guarantee, the customer pays and has to request a refund when canceling. Doing the free trials allows anyone to setup an account for 30 days. This seems like an open invitation for people to create fake accounts only to abuse the system and go somewhere else. There also doesn't seem to be a way to prevent someone from creating another free trial after the first one is canceled. Matt, is there any plans to build in support for free accounts?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated