I'm trying to set values for cv0 and cv1 without success:
[s2Member-Pro-PayPal-Form register="1" desc="Foo" custom="www.example.com|my_value" /]
Using s2member Pro 3.5.2, PayPal Pro Module 1.5.2, WP 3.1
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™
* **(s2Member Pro). Feature improvement.** s2Member Pro Forms for Free Registration access are now more versatile. It is now possible to configure your Pro Form Shortcode so that Free Registrants come into your site with something other than the default Level #0 Access Level. For example, if you need to, you can change the Form Attribute `level="0"`, to `level="1"`, attach Custom Capabilities with the `ccaps=""` Attribute, and even limit this access to a certain timeframe with `tp="30" tt="D"` ( i.e. 30 Days ). So this Form is very flexible now. It can be used to allow free access to just about any aspect of your service. For more information on this topic, please check your Dashboard under: `s2Member -> PayPal® Pro Forms -> Free Registration Forms`. Also works with Pro Forms for Authorize.Net®.
custom="www.example.com|<?php echo $_SERVER["REMOTE_ADDR"]; ?>"
custom="www.example.com|%%affiliate-cookie%%"
function s2m-dynamic-form-custom-val($content) {
return str_replace('%%affiliate-cookie%%', $_COOKIE['affiliate_id'], $content)
}
add_filter('what-hook-is-this-jason', 's2m-dynamic-form-custom-val');
Users browsing this forum: No registered users and 2 guests