vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - DownloadsII Simple RSS Feed Add-On (https://vborg.vbsupport.ru/showthread.php?t=204597)

SeanMT 02-07-2009 10:00 PM

DownloadsII Simple RSS Feed Add-On
 
1 Attachment(s)
NO SUPPORT GIVEN FOR THIS RELEASE

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 & ) 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 (Usually has errors as the files often have &'s in the descriptions)

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

PHP Code:

$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'm sorry for how basic this is but my knowledge (especially when it comes to vB integration) is very limited.

I have also included a RSS button that you can use to spread the word for your feed.

Daniel_HBK 02-08-2009 02:33 AM

Excellent hack

:)

Khalat 02-08-2009 02:53 AM

good work !
Thanks

dtv100 02-08-2009 04:31 AM

not working with firefox .
do you know why ?

LCN2007 02-08-2009 06:24 AM

does it work with 3.7.2?

SeanMT 02-08-2009 05:43 PM

Quote:

Originally Posted by dtv100 (Post 1737534)
not working with firefox .
do you know why ?

The demo doesn't look right in firefox because I haven't added a css stylesheet.

It's easy to do. Here's a nice tutorial.

Quote:

Originally Posted by LCN2007 (Post 1737575)
does it work with 3.7.2?

Yes it should work. It should work with any version really, you will just have to modify the table name or fields if they are different in earlier versions.

dtv100 02-09-2009 05:17 AM

i mean on my site also using firefox don't look good.

any plan to add it to hack ?

Hornstar 02-09-2009 07:09 PM

Thanks for sharing, ill give this a go shortly. thanks.

Goomzee 02-10-2009 05:09 AM

it's not working see the links

http://www.mknexusonline.com/forums/...nloads_rss.php

and what should i write in path line
home/xxx/forums/downloads
or
mknexusonline/forums/downloads

SeanMT 02-10-2009 10:56 AM

Quote:

Originally Posted by dtv100 (Post 1738422)
i mean on my site also using firefox don't look good.

any plan to add it to hack ?

What error are you getting?

Yes I will add it next time I update it. But this is nowhere near my list of things to do at the moment.

Quote:

Originally Posted by Goomzee (Post 1739415)
it's not working see the links

http://www.mknexusonline.com/forums/...nloads_rss.php

and what should i write in path line
home/xxx/forums/downloads
or
mknexusonline/forums/downloads

The link you gave doesn't work.

But for your $siteURL put in http://www.mknexusonline.com/forums/downloads.php


All times are GMT. The time now is 08:27 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02734 seconds
  • Memory Usage 1,749KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete