Page 1 of 1

Show random picture in category not accessable

Posted: 23 Aug 2012, 16:02
by malaguttis
how to remove "icon-folder-medium-key.png" usually show images in category not accessable?


Image

it worked in previous versions:

- administrator/components/com_phocagallery/libraries/phocagallery/image/imagefront.php

Code: Select all

$rightDisplayKey = 0;
set
$rightDisplayKey = 1;
remove line 835

Code: Select all

		if (isset($images[0]->cataccessuserid) && isset($images[0]->cataccess)) {

			$rightDisplay = PhocaGalleryAccess::getUserRight('accessuserid', $images[0]->cataccessuserid, $images[0]->cataccess, $user->authorisedLevels(), $user->get('id', 0), 0);

		}

		

		if ($rightDisplay == 0) {

			$images = 0;

		}

- components/com_phocagallery/views/categories/view.html.php

Code: Select all

set line 181 and 190
$rightDisplay	= 1;
$rightDisplayKey  = 1;
in new version v3.2.1 has changed!

Re: Show random picture in category not accessable

Posted: 27 Aug 2012, 21:34
by Jan
Hi, hmmm, I didn't do any such changes in previous version, so for now cannot say what was changed (1.5 - to 2.5 forum-rules.php (9) ) but there should not be some large changes :idea: :idea: What no change directly the image?