Quote:
Originally Posted by MarcoH64
Thanks for this, I somehow missed the table_prefix on that create statement. Fixed in my copy now, will update zip later today.
Could you please be more specific, i couldn't find a missing $ in the install code (or was it somewhere else?)
Then please click Install. 
|
I did forget to clickinstall didn't I...whoops
all your db variables that you need to write changes to the database were missing their "$" in front of it
ie I changed:
Code:
$vbulletin->db->query_write
( "ALTER TABLE " . TABLE_PREFIX . "usergroup ADD column (mh_unm_permissions INT( 10 ) UNSIGNED DEFAULT 0 NOT NULL
, mh_unm_changelimit TINYINT UNSIGNED DEFAULT 30 NOT NULL
, mh_unm_viewhistorylimit TINYINT UNSIGNED DEFAULT 1 NOT NULL
)"
);
to
Code:
$vbulletin->$db->query_write
( "ALTER TABLE " . TABLE_PREFIX . "usergroup ADD column (mh_unm_permissions INT( 10 ) UNSIGNED DEFAULT 0 NOT NULL
, mh_unm_changelimit TINYINT UNSIGNED DEFAULT 30 NOT NULL
, mh_unm_viewhistorylimit TINYINT UNSIGNED DEFAULT 1 NOT NULL
)"
);
and thats the only way it wrote to my tables...