1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Sidebar News 1.2

Adds a RSS news feed to your sidebar.

  1. AndyB

    AndyB Well-Known Member

    AndyB submitted a new resource:

    Sidebar News - Adds a RSS news feed to your sidebar.

    Read more about this resource...
    DroidOne likes this.
  2. Chris D

    Chris D XenForo Developer Staff Member

    Just an FYI:

    // addslashes to make database safe
    $pubdate addslashes($pubdate);
    This absolutely is not sufficient to make something "database safe".

    You should be using prepared statements - just like XF does.
    Jake B. and AndyB like this.
  3. AndyB

    AndyB Well-Known Member

    Chris D likes this.
  4. Azaly

    Azaly Member

    It would be awesome if this plugin allow to mix feeds. It usefull if forum is used by several external projects with their custom feeds. In my case except the forum I have worpress feed and new wiki articles feed, so I should use something like rssmixer.com before install your plugin. Thanks.
  5. Azaly

    Azaly Member

    @AndyB, is it possible to install it without 2 additional addons? I've tried put this code at ad_sidebar_below_visitor_panel template, but loop result is empty.

    <div class="section">
                <div class="secondaryContent statsList" id="boardStats">
                    <h3>{xen:phrase sidebarNews}</h3>
                    <div class="pairsJustified"><ul>
    <xen:if is="{$sidebarNewsResults}">
        <xen:foreach loop="$sidebarNewsResults" value="$result">               
            <div class="sidebar_news_title"><a href="{$result.link}" target="_blank">{$result.title}</a></div>
            <div class="sidebar_news_date">{$result.sidebar_news_date}</div>
            <div class="sidebar_news_desc">{xen:raw $result.description}</div>
    I have run Cron Entry. Thanks!
  6. Scottrick

    Scottrick Member

    This is a great add on, but I'm having trouble getting it to display on pages other than the home page.

    For example, I've added the sidebar to the forum_view and thread_view pages, and I specifically included the extra content block with the RSS feed. Like this:

    <xen:include template="andy_sidebar_extra_one" />
    The result is that I see the heading (so it's doing something), but the rest of the section block isn't populated. I only see an RSS feed on the home page.
  7. AndyB

    AndyB Well-Known Member

Share This Page