The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
[v1.6] Inferno RSS Forum Feeds Technology Details »» | |||||||||||||||||||||||||||
[v1.6] Inferno RSS Forum Feeds Technology
Developer Last Online: Nov 2023
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] Enjoy - Zero Tolerance Show Your Support
|
Comments |
#312
|
|||
|
|||
fixed after playing around a bit
|
#313
|
||||
|
||||
This script has the passed variables error that PHP 5.0.4 "fixed" and is also present in 5.0.5, resulting in the following error:
Code:
Fatal error: Only variables can be passed by reference in /path-snipped-by-ixian/htdocs/forums/includes/class_ffrss.php on line 371 Code:
$ThreadDM->setr('dateline', $this->get_dateline()); |
#314
|
|||
|
|||
Amazing hack but i seem to have a problem with the links.
Every feed posted returns the link with the tags (as shown below) http://<br />http://www.someurl.com/feed.rss<br /> I use this code in the "Thread Post RSS Construct" window Code:
Published: {XML[pubDate]} {XML[description]} [urI={XML[link]}]Read More...[/url] |
#315
|
||||
|
||||
Code:
[urI={XML[link]}]Read More...[/url] |
#316
|
|||
|
|||
Was wondering how long it would take for someone to notice
Point was - the code is identical to the creators example. vB translates that bbcode into a link and hides the code behind the output. Original problem still unsolved |
#317
|
|||
|
|||
I'm having a problem with duplicates now
|
#318
|
||||
|
||||
Quote:
https://vborg.vbsupport.ru/showpost....&postcount=289 |
#319
|
||||
|
||||
Quote:
join the club. |
#320
|
||||
|
||||
Well, thanks to The Geek, coder extraordinare of such addons as Geek Article System and Geek Mark, I got the variables problem fixed with PHP 5.0.5 and here's the thing - it might take care of the duplicate post problem some of you are experiencing as well.
In a nutshell, PHP 5.0.4 and above "fixed" a bug with passing variables as part of a string. You aren't supposed to be able to do that and in fact in a lot of cases it won't work if you do, but PHP previously wouldn't report an error message when it happened. Now it does and in fact stops the script from running further. This has caused some consternation as a lot of scripts which previously "worked" ended up breaking because of this fix, but in fact it's really a good thing long term since it exposes errors in code people never realized were there. Case in point, this script: With PHP 5.0.5 the class_ffrss.php file errors out with the message I posted earlier. The string in question is on line 371: Code:
$ThreadDM->setr('dateline', $this->get_dateline()); To fix this error, replace line 371 shown above with: Code:
$dateline = $this->get_dateline(); $ThreadDM->setr('dateline', $dateline); This works just fine for me and as an added bonus I have yet to see a duplicate post, although I can't guarentee this is the fix for that issue. And be sure to thank The Geek and vote for his hacks because that guy is a genius. |
#321
|
||||
|
||||
edited the file as mentioned, gonna test it for dupes.....
works so far... forcing a feed update pulls zero new posts.... il try later, and post back here.... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|