vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Show RSS Feed Icon in each forum (https://vborg.vbsupport.ru/showthread.php?t=104978)

perfphysio 09-28-2007 02:26 PM

Hi All, I have an RSS feed for the total board: http://www.physiobob.com/forum/external.php?type=rss2

I would like to be able to exclude one forum from this total feed which combines all new posts from all areas.

I would also like to be able to put a post date and time with each feed and the username of the poster.

Can anyone assist with how I might accomplish to above

Many thanks :)

rizelim 10-09-2007 08:57 PM

thank you very much..

gezuvor 10-28-2007 05:36 PM

I installed this on two forums today and it works perfectly. Thanks Wayne! I added Shane's tweak to remove the image border and also changed the <td> class to "vbmenu_control" so that it matched the Forum Search and Thread Tools boxes a bit better...

sdp777 11-22-2007 03:16 PM

Installed! Great plugin, thanks Wayne

tms12 12-07-2007 02:17 PM

sorry if its a stupid question. I have added a mod forrss feeds for each of the forum and now the feed isnt working. You can take look at the forum here .
Any help would be appreciated
thanks

DrussRob 01-05-2008 11:28 PM

Worked like a charm in my 3.7 b3 install ;)
thx!

haaba 01-30-2008 10:59 PM

This question was asked before but did not see answer...

Is is possible to pull and sort threads by the latest post, not the thread creation date?

One of my most popular threads is not showing up on the feed because it was started few month back. How can I get it to show up?

Thanks. Version 3.6.8 Patch2

Dexter_kcd 01-31-2008 06:30 PM

Quote:

Originally Posted by haaba (Post 1432789)
This question was asked before but did not see answer...

Is is possible to pull and sort threads by the latest post, not the thread creation date?

One of my most popular threads is not showing up on the feed because it was started few month back. How can I get it to show up?

Thanks. Version 3.6.8 Patch2

You just have to change the url of the RSS feed in your RSS feed program to add:

&lastpost=1

That will sort by last post.

If you want to set this as a default for your forum, you need to edit the Headinclude template for your style(s.) Find:


Code:

<link rel=”alternate” type=”application/rss+xml” title=”$vboptions[bbtitle] RSS Feed” href=”external.php?type=RSS2″ />


Change to:


Code:

<link rel=”alternate” type=”application/rss+xml” title=”$vboptions[bbtitle] RSS Feed” href=”external.php?type=RSS2&lastpost=1″ />


That adds the &astpost=1 directly to the feed coming from the forum.


/Edited to add:There are actually 2 spots in the Headinclude you should add that, the second will be right down below the other one, and controls the feed for each individual forum. To change that one, scroll down in Headinclude to:


Code:

<link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] - $foruminfo[title_clean] - RSS Feed" href="external.php?type=RSS2&amp;forumids=$foruminfo[forumid]" ]


Change to:


Code:

<link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] - $foruminfo[title_clean] - RSS Feed" href="external.php?type=RSS2&amp;forumids=$foruminfo[forumid]&lastpost=1"

That adds the last post sort directly to the RSS icon of each forum.


To add it to the icon placed in each forum by this particular hack, go to the FORUMDISPLAY template, find:


Code:

<td class="tcat"><a href="external.php?type=rss2&forumids=$foruminfo[forumid]">

Change to:


Code:

<td class="tcat"><a href="external.php?type=rss2&forumids=$foruminfo[forumid]&lastpost=1">

That will add the last post sort to the icon added by this hack.

Dexter...

hrk 02-14-2008 02:10 PM

Hi some problem or need help here

over at "forumdisplay_start" plugin. my template shows this

Code:

if ($vbulletin->options['gosterx3'])
{
  $vbphrase['sticky_thread_prefix'] = '';
}

how do i proceed to add the one for this hack ?

For the second part my original file is diff like this

Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>
        <td class="tcat" width="100%">$vbphrase[subforums]<span class="normal"> : $foruminfo[title]</span></td>
        <if condition="$show['forumsearch']">
        <td class="vbmenu_control" id="forumsearch.subforums" nowrap="nowrap"><a href="search.php?$session[sessionurl]f=$foruminfo[forumid]" rel="nofollow">$vbphrase[search_this_forum]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("forumsearch.subforums"); </script></if></td>
        </if>
</tr>
</table>




pls suggest. thnks

iogames 04-18-2008 02:06 AM

Can I align this to the right?

tobaro 07-01-2008 06:18 AM

works fine. many thx. :)

Turbe 08-26-2008 07:52 PM

Quote:

Originally Posted by gekko (Post 1211622)
Installed it. Works great.

For those of you experiencing the problem with the icon not appearing for forums (only categories), you need to insert it twice in the FORUMDISPLAY template. Find the next instance of the code, and insert it again.

Thanks, that worked..

I hadn't bothered to even look for a second location... I only use the 2nd location now.

perfphysio 10-02-2008 11:41 AM

HI guys, this RSS feed mod is still working well in 3.7.3 which is great

I have an old question and am wondering if someone has any idea. By default vbulletin uses /forum/external.php to generate the RSS feed for the entire site.

I would like to use this to generate almost all of my sections but not ALL, e..g to leave out a few forum ID's but include the rest in an aggregated feed

Does anyone know how to do this or can anyone suggest another URL where this is discussed. Being able to only search the board for more than 3 characters means searching for RSS isn't of much use

Many thanks in anticipation :)

Dave# 11-12-2008 09:07 AM

In Vb 3.5 - how can I add the alternate rss link into header include only for forums? Is there a conditional to say if is_forum ?

<link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] - $foruminfo[title_clean] - RSS Feed" href="external.php?type=RSS2&amp;forumids=$forumin fo[forumid]" ]


All times are GMT. The time now is 01:37 PM.

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.01323 seconds
  • Memory Usage 1,757KB
  • 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
  • (8)bbcode_code_printable
  • (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
  • (14)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