Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8079557
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T16:08:38+00:00 2026-06-05T16:08:38+00:00

I am new to drupal 7 and was willing to implement something like time

  • 0

I am new to drupal 7 and was willing to implement something like time based unsubscription from a OG Group.

I have users added in OG Group.
I want to implement time based unsubscription of the users already added in the group say ‘Computers’.

User say ‘Tony’ is added to the group ‘Computers’ today, now I wish that a user ‘Tony’ should be unsubscribed from the group ‘Computers’ after a subscription of 3 months (a specific time period).

A Notification message should be sent to user ‘Tony’.

All the process should be based on systems current date and the joining date of user ‘Tony’ to the group ‘Computers’.

Please help me with any solution.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T16:08:40+00:00Added an answer on June 5, 2026 at 4:08 pm

    Try using the rules module: http://drupal.org/project/rules

    Once you’ve enabled the module, you can create a rule (Administration » Configuration » Workflow » Rules) that runs each time cron is run on your site. I’m assuming cron runs hourly or daily.

    On your new rule that runs with cron, you’ll have to add several actions

    1. Get group members from certain group
    2. Loop on those members
    3. Unsubscribe each user

    Does that work for you?


    Addition:

    Another thing that may help you get your list of groups and/or group members for this is installing and using the Views Bulk Operations module: http://drupal.org/project/views_bulk_operations

    Rules integrates with that, so maybe you can do the following:

    1. Create a VBO view that lists all your members from a certain group you’re interested in keeping clean. Use as a filter on your view the time they’ve been a member if you’d like…
    2. Go back to your rule that runs on cron and choosing the following under ‘Actions’: ‘Load list of entity ids from a VBO View’ (screenshot attached)
      enter image description here
    3. Then add a loop on those users (second action)
    4. Then add an action for that loop that unsubscribes the users (third action)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just set up a new Drupal site, community based. there are some
i am new to drupal theming. i want to do the following: i have
I'm pretty new to drupal development. I have a group node and inside it
New to Drupal and want to do the following: Display a list of the
I'm new in drupal and currently I have to get a way to create
I'm quite new to django, and moved to it from Drupal. In Drupal is
Having spent some time migrating old data into a new drupal site, my first
im new on drupal and want to make a menu for a restaurant showing
Totally new to Drupal so be gentle please! Let's say I have a number
I'm new at drupal. I created custom content type with CCK. Added some Phone,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.