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!


All times are GMT. The time now is 07:41 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.01125 seconds
  • Memory Usage 1,733KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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