08 Sep 2010
Support Center
»
Knowledgebase
»
How do I offer a free trial with no payment selection?
How do I offer a free trial with no payment selection?
Solution
Edit the /modules/members/process_member_registration.php file and find this line:
sql_query("INSERT INTO $membtable (m_date,m_ip,m_confcode,m_rateme,m_news) VALUES (".time().",'$ip',$en[confcode],1,1)");
then replace it with:
sql_query("INSERT INTO $membtable (m_date,m_ip,m_confcode,m_rateme,m_news,m_daysleft) VALUES (".time().",'$ip',$en[confcode],1,1,15)");
Replace 15 with whatever number of trial days you wish to offer.
Article Details
Article ID:
78
Created On:
22 Dec 2008 10:42 AM
This answer was helpful
This answer was not helpful
User Comments
Add a Comment
Sharing is good. If you have a comment about this entry, please feel free to share. The comments might be reviewed by our staff, and may require approval before being posted. Questions posted will not be answered. Please submit a Ticket for support requests.
Image Verification Required
Please enter the characters that appear to the right in the space provided. This is just to verify that you are a human.
Fullname:
Email: (Optional)
Comments:
Back
Login
[Lost Password]
Email:
Password:
Remember Me:
Search
-- Entire Support Site --
Knowledgebase
Downloads
Troubleshooter
Article Options
Add Comment
Print Article
PDF Version
Email Article
Add to Favorites
Home
|
Register
|
Submit a Ticket
|
Knowledgebase
|
Troubleshooter
|
News
|
Downloads
Language:
English (U.S.)
Help Desk Software By Kayako eSupport v3.40.01