Community Support Forums — WordPress® ( Users Helping Users ) — 2011-09-01T08:20:41-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=2608 2011-09-01T08:20:41-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2608&p=33617#p33617 <![CDATA[Re: (solved) [s2Member-Pro-PayPal-Form] Shortcode Ignores Cu]]> Statistics: Posted by bsowards — September 1st, 2011, 8:20 am


]]>
2011-04-02T14:05:38-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2608&p=8869#p8869 <![CDATA[Re: (solved) [s2Member-Pro-PayPal-Form] Shortcode Ignores Cu]]> Thanks for the follow-up.

Yes, I'm adding this to our TODO list.
I think some Replacement Codes would be a nice feature here.

Statistics: Posted by Jason Caldwell — April 2nd, 2011, 2:05 pm


]]>
2011-04-01T04:03:26-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2608&p=8793#p8793 <![CDATA[Re: [s2Member-Pro-PayPal-Form] Shortcode Ignores Custom Valu]]>
In the dashboard under "s2Member API / Notifications" -> "Signup Notifications" you advocate dynamic custom values using this example:
Code:
custom="www.example.com|<?php echo $_SERVER["REMOTE_ADDR"]; ?>"


Rather than include php code which could easily and inadvertently be sanitized by the WP editor (or enabling php-exec which seems dangerous), what about something like this?
Code:
custom="www.example.com|%%affiliate-cookie%%"

...in combination with a filter function like this:
Code:

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');
 

Does this seem like a reasonable approach? It feels like it might already even be possible assuming there is suitable 'what-hook-is-this-jason' equivalent, right?

Statistics: Posted by johnleblanc — April 1st, 2011, 4:03 am


]]>
2011-03-14T20:33:45-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2608&p=7821#p7821 <![CDATA[Re: [s2Member-Pro-PayPal-Form] Shortcode Ignores Custom Valu]]> Investigation completed. This functionality for Free Registration Forms was not possible in s2Member v3.5.2. Starting with s2Member v3.5.3+, it is now possible to add the custom="' Attribute to a Free Registration Form. Thanks for reporting this important issue.

Changelog excerpt v3.5.3.
* **(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®.

Statistics: Posted by Jason Caldwell — March 14th, 2011, 8:33 pm


]]>
2011-03-12T01:40:46-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2608&p=7732#p7732 <![CDATA[Re: [s2Member-Pro-PayPal-Form] Shortcode Ignores Custom Valu]]> Statistics: Posted by Jason Caldwell — March 12th, 2011, 1:40 am


]]>
2011-03-11T10:25:50-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2608&p=7712#p7712 <![CDATA[Re: [s2Member-Pro-PayPal-Form] Shortcode Ignores Custom Valu]]> Statistics: Posted by johnleblanc — March 11th, 2011, 10:25 am


]]>
2011-03-06T02:15:28-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2608&p=7436#p7436 <![CDATA[(solved) [s2Member-Pro-PayPal-Form] Shortcode Ignores Custom]]> [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

Statistics: Posted by johnleblanc — March 6th, 2011, 2:15 am


]]>