Are you talking about the API / Notifications?
If so, the registration notification option has this listed below it:
You can also use these special Replacement Codes if you need them:
%%role%% = The Role ID ( subscriber, s2member_level[0-9]+, administrator, editor, author, contributor ).
%%level%% = The Level number ( 0, 1, 2, 3, 4 ). ( deprecated, no longer recommended; use %%role%% )
%%ccaps%% = Custom Capabilities. Ex: music,videos,free_gift ( in comma-delimited format ).
%%auto_eot_time%% = Auto-EOT Time ( if applicable ). Ex: 1299925670 ( unix timestamp ).
%%user_first_name%% = The First Name of the Member who registered their Username.
%%user_last_name%% = The Last Name of the Member who registered their Username.
%%user_full_name%% = The Full Name ( First & Last ) of the Member who registered their Username.
%%user_email%% = The Email Address of the Member who registered their Username.
%%user_login%% = The Username the Member selected during registration.
%%user_pass%% = The Password selected or generated during registration.
%%user_ip%% = The User’s IP Address, detected via $_SERVER[“REMOTE_ADDR”].
%%user_id%% = A unique WordPress® User ID generated during registration.
Custom Registration/Profile Fields are also supported in this Notification:
%%date_of_birth%% would be valid; if you have a Custom Registration/Profile Field with the ID date_of_birth.
%%street_address%% would be valid; if you have a Custom Registration/Profile Field with the ID street_address.
%%country%% would be valid; if you have a Custom Registration/Profile Field with the ID country.
%%etc, etc…%% see: s2Member -> General Options -> Registration/Profile Fields.
Custom Replacement Codes can also be inserted using these instructions:
%%cv0%% = The domain of your site, which is passed through the `custom` attribute in your Shortcode.
%%cv1%% = If you need to track additional custom variables, you can pipe delimit them into the `custom` attribute; inside your Shortcode, like this: custom=”.com|cv1|cv2|cv3″. You can have an unlimited number of custom variables. Obviously, this is for advanced webmasters; but the functionality has been made available for those who need it.
This example uses cv1 to record a special marketing campaign:
Hope that helps,
Dave
-
This reply was modified 4 years, 9 months ago by
David Welch.
|
Hello David,
Thank you for your response.
Can I use the replacement codes listed in Payment Notification in the Registration Notification URL area as well, or are the codes restricted to the notification area specifically?
So, if I place a URL in the Payment Notification URL can it include replacement codes from the Registration Notification?
|