vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Integration with vBulletin - Replacment of External.php with FeedBurner (https://vborg.vbsupport.ru/showthread.php?t=161637)

mexicanpizza 11-16-2007 03:38 AM

In the case of parent-subforums, where you've made a feedburner feed that aggregates all of a set of subforums (/external.php?type=RSS2&forumids=3,4,5,6)....I can't see how the above will work with your code modification to display one feedburner feed for all 4 of the forums. In your second to last line:

Code:

href="http://feeds.feedburner.com/yourforumurlcom-$foruminfo[forumid]" />
That won't work, right? If you've done what I described above (aggregating with forumids=3,4,5,6, and creating a feedburner feed of that)...your modification will break when it generates the link above....as the feedburner link will be http://feeds.feedburner.com/yourforumurlcom-3456 if you left the default.

For example, you're viewing forumid=5, your code above generates a link to http://feeds.feedburner.com/yourforumurlcom-5 for which there is no separate feedburner feed....

ack I'm so confused. :D

coolgus 11-16-2007 07:49 PM

exactly my question too. Every feed I create for seperate forums, has different feedburner url. I couldn't find a way to link the original feed with the other forums from feedburner.com tools.

And in the last step, do we have to enter only the original feed ? (http://feeds.feedburner.com/yourforumurlcom )

mccollin 11-16-2007 08:28 PM

Quote:

Originally Posted by mexicanpizza (Post 1383533)
In the case of parent-subforums, where you've made a feedburner feed that aggregates all of a set of subforums (/external.php?type=RSS2&forumids=3,4,5,6)....I can't see how the above will work with your code modification to display one feedburner feed for all 4 of the forums. In your second to last line:

Code:

href="http://feeds.feedburner.com/yourforumurlcom-$foruminfo[forumid]" />
That won't work, right? If you've done what I described above (aggregating with forumids=3,4,5,6, and creating a feedburner feed of that)...your modification will break when it generates the link above....as the feedburner link will be http://feeds.feedburner.com/yourforumurlcom-3456 if you left the default.

For example, you're viewing forumid=5, your code above generates a link to http://feeds.feedburner.com/yourforumurlcom-5 for which there is no separate feedburner feed....

ack I'm so confused. :D

Well you didn't do it exactly the way I did. I use the parent forum-id, which allows the header code to work, but when I create the feed in Feedburner, THERE I insert the list of feeds that I want to show for that parent forum-id. This doesn't actually work with the normal external.php approach, which is why I started looking for an alternative in the first place. For example, I have a News Archive parent forum, and within it there are five different category news forums. What I wanted, was that if someone subscribed to the News Archive, that they'd get all the news. With external.php, it doesn't work that way.... unless you create the forum as a category... which I don't do because of a little problem with formatting. In any event, this will work if you use the parent forum's forumID, and then make sure to associate it properly with the name of the feed in Feedburner.

Coop1979 12-11-2007 10:08 PM

I'm somewhat dense and new to vbulletin, so could someone help me out? I'm looking to add about 30 feedburner links to take the place of my standard rss links. How do I adjust this code for the multiple feeds?

PHP Code:

<if condition="$vboptions['externalrss']">
<
link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] RSS Feed" 

href="http://feeds.feedburner.com/yourforumurlcom" />
<if 
condition="$show['foruminfo'] OR $show['threadinfo']">
<
link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] - $foruminfo[title_clean] - RSS Feed" 

href="http://feeds.feedburner.com/yourforumurlcom-$foruminfo[forumid]/>
</if> 

Do I do this:
PHP Code:

<if condition="$vboptions['externalrss']">
<
link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] RSS Feed" 

href="http://feeds.feedburner.com/yourforumurlcom" />
<if 
condition="$show['foruminfo'] OR $show['threadinfo']">
<
link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] - $foruminfo[title_clean] - RSS Feed" 

href="http://feeds.feedburner.com/yourforumurlcom-1" 
href="http://feeds.feedburner.com/yourforumurlcom-2"
href="http://feeds.feedburner.com/yourforumurlcom-3"/>
</if> 

I'm guessing not since it's not working for me :)

Coop1979 12-12-2007 07:05 PM

I'm stupid, please ignore my post. I figured it out :)

gbeebani 08-09-2009 05:02 AM

This is great! It did require me to change some things int he code and also in the Feedburner uri. But that was not very hard... I have NEVER done any coding and was able to figure things out on my own :-P

Naijasite 06-24-2013 08:22 PM

please how do i get it to work for 4.2.1

tbworld 06-24-2013 08:38 PM

Quote:

Originally Posted by Naijafinder (Post 2430252)
please how do i get it to work for 4.2.1

What steps have you tried yourself?

Naijasite 06-25-2013 09:11 PM

i have attempted it just wanted to be sure if it will work


All times are GMT. The time now is 06:55 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.01060 seconds
  • Memory Usage 1,749KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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