Remove a single album from index page Remove a single album from index page
 

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

Remove a single album from index page

Started by carefree, July 29, 2007, 12:39:26 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

carefree

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

Nibbler

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


                    case 'alblist':
                        list_albums();
                        flush();
                        break;


change to


                    case 'alblist':
                        if (!empty($cat)) list_albums();
                        flush();
                        break;

carefree

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