latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

add_s2member_sig use

Home Forums Community Forum add_s2member_sig use

This topic contains 1 reply, has 2 voices. Last updated by  Cristián Lávaque 3 years, 10 months ago.

Topic Author Topic
Posted: Thursday Feb 21st, 2013 at 5:47 pm #42764
Damian Jones
Username: aegis

Ok, I am looking everywhere for how to use
add_s2member_sig

I searched and the “Method DETAILS” all it says is this:

add_s2member_sig()
public static str add_s2member_sig(str $url_uri_query, str $sig_var)

Adds an s2Member-generated signature onto a full URL, a partial URI, or just a query string.

Since:

    111106
Parameters:

    str $url_uri_query - A full URL, a partial URI, or just a query string; to append the s2Member-generated signature onto.

    str $sig_var - Optional. The name of the s2Member-generated signature variable. Defaults to _s2member_sig.
Returns:

    str - A full URL, a partial URI, or just a query string; with an s2Member-generated signature.

what kind of details is that?
That does not tell me anything. nothing at all.
Can you tell me somewhere, how to use Php to generate a signature on the fly for me building my own links manually (well, having PHP do it but not S2Members short-code buttons)?

I have spent many hours looking for this and it is just ridiculous how hard it is to find info on it.

Thank you.

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Friday Feb 22nd, 2013 at 10:41 am #42828

Hi Damian.

You’d use it prefixing the class to the method, like this: [hilite code]c_ws_plugin__s2member_utils_urls::add_s2member_sig( ... )[/hilite].

I hope that helps. :)

Viewing 1 replies (of 1 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.