Go Back   vBulletin Setup > vBulletinSetup Information > vBulletin Hacks - Modifications


Please Register to get full access to the forums.
Post New Thread  Reply



#1   07-23-2007, 10:01 PM
Ville will become famous soon enough Join Date: Jul 2007 Posts: 29 Location: North Texas
RSS feed with *all* active threads in a forum?


I've spent good part of the day looking for a way to make the RSS feed to provide a list of X number most recently active threads (with a date cut-off). The earlier thread about displaying all active threads on any html page goes to the right direction, but rather than having them posted on a page, I'd like to have them in RSS feed format (XML), with the option to subscribe, in other words just like the the "external.php" produces.

The vanilla vB 3.6.7 only displays newly started threads (I messaged with Steve from Jelsoft earlier today to confirm this), but on my board majority of posts occur in very long-lived threads.. some have 100+ pages on them! Thus the default RSS feed displays usually one or no threads which is no good since there can be plenty of activity on the board without a single new thread started.

I haven't seen a hack/add-on, or an idea how "external.php" could be modified to display all active threads rather than just the new threads. I guess I wouldn't need to use external.php if such a feed could be created with a custom page.

Much thanks for any insights or pointers on this!!
--------------------
Check out LinkResource.com and My.Galagzee.com :-)
Quote   |  



#2   07-23-2007, 10:18 PM
Send a message via AIM to Brandon Send a message via MSN to Brandon Send a message via Yahoo to Brandon Brandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of light Join Date: Jul 2006 Posts: 9,840 Location: Topeka, KS
Re: RSS feed with *all* active threads in a forum?


I'll let one of the coders check this out, but I do think it could be done ;)
--------------------
Brandon Sheley / vBulletin Setup Staff
Check out our Newsletter for the latest vB and SEO news.
Are you looking for vBulletin work to be done on your forums ?
Would you like to Help Support vBulletin Setup.

Please do not PM me for support, that's what the forums are for.
Have you heard about Crowdgather?
Find it on Forums


Stay up to date by installing our Tool Bar
Quote   |  



#3   07-23-2007, 10:48 PM
Ville will become famous soon enough Join Date: Jul 2007 Posts: 29 Location: North Texas
Re: RSS feed with *all* active threads in a forum?


Most anything can be done ;)... just how easy it is varies. I think I was able to locate the spot in external.php that would need to be modified, but someone more familiar with the vBulletin internals might be able to make the modification with less effort. I'll stay tuned to see what comes up! Thanks again!
--------------------
Check out LinkResource.com and My.Galagzee.com :-)
Quote   |  



#4   07-30-2007, 11:35 PM
Ville will become famous soon enough Join Date: Jul 2007 Posts: 29 Location: North Texas
Re: RSS feed with *all* active threads in a forum?


Any update on this? I'll get back to this later this week once some hardware stuff is first taken care of..
--------------------
Check out LinkResource.com and My.Galagzee.com :-)
Quote   |  



#5   07-31-2007, 02:54 PM
Yogesh Sarkar is just really niceYogesh Sarkar is just really nice Join Date: Feb 2007 Posts: 740 Location: New Delhi, India
Re: RSS feed with *all* active threads in a forum?


I am looking for some thing of this sort as well.

Edit: Got the info from Wayne (VBulletin staff)

Quote:
Originally Posted by Wayne Luke

Last edited by Yogesh Sarkar; 07-31-2007 at 03:11 PM. Reason: Automerged Doublepost
Quote   |  



#6   07-31-2007, 03:39 PM
Ville will become famous soon enough Join Date: Jul 2007 Posts: 29 Location: North Texas
Re: RSS feed with *all* active threads in a forum?


Quote:
Originally Posted by Yogesh Sarkar View Post
Edit: Got the info from Wayne (VBulletin staff) [...]
Excellent! That seems to work. Just need to change the URL of the board RSS subscribe button to include that parameter. Thanks!
--------------------
Check out LinkResource.com and My.Galagzee.com :-)
Quote   |  



#7   08-05-2007, 06:51 PM
Ville will become famous soon enough Join Date: Jul 2007 Posts: 29 Location: North Texas
Re: RSS feed with *all* active threads in a forum?


Hmm.. no replies to my question at vBulletin.com. Maybe I have better luck here.

I'm trying to find the code in vbulletin that produces the RSS icon on the address bar (see the attached for a picture about what I'm talking about). I'd like to add the "&lastpost=1" by default to the URL that the RSS icon ("Susbscribe to this page...") launches.
Attached Images
File Type: gif rss_location.gif (4.1 KB, 4 views)
--------------------
Check out LinkResource.com and My.Galagzee.com :-)
Quote   |  



#8   08-05-2007, 07:45 PM
OS Master will become famous soon enough Join Date: Aug 2007 Posts: 173 Location: Raleigh, NC, USA
Re: RSS feed with *all* active threads in a forum?


Quote:
Originally Posted by Ville View Post
Hmm.. no replies to my question at vBulletin.com. Maybe I have better luck here.

I'm trying to find the code in vbulletin that produces the RSS icon on the address bar (see the attached for a picture about what I'm talking about). I'd like to add the "&lastpost=1" by default to the URL that the RSS icon ("Susbscribe to this page...") launches.
Try looking in your headerinclude template.

Find:
Code:
<link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] RSS Feed" href="external.php?type=RSS2" />
Replace with:
Code:
<link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] RSS Feed" href="external.php?type=RSS2?lastpost=1" />
Quote   |  



#9   08-05-2007, 07:56 PM
Ville will become famous soon enough Join Date: Jul 2007 Posts: 29 Location: North Texas
Re: RSS feed with *all* active threads in a forum?


Thanks much! That works (except that you had a typo in parameter separator... should've been '&' instead of '?' before 'lastpost=1' ).

Corrected replacement code:
Code:
<link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] RSS Feed" href="external.php?type=RSS2&lastpost=1" />
--------------------
Check out LinkResource.com and My.Galagzee.com :-)
Quote   |  



#10   08-06-2007, 12:45 PM
OS Master will become famous soon enough Join Date: Aug 2007 Posts: 173 Location: Raleigh, NC, USA
Re: RSS feed with *all* active threads in a forum?


Oops. Sorry about that. But yeah you're welcome!
Quote   |  
Post New Thread  Reply
vBulletin Setup > vBulletinSetup Information > vBulletin Hacks - Modifications


Thread Tools
Display Modes

 
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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to put RSS feed threads into moderation? Yogesh Sarkar vBulletin Questions 2 10-11-2007 09:26 PM
Display your active threads on any html page Brandon vBulletin Hacks - Modifications 8 09-20-2007 09:35 PM
NEED HELP ViewPosts -- View unanswered threads, threads you've started, HotRodGyrl vBulletin Questions 3 08-31-2007 08:30 AM
Removing threads display from a forum to create a hybrid "sub-forum container" Ville Released vBulletin Hack 0 07-25-2007 01:55 PM
Adding H1 Tags to your Forum and Threads Brandon vBulletin SEO Tips and SEO Questions 23 11-06-2006 07:20 PM


All times are GMT -6. The time now is 11:20 PM.

vBulletin Setup, vBulletin Setup Forums, vBulletin Services, vBulletin Blogs, vBulletin SEO, vBulletin Questions, vBulletin Skins, Styles, Templates
vBulletin Hacks / Modifications, vBulletin Monetization, Blogs, vBulletin Link Directory,Quality Link Directory