If you have accidentally banned all IPs, then to fix this you will need to remove all banned IPs from the database. To do this run this query:
UPDATE setting SET value ='' WHERE varname = 'banip'
Then upload tools.php to the admincp directory (available in the 'do_not_upload' folder of the vB zip file) and rebuild the datastore.
UPDATE setting SET value ='' WHERE varname = 'banip'
Then upload tools.php to the admincp directory (available in the 'do_not_upload' folder of the vB zip file) and rebuild the datastore.