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 |
#192
|
||||
|
||||
Sorry - me again :
Did i understand your rigtht @Slapyo - with your changes to the Code this Hack is automatically posting new News from the Feeds without deleting the new ones ? Or is it overwriting the old ones ? And is there a option to delete one of my Feeds in the AdminCP ? |
#193
|
|||
|
|||
@vau7 ... my changes were to the rss_update.php and functions_newpost.php, that's it. i think the original coder had changes in other files. here is the post that includes the file that i downloaded and have been working with.
https://vborg.vbsupport.ru/showpost....&postcount=139 when i get home tonight i will throw together a package that will include everything that i have done and give the install. it will be a complete package. just the code i have shown will not work just by itself. you have to have everything else installed properly. see the link i posted for the files that i used to install. @rockergrrl ... that should work actually. i noticed you have 2 $rss_descriptions for each one. i think that's my fault for some code i posted for you. this should work because when inserting the data it uses the url tags to make the link. PHP Code:
if you installed the code properly there is a link in the admincp to HACKS which has RSS News Bot under that. you can add, edit, or delete a bot. if you don't want to delete it, you can just turn it off. however, this is all part of the original code. i make no changes to the way the bot collects the data, or admincp changes, just how the data is posted. |
#194
|
||||
|
||||
Oy....
Can't get it to work.. even updated threads... no go... :ermm: I can't ge the   problem fixed either..... And then changing the bold and italics tags it puts ".<br><i>" in the posts. :ermm: Thanks again for all your help, I greatly appreciate it! Screens... |
#195
|
||||
|
||||
@Slapyo - no in the Admin CP you can only edit the Feeds - there is no "Delete" Funktion.
And sorry - i have to ask again (i know i have written it a little bit confusing before !) : If the Hack is working correctly does the robot post the News and overwrite them if there are new ones or does he add all of them - means old and new News. I can?t know it by now because it did only worked one time with no more update of the News. Can somebody tell me this ? (Sorry - my english is a little bit untrained - i work on it again ! |
#196
|
|||
|
|||
oh, ok i though there was a way to delete a bot in there...wasn't sure.
the way it works is this. when the bot grabs the news it will check all the news articles. if there is a new one, it will skip that news article. sometimes i have noticed that with Yahoo! news i get repeated titles, but the content of the article is different, so they are different posts. but it should not repeat an article, it will just goto the next one. new news, will be new posts and the old news will be kept, no posts are deleted. but no repeat posts should be made. |
#197
|
||||
|
||||
That was something i understand no definitely !! Thanx ...
|
#198
|
|||
|
|||
ok, here it is. i just ran it on my server and it worked fine. there are a couple things...
1 - might be a cleaner/neater way to convert the ASCII to normal characters 2 - might not convert all the ASCII to normal characters so you may end up with like ' or or 
 .... whatever it may be ... if someone wants to look at the code and see if they could clean it up that would be great. that code is in /includes/RSS/rss_update.php ... it's towards the bottom. i have it running on my forums that i just started up ... you can see it here, http://www.sportsbabble.net |
#199
|
|||
|
|||
if anyone would help me get these RSS feeds running on my vb3 I will gladly pay you funds via paypal! If interested, please PM me here.
|
#200
|
|||
|
|||
Quote:
I have one minor issue though. I've set the user id in rss_admin, but the threads show a different user id as the poster. EDIT: Actually it seems to be a random user id every time the rss feeds are posted... |
#201
|
|||
|
|||
Quote:
after thinking about your problem some, it sounds like the problem that i had before. did you make the changes in your functions_newpost.php? it should change the build_new_post function and then change the global variables just below that in the function. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|