View Full Version : Slideshow not working / permissions?
February 25th, 2010, 09:44 PM
Except for the webmaster (me), folks can't seem to view the slideshow. Users are told "You do not have permission to view the images in this category." I looked in the admin system and everything looked fine for the usergroup and categories. Any ideas?
February 26th, 2010, 05:09 AM
have you set category permissions under admin edit categories so all groups you wish to see the images can view them?
February 28th, 2010, 11:44 AM
Yes - permissions are set up correctly, and the user can view the images individually, but the slideshow itself won't start up due to permissions...?
February 28th, 2010, 04:19 PM
You can place a link etc for us to test but I am not seeing any issues here
You can see for yourself there is a default 7.01
ReefTalk Gallery Slide Show - ReefTalk Gallery (http://www.reeftalk.com/gallery/slideshow.php?photo=263&cat=502)
February 28th, 2010, 04:26 PM
Here's the link - I have it configured so that anyone can do it (even non-registered). It will tell you that you have to register.
It works for me as Webmaster.
I tested it with a special usergroup I set up a long time ago (Supporters), and that user group does show up in the pp admin for editing categories, and they are selected.
Zim talking to Me - Cephalopod Image Gallery (http://www.tonmo.com/gallery/showphoto.php/photo/471/title/zim-talking-to-me/cat/6)
February 28th, 2010, 04:28 PM
You must be registered to use this feature.
You are electing people to have to register
if ( ($User['username'] == "" || ($User['username'] == $Globals['pp_lang']['unreg']) && $Globals['reqregister'] == "yes") )
diewell( $Globals['pp_lang']['noreg'] );
February 28th, 2010, 04:31 PM
Ok - can you specify where in the admin area that setting can be controlled? Sure seems like I have it set correctly there. Thanks-
February 28th, 2010, 04:59 PM
BTW, reeftalk also says I need to register before using slideshow.
February 28th, 2010, 05:20 PM
try commenting out that code in slideshow.php
February 28th, 2010, 05:27 PM
OK, I tried that, it didn't change anything.
February 28th, 2010, 06:15 PM
That would be impossible if you truly commented it out
if ( ($User['username'] == "" || $User['username'] == $Globals['pp_lang']['unreg']) && $Globals['reqregister'] == "yes" )
diewell( $Globals['pp_lang']['noreg'] );
try making the code this instead you will see on my site that works fine
February 28th, 2010, 06:44 PM
OK, I used your code, and now it says "You do not have permission to view the images in this category." This happens in every category I try to view a slideshow with.
Member Galleries are disabled on my site. I'm not sure if that makes a difference.
February 28th, 2010, 06:49 PM
Very well could make a difference if the photos your trying to view are in the members gallery
is_cat_protected( $dbcat, $catp, $cattype );
Basically its coming back saying guests dont have permission to view images in whatever category on whatever photo its stopping on
You need to set permissions accordingly. If you wish guests to view things then you need to open things up to them.
February 28th, 2010, 07:03 PM
OK, got it. I think I was confused about what Member Galleries are. I have enabled permissions for that category, but only for registered users, etc. (I actually don't want unregistered users to be able to view the slideshow). I've undone the changes to slideshow.php -- everything is now working as I want it to be. Thanks for your help as usual!
February 28th, 2010, 08:39 PM
LOL no problem all that talk and you dont want guests to view it
March 1st, 2010, 06:08 AM
:) Well it started as a custom usergroup problem, but to be complete about it I set it up so that unregistered was also assigned to see it, and it still didn't work... that's what had me scratching my head in there. All is well now!
March 1st, 2010, 08:17 AM
yeah the thing about custom groups you need to refresh the groups from vb into photopost and then set permissions all around.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.