MaxBulk Mailer :: edit subscribe_single_fixed.php

steve

New Member
Is it possible to edit the subscribe_single_fixed.php file so that only the email address is captured/required? The email address is all that we need.

I tried just removing the data and fields in the table however it still errors out and requires First and Last Name upon submitting.
 

stanbusk

Administrator
Staff member
Yes, but you also have to remove the PHP code that checks for the existence of the fields you have removed. There are two lines below:
Code:
if ( $firstname == "" ) { $errors[] = "Enter your first name in the first name text box"; $wrong['firstname'] = TRUE; }
	if ( $lastname == "" ) { $errors[] = "Enter your last name in the last name text box"; $wrong['lastname'] = TRUE; }
 
Top