vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   RSS News Feed Hack (https://vborg.vbsupport.ru/showthread.php?t=60899)

mirdin 04-12-2004 07:38 PM

Quote:

Originally Posted by Slapyo
after thinking about your problem some, it sounds like the problem that i had before. did you make the changes in your functions_newpost.php? it should change the build_new_post function and then change the global variables just below that in the function.

You hit the nail on the head :)
I did make the changes to functions_newpost.php, but guess what? I forgot to upload it :o
It seems to work correctly now :)

mirdin 04-12-2004 08:09 PM

hmm..I seem to get double posts from the yahoo feed
The second time the cronjob ran it posted all the articles again. The articles are identical.

Slapyo 04-12-2004 08:16 PM

are you sure they are complete doubles? because i noticed that too from yahoo, but when looking at it closer, the news article has the same title, but the description and/or link are a little different, so it shows up as a completely new article. atleast that is how i understand it.

mirdin 04-12-2004 08:23 PM

Yes, they are identical, the first time it added 50 articles. The second run, it added the same 50.

How does it exactly check for doubles?

Is it this code?

PHP Code:

        // filter out the old items
        
while($rss_thread_data $DB_site->fetch_array($rss_query)) {
            for(
$j count($rss_allItems) - 1$j >= 0$j--) {
                if(
$rss_thread_data[title] == $rss_allItems[$j][TITLE] &&
                   
$rss_thread_data[rss_date] == $rss_allItems[$j][pubDate]) {
                    
$rss_allItems[$j][OLD] = true


Slapyo 04-12-2004 09:20 PM

ya, that looks like it. that was from the original author. i made no changes to the way it retrieves the articles or checks the articles to see if they are old or not. it appears to be checking the title and the date. if both the title and the date of the article are the same then it marks it as old and doesn't enter it.

maybe it could be yahoo updating a news article so the title, link, description are all the same, but since the news was updated the date was different. maybe load up the rss file in your browser and check the pub dates, then check em again later on. see if duplicate titles, descriptions, links have different pub dates.

i know i get a couple repeat articles from yahoo as well.

dethfire 04-12-2004 11:41 PM

Warning: file(): URL file-access is disabled in the server configuration in /htdocs/www/includes/RSS/rss_update.php on line 32

Warning: file(http://rss.news.yahoo.com/rss/topstories): failed to open stream: no suitable wrapper could be found in /htdocs/www/includes/RSS/rss_update.php on line 32

Warning: implode(): Bad arguments. in /htdocs/www/includes/RSS/rss_update.php on line 32

Slapyo 04-13-2004 12:39 AM

i started a new thread with the new file so people wouldn't get confused as to which one they should download in this thread. all support for the hack will be handled over in that thread.

@dethfire ... that error sounds like it is problem with your server config. did the script work for you before, or is this the first time you are using it?

pgowder 04-13-2004 05:28 PM

Quote:

Originally Posted by Slapyo
i started a new thread with the new file so people wouldn't get confused as to which one they should download in this thread. all support for the hack will be handled over in that thread.

@dethfire ... that error sounds like it is problem with your server config. did the script work for you before, or is this the first time you are using it?

Can you post a link to the new thread?

Slapyo 04-14-2004 03:40 PM

Quote:

Originally Posted by pgowder
Can you post a link to the new thread?

that would help wouldn't it .... sorry bout that.

https://vborg.vbsupport.ru/showthread.php?t=63798

P.Jackson 04-14-2004 04:58 PM

a list of some rss feeds and urls would be cool :)

Host Visions 04-15-2004 12:24 PM

How do I exclude the newsfeed forums from the 'view new posts' option?

Thanks

MaxScript 04-29-2004 12:31 AM

question , i notice when i install this that one forum shows up ? is it that i have to wait 24 hours for my other rss to work ?

wolfstream 04-29-2004 12:49 AM

Quote:

Originally Posted by MaxScript
question , i notice when i install this that one forum shows up ? is it that i have to wait 24 hours for my other rss to work ?

This doesn't create the forum for you, you must have the forum and the user created in order to get this working.
As far as the feeds, they update independently, apart from each other. Some feeds update every few days, some every few hours, some every few minutes. It all depends on the feed itself>

MaxScript 04-29-2004 12:54 AM

Quote:

Originally Posted by wolfstream
This doesn't create the forum for you, you must have the forum and the user created in order to get this working.
As far as the feeds, they update independently, apart from each other. Some feeds update every few days, some every few hours, some every few minutes. It all depends on the feed itself>


thats what i did, so is up the feed itself ... ok thanks

Pseudomizer 07-28-2004 04:03 PM

None of the board links on the first posting work. Why ? I would like to see this in action and not to see a screenshot. Any help would be welcome.

Cheers,

Ming Keong 07-29-2004 10:57 AM

Quote:

Originally Posted by Pseudomizer
None of the board links on the first posting work. Why ? I would like to see this in action and not to see a screenshot. Any help would be welcome.

Cheers,

I'm using this hack to post at http://www.pdatrends.com/forumdisplay.php?f=7

rex_b 07-30-2004 05:13 PM

I keep getting this error after installing:

Parse error: parse error, unexpected T_IF in /home/rexb2/public_html/forum/index.php on line 66

what gives???

DWard 10-12-2004 07:12 PM

Do old news feeds get removed after a set time??

DWard 10-14-2004 12:39 PM

????

Sooner95 10-15-2004 01:53 PM

i think this died or something..lol

Sooner95 10-15-2004 01:59 PM

is this thread dead?

kadafi_alive 01-20-2005 08:24 AM

Anyone know how to uninstall it?

zurih 01-20-2005 05:31 PM

the hack uses 6 queries!!!
too much I think, no?!

phantomatvietna 10-06-2005 11:36 AM

May be i'll make a back-up before hacking this mods ! Thanks so much !

Snyper 03-04-2006 11:36 PM

Hello,

is a a new Version for vB 3.5.x avaible of follow ?

Greets

dartho 05-24-2006 12:23 PM

Xyphen hasn't been online for a couple years :(

Anyone able to port it to 3.5.x as a plugin or know of a diff plugin that does the same/similar?

project-Buckfas 07-24-2006 04:48 PM

I need this for 3.5.4 also as a plugin.

Any takers?


All times are GMT. The time now is 09:52 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.01312 seconds
  • Memory Usage 1,780KB
  • 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
  • (1)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (27)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