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.

Home Forums Brad

About: Brad

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


Topics I'm Subscribed To

Viewing 2 topics - 1 through 2 (of 2 total)
Topic Count Last Reply
Code To Add Signups To Email Autoresponder

By:  Brad in: Community Forum

voices: 2
replies: 2

4 years ago  Eduan

Inaccurate Role Assignment In s2Member Pro

By:  Brad in: Community Forum

voices: 4
replies: 10

4 years, 7 months ago  Jason (Lead Developer)

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

Topics I've Started

Viewing 2 topics - 1 through 2 (of 2 total)
Topic Count Last Reply
Code To Add Signups To Email Autoresponder

By:  Brad in: Community Forum

voices: 2
replies: 2

4 years ago  Eduan

Inaccurate Role Assignment In s2Member Pro

By:  Brad in: Community Forum

voices: 4
replies: 10

4 years, 7 months ago  Jason (Lead Developer)

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

My Latest Replies (From Various Topics)

Viewing 5 replies - 1 through 5 (of 5 total)
Author Replies
Author Replies
Posted: Tuesday Jan 1st, 2013 at 1:18 pm #35898
Brad
Username: bradjbarton

It is somewhat surprising that no one has posted a reply to my post after 3 days, not even to ask a question or clarify. In the meantime I have located the other piece of the puzzle. Jason added this line to the API / Notifications, Registration Notifications section:

http://www.mywebsite.com/webwoms.php?aid=%%cv2%%&email=%%user_email%%&fname=%%user_first_name%%&lname=%%user_last_name%%&s=JIECSKSLWETEDK

Note: mywebsite.com was used for this example. This is not the actual live URL.

So, even if I need 8 files (webwoms1.php, webwoms2.php, etc.) to change the aid value to match the autoresponder assigned to the level of the new registration and/or 8 input lines in the API / Notifications, Registration Notifications section, I still need to know how to make the new registration level number match an aid value (simply an autoresponder number on my system). This is basically all I need help with – how can I integrate the new registration level number to execute a specific file or how can I integrate the new registration level number to execute a modified php file that will determine the aid value based upon the new registration level number?

Can someone please help me with this?

  • This reply was modified 4 years ago by  Brad. Reason: Added question mark to the question
Posted: Wednesday May 23rd, 2012 at 9:53 am #14320
Brad
Username: bradjbarton

Perfect. Thanks for the follow-up.

—–Original Message—–
From: WordPress
Sent: Wednesday, May 23, 2012 8:49 AM
To: support@sitesteering.com
Subject: ( s2Member / API Notification Email ) – Registration

( s2Member / API Notification Email ) – Registration

role: administrator
level: 9
ccaps:
auto_eot_time:
user_first_name: Brad

I look forward to the maintenance release.

Posted: Sunday May 20th, 2012 at 10:33 am #14019
Brad
Username: bradjbarton

Hello Jason,

As you recommended, I ran the role reset utility. However, I still receive the level 4 registration notification email and I still receive the level 4 characteristics in our custom software when creating a new Admin user account.

Keep in mind that the new admin user account does in fact operate as a level 9 within WordPress and s2Member everywhere else that I can think to check. Whatever that trigger is that generates the registration notification email at level 4 is apparently the same trigger data that my developer used to assign characteristics in our custom software.

Also, as I mentioned earlier, I tested this with the same results on a couple other sites (zero custom software) with the same results. You can see here –

That the role reset utility ran successfully showing 9 member levels on a second installation that has nothing but a handful of plugins. However, the notification email still says:

—–Original Message—–
From: WordPress
Sent: Sunday, May 20, 2012 9:13 AM
To: support@sitesteering.net
Subject: ( s2Member / API Notification Email ) – Registration

( s2Member / API Notification Email ) – Registration

role: administrator
level: 4
ccaps:
auto_eot_time:
user_first_name: Brad

I would be very surprised if you cannot duplicate this.

Posted: Saturday May 19th, 2012 at 11:41 pm #14002
Brad
Username: bradjbarton

As I stated in the first post, I created a new admin user account for a developer. I did not create the user account as something else and then upgrade the account to admin later. I manually created the admin account under s2Member/Add A Member. The next day, on two different web sites I created admin accounts through both s2Member/Add A Member and Users/Add New. There is no difference between the two as they take you to the same Add New User page. All three admin accounts were created as admin, not upgraded after creation.

Later, as a test, I manually changed the admin account to a level 9 account and discovered that the account lost admin rights. I expected this behavior, but simply wanted to test if it made any difference.

If you check the Add New User page you will see that the admin user account can be registered as admin at the point of creation. It does not require a later upgrade to create an admin user. And yes, the registration notification is sent when an admin user is created. Not only is it confusing that an admin account stays at level 4, why would you do that? That’s like saying that it would make sense to classify the admin as level 2 in a 4 level configuration, or the default admin is level 2 if Pro were not used. Do you see what I mean? It does not make sense.

The only place I saw it in s2Member was the registration notification email. I first observed the issue in results provided by our custom software. Our software uses certain triggers that are generated by s2Member but does not modify s2Member in any way. I created an admin account for a developer. I did not expect the new admin account to be the recipient of level 4 characteristics in our custom software, I expected it to receive level 9 characteristics, as that would be logical, since level 9 is now the highest level.

So, are you claiming that s2Member is designed this way? If so, why is it designed this way?

Posted: Thursday May 17th, 2012 at 9:34 am #13771
Brad
Username: bradjbarton

Thanks for your reply Raam.

Our software does not modify s2Member at all. We take s2member result data and then use that to create events in our software.

As a test, this morning I tested the same scenario in two other WordPress installations. Both fairly clean installs with nothing other than a handful of plugins. I modified the wp-config files to create the 9 membership levels, and then created another Admin account. There was no interfaced software to trigger, but the notification email reports that a level 4 account was created. Obviously, since Admin is supposed to be elevated to the highest level, this email should indicate that a level 9 was created. I think that you can easily perform this test on a WordPress installation to see for yourself, but make sure that your notification email is turned on. This is pretty clearly a minor s2Member glitch.

Importantly, the glitch does not affect the admin functionality as near as I can tell. I tried to change the admin account to s2Member level 9 as another test, but I lose admin functionality, and so had to switch it back. This is as closely as I can identify the glitch.

Please let me know how to fix/correct this issue, otherwise I will probably end up having to pay my developers to change our trigger points in an effort to avoid a glitch in level assignment.

Viewing 5 replies - 1 through 5 (of 5 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.