Quote:
Originally Posted by WoGuziczek
@Veer, you install attach from this thread & overwrote attach from this thread?
Doubt...
Versions for 3.7, 3.8 and 4.0 are different.
Check product_id for your 2 products.
// Try:
Go to Admin CP > Plugins & Products > Manage Products > Edit older my hack (older is not = wog_tlpxhonsf4) and delete Existing Install/Uninstall Code for this hack. When you do it - uninstall this hack.
|
Yes, I'm sure I overwrote the new product.
Old version has
wog_atlpxhonsf Product ID and
WoG - ATLPXHONSF title.
New version has
wog_tlpxhonsf Product ID and
WoG - TLPXHOSF title.
Old version install code:
Code:
$db->hide_errors();
$vbulletin->db->query_write("ALTER TABLE `". TABLE_PREFIX ."forum` ADD `wog_create_max` INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL");
$vbulletin->db->query_write("ALTER TABLE `". TABLE_PREFIX ."forum` ADD `wog_create_hours` INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL");
$db->show_errors();
New version install code:
Code:
$db->hide_errors();
$vbulletin->db->query_write("ALTER TABLE `". TABLE_PREFIX ."forum` ADD `wog_create_max` INT(10) UNSIGNED DEFAULT '0' NOT NULL");
$vbulletin->db->query_write("ALTER TABLE `". TABLE_PREFIX ."forum` ADD `wog_create_hours` INT(10) UNSIGNED DEFAULT '0' NOT NULL");
$db->show_errors();