![]() |
Well i already went through them so it isn't a problem anymore. But the page will be more useful once I ban someone again :p but that doesn't happen often.
|
Quote:
Now things are calmer, luckily :) |
on my ban list i get this
Warning: Division by zero in /includes/functions.php on line 1808 can you tell me why. i have zero's warning hack installed. what edit might i need to do. |
Because there is no error check.
Michelle, you should make the script verify whether there is anything to display. Otherwise there be errors... |
Quote:
ok so how can i fix it? |
No Psionic Vision, the script checks that.
It is because he didn't set a perpage limit in his settings so it's considered 0 and the function divides the number by 0. Just go in your e-steki Banlist settings and adjust them ;) Psionic vision, I expected that you would know that there would be different errors if I hadn't implemented a check. :eek: |
For anyone this might help...the Division by Zero error was removed for me when I set the amount of bans to show per page (my setting is 20 currently)
Hope that helps people... Great Hack :D |
Installed on 3.5.2 and so far so good, will report if anything goes wrong. Thanks
|
Quote:
I forgot to set a default value and now I'm paying for it :( :p (imagine what would've happened if I had ticked the support box :p) |
thanks michelle i appreciate all of your hardwork and knowledge! great hack!
|
Quote:
|
I get this error:
Quote:
Quote:
|
You didn't set a value for Per Page.
|
Quote:
Who would install a hack without configuring it's settings? :rolleyes: |
Say there is a self-promoted hacker who somehow was made an admin and then he went and messed up all settings. Most vBulletin's settings - except the system ones like path, server etc. - wouldn't create much errors if messed up, but your page would make a fatal error. Besides, the less error the user gets, the better :)
|
Quote:
|
I get this along the top of the banlist.php page when viewing it:
Code:
Warning: Division by zero in /includes/functions.php on line 1815 |
Quote:
|
*clicks install* but.....not it shows me as being banned????
|
Quote:
|
Great hack, just one suggestion, it should be disabled to everyone by default and enter user group ids of the groups that can access. I had to add a tone of groups that can't access it and if any new group is created they will have access and we might forgot to add that group to the deny list.
edit another thing i noticed if that user was deleted it still lists the entries with a blank name. Rob |
Quote:
Moreover, what would be the point of having such a page if most people can't access it? It's useless to mods and admins as they can see these info from their mod/admin cp. ;) Personally I have it open to even guests - so if a banned person did not see the reason at the time they were banned, they can go there and see it ;) About the other thing that you mentioned... Can you please go to your database via eg phpmyadmin and tell me if such an entry exists? (It would be useful to know so, but I will add a check in the next version anyway :)) |
Thank you for this modification. I've always used this when I used phpBB, so my users are used to having one of these. Now they have it back thanks to you! Thank you very much! This is VERY MUCH appreciated!
*Hands out 5 stars and clicks INSTALL* |
Quote:
|
Quote:
|
nice hack, thanks.
for me it displays users as banned who are no longer banned, how do I clear that? |
just figured it out, its because when my admins/moderators ban people I don't actually unban them, I just change their usergroup back.
|
Quote:
edit - it worked |
Quote:
any idea? i'm sure i got the right ones (5,6,7 for mod, supermod, admin) |
kommuni these are the usergroups that AREN'T allowed to view the banlist. ;)
sniper0 as Easytarget suggested you have to ban them properly! ;) |
found a problem
If i want to ban someone with a space in their name it comes up "Invalid User Specified" any chance of a fix |
Quote:
|
any chance it could use a drop down list ?
|
Quote:
|
in the admincp > ban user
it has a drop down for the usergroup how about a drop down for users |
My hack doesn't affect the way the admincp functions (apart from it's settings that are added). You are a little confused...
|
lol forget it
i just realised that im a Muppet :) |
Works great. Thanks!
|
Is there a way to filter out certain userid's and perhaps the perm banned users?
|
Built-in: nope.
Why would you need that? If you give me a good reason I can include it in the next version :) |
All times are GMT. The time now is 11:19 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|