Version: 1.00, by GameCrash
Developer Last Online: Oct 2012
Version: 2.2.x
Rating:
Released: 04-28-2002
Last Update: Never
Installs: 7
Is in Beta Stage
No support by the author.
General
This hack has been created using a vB 2.2.5 but I think it should be working with any vB 2.x.x. This hack is BETA, I'm sure you will get some database errors on your board. Please do NOT use it on production boards.
What this hack does
This hack allows you to add a prefix to your table names (example: if you use the prefix "vb_" your table "user" would be named "vb_user". This is important if you want to install multiple vBulletins on one database.
How does it work
If $dbprefix is set in the config.php, the table names are changed in every query. This works as the following: if the table {prefix}{tablename} exists, it will be changed to {prefix}{tablename}, if not, it will be left as {tablename}. This will make it possible to have some tables changed to vb_* and others not. This is for the possibility you want to use some tables (for example the user related tables) in multiple boards.
(okay, this is a bit confusing, but my english isn't very well )
How to install (there will be a better manual for the final release)
#####
# in ./global.php, ./admin/global.php and ./mod/global.php:
Originally posted by xiphoid YES< I only have once license, but this is on my second system behind the router, in the network, and not public. URI can't be reached through internet.
lol, chill man its okay to run a vb for test purposes
Originally posted by xiphoid I have set up a test board yesterday on my winxp system here :P apache/mysql/php, so this would be nice to test! I will install several instances and try to run multiple with the same userbase and some other equal sections and see which errors i will run into.
Nevermind about that, I figured it out, but now, when I go to the board, I am greeted with this error (note, that I renamed index.php to index1.php)
Code:
Database error in vBulletin 2.2.6:
Invalid SQL: INSERT INTO vggmmb_v5_session (\4sessionhash,userid,host,useragent,lastactivity,location) VALUES ('54197df039674b2245709c015eb9657f','2','24.240.147.243','Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;','1026008749','/index1.php')
mysql error: You have an error in your SQL syntax near '\4sessionhash,userid,host,useragent,lastactivity,location) VALUES ('54197df03967' at line 1
mysql error number: 1064
Date: Sunday 07th of July 2002 03:25:50 AM
Script: http://mb.vggmn.com//index1.php
Referer:
I'm really wondering about this because this is a very simple SQL Query that shouldn't make probmels... What page is this error on? Are you sure you have added $DB_site->prefix=$dbprefix; to all three global.php files?