Quote:
Originally Posted by sv1cec
You can certainly run some queries manually, but if you are not know what you are doing, it might be a problem. I suggest you uninstall and re-install from scratch. How many warnings did you have with Zero's hack?
Rgds
|
I didn't have any warnings at all with ZT's hack. I just installed it and was going to start modding it with your additions.
Logically, I can follow code quite well. It's kinda wierd that the last 2 queries didn't run since it was all in an array.
I'm pretty familiar with queries, but I don't know the exact format (especially when taking them out from php). If you could just let me know if this query is right, then I think I've got the query part down (I have no table prefix):
Code:
alter table warning_options
add `hierarchical` char(3),
add `automatic` char(3),
add `automatic_warner` int(10) unsigned,
add `warner` int(15),
add `troll_usergroup_id` varchar(10),
add `aprotected_usergroups` varchar(0),
add `restore_groupid` smallint(5) unsigned,
add `incr_ban_days` char(3),
add `max_no_bans` int(5),
add `viewoption` char(3),
add `multiple_per_post` char(3),
add `send_pm_warning` char(3),
add `send_em_warning` char(3),
add `historical` char(3),
add `allowoffpost` char(3),
add `warnings_per_page` int(3)";