Sorry but i have to ask why. There is really no valid reason to edit directly in the database and will most likely casue problems like you are experiencing.
To troubleshoot this, please create a new Style with no Parent set. Now browse the forum using this new style, do you still have the same problems? If you are troubleshooting login or guest issues, you will need to set this style as board default in the vBulletin Options.