Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
RSS News Feed Hack Details »»
RSS News Feed Hack
Version: 1.00, by Xyphen Xyphen is offline
Developer Last Online: Dec 2004 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 01-28-2004 Last Update: Never Installs: 34
 
No support by the author.

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:
require_once('./includes/functions_forumlist.php'); 
Add below it:

PHP Code:
require_once('./includes/RSS/rss_update.php'); 
#### open the /forumdisplay.php script ####
Find this:

PHP Code:
require_once('./includes/functions_forumdisplay.php'); 
Add below it:

PHP Code:
require_once('./includes/RSS/rss_update.php'); 
#### open the /admincp/index.php script ####

Find this:

PHP Code:
construct_nav_group("$vbphrase[styles] &amp; $vbphrase[templates]"'<hr />'); 
Add below it:

PHP Code:
// Manage Hacks
// by: Andrew Wickham
// LiquidPro Inc.
//
construct_nav_option('RSS News Feed''rss_admin.php''<br />');
construct_nav_group('Hacks');
//
// End Manage Hacks 
You're done, thanks for installing the hack.

Hack by: Andrew Wickham (http://www.liquidpro.net)
Hack for: Xtreme-Forumz (http://www.xtreme-forumz.net)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 01-31-2004, 03:41 PM
sjau sjau is offline
 
Join Date: Apr 2003
Location: Switzerland
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by raxafarian
I'm pretty sure this is due to the crappy feed I posted above, but mine will not update. If I remove the two 'rss' tables and reinsert them, it pulls new headlines. If not, it doesn't do anything.

Also changing to another feed won't update...I still need to blow those 2 entries away and put them back.... then the new feed works... once.

The same happens for me. I installed it yesterday and it got those news:

Bewertung Thema / Autor Letzter Beitrag Antworten Hits
Free-software guru meets Indian president
News-Bot Gestern 20.53
von News-Bot 0 1
Sun urges Eclipse to unify Java world
News-Bot Gestern 20.53
von News-Bot 0 1
Dutch judge blocks Lindows over trademark issue
News-Bot Gestern 20.53
von News-Bot 0 1
Week in review: Virus king
News-Bot Gestern 20.53
von News-Bot 0 1
Lindows offers software for free over P2P
News-Bot Gestern 20.53
von News-Bot 0 1


But nothing since then.


Maybe instead of making it update when the forum is visited that you can set a cron to do the update like every 15 min.
If you write an admin panel it would be great if you could choose like update when the forum is visited OR every xxx min.
Reply With Quote
  #33  
Old 01-31-2004, 09:57 PM
Xyphen's Avatar
Xyphen Xyphen is offline
 
Join Date: Dec 2002
Location: ON, Canada
Posts: 370
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, v1.1's official out! It's updated as of right now, support for v1.0 is no longer.
Reply With Quote
  #34  
Old 01-31-2004, 10:02 PM
sjau sjau is offline
 
Join Date: Apr 2003
Location: Switzerland
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*download*

Would it be possible to add the RSS-Bot postings also to the posting counts?
Reply With Quote
  #35  
Old 02-01-2004, 07:36 AM
wolfstream wolfstream is offline
 
Join Date: Jan 2003
Location: Iowa
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm, no updates?
Seems that I cant get a single update, no matter how often I visit the forum.
I entered one rss feed in, checked the forum and it was fine. After entering the second in though, it didn't do anything at all.. I thinks this is (almost) a decent hack, but it needs some other method of updating things.
Sure, I could delete and recreate it, but that'd make no sense now. SO, what seems to be the problem here?
Reply With Quote
  #36  
Old 02-01-2004, 07:40 AM
sjau sjau is offline
 
Join Date: Apr 2003
Location: Switzerland
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wolfstream, download the version 1.1. With that the update works when you visit the forum.

AddOn:

Some Google RSS Feeds can be found here

http://googlenews.74d.com/

Using right now the one from Google Germany:

http://wsjb78.com/forums/forumdisplay.php?f=2
Reply With Quote
  #37  
Old 02-01-2004, 07:58 AM
wolfstream wolfstream is offline
 
Join Date: Jan 2003
Location: Iowa
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sjau
Wolfstream, download the version 1.1. With that the update works when you visit the forum.

AddOn:

Some Google RSS Feeds can be found here

http://googlenews.74d.com/

Using right now the one from Google Germany:

http://wsjb78.com/forums/forumdisplay.php?f=2
Unless there's ANOTHER version of this floating around somewhere, I've already got it downloaded. It just doesn't work, go figure. I downloaded the zip, nothing is updating at all.
It's not the RSS, it's impossible for every feed I try to actually not work, really. The feeds are great, the hack doesn't work from what I've seen.
Reply With Quote
  #38  
Old 02-01-2004, 08:16 AM
sjau sjau is offline
 
Join Date: Apr 2003
Location: Switzerland
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When did you download it? Xyphen added this night (for me) the version 1.1... something like 12h ago...
If you've downloaded your version before that you're still using the old one.

Do you have in your Admin CP a new Nav entry for the RSS Feeds? If not you're using the old version.
Reply With Quote
  #39  
Old 02-01-2004, 10:18 AM
wolfstream wolfstream is offline
 
Join Date: Jan 2003
Location: Iowa
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Again,
I know how to read. The file I'm using IS the latest version but does NOT work, no matter what the author claims. I've yet to see the results from the second feed, and the first just hasn't even left the first day (though it's been less than 6 hours ).
Reply With Quote
  #40  
Old 02-01-2004, 10:55 AM
sjau sjau is offline
 
Join Date: Apr 2003
Location: Switzerland
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ups, wolfstream you're right. It's not updating for me either.
I was sure this morning when I got up that there were more entries than when I installed it this night.
Reply With Quote
  #41  
Old 02-01-2004, 06:20 PM
Xyphen's Avatar
Xyphen Xyphen is offline
 
Join Date: Dec 2002
Location: ON, Canada
Posts: 370
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Guys, make sure you have the bots enabled! If they're not enabled they will not update. It works for me on my forum and on my testing forum. I came up with a fix for the single quotes problem, I will update the main post in a little bit for it.

Also, please note that news updates aren't in the exact order that they are on the news feed, this is due to the XML parsing. Anyways, all news updates that are on the news feed, will be on the forum... just in a different order. If all else fails, disable the rss feed. Then delete all news. Then re-enable it.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:33 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07596 seconds
  • Memory Usage 2,321KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete