1
jonr_is
Module not listed on Groups page
  • 2006/7/11 23:53

  • jonr_is

  • Just popping in

  • Posts: 32

  • Since: 2006/1/2 1


Hi. I did make a simple database module for my XOOPS website. The problem is, after I upgraded to 2.0.14, I can't give users access to the modules.
When I go to the System->Groups menu, they don't show up.
Do I have to update the xoops_version.php or something?
Here is the xoops_version file, if it helps:
http://jonr.light.is/tmp/xoops_version.php.txt
Now on Xoops: 4-3system.com

2
jonr_is
Re: Module not listed on Groups page
  • 2006/7/12 21:40

  • jonr_is

  • Just popping in

  • Posts: 32

  • Since: 2006/1/2 1


Anybody? I'm really embarressed here. :(
Now on Xoops: 4-3system.com

3
Bassman
Re: Module not listed on Groups page
  • 2006/7/13 1:04

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


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;
?>

4
Quest
Re: Module not listed on Groups page
  • 2006/7/13 1:39

  • Quest

  • Friend of XOOPS

  • Posts: 1034

  • Since: 2005/11/19


Have you tried updating the module from the admin/system/modules and then update the system module too?

It worked for me once.

Quest

5
jonr_is
Re: Module not listed on Groups page
  • 2006/7/13 11:14

  • jonr_is

  • Just popping in

  • Posts: 32

  • Since: 2006/1/2 1


Found it.
It seems that the modules needs to be in the main menu to show up on the groups page.
$modversion['hasMain'] = 1
did the trick. Still doesn't make sense.
Thank you guys.
Now on Xoops: 4-3system.com

Login

Who's Online

205 user(s) are online (143 user(s) are browsing Support Forums)


Members: 0


Guests: 205


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits