Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
RSS Output Mod & Icon Details »»
RSS Output Mod & Icon
Version: 1.00, by fluent fluent is offline
Developer Last Online: Jan 2006 Show Printable Version Email this Page

Version: 3.0.1 Rating:
Released: 06-03-2004 Last Update: Never Installs: 41
 
No support by the author.

The code modifications make a simple change to external.php to explode a list of child forums in addition to some quick template changes to provide a common button for users to click to see the RSS feed.

1) at the Forum Home level, the xml link when clicked, produces an RSS feed for all threads in all forums. No changes made to external.php for this to work.

2) at the Sub-Forum level, the xml link when clicked, produces an RSS feed for all threads in the listed sub-forums. external.php is changed to explode the list of child forums.

3) at the Forum level, the xml link when clicked, produces an RSS feed only to threads in the that forum. No changes made to external.php for this to work.

I’m using this on an internal forum and have not had any problems. But your mileage may vary. Let me know what you think and if it works for you or not.

I've uploaded the rss.gif file that I'm using.

-paul

[7 June 2004 - re uploaded - small doc changes - no code changes]
[8 June 2004 - re uploaded - Natch's code changes, two options now available]

Show Your Support

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

Comments
  #32  
Old 07-30-2004, 02:26 PM
SnowBot's Avatar
SnowBot SnowBot is offline
 
Join Date: Jul 2003
Location: Manchester UK
Posts: 631
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Instead of having the feed icon displayed on the forums, how could i get it like this

http://www.sitepoint.com/syndication/

Any help would be great
Reply With Quote
  #33  
Old 07-31-2004, 06:40 PM
Roms's Avatar
Roms Roms is offline
 
Join Date: Jun 2004
Location: Witness ProtectionProgram
Posts: 1,841
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice job!!! *clicks install
Reply With Quote
  #34  
Old 08-06-2004, 11:35 AM
streetfighter streetfighter is offline
 
Join Date: May 2004
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey, cool hack....

Everything installed fine and properly working....

My only request is to add instructions at the bottom of rss_mod.txt file is:
Quote:
Enable External Data Provider>RSS(Yes)& XML(Yes)
from Admincp>vboptions
Cos, tats the most important thing without which maximum users get Blank page displays...
Reply With Quote
  #35  
Old 08-19-2004, 10:57 AM
roundhost roundhost is offline
 
Join Date: Jul 2004
Location: UK
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

FANTASTIC!

/me clicks install!

/me states that he has got it installed and working easy peasy!

/me is happy!
Reply With Quote
  #36  
Old 08-27-2004, 04:21 PM
pgrote pgrote is offline
 
Join Date: Feb 2002
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I had another question for you all. A while back we were working on getting our feed to spit out the full post, with all of the html intact, where we changed this in the external.php file:

PHP Code:
echo "\t\t<content:encoded><![CDATA["htmlspecialchars_uni(fetch_trimmed_title(strip_bbcode($thread['preview'], falsetrue), $vboptions['thread'])) ."]]></content:encoded.\r\n"
to this:

PHP Code:
require_once('./includes/functions_bbcodeparse.php');
echo 
"\t\t<content:encoded><![CDATA["parse_bbcode2($thread['preview'], falsetruefalsetrue) ."]]></content:encoded.\r\n"
Smileys dont show up when viewing it through bloglines (our company's aggregator of choice)...this is a small annoyance but if someone could fill me in on what to do to get smileys to show up as well that would be great...I NEED the full html so I cannot compromise that, so if it is one or the other, than I can live without smileys.

My big thing is that it seems as though the feed is only pumping out the first posts of each thread, anytime a thread is replied to it does not show up in the feed...any one have any ideas how I can remedy this situation? Any help would be greatly appreciated...Thank you!
Reply With Quote
  #37  
Old 08-28-2004, 12:52 PM
Slynderdale Slynderdale is offline
 
Join Date: Mar 2002
Location: New York State
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pgrote
Ok I had another question for you all. A while back we were working on getting our feed to spit out the full post, with all of the html intact, where we changed this in the external.php file:

PHP Code:
 echo "\t\t<content:encoded><![CDATA["htmlspecialchars_uni(fetch_trimmed_title(strip_bbcode($thread['preview'], falsetrue), $vboptions['thread'])) ."]]></content:encoded.\r\n"
to this:

PHP Code:
  require_once('./includes/functions_bbcodeparse.php');
 echo 
"\t\t<content:encoded><![CDATA["parse_bbcode2($thread['preview'], falsetruefalsetrue) ."]]></content:encoded.\r\n"
Smileys dont show up when viewing it through bloglines (our company's aggregator of choice)...this is a small annoyance but if someone could fill me in on what to do to get smileys to show up as well that would be great...I NEED the full html so I cannot compromise that, so if it is one or the other, than I can live without smileys.

My big thing is that it seems as though the feed is only pumping out the first posts of each thread, anytime a thread is replied to it does not show up in the feed...any one have any ideas how I can remedy this situation? Any help would be greatly appreciated...Thank you!
Check this hack I just made:
https://vborg.vbsupport.ru/showthread.php?t=68815

It lets you choose if you want the feeds to parse bbcodes or not and have support for smilies.

For your second question, open external.php and find:
PHP Code:
         ORDER BY thread.dateline DESC
         LIMIT 15 
and replace that with:
PHP Code:
         ORDER BY thread.lastpost DESC
          LIMIT 15 
Now when a thread gets replied to, it shows up on the feeds.
Reply With Quote
  #38  
Old 08-28-2004, 06:26 PM
AlexSFBay AlexSFBay is offline
 
Join Date: Jan 2004
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just tweaked the XML image display placement to align to the right of the Forum/Thread title. Looks much cleaner.

FORUMHOME
Code:
<!-- ORGINAL CODE <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td> -->

<!-- RSS FEED MOD -->
<td class="thead" width="100%" align="$stylevar[left]">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="thead">$vbphrase[forum]</td>
    <td><a href="external.php?type=RSS2" style="float:right"><img src="$stylevar[imgdir_button]/rss.gif" alt="XML RSS 2.0 feed for all Threads in all Forums" border="0" /></a></td>
  </tr>
</table>
</td>
FORUMDISPLAY
Code:
<!-- ORIGINAL CODE <td class="tcat" width="100%">$vbphrase[threads_in_forum]<span class="normal">: $foruminfo[title]</span></td> -->

<!-- RSS FEED MOD -->
<td class="tcat" width="100%">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="tcat">$vbphrase[forum]<span class="normal">: $foruminfo[title]</span></td>
    <td><a href="external.php?type=RSS2&amp;forumids=$foruminfo[forumid]" style="float:right"><img src="$stylevar[imgdir_button]/rss.gif" alt="XML RSS 2.0 feed for Threads in $foruminfo[title]" border="0" /></a></td>
  </tr>
</table>
</td>
* Notice I added the Forum Title in the "alt" description for the sub-forums. Now reads alt="XML RSS 2.0 feed for Threads in $foruminfo[title]"

See it in action here

Hope this helps. Enjoy!
Reply With Quote
  #39  
Old 08-31-2004, 08:30 PM
ChessMess ChessMess is offline
 
Join Date: Jul 2004
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to have the xml icon show on each category on the main forum page? Since my subforms do not need to be expanded to see the sub-boards (All boards are visable on main index page) It'd be ideal to have the icon next to each sub-forum listed.
Reply With Quote
  #40  
Old 09-02-2004, 04:23 PM
ChessMess ChessMess is offline
 
Join Date: Jul 2004
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone?
Reply With Quote
  #41  
Old 06-09-2005, 03:33 PM
SeanThomps SeanThomps is offline
 
Join Date: Nov 2004
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Having a problme with the hack; I have put rss on my site, and I want to use myyahoo's button: http://my.yahoo.com/s/button.html

The weird thing is when I type in the url to rss for my site, which works if you click it, it does not work for yahoo. The link is: http://www.volconvo.com/forums/external.php?type=RSS2

Got any ideas?
Reply With Quote
  #42  
Old 02-11-2006, 03:28 AM
David_R David_R is offline
 
Join Date: Mar 2005
Location: Los Angeles
Posts: 212
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does this exists for 3.5 version ?
we have it installed and want to upgrade from 3.0.x version of our forum to 3.5

thanks.
Reply With Quote
  #43  
Old 11-25-2007, 05:49 AM
mykkal's Avatar
mykkal mykkal is offline
 
Join Date: May 2007
Location: Atlanta, GA
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd really like to get this mod working with 3.6.8. I could really use the RSS feeds. Plus i'm using the legacy postbit template.

Is anyone using this for 3.6.X?
Reply With Quote
  #44  
Old 11-25-2007, 05:51 AM
mykkal's Avatar
mykkal mykkal is offline
 
Join Date: May 2007
Location: Atlanta, GA
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We you able to get it working with 3.5.x? I have 3.6.

Quote:
Originally Posted by David_R View Post
does this exists for 3.5 version ?
we have it installed and want to upgrade from 3.0.x version of our forum to 3.5

thanks.
Reply With Quote
Reply


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 02:38 AM.


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.06535 seconds
  • Memory Usage 2,346KB
  • Queries Executed 28 (?)
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
  • (2)bbcode_code
  • (6)bbcode_php
  • (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
  • (2)pagenav_pagelink
  • (14)post_thanks_box
  • (14)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (14)post_thanks_postbit_info
  • (13)postbit
  • (14)postbit_onlinestatus
  • (14)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