vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Forum Home Enhancements - RSS feeds on forumhome (https://vborg.vbsupport.ru/showthread.php?t=70371)

Logikos 10-08-2004 10:00 PM

RSS feeds on forumhome
 
RSS feeds on forumhome


====================
Author: Ken 'LiveWire' Iovino
Site: www.initialz.com
Version: 1.0.0
====================

Updates
  • None At this Moment


What this does
This will show RSS feeds on your forumhome page, for a good example go to www.webhostingtalk.com and look on the right menu, you will see "WebHostingTalk News, News by HostingTech.com". This hack will allow you to do exacly what they have done there.

Please note that im not that experiance with RSS feeds, but i know this worked for me when i was in need to have feeds on my forumhome, but maybe alot of sites are diffrent, but i doubt it. Anyway i would suggest you have small know how in PHP to modify the code to your taste. Read the comments to fully understand.

To do list...
  • Time to install: 3-5 minutes
  • Queries to run: 0
  • File Mods: 1
    • /forums/indexphp
  • Templates to edit: 0
  • Templates to add: 0
  • New Phrases: 0

Please read carefully and make all the necessary changes as stated. This is will work if installed properly.
PLEASE REMEMBER TO BACKUP BEFORE YOU BEGIN! If you like this hack

Click It

Help & Support
Before asking for support Please make sure you have done all necessary changes! If you still need support please post a reply here.

Please post bugs and errors here. Hope you like, feedback welcomed.


sabret00the 10-09-2004 12:31 PM

nice one would love this for forumdisplay.php

AlexanderT 10-09-2004 12:32 PM

Ken,

I wouldn't use this unless you consider caching the feed as well. Otherwise, everytime someone access your forum home, you pull the feed again.

If you don't want to reinvent the wheel, I suggest you have a look at something like http://magpierss.sourceforge.net/ . I have been using it to implement feeds and it is one of the nicest php-based parsers around. ;)

Logikos 10-09-2004 01:17 PM

Thannks alex, i'll look into that, didn't relize that i would have to re caching every time... :(

Velocd 10-09-2004 02:43 PM

Quote:

Originally Posted by Live Wire
Thannks alex, i'll look into that, didn't relize that i would have to re caching every time... :(

Just create a separate table to hold the data, and on first arrival check for new articles and put them into that table. My articlebot does this, and uses MagpieRSS. Feel free to view or use its source code if you need help.

Logikos 10-10-2004 12:10 PM

Thanks Velocd, for giving me the permission to look and snip some code ^^. I'll start working at updating this hack tonight.

Toneboy 10-12-2004 01:44 PM

Quote:

Originally Posted by AlexanderT
Ken,

I wouldn't use this unless you consider caching the feed as well. Otherwise, everytime someone access your forum home, you pull the feed again.

Potentially stupid question - why is this big deal? Bandwidth?

How do you know if you are/aren't caching feeds?

Logikos 10-12-2004 03:23 PM

There will be slight load when going back to your forumhome. I'm using this hack at www.discuss.cc and i don't notice any lag. Though i am working on caching the feed in the next update.

d3f 10-15-2004 02:35 AM

nice hack, I managed to do the samething with carprss and it works nicely.

Erwin 10-15-2004 03:53 AM

This is a great idea. It would not be too hard to adapt it to show on forumdisplay as well. :)


All times are GMT. The time now is 10:59 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01992 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete