![]() |
Hmmm, maybe a new version was developped meanwhile but the only file I have in the includes folder is the rss_update.php
|
Quote:
My bad..I was not only doing the changes in the zip but also on this thread..had it all hosed up..can't u tell i'm a noob? :o got it working now..will post a demo when all setup..thnx |
After installing and testing the hack I had a very big problem... I used a very slow RSS (I think their server lagged) and my database nearly broke down...
I think that more users were at the same time checking the test-RSS and got into a conflict... At that point I began remodelling your Hack, removing your modifications at index.php and forumdisplay.php and creating a cron-job (which vB3 provides). That way I solved two annoying problems: 1. The slowdown by getting the RSS every time forumdisplay or index is used 2. Reduction of traffic 3. Reducing the risk of IP-Banning @Xyphen: I'll send you the cron-version... feel free to use it ^^ °TomokiG° |
Quote:
Tom |
Quote:
I too noticed refresh was taking longer as I added more feeds..needs to refresh from the cron only.. which when i run the rssupdate no new post are posted..i have one from worldpress that updates every 30 mins but doesn't after initially getting first load..the rss_update says completed but no new entries.. here is my site in it's infancy, http://www.newsoutlet.info/forums/index.php you can view the site..if not let me know.. I like the admincp option..would like to see this expanded on, for instance to have the ability to delete a bot..deleting the user does not delete the bot and u will get db errors unless u phpadmin in and manually make changes.. Would like to see if there is a way having to create a new user for each feed..have tried to create 2 bots using same user but post in different forums..the first bot will post but not the second..so have to create a new user for each bot.. I can live with everything except the updating issue..is anyone else getting regular updates? This is still an awesome hack with alot of potential..just wish I was a coder, to exploit the potential.. Well any help or pointers would be appreciated |
So does the hack run in RC4 or not? I included him but i can´t set the hole hack to enabled, he always sets it back to No when I choose Yes and save.
|
Quote:
The first time I installed it, it was enabled, I disabled it til I was ready in case I had to do an emergency shutdown due to server overload ..Well it wouldn't enable..I thought it was because of the code changes I made that were posted in this thread on top of the changes in the zip..Since my site is in it's infancy, and I'm not a coder, yet. I just started from scratch and reinstalled everything and just used the changes in the zip and it stayed enabled..Haven't disabled it since..The only other changes I made was TomokiG's in the index.php and forumdisplay.php and that stopped the update running every time you went in the forum.. Some thoughts, 1. The ability to delete a bot and all references to it..As it is now, unless you reassign the bot to another user before deleting the user, you will get database errors when you run the update.. maybe deleting the forumid and userid in the bot will delete it, not sure and I don't have my test server reloaded yet to test.. 2. The ability to have 1 userid to multitask, for instance, a yahoo bot for each topic with one userid that will update each topic with their respective feed..I tried it and it will post the first topic but not any other.. 3. I guess the biggest thing is getting the update to work without deleting old news..no one has said they are updating their forums, just that they can get the update to run from a cron. I too can get it to run, or so it says. For some reason there is no log entry that it has run, and the timestamp for the next run has moved up to the next hour..and still no new posts..I don't wanna delete thenews everytime to get new headlines, cause then if someone posts a reply to a particular thread, the subject of the thread is gone and anyone just coming in would not understand what is being discussed.. Xyphen, awesome job on this..Noone has come close to what you have accomplished with this hack..can hardly wait for 2.0 to come out..thnx :up: |
mine is not updateing after the first time either
mine uses this feed http://ripper.webrats.com/cache/rss_links.xml |
Guys, sjau posted a fix for this.
Find in /forum/includes/RSS/rss_update.php: Code:
for($i = count($rss_allItems) - 1; $i >= 0; $i--) { Code:
for($i = count($rss_allItems) - 1; $i >= 0; $i--) { Put the following code in wordpad and save as rssfeed.php then put it in your includes/cron/ folder. Then in your admin control panel under "Scheduled Tasks" then click "Add New Scheduled Task" Give it a name, then under "Minute" I put mine on 59 so it updates ever 59 mins! Then for file name put ./includes/cron/YOUR PHP FILE.php Code:
<? Code:
require_once('./includes/RSS/rss_update.php'); |
YES, ty, ty ,ty, I saw that fix earlier but wasn't sure which one as there are 2 instances so i went on the assumption that it was the first and it did add new posts..but will know for sure in a hour
thnx again |
working so far here is link if ne1 wants to browse,
https://www.ssmallard.com/forums/index.php vbhome https://www.ssmallard.com |
I have this working - thanks for all the fixes posted here!
One question: I don't want HTML enabled in the forums I have the feeds post to, because I do want users to be able to reply and comment on news items. What's the line break code I can use so vb knows to insert a line break if html is disabled? "/n/n" doesn't work. Thanks! |
when you hit the view new posts it shows all of his posts also. and i bet if you do a search, it'll query his posts
Also, in the forums that have the news posted the stats say for example: 64 threads and 64 posts when no one has posted there. :| |
Quote:
|
Heh, it works great for me but posts are being double posted by the bot.
|
Quote:
|
Just want to post a Thank youfor a great Hack.
I ran into a few problems but it turned out it was my fault. |
Every time I try to run a php script which includes rss_update.php, I get the following error
Warning: main(class.RSS.php) [function.main]: failed to create stream: No such file or directory in /home/www/daniweb/techtalkforums/includes/RSS/rss_update.php on line 17 Fatal error: main() [function.main]: Failed opening required 'class.RSS.php' (include_path='') in /home/www/daniweb/techtalkforums/includes/RSS/rss_update.php on line 17 Running latest RC of vB3 |
Hello Guys,
Is there any way we can hide the newsbots' post from the new/latest thread posts functions. These functions are now rendered useless as they are fully cluttered by the newsbots posts. Thanks in advance. NW |
I'm having trouble installing this hack.
1. My index.php (main root forum file) is actually forum.php since I use vBindex as index.php to display when my domain name is typed in. 2. The error I get when trying to use the code snippet from instruction step #1 in forum.php is: Code:
Fatal error: Call to undefined function: can_administer() in /home/myusername/public_html/forum.php on line 30 Code:
Database error in vBulletin 3.0.0 Release Candidate 3: Any assistance rendered is greatly appeciated, thank you. :) |
Quote:
Code:
Database error in vBulletin 3.0.0 Release Candidate 3: |
Hey, I had a question. I briefly skimmed through the thread (I'm trying to multi-task getting ready with this), and I didn't find the answer.
Has this script been modified to be more "cron" like? Does it check the RSS feed every time a page is loaded, or is there any way that another cron can be created so that each bot runs at a certain time during a non-busy period? (Like say... I want a Cnet bot to run at 4am, and another RSS feed bot to run at 5am, etc) Sorry if this has been answered and I missed it |
What style was used in the RSS feed screenshot?
|
Quote:
http://lurkcorp.com/pubsighost/screencap.gif I really want to know... if someone knows, please post or pm me what it is and/or where to find it. |
I would assume its one the guy designed himself.
|
Quote:
It's called GelTech http://www.insidethepixel.com/demo/ |
is there a certain limit to how many feeds can be used?
do only certain feeds work? |
Quote:
|
When will you release version 2?
|
Yes I am very curious too.
|
is this working for gold?
|
Quote:
I am waiting for version 2 which should run with vb3 gold :D |
I would like to see a new version, but I would love to get this installed ASAP... I think it will be a great additon for my board, and that my users will use it...
I noticed on one of the example boards that the RSS posts were of course very short with a link for the full article. Will the new version support RSS2, and longer descriptions? When will the version 2 be available? TIA |
Quote:
|
Installed & working nicely on Gold :)
|
Installed fine on Gold at www.myispforum.com
I had to add: PHP Code:
What about other options like polling intervals? Slashdot requires a longer wait than most I think... Is it querying the feeds each time that the index or forumdisplay is loaded, or is it set on an internal update timer? I haven't really torn the code apart yet, but it looks nice... I would really like to see the RSS2 implementation, and how that post looks... Does anyone have a good Internet News Feed that is RSS2? something like Internet Security, Networking, etc. TIA |
I can't find in the code how often it is running... The first feed I added worked fine on the first update, but it hasn't updated since, and I've added a few more feeds, and none of them have updated either.
|
Quote:
|
I added it just before the post is inserted... if you need, I'll find the line #
|
I haven't been able to get the Feeds to update... it will work when I run it for the first time, but after that, it's not updating on subsequent page loads
|
All times are GMT. The time now is 02: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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|