albumlist albumlist
 

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

albumlist

Started by ceesjoore, July 26, 2005, 06:33:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ceesjoore

Hi,

I use coppermine only for myself and i want it to start up with my albums on the startup page, how do i do that ?

Regards

www.ceesjoore.nl

Tranz

I'm not sure what you are asking.

dfuncr

Sorry to drag up this old thread .. I would also like to set coppermine so that it loads to the album page as default for the index ... I don't want to have to use the catagories page just the Albums one

Sorry if this has already been answered

James

Tranz

This code is from a plug-in for cpg 1.4 that allows the user to designate a new index. To use with 1.3, you can add the following code in index.php:
  if (empty($_SERVER["QUERY_STRING"]) && strstr($_SERVER["PHP_SELF"],'index.php')) {
    header('Location: http://yourgallery.com/thumbnails.php?album=N');
  }


AFTER:
define('IN_COPPERMINE', true);

dfuncr

Sorry to be bit of an idiot but where abouts should I add this code in index.php? does where I place it have any effect on the code itself

James

Stramm

if you only want to show albums and no cats on the index... then don't create cats and put your albums in * No category *

dfuncr

How would I do that with user galleries?? I'm starting to think I'm in over my head here :S

Tranz

Quote from: dfuncr on November 20, 2005, 01:15:27 PM
Sorry to be bit of an idiot but where abouts should I add this code in index.php? does where I place it have any effect on the code itself

James
Quote from: TranzNDance on November 20, 2005, 04:06:31 AM
AFTER:
define('IN_COPPERMINE', true);


Please post a link to the page that you want to be the startup. I think there is some misunderstanding going on.

Stramm

ahh.. user galleries ;) sorry, I didn't get that
open index.php and find
           case 'alblist':

below add
            if ($cat == 0) list_users();

dfuncr

Wow thank you this has been an amazing help ... I have to say this is has been one of the best boards in regards of supporting a product ... thank you