Forum for discussing general topics related to Couch.
3 posts Page 1 of 1
Hi, really enjoying CouchCMS so far but the activation emails for registering users is proving problematic, they don't like my mail server for some reason plus they aren't necessary for the website I'm building. I would try and fix it but every time I mess with the code something terrible happens, so I just want to ask an expert how to remove this feature? Thanks for your time.
Maybe you can make them initially active by setting current time instead of zeroes in the 'create' form -
Code: Select all
// before - 
k_publish_date = '0000-00-00 00:00:00'

// after -
k_publish_date = "<cms:date format='Y-m-d H:i:s'/>"

My Documentation, Addons, Functions.
Join COUCH:TALK telegram channel
trendoman wrote: Maybe you can make them initially active by setting current time instead of zeroes in the 'create' form -
Code: Select all
// before - 
k_publish_date = '0000-00-00 00:00:00'

// after -
k_publish_date = "<cms:date format='Y-m-d H:i:s'/>"



Excellent stuff again my friend, you've been a big help
3 posts Page 1 of 1
cron