DownloadsII Simple RSS Feed Add-On

MobileHacks

New Member
What Does It Do?
Allows you to create a simple RSS feed for your DownloadsII database.

As this feed is XML it must be "well-formed" and "valid". Your feed will not work if there are errors such as if there is an & (instead of using &amp in the RSS feed etc...

DownloadsII Simple RSS Feed Add-On is not a standalone mod. It requires DownloadsII.

Live Demo
Click here to see a LIVE DEMO

Installation
1) Extract the archive.
2) Edit /upload/downloads_config.php and fill in your details.


PHP:
$dbhost = 'localhost'; //mySQL host. Should be fine to leave as localhost 
$dbuser = 'root'; //mySQL user 
$dbpass = ''; //mySQL password 
$dbname = 'forums'; //mySQL database name 
$tblname = 'vb3_dl_files'; //mySQL table name. Default is vb3_dl_files 
$fields = 'id, name, description, date, purgatory'; //fields you want to retrieve information from. Seperate with a comma. 
$limit = '5'; //number of items to display in the feed. 
$siteURL = "http://www.your-site.co.uk/forum/downloads.php"; //direct path to your downloads.php script 
$feedTitle = "Your-Site.co.uk - Latest Downloads"; //title you want for your feed

3) Upload the files in the upload folder (downloads_config.php, downloads_rss.php)
4) Browse to http://www.your-site.co.uk/forum/downloads_rss.php to see it in action.

I have also included a RSS button that you can use to spread the word for your feed.
 
I´ve installed this addon and not work.

This is the error

Code:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE purgatory = 8 ORDER BY id DESC LIMIT 8' at line 1

I have installed "downloadsII 5.1.0" and vbulletin 3.8.0


What can I do?


Regards
 
Back
Top