1
JamesSAEP
Help with module access
  • 2005/3/30 23:06

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


I have created an html file using the instructions HERE but when I click the link in Anonymous mode, it comes up with "Sorry, you don't have permission to vew this area."

How can I make it so this is viewable by anonymous users? My code is below:
index.php file:
Quote:

include("../../mainfile.php");
include(XOOPS_ROOT_PATH."/header.php");
$xoopsOption['show_rblock'] = 1;
?>
The only personal information that is required to register and create your account is your username, email address and password.
include(XOOPS_ROOT_PATH."/footer.php");
?>


and my xoops_version.php file:

Quote:

$modversion['name'] = "privacy";
$modversion['version'] = 1.01;
$modversion['description'] = "Privacy";
$modversion['author'] = "";
$modversion['credits'] = "";
$modversion['help'] = "";
$modversion['license'] = "GPL see LICENSE";
$modversion['official'] = 0;
$modversion['image'] = "whatever.gif";
$modversion['dirname'] = "privacy"; server
?>


There isn't a listing of "Privacy" in the Groups permissions area to put a check next to.

Any idea how to correct this?
Thanks.

2
davidthomas1
Re: Help with module access

Did you install the module / HTML wrapper you made?

3
JamesSAEP
Re: Help with module access
  • 2005/4/1 19:48

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


I assume I did. I posted my code in the original post. Anyway, I did this another way and got it to work.

Thanks.

4
Mithrandir
Re: Help with module access

For future reference:

You left out
$modversion['hasmain'] = 1;


from xoops_version.php
Without this line, XOOPS will not allow files to be accessed in the module directory.

5
JamesSAEP
Re: Help with module access
  • 2005/4/1 20:17

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


Yes, I know something was left out...
I appreciate the feedback, Mithrandir.

Thanks!!!

J

Login

Who's Online

168 user(s) are online (131 user(s) are browsing Support Forums)


Members: 0


Guests: 168


more...

Donat-O-Meter

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

Latest GitHub Commits