![]() |
($vb_version == "3.5") { define('VALID_VB_VERSION', "3.5"); } elseif ($vb_version == "3.6") { define('VALID_VB_VERSION', "3.6"); } } ?> ?>override']."', '".$catrow['catid']."' ) "); } $asb = $db->query_write(" ALTER TABLE ".THIS_TABLE."linkscat DROP catinstructions "); } unset($adminrow); } } // Kill unwanted templates from previous versions function delete_links_oldtemplates() { global $db; $asb = $db->query_write(" DELETE FROM ".TABLE_PREFIX."template WHERE title LIKE 'links_%' AND styleid>0 "); } // record new version function record_links_version($version, $installed) { global $db; $asb = $db->query_read("SHOW TABLES"); $hack_table_prefix = THIS_TABLE."links"; $hack_tables = array(); while ($myrow = $db->fetch_array($asb)) { foreach ($myrow AS $table) { if (preg_match ("/^$hack_table_prefix/", $table)) { $hack_tables[] = $table; } } } if (count($hack_tables) == 0) return (0); // something badly wrong unset ($hack_tables); $db->query_write(" UPDATE ".THIS_TABLE."linksadmin SET setting='".$version."' WHERE settingname='this_version' "); $db->query_write(" UPDATE ".THIS_TABLE."linksadmin SET setting='".$installed."' WHERE settingname='version_installed' "); return(1); } // Remove tables completely function delete_links_dbtables() { global $vbulletin; $queries = array( THIS_TABLE."linksadmin", THIS_TABLE."linksdebug", THIS_TABLE."linksdownloads", THIS_TABLE."linkscat", THIS_TABLE."linksfavs", THIS_TABLE."linkskeys", THIS_TABLE."linkslink", THIS_TABLE."linksltoc", THIS_TABLE."linksltok", THIS_TABLE."linksrate", THIS_TABLE."linkssearch" ); foreach ($queries as $query) { $asb = $vbulletin->db->query_write("DROP TABLE IF EXISTS ".$query); } // Clean up the profile fields $texts = array(); $texts[0] = $vbphrase['ldm_recent_hits']; if (!$texts[0]) $texts[0] = "My Recent LDM Hits"; $texts[1] = $vbphrase['ldm_recent_entries']; if (!$texts[1]) $texts[1] = "My Recent LDM Entries"; $profile = array(); // Take care - VB version specific if (VALID_VB_VERSION=="3.5") { $asb = $vbulletin->db->query_read(" SELECT profilefieldid, title FROM ".TABLE_PREFIX."profilefield "); while ($myrow = $vbulletin->db->fetch_array($asb)) { $profile[$myrow['profilefieldid']] = $myrow['title']; } } else { $asb = $vbulletin->db->query_read(" SELECT * FROM ".TABLE_PREFIX."phrase WHERE fieldname = 'cprofilefield' AND varname LIKE 'field%_title' AND text IN ('".implode("', '", $texts)."') "); while ($myrow = $vbulletin->db->fetch_array($asb)) { $profilefieldid = preg_replace("/field(\d*)_title/", "$1", $myrow['varname']); $profile[$profilefieldid] = $myrow['text']; } $asb = $vbulletin->db->query_read(" DELETE FROM ".TABLE_PREFIX."phrase WHERE fieldname = 'cprofilefield' AND varname LIKE 'field%' AND text IN ('".implode("', '", $texts)."') "); } // Take care - VB version specific foreach ($texts as $txt) { foreach ($profile as $kprofile=>$thisprofile) { if ($thisprofile==$txt) { $vbulletin->db->query_write(" ALTER TABLE ".TABLE_PREFIX."userfield DROP field".$kprofile ); $vbulletin->db->query_write(" DELETE FROM ".TABLE_PREFIX."profilefield WHERE profilefieldid='".$kprofile."' "); break; } } } $vbulletin->db->query_write("OPTIMIZE TABLE " . TABLE_PREFIX . "userfield"); } ?>.$kprofile."' "); break; } } } $vbulletin->db->query_write("OPTIMIZE TABLE " . TABLE_PREFIX . "userfield"); } ?>
-------------------------------------------------------------------------------- Links and Downloads Manager LDM code files do not match product installer version Product installer: 2.2.5 Code files: 2.2.2 Please *uninstall* LDM, upload correct files and reinstall tried three times now ;) oops wait.....think i didn't overwrite them 3 times....let me check... |
Quote:
|
okay i restarted my ftp and uploaded now it still is doing something odd....sending you info....
|
Quote:
|
try again i will fix it right now
|
Quote:
- I can see there's a problem on your site. I've no idea what it is. I've tried uninstalling and reinstalling LDM, but I've no idea if that process is running properly, because you've patched the VB product installation process. - So I backed up your LDM database and installed it on my test machine. Everything works fine with the same version of LDM (2.2.5 rc) and VB 3.6.0. Either you've not uploaded the code correctly or there's something messed up inside your VB admin system. |
you mean i upgraded??? lol that's the only patching i did...
i will reupload the admincp folder for vb and i will reupload ldm and try .... let you know later... thanks for looking! |
okay i reran the upgrade to 3.6.0
i reran the ldm product can you cnd see if it's okay now??? please?? |
Quote:
|
Hmm... what's the best way to upgrade from 2.2.1 to 2.2.5?
Make xml backup, copy files into forums... then import new product with overwrite and that's it? o_รณ |
All times are GMT. The time now is 09:33 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|