vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Advanced Warning System (AWS) (https://vborg.vbsupport.ru/showthread.php?t=71992)

Delphiprogrammi 01-13-2005 06:24 PM

hi,

division by zero errors that's probably because your warnings_options table is empty run this query in phpMyAdmin then set your AWS options and see if it get's saved after that those error messages should disappaer

Code:

INSERT INTO `".TABLE_PREFIX."warning_options` values ('1','3.0.8', 'No', 'No','No','No','','','','7','10','10','8','','','8','','No','3','0','All','No','  No','No','No','No','No','15')
replace "TABLE_PREFIX" with your own ...

pfdc 01-13-2005 06:58 PM

Thanks for the great hack. I installed this hack an now the regular banning which I had befor is not working!! any ideas??

pfdc 01-13-2005 07:42 PM

I am also getting bunch of emails saying that the table warning-options doesnt exsist. I checked in the mysql tables and the table actually exists there. What could be the problem? I get a blank page:

http://persianfootball.com/forums/mo...php?do=banuser

dede1 01-13-2005 07:58 PM

Quote:

Originally Posted by Delphiprogrammi
hi,

division by zero errors that's probably because your warnings_options table is empty run this query in phpMyAdmin then set your AWS options and see if it get's saved after that those error messages should disappaer

Code:

INSERT INTO `".TABLE_PREFIX."warning_options` values ('1','3.0.8', 'No', 'No','No','No','','','','7','10','10','8','','','8','','No','3','0','All','No',' No','No','No','No','No','15')
replace "TABLE_PREFIX" with your own ...

Thanks :)

dede1 01-13-2005 08:45 PM

Is missing warn me like on the picture of that left to that

https://vborg.vbsupport.ru/attachmen...chmentid=21862

sv1cec 01-14-2005 04:28 AM

Quote:

Originally Posted by dede1
Hello

I have these problems(309) :
Warning: Division by zero in /admincp/admin_warn.php on line 665

and

Warning: Division by zero in /admincp/admin_warn.php on line 1856

Dede1,

This is a typical symptom of not having define the lines per page, for the reports, the last field in the Warning Options. First run this query, to see if you have one data line, in your warning_options table:

SELECT * FROM warning_options

If you do have a line there, with the warning options, then go into your admincp and in the warning options. Make sure you enter a value at the last field there.

If you do not have a line in the warning options, run the query below:

INSERT INTO `".TABLE_PREFIX."warning_options` values ('1','3.0.9', 'No', 'No','No','No','','','','7','10','10','8','','','8 ','','No','3','0','All','No','No','No','No','No',' No','15')

Let me know if that solves your problem

sv1cec 01-14-2005 04:33 AM

Quote:

Originally Posted by pfdc
Thanks for the great hack. I installed this hack an now the regular banning which I had befor is not working!! any ideas??

Just make sure that all the changes in banning.php are made correctly. You must have made a mistake there, somewhere.

sv1cec 01-14-2005 04:34 AM

Quote:

Originally Posted by dede1
Is missing warn me like on the picture of that left to that

https://vborg.vbsupport.ru/attachmen...chmentid=21862

Dede1, check your postbit template, if one of the links is there and the other is not, you missed something in your postbit template.

rgds

dede1 01-14-2005 05:00 AM

sv1cec thanks :)

Delphiprogrammi 01-14-2005 04:57 PM

sv1cec,

Slightly offtopic question but i'm gonna ask anyway :ermm: if a member is banned and he trys to login he just get's the "no permission" page not mentioning he's banned i'd like to change that to something "you have have been banned for $time" etc etc you have any idea what phrase i need to edit ?

$vbphrase[nopermission_loggedin] <<-- this one will help

rgds


All times are GMT. The time now is 12: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.02085 seconds
  • Memory Usage 1,745KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (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