Random pictures pallete problem and question. Random pictures pallete problem and question.
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Random pictures pallete problem and question.

Started by Raph, February 11, 2004, 01:51:01 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Raph

First the problem..

 After adding my latest album, for some reason when I'm logged in it says "No image to display " where the images should be in the random pane.. if I log out, same deal. Any idea why this would happen?

Here are the stats, don't know if this makes  difference:
Quote1416 pictures in 6 albums and 1 categories with 1 comments viewed 1018 times

Now the question is.. I have some pictures that are somewhat sensitive, and I dont want them showed in the "random" pane. They are all in one album, so I was wondering if there was a way to filter them out.

thanks in advanced!


hyperion

Patience is the greatest of all virtues.
-Cato the Elder

There art two cardinal sins from which all others spring: Impatience and Laziness.
-Franz Kafka


____________________________________________________
                                                                                         
             Search the support boards.                        
         Read all the documentation files.                  
               The answers are there.                          
                                                                                         
              -Hyperion's Support Haiku                        
____________________________________________________

"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

Raph

I searched, seems some other people have had the problem as well.. but no answer thus far.. Mine is tempermental.. sometimes the random pictures come up, some times they dont.

link to gallery btw:

ATTN: THERE ARE "NOT WORK SAFE" PICTURES IN AN ALBUM HEREIN, IF THE RANDOM PANE WORKS FOR YOU (it is tempermental), THERE'S A GOOD CHANCE THERE WILL BE ONE OF THESE PICTURES IN PLAIN SIGHT:

http://pics.brainphreeze.com

Casper

for a possible fix to the random images problem, try the fix used by ladeyo on this thread, http://forum.coppermine-gallery.net/index.php?topic=3661.

As for this;

 
Quote from: "Raph"Now the question is.. I have some pictures that are somewhat sensitive, and I dont want them showed in the "random" pane. They are all in one album, so I was wondering if there was a way to filter them out.

This is basic and in the docs.  Any album which has viewing restrictions set, will only be shown in the meta albums of people allowed to see them.
So if the album is sensitive, change its properties so only the group of users you want to see it can.  then any unregistered user, or someone in a lower group, will not see these pics at all.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Raph

Thanks for the help, apparently overnight it has fixed itself.. now it seems to be working fine (but I will try his fix anyways)

Quote from: "casper"This is basic and in the docs.  Any album which has viewing restrictions set, will only be shown in the meta albums of people allowed to see them.
So if the album is sensitive, change its properties so only the group of users you want to see it can.  then any unregistered user, or someone in a lower group, will not see these pics at all.

But I mean, I dont want it to be in the random pane AT ALL - even if the users has access to them - I want it to be something that they have to purposely click on the album to view.

Is there a way to manually set which albums the random pane pulls from? or to exhume an album from being displayed?

Casper

This has been discussed on this thread; http://forum.coppermine-gallery.net/index.php?topic=3104, but jt has not been done yet.  So unless you can take on where we got to, and code it successfully, no it can't be done.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Raph

thanks casper, maybe one day someone will do this..

Also, when I restricted the album to only "Registered" users, for some reason I can't see the album (the pics come up on the random pane, however, when I click the album it says it doesn't exist)

Casper

Hi Raph,

this is a known problem.  Gointo config, and change 'show private album icon to unlogged users' to YES.  You can then see and edit the album.

There is a fix posted if you want to do that, and it is fixed in the next version.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Raph

Quote from: "casper"Hi Raph,

this is a known problem.  Gointo config, and change 'show private album icon to unlogged users' to YES.  You can then see and edit the album.

There is a fix posted if you want to do that, and it is fixed in the next version.

Thanks casper, appreciate it - that did it :D