vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   e-steki Banlist (https://vborg.vbsupport.ru/showthread.php?t=103190)

Dan 12-18-2005 07:20 PM

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.

Lea Verou 12-19-2005 01:15 PM

Quote:

Originally Posted by Dan
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.

That's very good! There was a time in my forums that we often baned people as we had trolls "attacking" us. A troll per day or two. It sucked.
Now things are calmer, luckily :)

VBUsers 12-20-2005 09:08 PM

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.

akanevsky 12-20-2005 10:11 PM

Because there is no error check.
Michelle, you should make the script verify whether there is anything to display. Otherwise there be errors...

VBUsers 12-21-2005 07:54 AM

Quote:

Originally Posted by Psionic Vision
Because there is no error check.
Michelle, you should make the script verify whether there is anything to display. Otherwise there be errors...


ok so how can i fix it?

Lea Verou 12-21-2005 10:15 AM

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:

MThornback 12-21-2005 11:26 AM

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

AWI 12-21-2005 11:48 AM

Installed on 3.5.2 and so far so good, will report if anything goes wrong. Thanks

Lea Verou 12-21-2005 12:05 PM

Quote:

Originally Posted by MThornback
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

Exactly! That's what I keep saying.
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)

VBUsers 12-21-2005 05:29 PM

thanks michelle i appreciate all of your hardwork and knowledge! great hack!

akanevsky 12-21-2005 05:44 PM

Quote:

Originally Posted by Michelle
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:

However it may be, you do not have a zero-setting error check. And you don't have anything to say here :)

lifesourcerec 12-22-2005 08:33 AM

I get this error:

Quote:

Warning: Division by zero in /includes/functions.php on line 1815
Which is this line:
Quote:

$totalpages = ceil($results / $perpage);

ConqSoft 12-22-2005 11:31 AM

You didn't set a value for Per Page.

Lea Verou 12-22-2005 07:52 PM

Quote:

Originally Posted by Psionic Vision
However it may be, you do not have a zero-setting error check. And you don't have anything to say here :)

Well the hack is aimed to people who know the very basics! :rolleyes:
Who would install a hack without configuring it's settings? :rolleyes:

akanevsky 12-22-2005 08:34 PM

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 :)

Lea Verou 12-22-2005 09:45 PM

Quote:

Originally Posted by Psionic Vision
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 :)

This is a very rare occasion and my hack is not a crucial one, nor a page that is viewed that often ;)

mholtum 12-23-2005 12:01 AM

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

Lea Verou 12-23-2005 12:02 AM

Quote:

Originally Posted by mholtum
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

Set a perpage setting in the e-steki Banlist Settings.

brvheart 12-24-2005 03:06 PM

*clicks install* but.....not it shows me as being banned????

Lea Verou 12-24-2005 09:05 PM

Quote:

Originally Posted by ravenes
*clicks install* but.....not it shows me as being banned????

Huh? :confused: Are the other results correct? Can you provide a screenshot?

Robbed 12-28-2005 04:03 AM

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

Lea Verou 12-29-2005 11:08 PM

Quote:

Originally Posted by Robbed
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

Yes but most forums have at most 10 groups I think... :ermm:
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 :))

KidneyBoy 12-31-2005 10:57 PM

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*

Robbed 01-02-2006 02:12 AM

Quote:

Originally Posted by Michelle

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 :))

ya they are still in the database, but not listed in the admincp.

Lea Verou 01-02-2006 02:23 AM

Quote:

Originally Posted by Robbed
ya they are still in the database, but not listed in the admincp.

then its probably a vbulletin issue... Kindly report this to the bugs section although I will add a check in the next version :)

EasyTarget 01-08-2006 05:33 AM

nice hack, thanks.

for me it displays users as banned who are no longer banned, how do I clear that?

EasyTarget 01-08-2006 05:59 AM

just figured it out, its because when my admins/moderators ban people I don't actually unban them, I just change their usergroup back.

sniper0 01-08-2006 07:19 PM

Quote:

Originally Posted by EasyTarget
nice hack, thanks.

for me it displays users as banned who are no longer banned, how do I clear that?

I have the same problem with one person, maybe ban them again and then hit the lift ban button

edit - it worked

kommuni 01-08-2006 08:16 PM

Quote:

Originally Posted by sniper0
I have the same problem with one person, maybe ban them again and then hit the lift ban button

edit - it worked

kinda strange... i added some usergroup-id's to the settings but i'm still not allowed to view the banlist.php?

any idea? i'm sure i got the right ones (5,6,7 for mod, supermod, admin)

Lea Verou 01-13-2006 09:11 AM

kommuni these are the usergroups that AREN'T allowed to view the banlist. ;)

sniper0 as Easytarget suggested you have to ban them properly! ;)

Oap JTRipper 01-18-2006 09:11 PM

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

Lea Verou 01-18-2006 09:13 PM

Quote:

Originally Posted by Oap JTRipper
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

My hack doesn't conflict with that. That's a vbulletin bug most likely

Oap JTRipper 01-18-2006 09:17 PM

any chance it could use a drop down list ?

Lea Verou 01-18-2006 09:21 PM

Quote:

Originally Posted by Oap JTRipper
any chance it could use a drop down list ?

Where? :confused:

Oap JTRipper 01-18-2006 09:24 PM

in the admincp > ban user

it has a drop down for the usergroup

how about a drop down for users

Lea Verou 01-18-2006 09:25 PM

My hack doesn't affect the way the admincp functions (apart from it's settings that are added). You are a little confused...

Oap JTRipper 01-18-2006 09:27 PM

lol forget it

i just realised that

im a Muppet :)

6impy 02-05-2006 01:42 PM

Works great. Thanks!

john1744 02-07-2006 03:52 AM

Is there a way to filter out certain userid's and perhaps the perm banned users?

Lea Verou 02-07-2006 03:54 AM

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
  • Page Generation 0.01490 seconds
  • Memory Usage 1,819KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete