vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   [v1.6] Inferno RSS Forum Feeds Technology (https://vborg.vbsupport.ru/showthread.php?t=94510)

Kirk Y 10-05-2005 06:41 PM

Quote:

Originally Posted by imported_-Sidekick-
I did read the thread. Though like everyone else that runs into a 15+ Page thread, you tend to skim through it rather quickly. Forgive me for being human. If the best you can do is be a smart ass, then please keep your replies to yourself. Your help is not needed, nor wanted.

It's not rocket science: "Search this thread"...

Thanks for the update Zero, nice to see you've returned and do support your hacks... sorta.

XtremeOffroad 10-05-2005 06:51 PM

When uploading the files all went fine but still shows 1.5 after the product update, Any Ideas?

dieselpowered 10-05-2005 07:28 PM

Quote:

Originally Posted by XtremeOffroad
When uploading the files all went fine but still shows 1.5 after the product update, Any Ideas?

LOL totally off topic, but hey man nice name ;)

SO I am curious to know if these are new files or not??

ManagerJosh 10-05-2005 08:09 PM

Quote:

Originally Posted by trilljester
Come on dude, we told you how to fix that problem.

Either:

1. Disable flood protection in the VBOptions
or
2. Make the user who posts your feeds a moderator of the forum he's posting to.

Neither of the above you suggested fixed it. The 1.6 version ZT released fixed it quite well :)


On another note, is anyone experiencing a case of Deja Vu with the RSS 1.6 version?

dieselpowered 10-05-2005 08:25 PM

Quote:

Originally Posted by ManagerJosh
On another note, is anyone experiencing a case of Deja Vu with the RSS 1.6 version?

Ok so is the file in fact 1.6???

When I look at the xml, it is still showing 1.5????

XtremeOffroad 10-05-2005 08:26 PM

Quote:

Originally Posted by xtremeoff-road
LOL totally off topic, but hey man nice name ;)

SO I am curious to know if these are new files or not??


But what's offtopic about it? We are discussing rss feeds 1.6 arent we? and the new update isnt showing 1.6 so I think i'm on topic and lost.

LOL you too.

yea I'm curious too. :D

dieselpowered 10-05-2005 08:41 PM

Quote:

Originally Posted by XtremeOffroad
But what's offtopic about it? We are discussing rss feeds 1.6 arent we? and the new update isnt showing 1.6 so I think i'm on topic and lost.

LOL you too.

yea I'm curious too. :D

HAHA no I meant my comment about your name was off-topic.

Trying to figure out if the new files are 1.5 or 1.5 is completely on-topic :)

XtremeOffroad 10-05-2005 08:59 PM

Quote:

Originally Posted by xtremeoff-road
HAHA no I meant my comment about your name was off-topic.

Trying to figure out if the new files are 1.5 or 1.5 is completely on-topic :)


Ahhhh right on I was really cornfused for a few. :nervous:

ManagerJosh 10-05-2005 11:43 PM

Yes, Apparently a bug exists.

RSS Feeds reposts OLDER items even though it's posted about them previously.

imported_-Sidekick- 10-06-2005 12:46 AM

too funny

Dream 10-06-2005 01:53 AM

did the upgrade update the version number? it shows 1.5 in my product manager

drdaco 10-06-2005 02:12 AM

I found that if I make the ficticious user a supermod I can get it to work.

Just letting you guys know, those with the

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

trilljester 10-06-2005 05:16 AM

Quote:

Originally Posted by ManagerJosh
Neither of the above you suggested fixed it. The 1.6 version ZT released fixed it quite well :)


On another note, is anyone experiencing a case of Deja Vu with the RSS 1.6 version?

Hmmm, well, I'm running 1.5, and had the same exact error as everyone else, I made the feed user a moderator of the forum, and have not got an error since. It fixed it for several others also.

garrynewman 10-06-2005 10:27 AM

I'm trying to get this stream to work

http://steampowered.com/rss.xml

But it doesn't seem to understand rdf, rdf:RDF or rdf: as the parent tag.

Anyone got any suggestions?

phantomatvietna 10-06-2005 11:32 AM

Thanks for the hack ! It's very useful !

drdaco 10-06-2005 01:42 PM

I noticed that too. I too have an rss link whose parent tag is RDF:rdf but also ends in xml.



Quote:

Originally Posted by garrynewman
I'm trying to get this stream to work

http://steampowered.com/rss.xml

But it doesn't seem to understand rdf, rdf:RDF or rdf: as the parent tag.

Anyone got any suggestions?


c0d3x 10-06-2005 03:53 PM

the dupe problem is still present :\

Blindchild02 10-06-2005 04:10 PM

http://www.prowrestling.com/index.ph...n=other&id=rss

how do i add the 'main headlines' to it?

EDIT: NM!

works great! http://www.hulkforum.com/forum/forumdisplay.php?f=28

trilljester 10-06-2005 04:40 PM

Quote:

Originally Posted by Blindchild02
http://www.prowrestling.com/index.ph...n=other&id=rss

how do i add the 'main headlines' to it?

Plug this address into the Detect RSS Settings box:
http://prowrestling.com/php-bin/rss/....php%3Fid=news

It should tell you what to do.

Blindchild02 10-06-2005 04:44 PM

hahah yeah i got it! i edited my post :)!

pcoskat 10-06-2005 05:14 PM

ok, please excuse my lame-ness, but I only understand things from an 'end user' perspective. Do I understand how this extension works?

- This works with the most recent version of VB
- I can use it have posts from my WordPress blog, appear as posts in my vB in whatever forum I designate

Did I get that right?

If so, I am so in love with whomever created this. Love, love, love! :)

trilljester 10-06-2005 05:42 PM

If your Wordpress blog spits out RSS feeds, then sure, this will do that.

pcoskat 10-06-2005 06:38 PM

Quote:

Originally Posted by trilljester
If your Wordpress blog spits out RSS feeds, then sure, this will do that.

What actually appears in the vB post?

A link to the feed, or all of the text in a specific article?

trilljester 10-06-2005 07:16 PM

I think it depends on what you configured to output in your RSS feed.

Check out one of my RSS Feed posts from Roger Ebert:
http://www.trilliummud.com/holos/showthread.php?t=375

Mellow 10-06-2005 07:39 PM

Sweet!... thank you sir..

garrynewman 10-06-2005 08:57 PM

I made kind of a hacky bounce script to solve the rdf:RDF problem.

It's probably better that the plugin is fixed but this will tide us over until then..

Make a php file with this in it..

Code:

<?

        $h = fopen( "http://steampowered.com/rss.xml", "r" );

        while (!feof($h))
        {
                $rss .= fgets($h, 4096);
        }
       
        $rss = str_replace( "</channel>", "", $rss );
        $rss = str_replace( "</rdf:RDF>", "</channel>\n</rdf:RDF>", $rss );
        $rss = str_replace( "content:encoded", "content", $rss );
               
        echo $rss;

?>

Now use the address of that script as your RSS feed (the auto detect thing should be able to figure it out)

HC. 10-06-2005 10:04 PM

need help
On update I get this
While attempting to parse the document located at the system encountered the following error:
The system could not find the "parent" tag you specified ()

Please check settings related to this issue.

What need to be added to make this work
Please tell me where and what to add in every box so I can learn from my mistake

HC. 10-06-2005 10:13 PM

error on detect

HC. 10-06-2005 10:24 PM

another error playing around

Code:

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

HC. 10-06-2005 11:00 PM

I am lost
I have tried several different ways but nothing works
I had it take the feed but no new posts

HC. 10-06-2005 11:18 PM

fixed after playing around a bit

ixian 10-07-2005 12:21 AM

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
The line in question is:

Code:

$ThreadDM->setr('dateline', $this->get_dateline());
Which is invalid in 5.0.4/5 and presumably future versions. I've tried a couple fixes but I am missing something - can anyone figure it out?

eMike 10-07-2005 03:24 AM

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]

How can I fix this ?

ManagerJosh 10-07-2005 04:58 AM

Code:

[urI={XML[link]}]Read More...[/url]
I see URI and not URL

eMike 10-07-2005 05:25 AM

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

garrynewman 10-07-2005 09:28 AM

I'm having a problem with duplicates now :(

ManagerJosh 10-07-2005 09:36 AM

Quote:

Originally Posted by garrynewman
I'm having a problem with duplicates now :(

Posted earlier about it:
https://vborg.vbsupport.ru/showpost....&postcount=289

Gizmo5h1t3 10-07-2005 12:42 PM

Quote:

Originally Posted by garrynewman
I'm having a problem with duplicates now :(

rofl...welcome to this thread mate...heh heh

join the club.

ixian 10-07-2005 03:40 PM

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());
Which as you can plainly see is passing a variable as part of the string itself, which is a no no. You will also note that said string has to do with getting the date of the RSS feed it is about to post, which I suspect is the root cause of the double-posting a lot of you have been seeing - the string above will produce no error with PHP versions lower than 5.0.4 but neither will it work correctly.

To fix this error, replace line 371 shown above with:
Code:

$dateline = $this->get_dateline();
$ThreadDM->setr('dateline', $dateline);

The above will work whether you have PHP 5.0.5 or not, remember the "bug" has always been there, new versions of PHP just bother to point it out.

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. :)

Gizmo5h1t3 10-07-2005 04:06 PM

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....


All times are GMT. The time now is 05: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.01973 seconds
  • Memory Usage 1,829KB
  • 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
  • (8)bbcode_code_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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