Version: 1.00, by Takara
Developer Last Online: Oct 2009
Version: 2.2.x
Rating:
Released: 05-08-2002
Last Update: Never
Installs: 67
No support by the author.
I made this cause someone asked for it in the requests. I'm not even sure if it counts as a hack (just two lines of code to hack )!
Basically you plop the inactiveusers.php down in your admin dir. It will list all your users, show important info such as When they were last active, when they last posted, when they joined etc.
If they havent posted at all, and have been a user for more than 3 days (you can specify how many days) then it will say they are inactive! And if you click the "YES!" link (under the Inactive? column) it will let you delete the person (it prompts you first).
You can add a link to the admin CP. Here are the 'full' steps on how to install the 'hack':
Step Two:
Copy inactiveusers.php (attached below) into your admin folder
And you're done! hard, eh ;p
I was going to add the option to specifiy how many users per page since this would be bad for larger forums. But I couldnt figure it out. If anyone wants to give me a hand with that I would appreciate it.
Have fun ^_^ :bunny:
[EDIT: This hack is really old, and currently nothing (other than stuff on the first page) is added in this hack. I'll update this soon with something new for you guys with mods form this thread. Aswell there was a small update on post #29, go here for the update: https://vborg.vbsupport.ru/showthrea...719#post249719 ]
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
The only thing I can think of is that you have tried to apply that addition to the original hack which removed the
PHP Code:
(($row["lastpost"]==0)
in order to try and get it to show all inactive users REGARDLESS of thier post count.
When I removed that piece, EVERYONE that has been registered over 1 day showed as inactive, no matter how many days I told it to search for!
So, now I'm just trying to figure out how to code php so that I can get it to search out maybe folks with less than 5 posts and no actvity for 30 days.....
I researched php coding and tried several adjustments to the equation ==0, I tried <=5 as it should be, but that didn't work!
Can anyone sort this?
It would be so great if you could plug in 30 days and see how many folks are inactive regardless of thier post counts.
If you just remove the post count bit from the code as indicated in an earlier post, everyone EXCEPT for those that registered on the day you run the search show as inactives.
Originally posted by TECK takara, could you please be kind and let ur know if the attachment in the first post have all the mods listed in the thread?
thanks.
Unfortunatly not. This little thing is just a bunch of sloppy code by me. I didn't think people would actually ever use it. If anyone has a moded version I'll put it in the original thread.
Unfortunatly I no longer maintain a vB and I don't really have much time. I just stoped by for a view. If no one posts an updated version I supose I could take a look through the entire thread and put something together with the modifications.
Originally posted by xiphoid I was just wondering.
In the screenshot from post 2, and sorry if this already has been mentioned, you can see Rahvin having last post to NEVER, and posts colums says 0, but Redemption 09 also has posts to zero, yet he has last post date, and not never. ERR ?
Thats because I had a testing forum where posts don't increase post count. red hadn't posted anywhere else but that forum. Sorry about that confusion
this is the problem it should show you the members who was inactive for 3 days as inactive but i have member that not active already a month but it still show him as active and i cant change the number of days its always on 3 days and it impposible to change it it always stays on 3