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)
-   -   NEW Modified RSS News Feed Hack (https://vborg.vbsupport.ru/showthread.php?t=63798)

rsuplido 06-09-2004 02:47 PM

Anyone having the problem of the last entry getting added again and again?

Intex 06-09-2004 03:04 PM

Yep, I'm having that problem but only with some RSS feeds that I pull into certain forums. I think it might be something to do with the website itself and the way they are presenting the information. For instance, if they update the date of a particular news heading, it's classed as new by the RSS hack script.

Slapyo - I know you built some form of checking into your script. Is this based on thread title, date or both. I would recommend it's changed to search for the title, so a search is done beforehand on existing forum threads. That way, dupilcation could be avoided. Maybe when you've finished your studies :).

rsuplido 06-09-2004 04:56 PM

Quote:

Originally Posted by Intex
Yep, I'm having that problem but only with some RSS feeds that I pull into certain forums. I think it might be something to do with the website itself and the way they are presenting the information. For instance, if they update the date of a particular news heading, it's classed as new by the RSS hack script.

Slapyo - I know you built some form of checking into your script. Is this based on thread title, date or both. I would recommend it's changed to search for the title, so a search is done beforehand on existing forum threads. That way, dupilcation could be avoided. Maybe when you've finished your studies :).

well, I tried changing that line to just check for the title and still I'm getting duplicates whenever the script runs. I was going to put this rss feature on live at my site but this bug just hinders me from doing so. :(

Slapyo 06-10-2004 03:55 AM

Quote:

Originally Posted by Deimos
Hmm i've got a problem here :(
After it's all installed, no errors show up, but when I goto Enable the mod, every user (Including me) who accesses the forums shows logged in AS the news bot? And the forum listing doesn't show up AT ALL
If I disable the mod, it returns to normal................!?

did you make sure that you modified the files like noted in the installation file? i haven't noticed this problem with the script myself.

Slapyo 06-10-2004 03:56 AM

Quote:

Originally Posted by Intex
Yep, I'm having that problem but only with some RSS feeds that I pull into certain forums. I think it might be something to do with the website itself and the way they are presenting the information. For instance, if they update the date of a particular news heading, it's classed as new by the RSS hack script.

Slapyo - I know you built some form of checking into your script. Is this based on thread title, date or both. I would recommend it's changed to search for the title, so a search is done beforehand on existing forum threads. That way, dupilcation could be avoided. Maybe when you've finished your studies :).

the rss script which goes through and checks for old posts checks for the title and the date. i haven't touched this from the original script. but i do know that it checks the title and the date.

Deimos 06-10-2004 09:17 AM

Quote:

Originally Posted by Slapyo
did you make sure that you modified the files like noted in the installation file? i haven't noticed this problem with the script myself.

Yep, I went through it all step by step. :(

Deimos 06-10-2004 09:37 AM

Ok hmm, I removed all the database entries, reuploaded all the files and tried again
When I enable the RSS Feed, I get this error

Fatal error: Call to undefined function: build_new_post() in /home/deimos/public_html/forums/includes/RSS/rss_update.php on line 103

Any ideas? heh

Slapyo 06-10-2004 04:23 PM

hrm ... i'm not sure. i'm sure that you did edit the files and upload everything to where it needs to go. but the only thing i could say is to double and triple check it.

also, do you have any other hacks installed? a while back someone installed this on 2 instances of vB. one was clean and one was hacked. he had a problem with the hacked one that we were never able to solve, and it was installed properly.

rsuplido 06-10-2004 04:40 PM

I decided to modify the program instead. I added a 'rss_url' in the threads table so I can use that as the key for comparing. I then changed the loop code in rss_update.php to compare each record via an SQL call, comparing the rss_url field. I also wanted a url column so I can easily do a news listing on my main page and have the link ready.

It's all working now. Thanks for this hack.

andyhodges 06-11-2004 12:21 AM

I am getting duplicates again... very annoying.. it's adding and adding... is there a fix for this? If so, can somebody post the instructions?

-Andy


All times are GMT. The time now is 10:25 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.01739 seconds
  • Memory Usage 1,741KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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