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

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

Remove a single album from index page

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

Previous topic - Next topic

0 Members and 2 Guests 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