The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
RSS News Feed Hack Details »» | |||||||||||||||||||||||||
My friend made this hack, he owns http://www.liquidpro.net. Check him out.
You may contact him at liquidpro@neo.rr.com. Or you can IM him on AIM at LiquidPro10. An example is shown at http://www.xtreme-forumz.net. Go to the Techno forum under the General category. Then the CNET News sub-forum. RSS News Feed Hack for vB 3.0.0. As long as vBulletin doesn't change the database structure much, this should be good for the next release also, and those to come. Allows you to have a live RSS news feed (such as one from Google or CNET) in a forum. The user that posts it will basically be a bot, which *should* only be used for posting the news, but you can even make it for a regular user. Comments are welcome! Instructons: Note: DON'T FORGET TO MAKE A BACKUP OF EACH FILE BEFORE YOU MODIFY IT! Copy the files to your web server... keep the same directory structure as in the zip file. Run the rss_install.php file to setup the RSS script. If you're upgrading run the rss_upgrade.php file to setup the RSS script. Don't forget to remove all previous modifications (you can find them by searching for "LiquidPro") #### open the /index.php script #### Find this: PHP Code:
PHP Code:
Find this: PHP Code:
PHP Code:
Find this: PHP Code:
PHP Code:
Hack by: Andrew Wickham (http://www.liquidpro.net) Hack for: Xtreme-Forumz (http://www.xtreme-forumz.net) Show Your Support
|
Comments |
#42
|
|||
|
|||
Hmmm, I have enabled the bot as well as the RSS-feeds themselves.
I've just checked the current xml file that will be retrieved and it contains a few items that are not being displayed. The current xml file: Quote:
Missing items on the board: Quote:
Thx in advance, sjau |
#43
|
|||
|
|||
Same here. As soon as I removed these, the 1st came up again. Now, see, that's not something that should have to be done. There's most definitely a problem with this somewhere.
|
#44
|
||||
|
||||
Yea, guys... I'm definitely checking that out. I just started having the same problem as well on my test board. I'm releasing v2.0 very soon. I had a friend write his own XML parsing class for this, which will allow you to specify what the date field is, because some feeds use "pubdate" and others use "date" and so forth, so there's going to be some more added. Not to mention I'm fixing the quotes and approstrophe's problem. Sorry for the hold up.
|
#45
|
|||
|
|||
You might want to consider looking into the multi-feed support issue too. i don't know if that's wrapped up in the same thing or what, but it could very well be.
|
#46
|
|||
|
|||
I'm just playing now with the idea of using a vB cron for periodic update of the feeds. I tend to think that on larger boards it's not a good idea to query the RSS file like ever 10-20 seconds just when someone goes in the according forum. I guess you could end up your IP being blocked!
|
#47
|
|||
|
|||
Btw,
I'm just studying your code now and I just made the comparison between old entries and new RSS items visible by having the array values displayed. Array display function: PHP Code:
Altered code: PHP Code:
The result I'm getting is that: - No date is set it seems that the database still should be filled... Looking more into this matter http://wsjb78.com/forums/ Edit: I know my code is not quite right yet to display them accordingly Actually forget all of the above settings. I found the problem: Change this in your /forum/includes/RSS/rss_update.php: PHP Code:
To that: PHP Code:
|
#48
|
||||
|
||||
Quote:
So having it fetch the XML/RSS feeds every time the forum page is loaded is Really likely to get your server ip banned from that xml/rss feed. And then you'll be complaining here that it doesn't work and cause insanity for poor Xyphen who's going through his code to see why that is |
#49
|
|||
|
|||
I think I've found the problem. Posted it into my previous post (didn't see KuraFire did already add another post).
|
#50
|
|||
|
|||
Ok, I've tested this now several times and my modification seems to work without problems.
Further more I did remove the require code from the index.php and forumdisplay.php and copied the supplied two rss files from ./includes/RSS to ./includes/cron and setup a cron for them. It seems that works also. |
#51
|
||||
|
||||
Yes, that definitely seemed to be a problem... in v2.0 there's a completely new RSS class, so that problem is definitely fixed. I see what you mean about the CRON job and such, I will look into it.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|