I am currently using OG and OG Join role in order to maintain a certain role is allowed to subscribe to any OG's on my site. I am using Ubercart to allow users to purchase role subscriptions that expire after a certain amount of time.

Everything works fine until their role expires. Even though when they subscribed they were the correct role, they are still able to participate in the group after their role expires.

I thought about using OG Resetter to flush out users (say once a month), but this would be tedious if there are a lot of groups.

Is there a more automatic way (via OG itself or with a contrib module) to kick out users if they are not in a certain role?

Thanks

Comments

moshe weitzman’s picture

Status: Active » Closed (fixed)

Please read the warning when you submit an issue. Your request has little to do with OG.

bsherwood’s picture

I did read the warning prior to posting my issue. I would say that as a non-developer trying to use OG, that at the time of my writing this issue it does pertain to using OG. Maybe there is a setting or permission control within OG to solve my dilemma, maybe not. If I knew, then this issue would not exist. I was hoping for some support with either the OG maintainers or other OG users with a similar problem to help point me in the right direction. Drupal forums are notorious for lingering and unanswered questions.

If you look at my last sentence, I asked if OG (or a OG contrib) could do this. This question in and of itself is reason enough for this issue to exist. I submitted a "support request" to the maintainers asking a question about OG's functionality.

Out of all the OG modules listed on drupal.org this one felt most appropriate. It is clear that I will not get any helpful response from you. I am not demanding any support (very GPL un-friendly), just a level of common courtesy for the people who use this helpful software.

As a module maintainer with other modules adding functionality to your module, you should not be surprised that some users would come to you as the authority. You should see it as an honor and not a burden.

I apologize for my brashness. I just see the comment above as rather condescending. A simple "I am sorry, I can't help you" would have sufficed. Plus that sentence has a smaller word count, so it would have been easier to be polite.

Thank you for your understanding.

moshe weitzman’s picture

Title: How to enforce a role in order to maintain subsciber status » How to enforce a role in order to maintain subscriber status

you are right on all counts.

i just have no idea how to handle the issue queue here. there are a metric ton of issues, and many of them are caused by the OG helper modules that do unspeakable things in dirty ways. they cause subtle bugs. to be honest, i wish many of them were not published. i am flatterred and excited that many people want to build upon OG. but what they often do is work around limitations in core or OG instead of patching them. og_user_roles and og_content type_admin do useful things but their implementation is wild. i wish the authors work more closely with core and OG (as needed) so their modules stay trim and less bug prone.

bsherwood’s picture

There is no doubt that when code is in core it seems to be better maintained and less error prone. This might be a good time to start incorporating some of the smaller/simpler OG helper modules (ahem - OG Join Role) into OG as "official" contribs similar to what Userpoints, Ubercart and E-Commerce do. This way you would have control over them. One of the greatest things with some modules is that the core is "monolithically maintained" but is broken up into smaller modules to allow admins to fine tune their sites.

I personally would like to see a roles based system to access OG. When users are part of a role they are allowed to subscribe and when that role is removed (via manually by admin or through another module) they are kicked out of the group regardless of how a group admin feels about it. This would obviously be site-wide and nothing like OG User Roles.

I appreciate the civility of your last post. I would much rather have a civil disagreement with someone then get into a pissing contest.

Thanks