Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Problem with aMember Registered User and Simple Press
Avatar
Sasha Sibree
Member
Free Members
sp_UserOfflineSmall Offline
Oct 21, 2012 - 5:54 pm

Hi,I have a wordpress site, the membership portion of my site is managed with aMember and have started using Simple Press for my forum.

I sell group memberships and have private forums so that only the members of that group can access that forum.

I'm trying to figure out on what side of the equation I'm having problems i.e. Simple Press or aMember.

When a new member registers the role they are being assigned by aMember is "aMember Active", not subscriber.

In Simple Press I have the mapping of this Role to default to Member.

Upon creating a new user group so that I can create a private forum, when I go to add members no one shows up in the potential list.

When I check Users in WP, they are there.  I've even tried changing their role on the WP profile to subscriber but they still don't show up in Simple Press User Groups.

Any suggestions?

usergroup.jpgImage Enlarger

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 21, 2012 - 7:15 pm

probably depends on what amember is doing... does it use the wp api and wp roles for new users?? simple press has to assume that every new user gets a wp role assigned... if a plugin, such as amember or other, creates a new user, but doesnt use the wp api, the standard wp hooks may not get fired so sp knows a new user was created...

take a look at the sfmembers table... there should be the same number of entries as the wp users table... so basically, when wp creates a user, they fire a hook which notifies plugins that a user was created... sp then creates the sfmembers entry with its supplemental data... do the tables have equal numbers?

try creating a new temp user from the wp admin add user panel... does the sp sfmembers entry get created?

should help narrow it down...

Avatar
Sasha Sibree
Member
Free Members
sp_UserOfflineSmall Offline
Oct 22, 2012 - 7:33 am

Hi, thanks for the reply.

I'm checking regarding whether aMember uses the wp api.  I've contacted aMember customer support.

Upon checking sfmembers table and wpusers table - they are different.  When manual adding a user through wp, that does add the user to the sfmembers table also.

I may still be having issues on the SP side too.  The user I added manually through wp that showed up in the sfmember table doesn't show up when I go to add that user to the usergroup.  It still looks like the image above.

Any thoughts?  Thanks.

Avatar
Sasha Sibree
Member
Free Members
sp_UserOfflineSmall Offline
Oct 22, 2012 - 7:49 am

I figured out my issue on the SP side.  When I added a user I didn't add first name or last name.  When I added that they showed up in the list. (that was the settings I had used for display name)

I tried adding another user this time adding first name & last name and it worked fine.

I'll see what aMember says and post again if having troubles.

Thanks

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 22, 2012 - 7:58 am

This most certainly sounds like aMember is not firing off the required WP actions that inform other plugins of what has happened. We will be interested to hear what they say...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 22, 2012 - 9:16 pm

if that plugins has an api and some hooks too...  we can give you the routine to call or hook to fire from within amember if it supports hooks...

Avatar
Sasha Sibree
Member
Free Members
sp_UserOfflineSmall Offline
Nov 4, 2012 - 1:39 pm

Just wanted to give an update.  You where right, amember updates the wp_users table directly and doesn't execute any hooks.

They have now added Simple Press Support to the Wordpress plugin.  There is still a few little bugs in it but I expect them to be fixed within a week.

Thanks again.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 4, 2012 - 2:13 pm

That is excellent news. Thanks for letting us know. We look forward to it all working together as it should

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 4, 2012 - 3:29 pm

yes, good news indeed!

Avatar
Sasha Sibree
Member
Free Members
sp_UserOfflineSmall Offline
Nov 9, 2012 - 7:39 am

I'm wondering if you have any suggestions?

aMember has been working on the integration.  They are now able to add Simple Press support in their Wordpress Plugin.  Not sure if this is every ones WP Plugin has this yet, I might be the guinea pig.

So when a new member is added they now show up in my SF_Members table.

The one bug I'm still having troubles with and it may be unique to my situation.

I sell group memberships. As a member of my service you have your own private forum for you and your subusers. What I'm doing is once they are a member I manually create a new subuser group and assign this new member and their subusers to it to create them a private forum.

aMember has this feature they call database rebuild.  My understanding is that after you change permissions in aMember you should rebuild the amember core database, invoice database and wordpress database through aMember to update everything.

When I do this it unsubscribes members from their User Group.  What table is membership to a user group contain in?  I was wondering if I could get aMember to change something so that when it updates wordpress it doesn't touch this table.

Any thoughts or ideas?

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625