Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: stoo23 on April 07, 2024, 03:19:15 AM

Title: Suspending accounts
Post by: stoo23 on April 07, 2024, 03:19:15 AM
Hi guys,
Just wondering if it is possible to 'Suspend' an Account to then have it re-activated by the member clicking on a Verification 'link' as per initial 'Activation' ??

This is not to be applied like a 'Ban' (although I DO have a situation currently where it could be used) .. but was more interested in it's use as an aid to 'Purging' very old members who have not returned in years.

Thanks, in Advance
Title: Re: Suspending accounts
Post by: Aleksi "Lex" Kilpinen on April 07, 2024, 03:38:27 AM
I don't think there's any easy way to do this within SMF, you could set accounts inactive through the database, but generally I wouldn't recommend messing with useraccounts directly in the database.
Title: Re: Suspending accounts
Post by: stoo23 on April 07, 2024, 03:56:23 AM
QuoteI don't think there's any easy way to do this within SMF
Thanks  :(  as I suspected, I couldn't see anything 'obvious' that suggested it was possible.

Quoteyou could set accounts inactive through the database, but generally I wouldn't recommend messing with useraccounts directly in the database.
Yeah, agreed.

Thanks anyway.
Title: Re: Suspending accounts
Post by: Aleksi "Lex" Kilpinen on April 07, 2024, 04:12:47 AM
You could check out this mod email Inactive Users (https://custom.simplemachines.org/index.php?mod=3849) it doesn't exactly do what you asked for, but it could help with managing inactive users.

( Edit: I'm bad with wikilinks lately, sorry - fixed )
Title: Re: Suspending accounts
Post by: stoo23 on April 07, 2024, 04:51:09 AM
Thanks,.. I did look at that before it had been updated to work with the latest version of SMF and at the time decided to not bother.
We currently are running php 8.2 so that may Still be an issue.

As I already have all the member data in a spreadsheet, it might just be easier to do something on the server side, with php or have one of our Coders come up with something clever to email everyone in the list.

Thanks anyway  :)
Title: Re: Suspending accounts
Post by: Doug Heffernan on April 07, 2024, 05:08:14 AM
Quote from: stoo23 on April 07, 2024, 04:51:09 AMor have one of our Coders come up with something clever to email everyone in the list.

Or you can ask them to develop a mod for you that will do what you requested. That should be fairly easy to develop.