Expire Unactivated Users by Timeframe

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.

Rating:

Excellent!
11
58%
Very Good
8
42%
Good
0
No votes
Fair
0
No votes
Poor
0
No votes
 
Total votes: 19

harknell
Registered User
Posts: 39
Joined: Mon Mar 14, 2005 12:08 am
Contact:

Post by harknell »

I've submitted the update to the mod team, hopefully it'll be validated and posted soon.
Webmaster of the webcomic http://www.onezumi.com
The Art, The Comic, The Insanity
User avatar
M.O.B.
Registered User
Posts: 942
Joined: Tue Jan 04, 2005 1:07 am
Location: San Diego CA USA
Contact:

Post by M.O.B. »

The only problem I find with this mod is that sometimes users forget their password or enter it incorrectly a few times and find themselves with inactive accounts when this happens they can easily be deleted with this mod and also all their posts alone with it.
Image
harknell
Registered User
Posts: 39
Joined: Mon Mar 14, 2005 12:08 am
Contact:

Post by harknell »

Version 1.1 (currently in review by mod team) corrects for that possibility. It should be up here soon I hope.
Webmaster of the webcomic http://www.onezumi.com
The Art, The Comic, The Insanity
User avatar
M.O.B.
Registered User
Posts: 942
Joined: Tue Jan 04, 2005 1:07 am
Location: San Diego CA USA
Contact:

Post by M.O.B. »

PM me the code if it's allowed.



Another small suggestion?

Could this mod be set to automate by itself?
Image
Rik1138
Registered User
Posts: 9
Joined: Fri Aug 18, 2006 7:13 pm

Post by Rik1138 »

harknell wrote: Automation....hmmmm, I'm not sure how to directly go about automating a process like this. Nothing in phpbb actually "runs" as such to hook into.

Are any functions set to do something on a periodic basis without user input?


How about hooking it to any user login? Whenever a user logs into the forum (manually or automatically with cookies), have it run the script to expire unactivated accounts? (Or, if that would be running the script a little too much, maybe a way to make it run when the first person of each day logs in or something like that...)
User avatar
drathbun
Former Team Member
Posts: 12204
Joined: Thu Jun 06, 2002 3:51 pm
Location: TOPICS_TABLE
Contact:

Post by drathbun »

I would suggest using something like pruning... where it sets a limit as to how often it will run. And tie it to a moderator / admin logging in, rather than a normal user.

Best option, ultimately, is to set up a cron job that will run during times when the board activity is at its lowest level.
I blog about phpBB: phpBBDoctor blog
Still using phpbb2? So am I! Click below for details
Image
harknell
Registered User
Posts: 39
Joined: Mon Mar 14, 2005 12:08 am
Contact:

Post by harknell »

Thanks for the suggestions, I've also discovered some interesting techniques, like the one here: www.bitfolge.de/pseudocron used in this mod: http://www.phpbb.com/styles/forum/viewt ... 3a6a65e9e3. This looks like a possible solution, but probably cut down a bit to be more simplified. The one thing that automation potentially adds is lag to page loads, so it's tricky. I don't want to add a huge amount of overhead, especially with a board that is heavily visited. Of course any automation that I added would be optional and set by the admin to true/false in the control panel, so it could be disabled if found to be a burden on the server. I will probably also see about making the cron selectable such that it can be flagged to only initiate on a mod/admin visit to the site, or to a regular user visit.

So I'll look at both the tie-in to user log in, and the img src version for just a regular page view.
Webmaster of the webcomic http://www.onezumi.com
The Art, The Comic, The Insanity
MarkTheDaemon
Former Team Member
Posts: 2770
Joined: Thu Oct 20, 2005 2:42 am
Location: United Kingdom
Name: Mark Barnes

Post by MarkTheDaemon »

MOD Updated to version 1.1.0
See first post for Download Link
Akehla
Registered User
Posts: 4
Joined: Mon Dec 04, 2006 8:44 am
Location: Vancouver, Canada
Contact:

Post by Akehla »

I love this mod! I used to do all the pruning by hand before. This mod is saving me a lot of much time :)

Thank you so much Harknell.[/url]
harknell
Registered User
Posts: 39
Joined: Mon Mar 14, 2005 12:08 am
Contact:

Post by harknell »

Thank you Akehla, I found myself in the same situation on my forum so that's why I made the mod.

I'm still looking into how I'm going to design the automated portion of the mod. I hope to have something in Beta testing by next week.
Webmaster of the webcomic http://www.onezumi.com
The Art, The Comic, The Insanity
phatchopolis
Registered User
Posts: 166
Joined: Mon May 29, 2006 11:40 pm

Post by phatchopolis »

Great mod.
User avatar
IanL
Registered User
Posts: 437
Joined: Sat Apr 24, 2004 1:18 am
Location: Southern California
Contact:

Post by IanL »

just a suggestions for future consideration:

I'd also like to delete 2 other groups of people:

Those that activated X days ago but never logged on again.

Those that activated but havent logged on in X days.

I've done that manually with some sql queries, but it would be nice if there were an admin interface to do it.

thanks for the mod
Gymbrooke
Registered User
Posts: 13
Joined: Sun Jul 18, 2004 7:10 pm

Post by Gymbrooke »

I would like to be able to delete registered users with no posts after xxx number of days is that possible.
aussiepaulli
Registered User
Posts: 2
Joined: Fri Dec 15, 2006 12:14 pm
Location: Australia

Post by aussiepaulli »

Thanks for the great job that save time for me to delete those annoyance one by one.
User avatar
3Di
Former Team Member
Posts: 15727
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Post by 3Di »

harknell wrote: Are any functions set to do something on a periodic basis without user input?


the Prune Forums ?
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
:studio_microphone: Looking for a specific feature or alternative option?
Post Reply

Return to “[2.0.x] MOD Database Releases”