Warning: Division by zero in /includes/functions.php(2063) : eval()'d code on line 10
I installed the original hack and the upgrade, and I got the error above when I try to issue a warning. I am running vB3.0.7 and didn't realize this hack was for 3.0.3
The original hack does not include any modifications to includes/functions. The upgrade edits includes/functions_online.
I followed the instructions EXACTLY.
Also note that I did have an error when i query with TABLE_PREFIX so i removed the prefix there as you said and it worked.
Step 1:
Run this query: (change TABLE_PREFIX to your settings, this is defined within includes/config.php, if it is blank then just simply remove TABLE_PREFIX from the query)
alter table TABLE_PREFIXwarning_options
add `banned_usergroup_id` int(15) not null default '0',
add `protected_usergroups` varchar(255) not null default '';
I got the same error message after installing the original and upgrade. I have come this far..is there a way to make it compatible?
Thanks you very much. If this was addressed earlier in the thread I apologize.
================================================== ========
Ok sorry I am an idiot.

lol. Helps to add everything ot one template.

Figured i woudl leave this up for future reference.
Great hack!