Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
DownloadsII Simple RSS Feed Add-On Details »»
DownloadsII Simple RSS Feed Add-On
Version: 0.1, by SeanMT SeanMT is offline
Developer Last Online: Nov 2015 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.8.1 Rating:
Released: 02-07-2009 Last Update: 02-07-2009 Installs: 31
Re-useable Code Additional Files Translations Is in Beta Stage  
No support by the author.

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.

Download Now

File Type: zip downloadsII_rss.zip (2.2 KB, 323 views)

Screenshots

File Type: png rss_downloads.png (13.2 KB, 0 views)
File Type: jpg SS-20090208021326.jpg (52.4 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 02-08-2009, 02:33 AM
Daniel_HBK Daniel_HBK is offline
 
Join Date: Feb 2006
Location: Egypt
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent hack

Reply With Quote
  #3  
Old 02-08-2009, 02:53 AM
Khalat Khalat is offline
 
Join Date: Dec 2005
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

good work !
Thanks
Reply With Quote
  #4  
Old 02-08-2009, 04:31 AM
dtv100 dtv100 is offline
 
Join Date: Apr 2007
Location: in the south of the north
Posts: 307
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not working with firefox .
do you know why ?
Reply With Quote
  #5  
Old 02-08-2009, 06:24 AM
LCN2007 LCN2007 is offline
 
Join Date: Jul 2007
Posts: 323
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does it work with 3.7.2?
Reply With Quote
  #6  
Old 02-08-2009, 05:43 PM
SeanMT SeanMT is offline
 
Join Date: Oct 2002
Location: Middlesbrough
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dtv100 View Post
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 View Post
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.
Reply With Quote
  #7  
Old 02-09-2009, 05:17 AM
dtv100 dtv100 is offline
 
Join Date: Apr 2007
Location: in the south of the north
Posts: 307
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

any plan to add it to hack ?
Reply With Quote
  #8  
Old 02-09-2009, 07:09 PM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for sharing, ill give this a go shortly. thanks.
Reply With Quote
  #9  
Old 02-10-2009, 05:09 AM
Goomzee Goomzee is offline
 
Join Date: Apr 2008
Location: Philippines
Posts: 588
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #10  
Old 02-10-2009, 10:56 AM
SeanMT SeanMT is offline
 
Join Date: Oct 2002
Location: Middlesbrough
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dtv100 View Post
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 View Post
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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:05 PM.


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.07633 seconds
  • Memory Usage 2,331KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (3)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete