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
  #122  
Old 03-23-2004, 10:02 PM
cscgal's Avatar
cscgal cscgal is offline
 
Join Date: Aug 2003
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was having the same problem but I found a post on page 6 or so with a quick fix. So I did the fix and then it all worked but every so often it would repost the same thread upon every single update (every 15 mins). Finally I just gave up and uninstalled the hack. I'll try again when version 2 of the hack comes out, whenever that may be.
Reply With Quote
  #123  
Old 03-27-2004, 07:57 PM
rockergrrl's Avatar
rockergrrl rockergrrl is offline
 
Join Date: Oct 2001
Location: Michigan
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just installed this on my board....

When I added in the news feed in the admincp, I accidently put the wrong forum ID/user ID (reversed the ID #s).

But its not showing up in the Modify Bots page....
So I added in what the ID # should be in a new bot.

Still not showing up under Modify Bots.

So I clicked on Delete All News (so so I thought).

Well they were deleted, but when I added in the new bot (where it should've been), it added it back into the two threads that they were in before (the reversed #s one and the correct #).

*sigh*

And when I try to delete the feeds from the bad forum, they reappear. :/

Any suggestions?
Reply With Quote
  #124  
Old 03-27-2004, 09:34 PM
Lurk Lurk is offline
 
Join Date: Feb 2004
Location: Garden Grove, CA
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rockergrrl
I just installed this on my board....

When I added in the news feed in the admincp, I accidently put the wrong forum ID/user ID (reversed the ID #s).

But its not showing up in the Modify Bots page....
So I added in what the ID # should be in a new bot.

Still not showing up under Modify Bots.

So I clicked on Delete All News (so so I thought).

Well they were deleted, but when I added in the new bot (where it should've been), it added it back into the two threads that they were in before (the reversed #s one and the correct #).

*sigh*

And when I try to delete the feeds from the bad forum, they reappear. :/

Any suggestions?
I finally found out the problem with my board....
Each RSS bot has to have a seperate user name.
for example:
it doesn't work if more than one bot uses the user id of 1..
Reply With Quote
  #125  
Old 03-27-2004, 10:30 PM
rockergrrl's Avatar
rockergrrl rockergrrl is offline
 
Join Date: Oct 2001
Location: Michigan
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That wasn't the case....

I switched the forum id with the user id (I had a *dislexic* moment at the time)

So instead of forum id: 72, and member id: 27...
I had forum id: 27, and member id: 72 (which didn't exist)

So I made a new bot entry with the correct ids.

And the one with the wrong forum/member id never showed up (nor did the correct one).

And when I tried deleted everything to start over, and deleted the posted feeds in the wrong forum, and correctly added what the ID #s were suppose to be... The old bot was still posting feeds in the wrong forum - as well as the correct forum.

Messed up.... :/

Should I just replace the files that were edited, etc? and start over?
Or will it still do it?

Gracias!
Reply With Quote
  #126  
Old 03-27-2004, 10:44 PM
Lurk Lurk is offline
 
Join Date: Feb 2004
Location: Garden Grove, CA
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rockergrrl
That wasn't the case....

I switched the forum id with the user id (I had a *dislexic* moment at the time)

So instead of forum id: 72, and member id: 27...
I had forum id: 27, and member id: 72 (which didn't exist)

So I made a new bot entry with the correct ids.

And the one with the wrong forum/member id never showed up (nor did the correct one).

And when I tried deleted everything to start over, and deleted the posted feeds in the wrong forum, and correctly added what the ID #s were suppose to be... The old bot was still posting feeds in the wrong forum - as well as the correct forum.

Messed up.... :/

Should I just replace the files that were edited, etc? and start over?
Or will it still do it?

Gracias!
yeah, i think you should...
Reply With Quote
  #127  
Old 03-28-2004, 07:21 AM
wolfstream wolfstream is offline
 
Join Date: Jan 2003
Location: Iowa
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Actually, it is very possible to have the same bot posting news in multiple forums. I had this going on for quite some time.

As far as the news not updating, others have posted a fix for it. Make sure to read the whole thread, because there's a few things regarding cron that should be paid attention too. If you've got a forum that's heavily used, updating the rss feeds every time you have a page view is a very bad idea.
Reply With Quote
  #128  
Old 03-28-2004, 01:14 PM
Lurk Lurk is offline
 
Join Date: Feb 2004
Location: Garden Grove, CA
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wolfstream
Actually, it is very possible to have the same bot posting news in multiple forums. I had this going on for quite some time.

As far as the news not updating, others have posted a fix for it. Make sure to read the whole thread, because there's a few things regarding cron that should be paid attention too. If you've got a forum that's heavily used, updating the rss feeds every time you have a page view is a very bad idea.
oh?
well, when i used the same user for multiple feeds and forums.. it didn't work
Reply With Quote
  #129  
Old 03-28-2004, 01:24 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow I can't believe I missed this one - it looks great !
Reply With Quote
  #130  
Old 03-28-2004, 03:39 PM
croft croft is offline
 
Join Date: Aug 2002
Location: Sweden
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have been browsing this thread now for a while trying to find and answer.

Have anyone fixed the html tag problem that can occure when the rss feed have images and links and such ?

And could some one in detail explain to me how to fix the postcounts.

And about the cron job. Im very scared to do anything with my db cron jobs ar anything like that. I feel like everything is gonna break when i hit my cpanel link LOL.
Reply With Quote
  #131  
Old 03-28-2004, 03:55 PM
Lurk Lurk is offline
 
Join Date: Feb 2004
Location: Garden Grove, CA
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

why doesn't it say the number of threads and posts? on the categories where i have rss feeds
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 01:43 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.06747 seconds
  • Memory Usage 2,325KB
  • 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
  • (3)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