3
Why don't you look at a xoops_version.php file for a module that does work and compare?
Here's the xoops_version.php for my Globetrotter module whick works with 2.0.14 with groups (I just checked)
Quote:
<?php
// $Id: xoops_version.php,v 1.4 2003/02/12 11:37:53 okazu Exp $
// ------------------------------------------------------------------------ //
// XOOPS - PHP Content Management System //
// Copyright (c) 2000 XOOPS.org //
// <https://xoops.org/> //
// ------------------------------------------------------------------------ //
// This program is free software; you can redistribute it and/or modify //
// it under the terms of the GNU General Public License as published by //
// the Free Software Foundation; either version 2 of the License, or //
// (at your option) any later version. //
// //
// You may not change or alter any portion of this comment or credits //
// of supporting developers from this source code or any supporting //
// source code which is considered copyrighted (c) material of the //
// original comment or credit authors. //
// //
// This program is distributed in the hope that it will be useful, //
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
// GNU General Public License for more details. //
// //
// You should have received a copy of the GNU General Public License //
// along with this program; if not, write to the Free Software //
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
// ------------------------------------------------------------------------ //
$modversion['name'] = _MI_GLOBETROTTER_NAME;
$modversion['version'] = 1.01;
$modversion['description'] = _MI_GLOBETROTTER_DESC;
$modversion['credits'] = "The XOOPS Project";
$modversion['author'] = "Bassman<br />( http://www.bassmanthemes.com/ )";
$modversion['license'] = "GPL see LICENSE";
$modversion['official'] = 1;
$modversion['image'] = "images/globetrotterlogo.jpg";
$modversion['dirname'] = "globetrotter";
// Sql file (must contain sql generated by phpMyAdmin or phpPgAdmin)
// All tables should not have any prefix!
$modversion['sqlfile']['mysql'] = "sql/mysql.sql";
//$modversion['sqlfile']['postgresql'] = "sql/pgsql.sql";
// Tables created by sql file (without prefix!)
$modversion['tables'][0] = "field1";
$modversion['tables'][1] = "field2";
$modversion['tables'][2] = "field3";
$modversion['tables'][3] = "field4";
$modversion['tables'][4] = "globetable";
// Admin things
$modversion['hasAdmin'] = 0;
//$modversion['adminindex'] = "admin/index.php";
//$modversion['adminmenu'] = "admin/menu.php";
// Menu
$modversion['hasMain'] = 1;
?>