Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Remove a single album from index page  (Read 2422 times)

0 Members and 1 Guest are viewing this topic.

carefree

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 32
Remove a single album from index page
« on: July 29, 2007, 12:39:26 pm »

Im using a dynamic content rotator in the anycontent.php file, I want to add 100+ movies to the album so the content manager can serve from it, but i need it to be a movie of the day thing, so making the album invisble is my last step.

Is there a way to remove a single album on the index page so a guest can still access the url and the file, but not see the album in the index page? Ive tried making it "registered users only" but when I go to the url i cant acccess it as a guest.

Heres the site link http://www.freexxxhunters.com/all  //Warning not work safe//
the album im trying to remove is the bottom of the page

Thanks
« Last Edit: July 29, 2007, 04:24:00 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: Remove a single album from index page
« Reply #1 on: July 29, 2007, 02:32:25 pm »

You can hide the album list on the main page by editing index.php

Code: [Select]
                    case 'alblist':
                        list_albums();
                        flush();
                        break;

change to

Code: [Select]
                    case 'alblist':
                        if (!empty($cat)) list_albums();
                        flush();
                        break;
Logged

carefree

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 32
Re: Remove a single album from index page
« Reply #2 on: July 29, 2007, 04:21:33 pm »

Thanks alot for that ! It worked a charm.  ;D

I spent nearly a whole day trying to solve it myself.

Ive gotta reverse the code to edit the files when i add more but i should only have to update it a few times a year.

Thanks Nibbler
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 16 queries.