1
just a suggestion, isn't it possible to call the xoops_version database array from the actual module? so, having called the database array, couldn't all of the sql queries be created by referencing the table array?
// Tables created by sql file (without prefix!)
$modversion['tables'][0] = "table1";
$modversion['tables'][1] = "table2";
$modversion['tables'][2] = "table3";
that would mean that users could just change the sql table names in xoops_version and the sql file, and the module name, and then most everything else should work fine, right?
i'm not sure, since i haven't had to worry about cloning modules in the past, but just an idea for module developers that want to make their own module easy to clone