Newsletter Plugin with Membership Plugin

4 posts by 3 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: May 21, 2018   (RSS)

By Dave - April 27, 2018

Hi Tim, 

Yea, I'd give that a try.  Just manually create a test user that has all the default subscriptions you want, then search for that user in the database to confirm what and where the settings should be when automatically settings them for new signups.

Hope that helps!  Let me know any other questions.

Dave Edis - Senior Developer
interactivetools.com

By Toledoh - April 27, 2018

Where would I add it Dave?  Is there a point in the procces where FB login and memb plugin com together and add the member record? As I think when that happens, I also need to add the subscribe to list record...

Cheers,

Tim (toledoh.com.au)

By gregThomas - May 21, 2018

Hey Tim,

I've taken a look through the codebase for the two plugins. The only function that both pages will call is the function wsm_sendSignupEmail, which is used to email the user their pasword, it's on line 210 of websiteMembership.php. You could add code to this function to sign up the users to the newsletters. 

If you decide to customise the website membership plugin. I recommend renaming it websiteMembership_CUSTOM.php and leave a text file that lists the change in the same directory to ensure the change isn't lost if the plugin is upgraded.

Cheers,

Greg

Greg Thomas







PHP Programmer - interactivetools.com