| 1 |
NOTE: While these old variables no longer appear in the URL, |
| 2 |
s2Member will create the following variables (internally) for backward compatibility |
| 3 |
with older versions of the software. |
| 4 |
|
| 5 |
----------------------------------------------------------------------------------------------------------- |
| 6 |
These example redirection links include all possible MOP Variable variations in the query string. |
| 7 |
----------------------------------------------------------------------------------------------------------- |
| 8 |
|
| 9 |
.../membership-options-page/?s2member_seeking=page-587&s2member_level_req=1 |
| 10 |
.../membership-options-page/?s2member_seeking=post-545&s2member_level_req=2 |
| 11 |
.../membership-options-page/?s2member_seeking=catg-698&s2member_level_req=4 |
| 12 |
.../membership-options-page/?s2member_seeking=ptag-447&s2member_level_req=3 |
| 13 |
.../membership-options-page/?s2member_seeking=page-887&s2member_ccap_req=music |
| 14 |
.../membership-options-page/?s2member_seeking=post-871&s2member_ccap_req=videos |
| 15 |
.../membership-options-page/?s2member_seeking=post-369&s2member_sp_req=369 |
| 16 |
.../membership-options-page/?s2member_seeking=bbpress&s2member_level_req=1 |
| 17 |
.../membership-options-page/?s2member_seeking=ruri-aHR0cDovL3d3dy5leGFtcGxlLmNvbS8&s2member_level_req=1 |
| 18 |
.../membership-options-page/?s2member_seeking=file-example.zip&s2member_level_req=1 |
| 19 |
|
| 20 |
----------------------------------------------------------------------------------------------------------- |
| 21 |
|
| 22 |
Here is a breakdown on each of these Variables: |
| 23 |
|
| 24 |
* `s2member_seeking` = [post|page|catg|ptag]-[ID number] (Post ID, Page ID, Category ID, Tag ID) |
| 25 |
Or: `s2member_seeking` = ruri-[base64 encoded URI] (only applies w/ Membership URI Restrictions) |
| 26 |
Or: `s2member_seeking` = file-[protected file name] (only applies w/ Download Restrictions) |
| 27 |
Or: `s2member_seeking` = bbpress (only applies when the s2Member → bbPress Bridge is installed) |
| 28 |
* `s2member_level_req` = a Membership Level # required for access (only applies to Membership Level Access) |
| 29 |
* `s2member_ccap_req` = a Custom Capability required for access (only applies to Custom Capability Restrictions) |
| 30 |
* `s2member_sp_req` = a Specific Post/Page ID required (only applies to Specific Post/Page Access Restrictions) |
| 31 |
|
| 32 |
`s2member_seeking` is always passed in; it is never excluded. |
| 33 |
`s2member_level_req`, `s2member_ccap_req`, `s2member_sp_req` are mutually exclusive. |
| 34 |
Only ONE of these three Variables will be passed in combination with `s2member_seeking`. |
| 35 |
|
| 36 |
----------------------------------------------------------------------------------------------------------- |
| 37 |
|
| 38 |
* These old MOP Vars are deprecated (they will NOT be available in future versions of s2Member). |