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:
Hmmmm..... Im not doing something right, take a lok at the errors... anythoughts?
Quote:
Warning: Cannot add header information - headers already sent by (output started at /www.joeygowdy.com/gundamarmada/admin/db_mysql.php:163) in /www.joeygowdy.com/gundamarmada/admin/functions.php on line 1652
Warning: Variable passed to reset() is not an array or object in /www.joeygowdy.com/gundamarmada/admin/db_mysql.php on line 163
Warning: Variable passed to each() is not an array or object in /www.joeygowdy.com/gundamarmada/admin/db_mysql.php on line 166
Line 163 is reset ( $ tablenames ) ;
and Line 166 is while ( list ( $ short , $ new ) = each( $ tablenames ) ) {
hmm, new user to vb here, applied this hack to vb 2.3.2 all well and good, works a charm, but, now when posting a msg, a word is the same as a table name eg "access" its replacing it with prefix_access..
this only happens in mid sentence, eg:
access
is ok, but in sentence:
blablbablah vb_access blah
anyway to stop this?
please help.
ps. i should add that i am using a front end for vb (auto account creation in vb) and just had to heavily mod it to work with vb 2.3.2, so i wont be able to use vb3 for some time, so thats not an option...
hmm, new user to vb here, applied this hack to vb 2.3.2 all well and good, works a charm, but, now when posting a msg, a word is the same as a table name eg "access" its replacing it with prefix_access..
Did anyone manage to figure out a way to prevent this happening (aside from upgrading to vbulletin 3)? I'm having the same problem. =(