![]() |
any ideas why the bots post as different users now since upgrade? was working ok before..
|
there were no changes in the code that has to do with making the post. all of that stayed the same, just quotes were changed and then it was recorded in the scheduled tasks log if you have it turned on. mine is still posting with the bot and nobody else and i use v1.25 off this upload.
|
tried that and still messed up is posting from the user that views the thread yet its meant to post the news every hour only
|
Can anyone help me trouble shoot this error message? I've installed per directons and when i run rss.php manually, I get this:
Warning: main(class.RSS.php): failed to open stream: No such file or directory in /home/peterjun/public_html/includes/RSS/rss_update.php on line 28 Fatal error: main(): Failed opening required 'class.RSS.php' (include_path='') in /home/peterjun/public_html/includes/RSS/rss_update.php on line 28 Interestingly, I also don't have the configuration panel (admincp -> hacks -> rss news feed) in my admincp and had to manually point my webpage to that php file. Thanks for any help! |
did you make the file edits? there are 2 files that you have to edit. read the instructions.txt and you will see the files you need to edit and what changes need to be made.
|
fixed my prob slapya i hope :D
|
everything running like it should now?
|
Thanks Slapyo. I solved the problem with the admincp by editing the file.. I edited the other files, but still get the same error message.
Warning: main(class.RSS.php): failed to open stream: No such file or directory in /home/peterjun/public_html/includes/RSS/rss_update.php on line 28 Fatal error: main(): Failed opening required 'class.RSS.php' (include_path='') in /home/peterjun/public_html/includes/RSS/rss_update.php on line 28 I'll delve more, but was wondering if you knew any quick solutions. |
Good job. :) I'm running this as a cron job on my server - I just removed the log cron action function from the rss.php file. It works well. Thanks!
|
Quote:
|
my initial post for this hack has a list of some common RSS feeds, it is at the very bottom of the post just above the attachments.
|
Is there any way to avoid the bot posting the same headlines again and again?
|
is there a pubDate field in the feed you are pulling?
|
Slapyo - very nice hack. I've installed it and it works fine.
The only problem I can see is when the RSS feeds are pulled in, e.g. from The Register, the oldest posts are appearing that the top. I guess you can't do anything about that and it's down to the people that create the XML? /me clicks install. |
ya, its some weird thing with how the RSS script processes the feed. i've noticed that as well.
|
I would give blood for an rss feed that had more than a simple 1 line description with a link. I want to keep users on my forum. I would gladly pay for this service.
|
<a href="http://www.syndic8.com" target="_blank">http://www.syndic8.com</a>
might find something there. |
Hi. The w3c accepted ATOM feed format as the standard (blooger is also promoting them).
Any chance of an ATOM version of this script for the future? |
as of right now i don't plan on doing any more to the script till i finish up school. have a few weeks left till i graduate then i will have some time. but there were a couple things i was thinking about adding in. one was adding in the ability to use RDF feeds, so this would go along with that, i could make an option for what kind of feed it is. will keep this in mind.
|
Great. I'll check the code to see if I can help. Best regards and good luck with school.
|
I've had this running for a couple of weeks now and everything works well. I think it could be further improved by:
|
in rss_update.php:
FIND: PHP Code:
PHP Code:
the function used to insert posts was one that vB already had built it. this uses the exact same function that vB does to insert posts. that also includes upping he post count and stuff like that. removing the post count would take some time. a quick fix for that is to make that forum not have post counts increase. but then any normal user that replies to a post won't get a post. |
Slapyo - thx for the info. I'll make adjustments to the code to get rid of the HTML stuff. I've already disabled posts for the forum where RSS feeds are put in.
Good job - thx :). |
Installed and working 100%.
Nice hack. |
Can someone or even the developer of this hack take a look at my request here:
https://vborg.vbsupport.ru/showthread.php?t=65767 It will come in handy for anyone using this hack. |
i just replied to your post.
|
Thanks Slapyo but Im no coder. Any available for this?
|
once i graduate in a couple weeks (june 13) i will have some time to be able to look into this further.
|
Slapyo - good luck with everything. Any help in the future will be appreciated.
|
I had to delete the remains of a past failed RSS install, but it worked like a charm after that! I've been creating different users/characters to report on the different news sections, and it's kind of funny since my members think they're real people posting all those threads. ;)
|
lol cool.
|
After a bit of searching, I've found a basic way to exclude selected forums from the new posts listing.
Search.php find: PHP Code:
Replace with: PHP Code:
However, this would mean that your members who do want to see new posts regarding these RSS forums, won't see them. A solution to this would be to create a separate search.php file. Just copy the existing search.php and rename it to something like search-rss.php. You can then add another link to your NAVBar or whereever you like to call this particularly search script and show new posts, i.e. I know this isn't an ideal solution, but it's a solution nonetheless. As already discussed, it would be better to have it prompt you if you want to include RSS feeds. Then again, for users that don't and never do, this would be undesirable as well :). I've just changed my NAVBar menu so that 'New Posts' was renamed 'Posts' and this has a drop-down menu, which allows me to select 'New Posts (No RSS)', 'New Posts (with RSS)' , 'Mark Posts Read' etc. Hope you find this useful until another solution is developed. Maybe it will also help Slapyo on the query side anyway. |
I'll stick mine all in a drop down menu, makes life a lot easier. For the time being I have excluded all RRS posts from the new posts search.
Laters |
before i install this. one question.
Can I make a category on my forums JUST for news feeds, and have it post a new thread for every new topic? (for people to discuss and such). Let me know |
Not sure what you mean by category. If you mean post into a particular forum or sub-forum, then yes - this is exactly what the hack does. It will pull feeds from other websites and it will create a new thread for every headline.
For example, I have a forum called RSS Feeds which has many sub-forums. I've created numerous bots that retrieve content from other websites and it automatically posts threads into each of these sub-forums. Quote:
|
Thats what I mean, sorry. Nice... Installing now ;)
|
wjen I run rss.php I get
Parse error: parse error in /www.pbmessage.com/forums/includes/functions_newpost.php on line 1188 Fatal error: Call to undefined function: build_new_post() in /www.pbmessage.com/forums/includes/RSS/rss_update.php on line 103 |
Recheck your edits of the files again, you have done something wrong.
|
Cool Hack! Here'a a suggestion though. Can it be done so that clicking on a thread will redirect to a page split into two frames horizontally? the main news is at the top, the thread discussion is at the bottom. Possible?
|
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................!? |
All times are GMT. The time now is 10:53 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:
|