vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=134)
-   -   Simple RSS feeds (https://vborg.vbsupport.ru/showthread.php?t=91765)

beano33 07-06-2005 10:00 PM

Simple RSS feeds
 
Generate and customize the code for the feed(s) you want using RSS Digest .

Open your forumhome template. Find:
Code:

$navbar
and
Code:

<!-- main -->
and insert in between:

Code:

<!-- newsfeeds -->
<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" class="tborder" {tableouterextra} width="100%" align="center"><tr><td>
      <table cellpadding="4" cellspacing="1" border="0" {tableinnerextra} width="100%">
        <tr>
          <td class="tcat"><smallfont color="{tableheadtextcolor}"><b>"Title for your NewsFeed"</b></smallfont></td>
        </tr>
        <tr>
          <td class="alt1"><normalfont><center><b>"insert generated code here"</center></b></normalfont></td>
        </tr>
      </table>
</td></tr></table>
<!-- /newsfeeds -->

Change the title for your feed and insert the code you generated at RSS Digest where indicated. You can easily insert a feed to virtually any template this way and customize it to fit your forums. In the attached screenshot, the feed is directly below "Latest news from Hockey's Future".

Limey-YMR 01-24-2006 07:28 AM

Is this the Java Feed code or the PHP feed code generated from Feed digest? (RSS digest has renamed)
The PHP include doesn't work for me and the java code causes the page load to take about 20secs...

Limey-YMR 01-24-2006 05:59 PM

Ok, I'm using Java, the PHP code only works in a .php file such as index.php as an include.

I would recommend NOT placing this up by the navbar as it stops the page from loading if the feeddigest site takes a while to send the java, which it often does.

This table belongs at the bottom after the what's going on box so that the forums load first.


All times are GMT. The time now is 10:03 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.01823 seconds
  • Memory Usage 1,718KB
  • 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
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete