Added config option to disable the archive use sitewide.

Also a bug fix for DB error about incorrect type casts.

I was getting an error about an incorrect integer being sent to the :8archive value, so I added an inline if statement. Specifically it was being given an empty string when the 8archive post option was unset. No clue why I was doing that, but this commit fixed it.

The instance-config has it set to enable, so it shouldn't interfere with the archive when pulled.