• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Sidebar News

Sidebar News 1.2

No permission to download
Compatible XF 1.x versions
1.2, 1.3, 1.4, 1.5
Description:

Adds a RSS news feed to your sidebar.

(Example of Sidebar News)

pic001.jpg


(Example of Options page)

pic002.jpg


Installation:
  1. Download sidebarnews_v1.2.zip and unzip it.
  2. Upload the Andy folder to your server. The correct location is library/Andy.
  3. From your Admin Control Panel, go to the "Install Add-on" page.
  4. Upload the addon-SidebarNews_v1.2.xml file
  5. Click the Install Add-on button.
Requirements:

The Sidebar News add-on requires the following two add-ons:

https://xenforo.com/community/resources/sidebar-positions.3799/

and

https://xenforo.com/community/resources/sidebar-extra-one.3815/

Setup step 1:

Edit the andy_sidebar_extra_one template like this:

Code:
<xen:if is="{$visitor.permissions.sidebarExtraOneGroupID.sidebarExtraOneID}">

<xen:require css="andy_sidebar_extra_one.css" />

<div class="section">
<div class="secondaryContent">

<h3>{xen:phrase sidebarextraone_title}</h3>

<xen:if is="{$sidebarNewsResults}">
    <xen:foreach loop="$sidebarNewsResults" value="$result">

        <div class="sidebar_news_row">

        <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>

        <div class="line"></div>

        </div>

    </xen:foreach>
</xen:if>

</div>
</div>

</xen:if>

Setup step 2:

Edit the andy_sidebar_extra_one.css template like this:

Code:
.sidebar_news_row
{
    border-bottom: 1px solid @primaryLighterStill;
    padding: 10px 0px 0px 0px;
}

.sidebar_news_title a
{
    color: @primaryMedium;
    padding: 0px 0px 0px 0px;
}

.sidebar_news_date {
    color: @mutedTextColor;
    padding: 0px 0px 10px 0px;
}

.sidebar_news_desc
{
    color: @mutedTextColor;
    padding: 0px 0px 10px 0px;
}

Setup step 3:
  1. Enter the information into the Sidebar News options page.
  2. Set appropriate Group Permissions to "Allow" for the Sidebar Extra One add-on.
  3. Set the Sidebar Position Options page to the position you want the sidebar block to show.
  4. Edit the sidebarextraone_title phrase.
Questions and Answers:

Q: I'm already using the Sidebar Extra One add-on for another sidebar block, can I use one of the other Sidebar Extra add-ons?
A: Yes.

Q: I added my RSS feed link to the Options but nothing shows in the sidebar.
A: There is a Cron Entry which runs every hour which updates the Sidebar News. You can run the Sidebar News Cron manually for testing purposes.​

Database table:

This add-on creates a table called xf_sidebar_new in your database.

Sending a donation:

If you like this add-on, please consider sending a small donation.

https://www.paypal.me/andybajka

Thank you.
Author
AndyB
Downloads
112
First release
Last update
Rating
5.00 star(s) 2 ratings

More resources from AndyB

Latest updates

  1. See description

    On Nov 16, 2015 version 1.1 of this add-on was released to address an exploitable SQL injection...
  2. See description

    Sidebar News v1.2 changes: Added code to remove emoticons from RSS feed descriptions.
  3. See description

    Sidebar News v1.1 changes: Now using prepared statements.

Latest reviews

POWERFUL Great Add-on, it’s a great feature which I love, talking about making your forum stand out, feel professional by having the latest new being displayed on your forum daily, how cool is that! What can I say, Andy you sure do make my life a lot easier, your attention to detail is impressive. Keep up the great work! Without some of your add-on’s our forum would not be as active as it has become. Nor would it be such a cool forum to belong. Thanks for the countless hrs of hard work you have put into all your add-on’s.
Another example of a masterpiece from Andy. I'm using this to display my blog feed on my forum and it works absolutely well!