PriMoThemes — now s2Member® (official notice)
This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™
<?php
/* Your own custom subject line. */
add_filter ("ws_plugin__s2member_capabilities_email_sbj", "my_s2_ccaps_email_sbj");
function my_s2_ccaps_email_sbj ($sbj, $vars = array ())
{
return "Thank you! Your account has been updated.";
}
/* Your own custom message body. */
add_filter ("ws_plugin__s2member_capabilities_email_msg", "my_s2_ccaps_email_msg");
function my_s2_ccaps_email_msg ($msg, $vars = array ())
{
return "Thank you! You now have access to:\n" . $vars["paypal"]["item_name"] . "\n\nPlease log back in now.\n" . wp_login_url ();
}
?>
<?php
/* Your own custom subject line. */
add_filter ("ws_plugin__s2member_capabilities_email_sbj", "my_s2_ccaps_email_sbj");
function my_s2_ccaps_email_sbj ($sbj, $vars = array ())
{
return "Thank you! Your account has been updated.";
}
/* Your own custom message body. */
add_filter ("ws_plugin__s2member_capabilities_email_msg", "my_s2_ccaps_email_msg");
function my_s2_ccaps_email_msg ($msg, $vars = array ())
{
return "Thank you! You now have access to:\n" . $vars["paypal"]["item_name"] . "\n\nPlease log back in now.\n" . wp_login_url ();
}
?>
yamidemichaos wrote:I just to create a customized ID which random features which attached to the email...
<?php
/* Your own custom subject line. */
add_filter ("ws_plugin__s2member_signup_email_sbj", "my_s2_signup_email_sbj");
function my_s2_signup_email_sbj ($sbj, $vars = array ())
{
return "Congratulations! ( your membership has been approved )";
}
/* Your own custom message body. */
add_filter ("ws_plugin__s2member_signup_email_msg", "my_s2_signup_email_msg");
function my_s2_signup_email_msg ($msg, $vars = array ())
{
return "Thank you! You now have access to:\n" . $vars["paypal"]["item_name"];
}
?>
$vars["paypal"]["initial"] = the initial or trial amount of the sale.
$vars["paypal"]["initial_term"] = 1 D (would indicate an initial/trial period 1 Day). This is always a digit followed by a space, and then one of D,W,M,Y,L for Days, Weeks, Months, Years or Lifetimes.
$vars["paypal"]["regular"] = the regular and/or recurring amount associated with the sale.
$vars["paypal"]["regular_term"] = 1 M (would indicate the regular recurring or fixed-term term period). This is always a digit followed by a space, and then one of D,W,M,Y,L for Days, Weeks, Months, Years or Lifetimes.
Users browsing this forum: Google [Bot] and 1 guest