Thanks, That's making sense but I want to be sure before I do it. Does this sequence look right?
I install and activate the
PHP Execution plugin.
I add the php line you gave me into the shortcode for
each signup level button like this (I'm showing only two of the levels but I changed them all to include the php line):
- Code: Select all
Member: $75/year [s2Member-Pro-Google-Button level="2" ccaps="" desc="Member" cc="USD" custom="www.smallbusinessmn.org|<?php echo S2MEMBER_CURRENT_USER_ACCESS_LEVEL; ?>" ta="75.00" tp="1" tt="Y" ra="75.00" rp="1" rt="Y" rr="1" image="default" output="anchor" /]
Supporter: 150/year [s2Member-Pro-Google-Button level="3" ccaps="" desc="Supporter" cc="USD" custom="www.smallbusinessmn.org|<?php echo S2MEMBER_CURRENT_USER_ACCESS_LEVEL; ?>" ta="150.00" tp="1" tt="Y" ra="150.00" rp="1" rt="Y" rr="1" image="default" output="anchor" /]
Then I'd add
user_level %%cv1%% into the
Administrative: User Notification Email.
Logically is it going like this?:
The PHP line is what picks up the user level from
level="n" within the button's shortcode and stores it in an array or table (or sends it along to Google with the other info and Google sends it back).
Then that value is retrieved and added to the e-mail by the line
user_level %%cv1%% in the
Administrative: User Notification E-mail. And it knows it's
cv1 because it's the first and only custom value in the shortcode.
(By now you see I'm not a programmer!)