Home › Forums › Community Forum › Signup Confirmation Email 4 different levels
This topic contains 7 replies, has 3 voices. Last updated by Cristián Lávaque 4 years, 2 months ago.
Topic Author | Topic |
---|---|
Posted: Thursday Oct 18th, 2012 at 12:36 pm #28855 | |
|
|
Hi, im trying to setup two sets of Signup confirmation emails, one for paying custumers wich are in level 2 and for free customers wich will be at level 1 ( using pro-forms free subscription ), so is there any way two setup different emails depending on the subscription level ? Thks a lot guys |
List Of Topic Replies
Author | Replies |
---|---|
Author | Replies |
Posted: Thursday Oct 18th, 2012 at 6:35 pm #28934 | |
![]() |
|
Hi Jaun, This will require overriding the default signup email and then building and sending your own emails using PHP. This thread should provide a view pointers on where to start. |
|
Posted: Friday Oct 19th, 2012 at 10:20 am #29019 | |
|
|
Thaks, im was trying to go through the trhead the you mentioned, and as you said with this piece of code
placed at mysite/wp-content/mu-plugins, file name s2-hacks.php I did tryed adding
in the code
so i ca get the log file to get the vars inside the array becouse im not quite sure where to see the print_r($vars) in the browser, but the log its not been created at all so im not sure what im doing wrong here, and where to go from here, hopefully you can help me out with this i really appreciate |
|
Posted: Saturday Oct 20th, 2012 at 12:30 am #29097 | |
![]() |
|
If you don’t see the log file get created, that would indicate that the filter on ws_plugin__s2member_signup_email_sbj is not being triggered, so your function is never running. Are you receiving any signup confirmation email when you do a test Free Registration? |
|
Posted: Saturday Oct 20th, 2012 at 1:45 am #29112 | |
|
|
Yes i do get the Default confirmation email
|
|
Posted: Monday Oct 22nd, 2012 at 1:25 pm #29282 | |
![]() |
|
Posted: Monday Oct 22nd, 2012 at 3:04 pm #29323 | |
|
|
thks Raam once again for the help, i did the changes my code to add the correct filters, just to be clear, with
I ended up with the fallowing code in my s2-hacks.php file
still not working, i did several test and no luck yet i was trying to get more info about the $s2member_default_msg and $s2member_default_sbj not quite sure if these are the parameters the are giving me the problem, perhaps can point me in the right direction, thanks for the help |
|
Posted: Tuesday Oct 23rd, 2012 at 7:23 pm #29465 | |
|
|
Juan, I searched the source files for a while looking for a filter for the New User email until I found the file where the code is. s2member\includes\classes\email-configs.inc.php Didn’t find filters, but found them in the s2Member options array, so you can try editing that. [hilite code]$GLOBALS["WS_PLUGIN__"]["s2member"]["o"]["new_user_email_subject"][/hilite] I hope that helps. :) |
This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.