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)

jribz 07-14-2004 11:01 AM

Quote:

Originally Posted by Slapyo
here is where i ran into the same problem when coding this. i couldn't find out how to insert a breakline. everytime i put in /r/n it would actually put those characters into it. this was for inserting the description then 2 lines down putting the link. i had to come up with a work around for that.

Code:

Open up your replacement variable manager (in admincp -> styles & templates -> replacement variable manager) and add the following entry:
Style: [select whichever style you are using]
Search for text: {br}
Replace with text: <br />


I already have that replacement variable active, but it seems it only serves the purpose of putting the two lines before the linked url.

Slapyo 07-14-2004 02:09 PM

yup ... that is because i couldn't figure out how to make a line break without doing it that way. if you do /r/n/ or just /n it will create a newline, but when i did that it never created a new line it just put /n in the text. what i did was a work around.

i'm sure there is a way to simulate newlines in a text box within a script, i just don't know how to do it.

Slapyo 07-14-2004 08:37 PM

<a href="https://vborg.vbsupport.ru/showthread.php?t=67078" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=67078</a>

you guys might want to check out that thread. it is called Article Bot and it does the same thing as this script, however there is more control built into it. it also allows for different kinds of feeds, RSS .91, RSS 2.0, ATOM.

i don't know how posts are inserted into the database but you guys may wanna check that out for other kinds of feeds.

bradsears 07-15-2004 01:42 PM

Is it possible to combine the greatness of both of these systems? I'm all for competition but in this case it may be wasteful.

Slapyo 07-15-2004 10:44 PM

nothing to combine. it would be one or the other. the Article Bot contains everything my script does, PLUS some things that have been requested for me to add in.

Article Bot is mine +more

Sanjiyan 07-16-2004 03:53 AM

Can this hack support RDF:Syndicate feeds? I have tried this hack and other vb3 hacks for rss feeds and it appears not or I am doing something wrong.

Any ideas on when this option will be added as I would really like to use it, but if it does not support RDF feeds (.asp files) eg http://myeve.eve-online.com/feed/RDFnewsFromDevBlog.asp
then I will not beable to install it sorry.

Slapyo 07-16-2004 07:02 AM

have you tried this one sanjiyan??

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

if you haven't tried that one, i suggest you try it. it offers support for more than one kind of feed.

Sanjiyan 07-16-2004 11:47 AM

Quote:

Originally Posted by Slapyo
have you tried this one sanjiyan??

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

if you haven't tried that one, i suggest you try it. it offers support for more than one kind of feed.

Yep I have tried it and thrown it back out, it does not work with the system I am after, but as you stated in your posts, your version (hopefully) plans to support it when you have the time to get it working, so I hope to wait till your version of the hack is ready to work with the syndicate I need to use.

Sanjiyan 07-17-2004 09:12 PM

Any ideas on when a newer version that might support the rdf feeds?

turbidblue 07-22-2004 01:25 AM

i got the hack installd and everything is working great, but i have a question about my bot that makes the news threads...

how do i get it to not show rep,age,postcount, and everything else???

i just want it to be the avatar and the name of the bot

any help??

i was told i needed to edit my postbit to identify that userid and to make it simple...

but how??

RS25com 07-22-2004 01:52 AM

I have this installed. It worked great the first day. Now it does not work.

I have three bots, using three different user ID's. The ID's are NUMBERS not names, right? So why is this not working?

it's over at www.sell2.us/forums in Off Topic and RSS Classifieds. :(

Slapyo 07-25-2004 08:46 AM

Quote:

Originally Posted by turbidblue
i got the hack installd and everything is working great, but i have a question about my bot that makes the news threads...

how do i get it to not show rep,age,postcount, and everything else???

i just want it to be the avatar and the name of the bot

any help??


i was told i needed to edit my postbit to identify that userid and to make it simple...

but how??

you should ask over on http://www.vbulletintemplates.com/ ... they can help you with that.

Slapyo 07-25-2004 08:47 AM

Quote:

Originally Posted by RS25com
I have this installed. It worked great the first day. Now it does not work.

I have three bots, using three different user ID's. The ID's are NUMBERS not names, right? So why is this not working?

it's over at www.sell2.us/forums in Off Topic and RSS Classifieds. :(

post the URLs to the news feeds please.

Slapyo 07-25-2004 08:48 AM

Quote:

Originally Posted by Sanjiyan
Any ideas on when a newer version that might support the rdf feeds?

not sure when, i'm pretty busy with work ... i work on it in bits here and there.

Sanjiyan 07-25-2004 10:14 AM

Quote:

Originally Posted by Slapyo
not sure when, i'm pretty busy with work ... i work on it in bits here and there.

I do hope it is soon, this is the one hack I am really really waiting for, and I rush to this thread everytime theres an update to the script, because I am in desperate need for this hack ASAP.

Rob Eh 07-27-2004 10:14 PM

Is there a way to specify the time zone used in the control panel for this?

It uses the server time and not the time set by vB in the control panel.

Thanks,

Mickey19781978 07-30-2004 11:42 AM

I have installed this hack and got no errors running this or installing it

I installed version 1.26

My php version is 4.3.6.6

Forum ID 24
User ID 1 (which should be me once i get this to work iw ill create a user for it)
Source = http://www.sportnetwork.net/rss.php?sport=football

Nothing happens... install went smooth and all installed successfully
Scheduled task manager is set to 1 hour on Newsfeeds with filename ./rss.php

But when i hit run now
I still get nothing

Maybe i am using wrong sources?
If so could someone include a few addresses with rugby,football and UK news?

Cheers,

Mick

Mickey19781978 07-30-2004 12:00 PM

turned out i had a small failure in the functions_newpost.php

fixed it and is working now =)

awesome job on this m8ey

Slapyo 07-31-2004 10:29 AM

Quote:

Originally Posted by Rob Eh
Is there a way to specify the time zone used in the control panel for this?

It uses the server time and not the time set by vB in the control panel.

Thanks,

hrm, i am not sure on how to do that. i will look into it, but it has to do with the insertion of the post ... i think it just uses now() to grab the date which would be server time. I will have to jump into vB code to see how they do it.

CharlieBrownDE 07-31-2004 07:23 PM

nice hack. installed and no problems 3.0.3 :) thx

ntventures 08-01-2004 03:55 PM

I installed the hack and get the following error:

Fatal error: Call to undefined function: log_cron_action() in /home/atech/www.discusssite.com/docs/rss.php on line 7

I'm running 3.0.3. It installed okay and added new threads when it installed, but hasn't added any more since. How do I fix it?

Thanks

Slapyo 08-02-2004 12:21 PM

hrm that's odd because it has all the files included that it needs above that for that function. you can remove the log_cron_action() line if you want. it's not really all that important.

turbidblue 08-04-2004 12:05 AM

edit: nevermind :)

problem solved :)

Natch 08-04-2004 03:02 PM

OK Slapyo - I need a hand - can you tell me why includex/functions_newpost.php just started giving me this error?[sql]## Invalid SQL:

UPDATE forum
SET replycount = replycount + 1,
threadcount = threadcount + 1,
lastpost = 1091567991,
lastposter = 'News',
lastthread = 'After the Accident (Forbes.com)',
lastthreadid = 3901,
lasticonid = 0
WHERE forumid =

## mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 9[/sql]Whenever the RSS job is run ? it's somehow lost access to the $foruminfo[forumid] value ...

cogimo 08-08-2004 01:42 PM

Hi All

I found a great to get RSS feeds

http://www.prweb.com/rss.php

pgowder 08-08-2004 03:32 PM

I have 3 feeds setup. When I run the cron task it goes through 2 of them and then I get this error:

Warning: file(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/virtual/site2/fst/var/www/html/gathering/includes/RSS/rss_update.php on line 39

Warning: file(http://www.nativenationsnet.net/backend.php): failed to open stream: Resource temporarily unavailable in /home/virtual/site2/fst/var/www/html/gathering/includes/RSS/rss_update.php on line 39

Warning: implode(): Bad arguments. in /home/virtual/site2/fst/var/www/html/gathering/includes/RSS/rss_update.php on line 39

M1th 08-11-2004 10:27 PM

Err... is this hack secure?

RSS.php file contains nothing but

PHP Code:

<?
require_once('./global.php');
require_once('./includes/functions_bigthree.php');
require_once('./includes/functions_forumlist.php');
require_once('./includes/functions_newpost.php');
require_once('./includes/RSS/rss_update.php');
log_cron_action('RSS News Feed Posted', $nextitem);
?>

am i right in assuming that no permission check is necassary?

croft 08-12-2004 07:36 PM

Ok. My feeds wont update automaticly at all.
They did it the first time now nothing.
Im using rss version 0,91.
I cant even update the feeds by running the cron manual.

M1th 08-13-2004 09:05 PM

Quote:

Originally Posted by croft
Ok. My feeds wont update automaticly at all.
They did it the first time now nothing.
Im using rss version 0,91.
I cant even update the feeds by running the cron manual.

same here.

Slapyo 08-17-2004 03:51 AM

i have been really busy with my new job and haven't been able to work on this at all.

i do suggest that you check out article bot. it is the same as this but offers alot more features for the news.

cogimo 08-21-2004 05:00 PM

Quote:

Originally Posted by croft
Ok. My feeds wont update automaticly at all.
They did it the first time now nothing.
Im using rss version 0,91.
I cant even update the feeds by running the cron manual.

Has anyone been able to get this to work, I'm having the same problem

croft 08-21-2004 06:24 PM

Quote:

Originally Posted by cogimo
Has anyone been able to get this to work, I'm having the same problem

I couldnt get this to work so i installed another hack instead.
https://vborg.vbsupport.ru/showthread.php?t=67078

That hack i could get to work. =) Try tha one if you cant get this to work.

Slapyo 08-22-2004 02:29 PM

yup yup. that hack can parse alot more than this one can. it also includes many features that were suggested to me to add in. i would suggest people use that article bot.

Holidazed 08-25-2004 03:23 PM

Is there a news feed out there that is just "Weather" news?

Ideas?

Slapyo 08-25-2004 04:01 PM

check http://www.syndic8.com

Holidazed 08-25-2004 04:18 PM

I am looking at it but I fail to see any list of streams that might fit my needs.

Ideas?

Holidazed 08-25-2004 06:42 PM

NM, I found it. Thanks

Holidazed 08-26-2004 03:54 PM

I installed this the other day and it pulled in 7 messages from the feed which is very cool. However, I have got nothing since then. I though I messed up the cron. I ran the script manually and it comes back with the message "RSS News Feed".

Is that all it is supposed to say?

I added 3 more feeds going to the same forum and I get no posts from any of them.

What am I doing wrong?

BTW, I have attached a picture of my cron screen. Did I do it right?

PTO 08-26-2004 06:15 PM

Any way we can minipulate the incoming RSS feeds? I'm not a big fan of the advertisements splattered all throughout my RSS feed even though I love the content they are giving me.

Holidazed 08-27-2004 12:22 PM

Help


All times are GMT. The time now is 06:48 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.01640 seconds
  • Memory Usage 1,828KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (10)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