News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Integrate SMF with mass email software

Started by Ride, August 24, 2004, 09:01:46 PM

Previous topic - Next topic

Ride

I'd like to use ssi.php to make a "members page" where you can only access it if you are registered.  I'd also like to populate an email list form with the user's email address and perhaps some profile data too so all they have to do is click a button saying they'd like to subscribe to X list.  How do I do this and what if the user is banned?  Thanks for any help.

**I just had a thought.  I don't allow hotmail, yahoo, etc. accounts because of abuse.  I would probably make a custom profile field that asked for an email they'd like to use for the email list and then use that to populate a hidden field in the mailing list form.   So how would I do this?

Metho

Ok, so you've got a few things going on here...

http://www.simplemachines.org/community/index.php?topic=14906.0 Read the SSI FAQ's. That'll show you how to deny any but registered users on a page.

I'm not sure if it says in any of those faq's or not, but you can deny banned members by using the is_banned variable.

As for a table with email addy's and perhaps other profile related information, look at Memberlist.php and rip that apart.

http://unknown.network32.net/tutorial.smf_custom-profile shows you how to add custom profile fields.

- Methonis
Joshua "Methonis" Frazer
Support Specialist
The Simple Machines Team

Advertisement: