#42735
04/28/2000 12:16 PM
|
Joined: Jan 2000
Posts: 68
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 68 |
Well, here's my next hack... what it does is allow you to search for users based on how many days it has been since their userfile was last modified (they either posted, or updated their profile). So, you can effectively hunt down and remove inactive user accounts from your board! Let me know of any problems... the instructions can be found here: http://www.arlo.net/ubb/cgi-bin/inactive.txt
|
|
|
#42736
04/28/2000 1:34 PM
|
Joined: Feb 1999
Posts: 1,379
Programmer
|
Programmer
Joined: Feb 1999
Posts: 1,379 |
Nice idea. You're a star Dave. Just a thought ![[Linked Image]](http://ubbcodehacking.com/ubb/smile.gif)
|
|
|
#42737
04/28/2000 3:32 PM
|
Joined: Feb 2000
Posts: 116
Member
|
Member
Joined: Feb 2000
Posts: 116 |
is there an example ubb that has this hack? ------------------ Moderator of UBB 5.45 and Hacks Compatibility I can't think of a good signature
|
|
|
#42738
04/28/2000 3:40 PM
|
Joined: Jan 2000
Posts: 170
Member
|
Member
Joined: Jan 2000
Posts: 170 |
Again a very good hack ![[Linked Image]](http://ubbcodehacking.com/ubb/smile.gif)
|
|
|
#42739
04/28/2000 3:44 PM
|
Joined: Jan 2000
Posts: 68
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 68 |
Dr. Dollarz - it seems to work on mine (5.45c) very nicely... but I'd have to give you admin access to try it out. Not really a demoable hack.
|
|
|
#42740
04/28/2000 7:01 PM
|
Joined: Jan 2000
Posts: 67
Member
|
Member
Joined: Jan 2000
Posts: 67 |
Nice work Dave as usual- kudos have you aour anyone else got the time to modify this to search for users < number then email them or create a comma delisted email file? ------------------ http://www.cpfc-bbs.com/
|
|
|
#42741
04/28/2000 7:52 PM
|
Joined: Jan 2000
Posts: 68
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 68 |
Dave# - good suggestion. I'll see what I can do, it shouldn't be that difficult I wouldn't think!
|
|
|
#42742
04/29/2000 2:05 AM
|
Joined: Jan 2000
Posts: 68
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 68 |
Dave# - I've got this working now so you can e-mail inactive users or create a list. The instructions have been updated to include this. I haven't actually tested this with an actual mailing to inactive users, but the generated lists do work as expected... and they both use basically the same code, so I don't see why it shouldn't work.
|
|
|
#42743
05/03/2000 11:31 PM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
Has anyone else actually installed this and got it to working properly? When I run it, and I ask for users inactive for 30 days, it shows one users name. I know there is more than one user inactive more than 30 days, which leads me to believe that it is showing users inactive for 30 days, not 30 days or more. Is there a different number to put in? ">30" doesn't work... ------------------ Allen - http://www.stand318.com
|
|
|
#42744
05/03/2000 11:58 PM
|
Joined: Jan 2000
Posts: 68
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 68 |
Allen - it works fine for me... it does do a search for >= on the users. What it is comparing it to is the modification date (in days) of the user's file in the member directory. And basically, the only time a member's file is updated is if they change their profile or post a message.
If you recently copied all the member files to a new location or did something that would update the modification date on the files, that would explain your situation.
|
|
|
#42745
05/04/2000 12:10 AM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
Thank you Dave for the fast reply. Would a "rebuild member files" have the same effect? ------------------ Allen - http://www.stand318.com
|
|
|
#42746
05/04/2000 6:47 AM
|
Joined: Jan 2000
Posts: 395
Member
|
Member
Joined: Jan 2000
Posts: 395 |
Great idea.
Could someone do a workup for versions such as 5.39, since earlier versions don't have cpanel4?
Thanks!
|
|
|
#42747
05/04/2000 11:12 AM
|
Joined: Jan 2000
Posts: 68
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 68 |
While I haven't looked at the code yet, I'm guessing that it's probably very likely that if you do a "rebuild member files" that all the modify times would be changed. I'll see if there is some way around this.
|
|
|
#42748
05/06/2000 10:11 AM
|
Joined: Mar 2000
Posts: 3
Junior Member
|
Junior Member
Joined: Mar 2000
Posts: 3 |
Is there any way of making it so all of the usernames are check when you do a search for inactive users? or an easy way of making it delete all inactive users without haven't to click on every box?
|
|
|
#42749
05/09/2000 1:32 AM
|
Joined: Jan 2000
Posts: 68
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 68 |
I will continue to support this hack on the new UBB Hackers.com Forums , please direct all questions for this hack over there. cyo - I just added what you requested!
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|