buro9
Mon 26th Nov '01, 5:02am
I would like to have the option on install to prepend the vbulletin tables with a schema identifier.
Obviously this would change the installer and a relevant var will prepend this to all queries.
This is to allow users such as myself, who are restricted to a single mysql database to install other products... at the moment i cannot install a sitewide registration product as the tablename 'users' is already taken by vB... and I don't want to change vB's default tables (adding columns) as then I am creating one hell of a mess for myself when it comes to product upgrades in future.
So what I would like to see is a default prepend of vBulletin database tables... so all tables take the name:
vb_<<table_name>>
such as:
vb_users
but for the 'vb_' bit to be user selectable at time of install.
Is there such a hack already?
Would it be so hard to create one?
It would make my life a darn sight easier to have my board on the same domain name as my site (my host only allowing one mysql db per domain).
And one more point... if you really are going for the enterprise market, I can tell you straight out that this will be a core requirement... as it's one of the things we've insisted on products we've purchased... ability to prepend all packages, tables, etc with a schema identifier if they are using 'common' tablenames like 'templates' and 'users'. This is the best way of guaranteeing not clashing with legacy code that most organisations have and are loathed to touch.
Cheers
David K
Obviously this would change the installer and a relevant var will prepend this to all queries.
This is to allow users such as myself, who are restricted to a single mysql database to install other products... at the moment i cannot install a sitewide registration product as the tablename 'users' is already taken by vB... and I don't want to change vB's default tables (adding columns) as then I am creating one hell of a mess for myself when it comes to product upgrades in future.
So what I would like to see is a default prepend of vBulletin database tables... so all tables take the name:
vb_<<table_name>>
such as:
vb_users
but for the 'vb_' bit to be user selectable at time of install.
Is there such a hack already?
Would it be so hard to create one?
It would make my life a darn sight easier to have my board on the same domain name as my site (my host only allowing one mysql db per domain).
And one more point... if you really are going for the enterprise market, I can tell you straight out that this will be a core requirement... as it's one of the things we've insisted on products we've purchased... ability to prepend all packages, tables, etc with a schema identifier if they are using 'common' tablenames like 'templates' and 'users'. This is the best way of guaranteeing not clashing with legacy code that most organisations have and are loathed to touch.
Cheers
David K