Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorshutterbug
    • CommentTimeDec 30th 2005
     
    Can someone tell me how to remove the rss feed link? Thank you. Have a safe and happy new year.
    • CommentAuthorskeeboo
    • CommentTimeJan 3rd 2006
     
    Probably the easiest way would be to delete the following from gallery.php

    THIS IS THE FULL LINE
    $rss_tag = '<a href="'.$rss_link.'"><img src="' . $config["baseurl"] . 'graphics/rss.gif" title="'.$rss_tooltip.'" alt="RSS 2.0 Feed" style="margin:0; padding:0; display:inline" /></a>';

    REMOVE THIS
    <a href="'.$rss_link.'"><img src="' . $config["baseurl"] . 'graphics/rss.gif" title="'.$rss_tooltip.'" alt="RSS 2.0 Feed" style="margin:0; padding:0; display:inline" /></a>

    SO YOU'RE LEFT WITH THIS
    $rss_tag = '';

    Does the trick for a quick hide.

    Perhaps in a future version, there should be a checkbox on the Options page that lets you turn it on/off.

    Good luck.
    • CommentAuthorddejong
    • CommentTimeJan 3rd 2006 edited
     
    I would suggest adding a CSS class to the <a> of the rss:

    <a class="rss_feed" href="...

    And adding this in gallery.css:

    a#rss_feed {
    display:none;
    }

    Will hide it for all css-enabled browsers and re-enabling it would just require removing the lines in gallery.css.

    Note that either method doesn't eliminate the feed; it can still be accessed with any newsreader.

    Just a thought,
    Derek
    • CommentAuthorsonria
    • CommentTimeJan 24th 2006
     
    skeeboo: That doesn't work, I get a parse error on line 671.

    I'm also trying to remove the "powered by Plogger" because it's in the footer of the index page instead, and I'd like to add some verbiage below the album list. Can anyone tell me how to do this?
    •  
      CommentAuthormike
    • CommentTimeJan 25th 2006
     
    For Skeeboo's solution, it is important to note that the code

    SO YOU'RE LEFT WITH THIS
    $rss_tag = '';


    is two single quotes next to each other, not one double quote. That will solve your parse error. In fact, you can remove that line altogether if you want.
    •  
      CommentAuthormike
    • CommentTimeJan 25th 2006
     
    To remove the powered by line, search gallery.php for "powered".

    The line is:
    $output .= '<p id="link-back"><a href="http://www.plogger.org/">Powered by Plogger!</a></p>

    I think you know what to do.
    •  
      CommentAuthormike
    • CommentTimeJan 25th 2006 edited
     
    Or just add a CSS display none rule to gallery.css

    #link-back {
    display: none;
    }

    You can turn it back on later if you want. Although it is not required to have the link back on your gallery, we appreciate you having one somewhere on your website to show your support for our free software.
    • CommentAuthorsonria
    • CommentTimeJan 25th 2006 edited
     
    Hi Mike,

    Thanks for the help -- I did have it as a double quote -- but I'm still getting a parse error. Perhaps this is a sign I should give up.

    Incidentally, I'm wanting to remove the link from the gallery because it's redundant. You can check out http://cathcoll.net to see that I've actually got it in the overall site footer.
    •  
      CommentAuthormike
    • CommentTimeJan 26th 2006
     
    Sonria. Sorry for the misunderstanding. It should NOT be a double quote. It needs to be two double quotes or two single quotes. You can also just keep it simple and delete that whole $rss_tag = ... line completely.
    • CommentAuthorsonria
    • CommentTimeJan 26th 2006
     
    Hi Mike,

    That's what I meant. Even after I changed it to two singles and then tried deleting the line entirely, I still got parse errors. That's what makes me think it's either my hosting provider or my lack of PHP skills... :/