hmmm, not heard of this in bbpress, I’d suspect emember is having issues with bbpress
How could that be … there’s no change in the members what so ever and every now and then the forum role gets reset to the basic forum role.
Where’s this information stored in the database ?
That way I can give it a go with the eMember plugin company ….
bbpress stores its role in the same array as wordpress roles
ie in
usermeta[‘wp_capabilities’]
and an entry looks like
a:2:{s:13:”administrator”;s:1:”1″;s:13:”bbp_keymaster”;b:1;}
with admin being the wordpress role and bbp_keymaster being the bbpress role.
A pure wordpress user would look like
a:1:{s:13:”administrator”;s:1}
Now, and this is probably key, when a users registers they just get the wordpress role. When they then log on bbpress sees that it has no role set, so assigns the default role.
Now if emember is writing info to wp_capabilities, it could be overwriting part or the entire array (so by mistake deleting the bbpress role) or appending to it so that bbpress no longer sees it’s role. Then when the user next logs on, bbpress will see no role set, and set it back to the default.
This could explain why users would be going back to default