2013-10-08, 05:26 PM
2013-10-08, 05:35 PM
it should be already available at the admin panel - forumURL/admin/index.php?module=user-banning
if that is not what is required, please elaborate where you want to have the ban length details
if that is not what is required, please elaborate where you want to have the ban length details
2013-10-08, 05:53 PM
.
Thank you for the info.
Yes, it is there... is there any way to display more than 20 (think thats what is showing) banned users in that list... have a lot of banned users, and just wanted to be able to confirm, occasionally and somewhat quickly, that all are permanent etc.
I created a custom 'banned list' view with 200 in each list view, but there appears to be no way to show the 'banned length' in that list.
Next best thing seems to be using the database.
Thank you for the info.
Yes, it is there... is there any way to display more than 20 (think thats what is showing) banned users in that list... have a lot of banned users, and just wanted to be able to confirm, occasionally and somewhat quickly, that all are permanent etc.
I created a custom 'banned list' view with 200 in each list view, but there appears to be no way to show the 'banned length' in that list.
Next best thing seems to be using the database.
(2013-10-08, 05:35 PM).m. Wrote: [ -> ]it should be already available at the admin panel - forumURL/admin/index.php?module=user-banning if that is not what is required, please elaborate where you want to have the ban length details.
2013-10-08, 06:05 PM
if you can give your code then someone might be able to help. or you can use this (modify it if required)
2013-10-10, 06:09 PM
It uses the threads per page setting. I think it should check it on the user level first though. It doesn't seem to do this. You would need to do a file edit for being able to display the time they are banned for because it stores that as seconds, not 1 year, 2 years, etc. There is no hook where there needs to be for being able to make a plugin that is efficient. The only way you could do it is to run a plugin off modcp_start, but you'd have to cache the ban lengths so it gets messy.