5
Quote:
keirs10 wrote:
Any advice for this problem is appreciated! I'm not even sure what version of XOOPS they used so if you know how I could find out that would help too!
you can see what version is running in the footer of the administration section. or look in the include/version.php file.
you are facing quite an issue. i can only think of this to help you out.
Custom Block To Show XOOPS Version and Active Modules and their directory names (Content Type: PHP Script)
include XOOPS_ROOT_PATH."/include/version.php";
echo "XOOPS Version Is : ".XOOPS_VERSION;
echo "
";
$db =& Database::getInstance();
//$sql = sprintf("SELECT dirname,version FROM ".$db->prefix('modules')); //all installed
$sql = sprintf("SELECT dirname,version FROM ".$db->prefix('modules')." WHERE isactive = 1");//only active
$results = $db->query($sql);
while ( $row = $db->fetchArray($results) ) {
echo "
Dirname: ".$row['dirname'];
echo "
Version: ".round($row['version'] / 100, 2);
echo "
";
}
CBB / LatestNews / Publisher / XM-Spotlight
(ノ◕ヮ◕)ノ*:・゚✧