11
finalfiler
Re: Looking for a Photoalbum....
  • 2003/12/1 8:09

  • finalfiler

  • Documentation Writer

  • Posts: 111

  • Since: 2002/1/19


Quote:
Herko Coomans wrote: have you tried xcgallery


That's what I am using. It's great- does everything I want. Except it ignores settings to display images to anonymous users.

Maybe time to look at the source?

regards



12
CBlue
Re: Looking for a Photoalbum....

I'm using xoopsgallery and all my visitors, registered or not can view the images in it. Plus when I was using the random image block, everyone could see that too.

13
ozboof
Re: Looking for a Photoalbum....
  • 2003/12/1 8:34

  • ozboof

  • Friend of XOOPS

  • Posts: 67

  • Since: 2003/10/28


Admin >> xgallery >>> prefences >>> first item = Allow anonymous users to see Pictures? []yes [] no


Also check that Anonymous Usershave access to the module in Admin >>>system >>> Groups

hope this helps

*edit* just remembered that you can select who can veiw the album at the album it self via the modify my album button (3/4 different settting there as well ) just make sure you are in admin mode first

14
finalfiler
Re: Looking for a Photoalbum....
  • 2003/12/1 9:24

  • finalfiler

  • Documentation Writer

  • Posts: 111

  • Since: 2002/1/19


I had done all the things you've suggested, no luck. In fact, even when throwing everything on xcgallery open to anonymous users, including ADMIN rights, made no difference. Weird.

Anyway, probably not such a big deal. The rest of the module is exactly what I wanted so I'll put up with this one failing until I get a chance to look at the code.

Many thanks

15
Derya
Re: Looking for a Photoalbum....
  • 2003/12/1 9:49

  • Derya

  • Module Developer

  • Posts: 40

  • Since: 2003/5/12


Please, can you try this?
Open displayimage.php and replace:
if ((($xoopsModuleConfig['anosee']) != 1) && !is_object($xoopsUser)) {
    
redirect_header(XOOPS_URL."/user.php"2_NOPERM);
    exit();
}


with
if (empty($xoopsModuleConfig['anosee']) && !is_object($xoopsUser)) {
    
redirect_header(XOOPS_URL."/user.php"2_NOPERM);
    exit();
}

If this doesn't work, than you can remove that lines. If you remove them, you can't disallow anonymous to view the pics.

16
finalfiler
Re: Looking for a Photoalbum....
  • 2003/12/1 12:37

  • finalfiler

  • Documentation Writer

  • Posts: 111

  • Since: 2002/1/19


Thanks, I'll sort it out tomorrow (late night here) and will let you know

regards

Login

Who's Online

263 user(s) are online (182 user(s) are browsing Support Forums)


Members: 0


Guests: 263


more...

Donat-O-Meter

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

Latest GitHub Commits