![]() |
Yes done that
rss feed = Code:
http://news.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss091.xml |
[high]* Slave clicks install ..
[/high] Works brill .. :) .. One user (News Bot) in 3 forums .. |
Quote:
HTML Code:
[url="http://www.synergyforums.com/forum/forumdisplay.php?f=29"]http://www.synergyforums.com/forum/forumdisplay.php?f=29[/url] 276 and that feed |
Quote:
forum id: 29 user id: 276 source: http://news.bbc.co.uk/rss/newsonline...age/rss091.xml and you ran the rss_install.php file too correct? everything sounds like you have it set up correctly. what version of PHP do you have? |
Yep i ran the script, if i try running it again i get this
Code:
Database error in vBulletin 3.0.0: |
is your scheduled task is set up like this?
filename: ./rss.php the other fields depend upon you, whatever you want to call it and whenever you want the script to run. but the file name should look like that. |
Yep
|
wow, that's weird. it looks like it is just printing out part of the code from class.RSS.php and from rss_update.php ... but i don't know why it is doing this. lemme look some more.
|
Just a note, if i try and run the upgrade script i get this error
Code:
Database error in vBulletin 3.0.0: |
delete these tables:
vb3_rss_settings vb3_rss_user modify the vb3_thread table, delete these 2 fields: rss_feed rss_date ** Note: the table prefix might be different for you, but my table prefix is vb3_ remove these files: rss.php rss_install.php rss_upgrade.php /admincp/rss_admin.php /includes/RSS/class.RSS.php /includes/RSS/rss_update.php then download the newest version, 1.22, and install it. hopefully this works. |
Well, I just installed for the first time, using the latest 1.22 ZIP and I have a couple of issues.
1) I'm getting duplicates. :( Any ideas? (Using the Yahoo! News Oddly Enough feed only, for now.) 2) If a " is in the title, it shows up as " |
you shouldn't get duplicates. the newest version checks for duplicates. check your vb3_thread table and see if the bot posts have entries in the rss_feed and rss_date fields. i am using a yahoo news feed myself and don't get the duplicates. another person using the BBC news feeds was getting duplicates, but then says that problem is gone with the new version.
the function in the rss hack checks to see if the title & pubDate are the same. if both are the same, it is considered old. PHP Code:
Code:
$rss_title = str_replace(""", "\"", $rss_title); |
Ok, that fixed the quote problem. Thanks!
I'll let it run for a while again now and see if the dupes show up. Thanks again. |
Ok. I verified that the rss_date field is being updated.
So, I went to the RSS manager and deleted all news. Then I manually ran the cron job using the Run Now button in my scheduled task manager. And it pulls in several copies of each message for some reason. The duplicates aren't right next to each other in the list. It's just like it pulled the RSS feed twice for some reason, and didn't catch the dupes. I dunno... I tried it a couple of times with the same results... |
OK i did all that, i run the task again and this time i DIDNT get that error but no post :( hehe it just dont like me i guess :(
|
Nevermind. :( I think it's just the feed itself repeating articles.
Thanks! |
:( Well the user i set up still has NOT appeared on whois online or posted :(
No db errors Nothing, i have rechecked my install / file edits and everything is correct as far as i can see, just nothing is happening. Any ideas? Want me to set up an admin login so you can check ? |
I have my cron set to every 20 hours, however once that 20 hours comes around the script seems to run 3 times creating 3 sets of duplicated
|
Quote:
rocket98 ---------------------------------------- I am at a complete loss ... I was playing and playing and then I uploaded the attached file and for some reason I got a BBC feed immediately after doing a manual run, no dups nothing just a BBC feed with 30 threads. I think this was from the original hack. I found it on hotscripts today when i was looking around at all things RSS. I honestly don't know what is different from your edits to the original hack. No PHP problems to speak of. Not sure if this works for others but i tried it and it seems to go ... Here is my forum |
over an hour later and still nothing..... im at a loss now
|
Quote:
but you uninstalled it, then reinstalled the latest version correct? just want to make sure of that before i looked at anything. go ahead and PM me the information. then i will get back to you if i find anything. thanks. |
Quote:
what are the errors you are getting. if you want, PM me your email address and i will send you the rss_update.php file that you need. i read back and see that you need the one that is compatible with a version of PHP prior to 4.3.0 ... lemme know, i will send it to you. |
Quote:
|
Quote:
I still had errors with redeclaring of htmlentities as shown here after following the instructions you provided in the update. Fatal error: Cannot redeclare unhtmlentities() (previously declared in /homepages/23/d95339147/htdocs/public_html/forum/includes/RSS/rss_update.php:76) in /homepages/23/d95339147/htdocs/public_html/forum/includes/RSS/rss_update.php on line 76 I would like to have this work and do appreciate your efforts. Thank you rocket98 |
I tried to run this and got this error message...
Warning: file(http://www.wizards.com/rss.asp?x=dnd): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in /http/forums/includes/RSS/rss_update.php on line 32 Warning: implode(): Bad arguments. in /http/forums/includes/RSS/rss_update.php on line 32 All Done |
Quote:
Apart from that everything seems to work nicely so far. Great job! |
Quote:
|
Is this hack for a single rss feed?
|
you can set up as many bots/rss feeds as you want.
you could use the same bot over and have it post a different feed in a different forum. or whatever you want. |
Quote:
Is there a way to change the formating of the output, though? Rather than a line break and then "View the entire article", can it be set to just append "(Read more...)" at the end of the text (no line breaks)? |
Suggestion for a future version: Ability to give a descriptive name to the feed. If you use the same userid to post multiple feeds, they all show up the same in the dropdown. :(
Also, ability to delete a feed would be nice. :) Good work! |
This seems even better...
|
Quote:
FIND: PHP Code:
PHP Code:
|
Quote:
|
Hmmmm, good work to have opened a new thread with a fixed version :)
|
Ehhh,
Sorry for not being an expert her.. I'm new to this stuff :rolleyes: I've followed your install instruction, and now what? How do I get to work? Can I use other rss feeds? I've noticed a Hacks section in my admincp containing: RSS News Feed but don't know how to configure it, would have been nice with a COMPLETE install/configure instruction for dummies like me :nervous: |
Hello,
Woahh, got it to work all by my self :rolleyes: |
Well i just cant understand this at all, i have it working fine on one of my boards, mostly un-hacked as its a new project.
www.thepremierleague.co.uk But its still not working on www.synergyforums.com I have done the exact thing but still doesnt work. I get no errors but nothing is being posted, all i can think of is that its another hack thats messing this up. synergyforums is hacked and modded a great deal. I will PM you an admin login like was said and see if you can figure something out. Maybe you can tell what hack maybe stopping this from posting the feed. |
i have added in the ability to delete bots. until i can add in the ability to give a bot a description, i include the bot id next to the bot's name. hopefully this will help clear up some confusion as to the bots.
the only file edited was /admincp/rss_admin.php if you want to just upload that file. |
Quote:
I have a problem with one feed - it just wont work (other feeds worked for me) Can someone tell me whats wrong with this one? http://www.procycling.de/news/news_rss.php Thank you Tom |
All times are GMT. The time now is 02:13 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|