1
cunovanthoff
Give anonymous users access to module after installation

Hello,

During the installation of a new module, I give only the webmaster and registered users access to that module.

After installation, configuration and fine-tuning, I try to give the anonymous users access too (in admin->groups). Without any success.

Though new module appears in the menu (when I'm not logged on) but when I click on it, I get a blanc page.

When I'm logged on, there's no problem. I can access the module from the menu.

Anyone know how this can happen?

Thx
Cuno

2
V6-Maniac
Re: Give anonymous users access to module after installation
  • 2006/1/18 13:24

  • V6-Maniac

  • Just popping in

  • Posts: 86

  • Since: 2005/2/15


Which module are we talking about.
because some modules have also an seperate global access admin which most of the time you can find in the module admin page it self.
For example you can give visitor access for Newbb2 but still you to give them access in the forum admin page -> permissions table.

3
bluenova
Re: Give anonymous users access to module after installation

Cuno,

Please take a look at the 'Please read before posting' topic, as we would need quite a bit more info to provide some support. At the very least we would need to know which version of XOOPS you are using.

4
cunovanthoff
Re: Give anonymous users access to module after installation

You're both right. I could have given you some more information... Sorry about that.

I'm using the latest XOOPS release.
The module is Mylinks 1.1

The errormessage with debug on is:

Quote:
Fatal error: Call to a member function on a non-object in /var/www/html/modules/mylinks/index.php on line 111


I hope this will help you further.

Cuno

5
cunovanthoff
Re: Give anonymous users access to module after installation

Nobody else experienced this problem?

Cuno

6
mawi27
Re: Give anonymous users access to module after installation
  • 2006/1/22 9:19

  • mawi27

  • Friend of XOOPS

  • Posts: 103

  • Since: 2006/1/1 1


Hi Cuno,

maybe Mylinks 1.1 does not work with 2.2.3?
I am running wf-links and have tested weblinks and pd-links - all three working fine with 2.2.3
(wf-links is my personal favorite)

Marco
--
Match Dart!
Darts Ranking, News, Videos, Forum and more

7
cunovanthoff
Re: Give anonymous users access to module after installation

Hi Marco,

Thank you.

It may be a better idea to switch to wf-links....

Thanks.
Cuno

8
cunovanthoff
Re: Give anonymous users access to module after installation

We've solved the problem.
For those who ever will experience the same problem, we have changed line 111 in index.php into:

if($xoopsUser)
    {
        
$uname $xoopsUser->getVar('uname');
    }else{
        
$uname "Anoniem";
    }

Login

Who's Online

170 user(s) are online (109 user(s) are browsing Support Forums)


Members: 0


Guests: 170


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