1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Automaticallly move members out of special usergroups if inactive

Discussion in 'Custom Service/Development Requests' started by maxwolfie, Jan 3, 2013.

  1. maxwolfie

    maxwolfie Active Member

    Hi all,

    A little about my site:
    I run a gaming website with a number of guilds, for various games. The way I have the guild members set up is with usergroups. I am using the Join User Group mod by Waindigo. This allows members to choose which guilds (usergroups) they want to join, which then goes through into the usual Moderation Queue. Once approved, they show up in a Guild Roster which is a modified version of the XenStaff mod by Lawrence. The website is www.HackSlashRepeat.com if you'd like to have a look for whatever reason.

    I was wondering if there was a way to remove a user from a Secondary Usergroup (remove them from the guild(s) they have joined) if they are inactive on the forum (I.e. do not visit the forum after X days).

    Also, I was wondering if it is possible for a member to leave a usergroup at his/her own will?
     
  2. maxwolfie

    maxwolfie Active Member

    Any ideas?
     
  3. maxwolfie

    maxwolfie Active Member

  4. maxwolfie

    maxwolfie Active Member

  5. vVv

    vVv Guest

    sounds like you need something LIKE the old vBulletin plugin "Move Inactive and Lurker Users To New Usergroup" here: http://www.vbulletin.org/forum/showthread.php?t=231874

    I tried looking for something similar here, but too tired and need sleep...surprised that vbulletin plugin wasn't also made for XF lol.
     
  6. maxwolfie

    maxwolfie Active Member

    It appears that one does not exist.
     
  7. shawn

    shawn Well-Known Member

    Create a cron job to do it. Something like this:

    http://xenforo.com/community/threads/why-doesnt-this-work.43600/#post-470908

    Change the query to see if they're a member of x usergroup and havent been active in y days, and update the db accordingly. I think Waindigo uses a separate table to manage the joined usergroup stuff, but you should be able to manage that the same way.
     

Share This Page