Certain galleries can display random photos on the index? Certain galleries can display random photos on the index?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Certain galleries can display random photos on the index?

Started by Omen, February 29, 2004, 10:19:33 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Omen

Is there a mod that will let me chose which albums can display random images on the index?

Example:
Say I have 10 Albums
I only want the images from Album1, Album4, and Album9 to be in the random image rotation on the index page...

Casper

not at the moment afaik.  All publicly available albums are used.
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

Nibbler

You can adjust the query yourself in functions.inc.php

If you have more than 1000 pics in your gallery then alter line 713,

If you have less than 1000 pics then alter line 715,

and put a condition like AND aid NOT IN (1,2,3,4) between the $ALBUM_SET and the ORDER BY

caplan8293

Hi,

I did a documentation search and a forum search but I could not find anything on this topic...

I have created several categories and albums as the admin.  I have also given two friends permission to create public albums to display their artwork.

However, I do not want images from their public albums to show up on the 'Random Pictures' or 'Last Uploads' sections of the website or on the front page.  I want users to be able to see their public galleries if they specifically click on them but I do not want them showing up in the above named sections.

Does anyone know how to do this?  Is it possible to tell the 'Random Images' and 'Last Uploads' functions not to include public gallery info?  You can be as technical as possible if you like.

Thanks in advance for any responses.
caplan8293

Casper

Hi caplan,

merged your post with topic dealing with your request.  If you need more help on how to accomplish what nibbler said, post back here.
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

caplan8293

Quote from: "casper"Hi caplan,

merged your post with topic dealing with your request.  If you need more help on how to accomplish what nibbler said, post back here.

Worked great! Thanks very much for your help, everyone.  I appreciate it.
caplan8293