Show random picture in category not accessable

Phoca Gallery - image gallery extension
malaguttis
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 23 Aug 2012, 15:57

Show random picture in category not accessable

Post 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!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Show random picture in category not accessable

Post 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?
If you find Phoca extensions useful, please support the project
Post Reply