
04-16-2009, 11:32 PM
|
|
|
Join Date: Dec 2005
Posts: 449
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by AWJunkies
Go to the product XML and search for:
PHP Code:
$columns_sql=$db->query_read("SHOW columns FROM `".TABLE_PREFIX."phrase`"); $columns_results=$db->num_rows($columns_sql); $time=time(); $vbstyles_sql=$db->query_read("SELECT styleid FROM ".TABLE_PREFIX."style"); while ($vbstyle=$db->fetch_array($vbstyles_sql)){$phrase="dsl_navbar_hook_".$vbstyle['styleid']; if ($columns_results==9){$db->query_write("INSERT INTO `".TABLE_PREFIX."phrase` VALUES('',-1,'".$phrase."','global','<td id=\"{1}\" class=\"vbmenu_control\"><a style=\"color:{2};\" href=\"{3}\">{4}</a><script type=\"text/javascript\"> vbmenu_register(\"{1}\"); </script></td>','vbulletin','AWJunkies',".$time.",'3.0.0')");}elseif ($rows_results==10){$db->query_write("INSERT INTO `".TABLE_PREFIX."phrase` VALUES('',-1,'".$phrase."','global','<td id=\"{1}\" class=\"vbmenu_control\"><a style=\"color:{2};\" href=\"{3}\">{4}</a><script type=\"text/javascript\"> vbmenu_register(\"{1}\"); </script></td>','vbulletin','AWJunkies',".$time.",'3.0.0',0)");}}
And remove it and re-upload the XML.
I was trying to make all the hooks for you for all styles in case you didn't have them. Not a big deal at all just remove the code that does it from XML and walla will load fine.
|
I tried that and it still puked on install. Would it make sense to uninstall and reinstall new version or would that get rid of all my data?
|