I got it working by changing the database entries but it has a glitch.
Everything works with one problem:
If I unban a member from the View All page, it unbans them but redirects me to
a permission denied page.Other than the weird redirect, everything works for me on vb3.7.0beta5
Maybe a more experienced coder can add more input.
I changed the following in the
product-btu.xml file before importing.
Original Code:
Code:
<installcode><![CDATA[$db->query("INSERT INTO " . TABLE_PREFIX . "datastore VALUES ('btu','')");]]></installcode>
<uninstallcode><![CDATA[$db->query("DELETE FROM " . TABLE_PREFIX . "datastore WHERE title = 'btu'");]]></uninstallcode>
My Updated Code:
Code:
<installcode><![CDATA[$vbulletin->db->query_write("ALTER TABLE " . TABLE_PREFIX . "datastore ADD btu INT( 10 ) UNSIGNED DEFAULT '' NOT NULL");]]></installcode>
<uninstallcode><![CDATA[$vbulletin->db->query_write("ALTER TABLE " . TABLE_PREFIX . "datastore DROP btu");]]></uninstallcode>
I would upload my working XML rewrite but I have not reached the author for permission to update the Product and I cannot guarantee that the above code is correct for database additions since I am new at coding.