The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
this was in a mod i am installing and i need to run it manually in phpmyadmin but am not sure how:
Code:
$db->query_write("
CREATE TABLE " . TABLE_PREFIX . "journal_comments (
comment_id int(10) NOT NULL auto_increment,
journal_id int(10) NOT NULL,
entry_id int(10) NOT NULL,
commenter varchar(50) NOT NULL,
commenter_id int(10) NOT NULL,
comment_title varchar(100) NOT NULL,
comment_text text NOT NULL,
comment_date int(10) NOT NULL,
ipaddress varchar(15) NOT NULL,
PRIMARY KEY (comment_id))
");
|
|
#2
|
|||
|
|||
|
if there no table prefix use
Code:
CREATE TABLE journal_comments ( comment_id int(10) NOT NULL auto_increment, journal_id int(10) NOT NULL, entry_id int(10) NOT NULL, commenter varchar(50) NOT NULL, commenter_id int(10) NOT NULL, comment_title varchar(100) NOT NULL, comment_text text NOT NULL, comment_date int(10) NOT NULL, ipaddress varchar(15) NOT NULL, PRIMARY KEY (comment_id)) for example if table prefix is vb_ then the query will be Code:
CREATE TABLE vb_journal_comments ( comment_id int(10) NOT NULL auto_increment, journal_id int(10) NOT NULL, entry_id int(10) NOT NULL, commenter varchar(50) NOT NULL, commenter_id int(10) NOT NULL, comment_title varchar(100) NOT NULL, comment_text text NOT NULL, comment_date int(10) NOT NULL, ipaddress varchar(15) NOT NULL, PRIMARY KEY (comment_id)) |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|