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.

About: michael persaud

Sorry, I've not written a description yet. I'll get to it soon!


My Favorite Topics

Viewing topic 1 (of 1 total)
Topic Count Last Reply
Signup Confirmation Email 4 different levels

By:  Juan Vanegas in: Community Forum

voices: 3
replies: 7

4 years, 2 months ago  Cristián Lávaque

Viewing topic 1 (of 1 total)

Topics I'm Subscribed To

Viewing 4 topics - 1 through 4 (of 4 total)
Topic Count Last Reply
Blank redirect

By:  michael persaud in: Community Forum

voices: 4
replies: 13

3 years, 10 months ago  David Kennaway

Paypal – "Referencing Customer ID"

By:  michael persaud in: Community Forum

voices: 3
replies: 9

4 years ago  Jason (Lead Developer)

Default CSS

By:  michael persaud in: Community Forum

voices: 2
replies: 4

4 years ago  Eduan

Membership payment page issues

By:  michael persaud in: Community Forum

voices: 2
replies: 10

4 years, 1 month ago  Eduan

Viewing 4 topics - 1 through 4 (of 4 total)

Topics I've Started

Viewing 4 topics - 1 through 4 (of 4 total)
Topic Count Last Reply
Blank redirect

By:  michael persaud in: Community Forum

voices: 4
replies: 13

3 years, 10 months ago  David Kennaway

Paypal – "Referencing Customer ID"

By:  michael persaud in: Community Forum

voices: 3
replies: 9

4 years ago  Jason (Lead Developer)

Default CSS

By:  michael persaud in: Community Forum

voices: 2
replies: 4

4 years ago  Eduan

Membership payment page issues

By:  michael persaud in: Community Forum

voices: 2
replies: 10

4 years, 1 month ago  Eduan

Viewing 4 topics - 1 through 4 (of 4 total)

My Latest Replies (From Various Topics)

Viewing 18 replies - 1 through 18 (of 18 total)
Author Replies
Author Replies
Posted: Friday Dec 28th, 2012 at 10:59 pm #35674

I got it fixed finally …. after 2 weeks.

I tracked down the code and removed [, “s2member_” . urlencode ((string)$req_type) . “_req” => (string)$req_type_value ] from Line 97 on /pluggins/s2member/includes/classes/mo-page-in.inc.php.

Just thought it might help anyone else having the same problem…..

BTW the .htaccess changes didnt help at all….

Posted: Sunday Dec 23rd, 2012 at 7:12 pm #35450

Thanks Eduan

Posted: Sunday Dec 23rd, 2012 at 7:12 pm #35449

Yeah i was trying to figure out the MOP but i dont get where i can do the config if i’m using it against the /membership post. I saw the article to remove it but i dont know if removing it will work effectively as i would like to have the “info” pass over to paypal….

Question if i disable the MOP as described where do i enable the variables separately?

Mike

Posted: Saturday Dec 22nd, 2012 at 10:16 pm #35393

Thanks Eduan. I just think from a security perspective its probably best to not send the user’s id, same way we try to protect the admin id.

Posted: Saturday Dec 22nd, 2012 at 10:13 pm #35392

No Eduan. Whether i’m in as admin or the user i get a blank page. Also when i’m logged in if i remove the variable it works.

If i log out and paste the entire url it works.

I figure if i can do a htaccess modification it might work but i dont know where i went wrong…

# MP Modify the S2M link to remove s2member_level

RewriteEngine On
RewriteBase /
RewriteCond %{QUERY_STRING} (^)s2member_level_req=1 [NC]
RewriteRule %{REQUEST_URI}?%1 [L,R=301]

Posted: Saturday Dec 22nd, 2012 at 5:13 pm #35366

Actually i dont want to grab the ID i prefer if something else was sent to paypal such as the email so that if the request was intercepted it wouldn’t give out the wordpress ids

Posted: Saturday Dec 22nd, 2012 at 4:41 pm #35364

My signup is free. The action i want is when the user clicks on a “paid” feature they are directed to the membership page. The page works when i’m not signed in and also when i’m signed in and go to it

In the editor i see on the right side:
This Page is your:
Membership Options Page
( always publicly available )

The url i see coming up when a paid option is clicked:
https://www.mydomain.com/membership/?_s2member_seeking%5Btype%5D=page&_s2member_seeking%5Bpage%5D=16&_s2member_seeking%5B_uri%5D=L3Bvc3QtbmV3LWF1Y3Rpb24v&_s2member_req%5Btype%5D=level&_s2member_req%5Blevel%5D=1&_s2member_res%5Btype%5D=page&s2member_seeking=page-16&s2member_level_req=1

If i remove the last variable “s2member_level_req=1” i get the correct action. I may have to find where this is being generated and have it removed from the URL…

If you or any others in the group knows where it would surely save time

Mike

Posted: Friday Dec 21st, 2012 at 9:53 pm #35298

anyone else has the issue of the redirect only working correctly when the user is not authenticated??

Posted: Friday Dec 21st, 2012 at 9:52 pm #35297

does the paid version have some control on what is sent to paypal?

Posted: Sunday Dec 16th, 2012 at 8:34 pm #34797

funny enough the link also works when i sign out and paste it in a new blank page …. go figure …

Posted: Saturday Dec 8th, 2012 at 8:49 pm #34024

OK i did some more digging and i saw where the different portions for the fields in the reg form is e.g.

/**/
echo ”.”\n”;
echo ”._x(“Password ( please type it twice )”, “s2member-front”, “s2member”).’ *
‘.”\n”;
echo ”.”\n”;
echo ”.”\n”;
/**/

The class referenced is ws-plugin–s2member-custom-reg-field. I didnt find this in the S2M CSS so i decided to add it …..

div#content > div.mu_register > form#setupform label.ws-plugin–s2member-custom-reg-field
{
…..
}

but i still dont see a change .

BTW the code came from: s2member\includes\classes\custom-reg-fields.inc.php

If any ideas are floating around be appreciated ….

Posted: Saturday Dec 8th, 2012 at 6:53 pm #34020

Thanks Eduan, i will surely consider it if i cant find a way to overwrite what is happening.

Posted: Monday Nov 26th, 2012 at 7:36 am #32577

Thanks Eduan,

noted it said “The use of MOP Vars is 100% completely optional ( for advanced site owners ).” So i guess its going to be ok for me to remove them.

Thanks much m8

Mike

Posted: Sunday Nov 25th, 2012 at 8:24 pm #32557

I did some more testing whilst still logged in and seems like the last two params in the url are causing the issue, if i remove them ( i did one at a time) i get the page

Original link:

https://www.domain.com/membership/?_s2member_seeking%5Btype%5D=page&_s2member_seeking%5Bpage%5D=21&_s2member_seeking%5B_uri%5D=L215LWFjY291bnQvcmV2aWV3c2ZlZWRiYWNrLw%3D%3D&_s2member_req%5Btype%5D=level&_s2member_req%5Blevel%5D=1&_s2member_res%5Btype%5D=page&s2member_seeking=page-21&s2member_level_req=1

altered link:

https://www.domain.com/membership/?_s2member_seeking%5Btype%5D=page&_s2member_seeking%5Bpage%5D=21&_s2member_seeking%5B_uri%5D=L215LWFjY291bnQvcmV2aWV3c2ZlZWRiYWNrLw%3D%3D&_s2member_req%5Btype%5D=level&_s2member_req%5Blevel%5D=1&_s2member_res%5Btype%5D=page

I also tried combinations of the link with the s2member_seeking=page-21 and the s2member_level_req=1 and these fails

So the question is how important are the last two parameters?

Mike

Posted: Sunday Nov 25th, 2012 at 8:06 pm #32556

Thanks Eduan.

Do have by any chance a working example that i could at least test using my domain?

Mike

Posted: Sunday Nov 25th, 2012 at 7:02 pm #32552

Still need advise please

Thx

Posted: Saturday Nov 24th, 2012 at 9:50 pm #32510

Hi Eduan,

Here it is, i removed my domain as its still being constructed.

=================================================================

The membership options are as follows:

Member / Quarterly Payments

Members costs $15 /quarter with the first 3 days free.

[s2Member-PayPal-Button level="1" ccaps="" desc="Member / Quarterly Payments" ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="www.domain.com" ta="0" tp="3" tt="D" ra="15" rp="3" rt="M" rr="1" rrt="" rra="1" image="default" output="button" /]

Member / Annual Payments

Members costs $35 /quarter with the first 5 days free.

[s2Member-PayPal-Button level="1" ccaps="" desc="Member / Yearly Payments" ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="www.domain.com" ta="0" tp="5" tt="D" ra="35" rp="1" rt="Y" rr="1" rrt="" rra="1" image="default" output="button" /]

* Other membership level and options will be available in the future

=================================================================

Thanks in advance

MP

Posted: Saturday Nov 24th, 2012 at 8:59 pm #32508

So further testing i found the only way i see the page with the redirect url is to log the user out and then paste the same link into the address bar. Not something i would ask my users to do.

Still looking for some advice

thanks
MP

Viewing 18 replies - 1 through 18 (of 18 total)

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.