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

Goomzee 02-11-2009 05:49 AM

still same error
http://www.mknexusonline.com/forums/...nloads_rss.php
i uploaded both files in downlaods directory ans forums as well as

SeanMT 02-11-2009 08:09 AM

Quote:

Originally Posted by Goomzee (Post 1740497)
still same error
http://www.mknexusonline.com/forums/...nloads_rss.php
i uploaded both files in downlaods directory ans forums as well as

It's not connecting to your database. Make sure you have edited these variables in downloads_config.phpcorrectly...

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


Goomzee 02-12-2009 05:49 AM

Quote:

Originally Posted by SeanMT (Post 1740569)
It's not connecting to your database. Make sure you have edited these variables in downloads_config.phpcorrectly...

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


i did still show error i don;t know what is my $tblname

gigaenvy 03-05-2009 11:15 PM

Demo broken...

Quote:

XML Parsing Error: not well-formed
Location: http://www.fm-base.co.uk/forum/downl...nloads_rss.php
Line Number 40, Column 83:[/COLOR][/SIZE][URL="http://www.fm-base.co.uk/forum/album.php?albumid=79&pictureid=435"][IMG]http://www.fm-base.co.uk/forum/picture.php?albumid=79&pictureid

nuncfluens 05-05-2009 07:19 AM

any way for this to get only from specific categories? :)

SeanMT 05-05-2009 11:50 AM

Quote:

Originally Posted by nuncfluens (Post 1804860)
any way for this to get only from specific categories? :)

I haven't tried but you should be able to do it by editing line 15 of downloads_rss.php

AFTER:

PHP Code:

WHERE purgatory 

ADD:

PHP Code:

AND category 

Obviously just change the category number to use different categories.

maidos 05-05-2009 03:35 PM

1 Attachment(s)
great add on.

its not compatiable with webfeeds or desktop feeds. It will continue displaying entrie even though i made it specific to only display 100 entries. But google reader displays now at 500 entries and still continues

is there anyway to use the vbulletin rss visual page instead of using an external site like rapidfeeds

also when we check your demo you have some xml errors, this is something constantly encounter with our own using your script. Any advice?

edit: read yourposts, is it possible you could make your script suport utf8 characters like & ?

thanks

SeanMT 05-05-2009 08:28 PM

Quote:

Originally Posted by maidos (Post 1805125)
great add on.

its not compatiable with webfeeds or desktop feeds. It will continue displaying entrie even though i made it specific to only display 100 entries. But google reader displays now at 500 entries and still continues

is there anyway to use the vbulletin rss visual page instead of using an external site like rapidfeeds

also when we check your demo you have some xml errors, this is something constantly encounter with our own using your script. Any advice?

edit: read yourposts, is it possible you could make your script suport utf8 characters like & ?

thanks

Sorry but I am not very good at RSS. What I've done in the addon is probably my limit so I can't really help you with the visual style of it. Maybe someone else with a bit more knowledge can step in.

About the XML errors I know, but like I said I am not very good at this and I don't really know a way around it.

deetwelve 06-14-2009 01:54 AM

I get the following error:

PHP Code:

XML Parsing Errornot well-formed
Location
http://www.*****.org/downloads_rss.php
Line Number 78Column 27:**MUST HAVE HIDDEN FILES FOLDER ON**
--------------------------^ 


mpoorrajab 07-19-2009 12:26 PM

it show me a blank page ...

what`s the problem?

darknusens 08-11-2009 01:48 AM

Quote:

Originally Posted by SeanMT (Post 1737920)
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.


Can you add a basic tutorial on where to put what please.

michael24179 05-03-2010 08:28 AM

Notice: Undefined index: name in /var/kunden/webs/www/downloads_rss.php on line 45


All times are GMT. The time now is 04:56 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.01796 seconds
  • Memory Usage 1,786KB
  • 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
  • (6)bbcode_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (22)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete