1
rewrites
MyPage module access rights not working
  • 2006/9/7 10:13

  • rewrites

  • Just popping in

  • Posts: 16

  • Since: 2005/5/18


Hi

I have searched the forums but cannot find an answer to this - although somebody has asked the question before without reply.

I have implemented mypage for some custom modules and can access them when logged in, but not as annonymous.

They do not show up on the module list within groups.

I am running 2.0.13.1

Any help would be really appreciated.

Thanks in advance.

PH

2
martyboy
Re: MyPage module access rights not working
  • 2006/9/7 10:43

  • martyboy

  • Quite a regular

  • Posts: 256

  • Since: 2004/5/25


Hello,

in xoops_version.php make sure $modversion['hasMain'] is set to 1
$modversion['hasMain'] = 1


Also if you have no submenus and your linking to your custom module from the main menu be sure to comment out the submenu parts.
// Menu

// Menu for submenus in main menu when page loads
$modversion['hasMain'] = 1;//0 to remove from main menu
[color=ff3030]//$modversion['sub'][1]['name'] = _MI_MYPAGE_SMNAME1;//define in language/english/global.php
//$modversion['sub'][1]['url'] = "../../modules/ipboard/";
//$modversion['sub'][2]['name'] = _MI_MYPAGE_SMNAME2;//define in language/english/global.php
//$modversion['sub'][2]['url'] = "../../modules/weblog/";[/color]


Hope this helps
Michael Jackson = King Of Pop

Xoops = King Of CMS

3
rewrites
Re: MyPage module access rights not working
  • 2006/9/7 13:14

  • rewrites

  • Just popping in

  • Posts: 16

  • Since: 2005/5/18


it works!!

thanks for the quick response - saved me from hours of frustration!

PH

Login

Who's Online

420 user(s) are online (344 user(s) are browsing Support Forums)


Members: 1


Guests: 419


heyula,

more...

Donat-O-Meter

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

Latest GitHub Commits