This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

How to set default notification
#1

I would like to disable the notify function on the form and have subscribers notified of new comments by default unless they opt out by unsubscribing via an email notification.

Can this be done by changing the default setting of 'is_confirmed' to '1' in this query,
mysql_query("INSERT INTO `".$mysql_table_prefix."subscribers` (name, email, page_id, token, is_confirmed, is_active, dated) VALUES ('$name', '$email', '$page_id', '$token', '0', '0', NOW())"), in includes/functions/processor.php? Or is there a better way to achieve this?

Many thanks for the help.
Reply
#2

I made the two changes to the INSERT INTO
Reply
#3

Hi Jim,

Sorry I'd prefer not to provide a solution for this because I think users should be able to choose.

Have you completed the interview?
Reply
#4

Steven, thanks for your reply. I understand your position, and I appreciate your answering my query instead of ignoring it. I still think this is marvelous code.
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post

Forum Jump:


Users browsing this thread: 1 Guest(s)