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

Reply
 
Thread Tools
[v1.6] Inferno RSS Forum Feeds Technology Details »»
[v1.6] Inferno RSS Forum Feeds Technology
Version: 1.6, by Zero Tolerance Zero Tolerance is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 08-16-2005 Last Update: 10-04-2005 Installs: 277
DB Changes Uses Plugins
Additional Files  
No support by the author.

This hack was made purely by request, and the fact IPB will have a similar system as default functionality, i wouldn't like them to have a upper hand to vbulletin

v1.5 Updates:
- Auto detect RSS settings system
- Forum stats rebuilt correctly (last post info)

v1.6 Updates:
- Various bug fixes

Description:
This once added to your forum allows you to connect to any RSS feed you desire, once set up the system will automatically post data from the RSS feed into threads within a specified forum.

Previews are available at the bottom, and an FAQ is built into the admin controls since I know not everyone will understand how to set up the options. Also an example to use a BBC UK News rss feed is below

Example BBC UK News Feed:
Feed Name: BBC UK News
Feed Location: http://newsrss.bbc.co.uk/rss/newsonl...t_page/rss.xml
Feed Prefix: [BBC UK News]
Feed From User: Assign users username of your own choice
Feed Forum: Choose a forum you want threads to be posted into
Feed Read Direction: Newest First
Parent RSS Tag Name: channel
Items RSS Tag Name: item
Thread Title RSS Tag Name: title
Thread Post RSS Construct:
HTML Code:
[b]Published:[/b] {XML[pubDate]}

{XML[description]}
[url={XML[link]}]Read More...[/url]
Note: After adding a new feed i suggest clicking update for that feed, this will manually update that singular feed specified, the cron job included will automatically update all feeds, best not to have it update them all from the start otherwise it could execute a lot of queries. Further more I highly recommend you do not have lots of feeds unless your server can with-stand it.

Enjoy

- Zero Tolerance

Show Your Support

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

Comments
  #452  
Old 11-23-2005, 11:27 PM
b6gm6n's Avatar
b6gm6n b6gm6n is offline
 
Join Date: Aug 2002
Location: UK
Posts: 691
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how do you remove the 'RSS Forum Feeds' ACP menu controls, i've uninstalled...

EDIT : remove the custom xml from includes/xml/

-b6
Reply With Quote
  #453  
Old 11-27-2005, 04:16 PM
tomf tomf is offline
 
Join Date: Nov 2005
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know if there is allready a better fix for rdf feeds, but here is mine:

I used the fix from garrynewman
https://vborg.vbsupport.ru/showpost....&postcount=306

open class_ffrss.php

add at the top
Code:
require_once(DIR . '/includes/class_core.php');
find
Code:
$this->XML_Parse =& new XMLparser(false, $vbulletin->GPC['feed_location']);
comment it out and add this
Code:
//##### START MODIFICATION #####
$rss = @file_get_contents($vbulletin->GPC['feed_location']);
$searchresult = strpos($rss,'</rdf:RDF>');
if($searchresult !== false)
{
   $rss = str_replace( "</channel>", "", $rss );
   $rss = str_replace( "</rdf:RDF>", "</channel>\n</rdf:RDF>", $rss );
   $rss = str_replace( "content:encoded", "content", $rss );
}
		
$this->XML_Parse =& new XMLparser($rss);
//##### END MODIFICATION #####
Reply With Quote
  #454  
Old 11-28-2005, 11:59 PM
jesus likes pie jesus likes pie is offline
 
Join Date: Apr 2005
Posts: 342
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What did I do wrong?

Quote:
RSS Feeds Update

Fatal error: Unable to proceed with save while $errors array is not empty in class vb_datamanager_thread_firstpost in /includes/class_dm.php on line 758
RSS Feed:
http://www.pcgamer.com/atom.xml

Parent RSS Tag Name: title (had to guess on that one)
Items RSS Tag Name: content
Thread Title RSS Tag Name: title
Thread Post RSS Construct: (left empty)
Reply With Quote
  #455  
Old 11-29-2005, 12:12 AM
FASherman's Avatar
FASherman FASherman is offline
 
Join Date: Aug 2002
Posts: 289
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jesus likes pie
What did I do wrong?



RSS Feed:
http://www.pcgamer.com/atom.xml

Parent RSS Tag Name: title (had to guess on that one)
Items RSS Tag Name: content
Thread Title RSS Tag Name: title
Thread Post RSS Construct: (left empty)
1. Its not an RSS format feed, its an ATOM feed. Two different animals.
2. You've installed this hack instead of ArticleBot.
Reply With Quote
  #456  
Old 11-29-2005, 05:41 PM
NineToez NineToez is offline
 
Join Date: Nov 2005
Location: Los Angeles, CA
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any news lately on fixing double posting perhaps? Is it in the cron job?
Reply With Quote
  #457  
Old 11-30-2005, 09:44 AM
DjTaz DjTaz is offline
 
Join Date: Apr 2003
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im having a problem where the newsfeed posts the first time no problem - it gets 27 posts and puts them up ... and then thats it ?

I need to delete that feed , and put in another one manually for it to work again - and still the same thing when i do that - even update feed doesnt work

any suggestions ?
Reply With Quote
  #458  
Old 11-30-2005, 10:47 PM
FASherman's Avatar
FASherman FASherman is offline
 
Join Date: Aug 2002
Posts: 289
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DjTaz
Im having a problem where the newsfeed posts the first time no problem - it gets 27 posts and puts them up ... and then thats it ?

I need to delete that feed , and put in another one manually for it to work again - and still the same thing when i do that - even update feed doesnt work

any suggestions ?
ArticleBot for 3.5
Reply With Quote
  #459  
Old 12-05-2005, 11:58 AM
DjTaz DjTaz is offline
 
Join Date: Apr 2003
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So your suggesting uninstall this and install ArticleBot 3.5 instead ?

I was hoping for an easier answer to get this one working to be honest
Reply With Quote
  #460  
Old 12-06-2005, 05:41 AM
NineToez NineToez is offline
 
Join Date: Nov 2005
Location: Los Angeles, CA
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Fatal error: Unable to proceed with save while $errors array is not empty in class vb_datamanager_thread_firstpost in /includes/class_dm.php on line 758
Got the same error as jesus likes pie and I don't wanna hear about ArticleBot. How do I fix this? I have four feeds my vB scans twice a day for; two are fine and the other two give me this error when I run it manually.
Reply With Quote
  #461  
Old 12-07-2005, 04:11 AM
NineToez NineToez is offline
 
Join Date: Nov 2005
Location: Los Angeles, CA
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^^ Anyone have any insight on this?
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 03:14 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05345 seconds
  • Memory Usage 2,314KB
  • Queries Executed 25 (?)
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
  • (3)bbcode_code
  • (1)bbcode_html
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete