The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
create database table on install
Hello,
I am working on a simple mod, but I don't know how to create/drop a database table on install/uninstall. I have no idea what class I should use. Could someone please help me out with this? What should I paste in the installation/uninstallation code section (besides the "CREATE TABLE" and "DROP" queries)? A simple example would be welcome. Thanks in advance |
#2
|
||||
|
||||
Install:
Code:
$vbulletin->db->hide_errors(); $vbulletin->db->query("CREATE TABLE QUERY HERE...."); $vbulletin->db->show_errors(); Code:
$vbulletin->db->hide_errors(); $vbulletin->db->query("DROP TABLE QUERY HERE..."); $vbulletin->db->show_errors(); |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|