-
☆ A M B ☆
- 1,231 Posts
Is it possible to create a form using eform or the likes and have the info posted in a thread on a smf forum? I would like people to beable to send an application to a thread rather than my email address. I’m not sure how to do this, has anyone managed to do it? I checked on the smf forum and there is some threads about it but i don’t know if that’s the way to do it with modx?
-
☆ A M B ☆
- 24,524 Posts
It’s all in the database. Use an event in eform to create a new function to load the submitted data (after validating it and escaping it, of course) into the appropriate tables in your SMF database.
Just be careful about opening a new database connection and closing it when finished so that a) you don’t have opened connections hanging around after you are finished with them and b) MODx can find its own database after you’ve inserted the data into the SMF database.
If you’re using the same database for both SMF and MODx, then that’s not an issue.