Forum Replies Created
-
In reply to: Fix for users of s2member and bbPress 2.2
see the comments posted in the ticket jjj, the problem is that a role created by a plugin isn’t in the default map, and thus it won’t get handled (b/c any roles not in the default wp_roles don’t get handled). I added a patch to the ticket.
[edit: my brain is mush and translating to really bad grammar]
In reply to: Fix for users of s2member and bbPress 2.2ticket created -> https://bbpress.trac.wordpress.org/ticket/2042 – I’ll do some more investigation and will post comments/suggestions in the ticket.
In reply to: Fix for users of s2member and bbPress 2.2s2member does do that. But for whatever reason, those roles aren’t being picked up by bbp_set_current_user_default_role() (via $bbp->current_user->roles)
In reply to: Fix for users of s2member and bbPress 2.2jjj want me to create a ticket in trac for this? I have some suggestions on how to improve this so it works with other membership plugins?
In reply to: Fix for users of s2member and bbPress 2.2which of course means that ANY plugin that adds users to different roles than what bbPress expects won’t have a default forum role applied.
In reply to: Fix for users of s2member and bbPress 2.2because s2member adds users to their own role and the map being referenced in bbp_get_user_role_map() doesn’t account for the s2member roles. So to fix I just added s2member roles to the map.
In reply to: Fix for users of s2member and bbPress 2.2kk I updated the plugin referenced in the gist above (load the filter earlier via plugins_loaded). You’ll need to leave the plugin I added live, but it will handle new s2member registrations AND eliminates the need to visit tools->forums
In reply to: Fix for users of s2member and bbPress 2.2confirmed… new s2member users DO NOT have a bbPress role added. Gonna modify the plugin I referenced above now.
In reply to: Fix for users of s2member and bbPress 2.2hmm … sorry if it’s already in this thread but do new signups in s2member (for various s2member roles) get the default bbPress role added (if that’s selected in the bbPress forums options)? There is an “Auto role” checkbox in `options-general.php?page=bbpress` that when checked is supposed to automatically assign default roles to new, registered users upon visiting the site…. I’ll have to check into that and see if new s2member registered users get that default role…
In reply to: bbPress 2.2.1Posted a fix for s2member issues here -> https://bbpress.org/forums/topic/fix-for-users-of-s2member-and-bbpress-2-2/