Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
RSS Feeds on Forumhome and Other vb Pages Details »»
RSS Feeds on Forumhome and Other vb Pages
Version: 1.00 RC2, by tgmorris tgmorris is offline
Developer Last Online: Oct 2013 Show Printable Version Email this Page

Version: 3.5.2 Rating:
Released: 01-13-2006 Last Update: 01-15-2006 Installs: 30
Uses Plugins Template Edits
Is in Beta Stage  
No support by the author.

This product adds support for displaying RSS feeds on 1 or more vb pages.

The product will create 5 plugins and a new section, RSS Feed Processing, under vBulletin Options. Also added will be 2 new templates appropriately grouped under 'RSS Feed Templates'.

Configuration

Change the settings in 'vBulletin Options -> RSS Feed Processing' to suit your particular needs.

One thing that proves difficult for some users is creating the 'cache' directory. This directory needs to be CHMOD 777 and it should reside outside the web root. All of the RSS feeds will be cached in that location so depending on how the product is configured (i.e. allowing users to define their own feeds) the size of the directory could grow signficantly.

An advanced feature that is only available for non-user specified feeds is the ability to include code to filter and/or modify the feed content. If the feeds are being provided for your users this can prove to be a very powerful tool.

Placing the content on pages

As supplied the RSS Feed content will be displayed below the "What's Going On" block. This may be changed by modifying the 'RSS Feed - Content Generation' plugin in different ways.
  1. Find where you want the output in the FORUMHOME template and change the search sttring accordingly.
  2. Delete all the search-related text and manually edit the template(s) where you want the content to appear.
In either a) or b) above you may also change the hook location for the 'RSS Feed - Content Generation' plugin so it runs where it's needed. If the content is desired on multiple vb pages then the plugin could be moved to init_startup so long as the template edit logic is removed.

The RSS feed content is placed in the $feedcontent array with an entry for each feed. To manually place the feeds in templates refer to the entries for 3 feeds as $feedcontent[0], $feedcontent[1] and $feedcontent[2]. If the content for a given feed cannot be decoded then that array entry will be empty.

Revisions

1.00 RC2 16-Jan-2006
Added support to allow the displayed feeds to collapse when not a user-specified feed.
  • Modified the rss_feed_rss template
  • Updated the RSS Feed - Function plugin


If you find this product useful donations via PayPal may be made via the Sponsors Page.

Do not reproduce or publish elsewhere without my written permission.

Show Your Support

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

Comments
  #12  
Old 01-27-2006, 07:39 PM
GamerJunk.net's Avatar
GamerJunk.net GamerJunk.net is offline
 
Join Date: Jan 2004
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nevermind I got it working
Reply With Quote
  #13  
Old 02-10-2006, 08:00 PM
noreturn noreturn is offline
 
Join Date: Feb 2004
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can some one tell me what I am doing wrong?

My test board is located public_html/test.

I only get these errors back and never get it to work.


Warning: file_get_contents( http://scripts.ign.com/rss/ign.all.2.0.xml): failed to open stream: No such file or directory in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents( http://www.dreamstation.cc/rss/dreamstationcc.xml): failed to open stream: No such file or directory in /includes/init.php(292) : eval()'d code on line 218

Thanks All
Reply With Quote
  #14  
Old 02-10-2006, 09:46 PM
tgmorris tgmorris is offline
 
Join Date: Nov 2003
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by noreturn
can some one tell me what I am doing wrong?

My test board is located public_html/test.l
Check to make sure your cache directory has the correct permissions (chmod 777) and that the path is correct.
Reply With Quote
  #15  
Old 02-10-2006, 09:52 PM
EricaJoy EricaJoy is offline
 
Join Date: Sep 2002
Location: New York, NY
Posts: 236
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey i totally missed this when it was first posted. thanks!
Reply With Quote
  #16  
Old 02-11-2006, 05:02 AM
dethfire dethfire is offline
 
Join Date: Feb 2003
Posts: 441
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how do we limit the descriptions to say 100 characters and then add (...)?
Reply With Quote
  #17  
Old 02-11-2006, 04:15 PM
EricaJoy EricaJoy is offline
 
Join Date: Sep 2002
Location: New York, NY
Posts: 236
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this definitely great! word of the day is already up and running on my board. a question though, is it possible to have the user defined rss show up on the users profile page (MEMBERINFO template)?
Reply With Quote
  #18  
Old 04-16-2006, 11:31 PM
iambic's Avatar
iambic iambic is offline
 
Join Date: Apr 2005
Location: Sunnyvale, CA
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed without problems, left all settings as their defaults, added an rss feed, which is cached correctly in the cache folder, but nothing gets generated in my forum's home page at http://support.iambic.com/forum/

ideas?

- Adriano
Reply With Quote
  #19  
Old 04-17-2006, 12:27 AM
tgmorris tgmorris is offline
 
Join Date: Nov 2003
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by iambic
Installed without problems, left all settings as their defaults, added an rss feed, which is cached correctly in the cache folder, but nothing gets generated in my forum's home page at http://support.iambic.com/forum/

ideas?

- Adriano
Double check to make sure the plugins are all active. Other than that you might manually edit the template as a test to see if the $feedcontent array is being populated.

The other possibility is that the feed, although cached, can't be processed for some reason. This will also cause the symptoms you are seeing.

What's the feed url you are using?
Reply With Quote
  #20  
Old 04-17-2006, 08:45 PM
iambic's Avatar
iambic iambic is offline
 
Join Date: Apr 2005
Location: Sunnyvale, CA
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks Tom for the quick reply -- looks like it didn't like much the atom feed, while with the RSS feed works fine.

I was trying to use the following without luck:
http://www.iampowered.com/atom.xml

so I switched to this one instead
http://www.iampowered.com/index.xml

perhaps the plugin doesn't currently support atom feeds... I should have double checked the infos above first

- Adriano
Reply With Quote
  #21  
Old 04-20-2006, 11:27 PM
silly rabbit silly rabbit is offline
 
Join Date: Oct 2005
Location: Atlanta/NYC
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tgmorris
Check to make sure your cache directory has the correct permissions (chmod 777) and that the path is correct.
tg, great hack. For whatever reason however it is only working intermittently for me. Sometimes fine (often have to do a 'refresh') and sometimes no - FORUMHOME page completely fails to load. I know it's rss hack related. When working I noticed display alternates with each 'refresh'. (gone - displayed - gone - etc . . .???)

Note: I know I have one issue with '777' permissions as my server only allows '755' max but appears to working(albeit intermittently) nonetheless.

See explaination from hosting company: Implementation of PHPsuexec.

When you say 'outside the web root' do you mean anywhere except alongside 'public_html'??

thx!! Rabbit
Reply With Quote
Reply

Thread Tools

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 09:07 PM.


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.05765 seconds
  • Memory Usage 2,302KB
  • 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
  • (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
  • (3)pagenav_pagelink
  • (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