The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#12
|
|||
|
|||
Hmmmm..... let me look into that. My mod just gives the generic external.php link. I'm sure it can be modified. Gimme some time...
Also - please click INSTALL if you guys use this. |
#13
|
|||
|
|||
I'm going to continue this mod in the thread over at vbulletintemplates.com. Check it out at http://www.vbulletintemplates.com/mo...ead.php?t=6996
The mod now includes a conditional, as well as some other info. |
#14
|
|||
|
|||
For the record, I use a very similar technique to activate Firefox Live Bookmarks
I'm only posting this so that anyone who wants a hack to enable Live Bookmarks will realise that this achieves that too |
#15
|
|||
|
|||
Quote:
I'm on vB 3.0.1 - do I need to upgrade to 3.0.3 for this to work? btw, I have live bookmark feeds working on other sites (eg BBC News). Any ideas?? Michael. |
#16
|
|||
|
|||
Quote:
Code:
<link href="http://www.bowlie.com/forum/external.php?type=rss2" rel="alternate" type="application/rss+xml" title="Bowlie - Latest Posts"> <if condition="$foruminfo[forumid] != ''"> <link href="http://www.bowlie.com/forum/external.php?type=rss2&forumids=$foruminfo[forumid]" rel="alternate" type="application/rss+xml" title="Bowlie - Latest Posts in $foruminfo[title]"> </if> RSS2 is prefered. I have made it so that two feeds are available, a global one... and a per-forum one. Global feed of all latest posts is on every page, and the forum specific feed is on any page that can provide forum info (such as forumdiaply.php or showthread.php ). That should work, does on mine |
#17
|
|||
|
|||
I'm also going to work on a Calendar RSS feed if no-one else does.
And a proper version of "Latest posts" that provides the last posts content in the RSS rather than the first post of the thread. Oh, and in external.php, I've changed the query just below "// query last 15 threads from visible / chosen forums" to order by thread.lastpost and NOT thread.dateline. As this way the threads in the RSS match perfectly the threads in the "Get Latest" page on the forum. |
#18
|
|||
|
|||
Quote:
Code:
<if condition="$vboptions[externalrss]"> <link href="$vboptions[bburl]/external.php?type=rss2" rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] - Latest Posts" /> <if condition="$foruminfo[forumid] != ''"> <link href="$vboptions[bburl]/external.php?type=rss2&forumids=$foruminfo[forumid]" rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] - Latest Posts in $foruminfo[title]" /> </if> </if> |
#19
|
||||
|
||||
Quote:
Code:
<if condition="$vboptions[externalrss]"> <if condition="$foruminfo[forumid] != ''"> <link href="$vboptions[bburl]/external.php?type=rss2&forumids=$foruminfo[forumid]" rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] - Latest Posts in $foruminfo[title]"> <else/> <link href="$vboptions[bburl]/external.php?type=rss2" rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] - Latest Posts"> </if> </if> |
#20
|
|||
|
|||
Thanks guys. Upgrading to vB 3.0.3 fixed the problem. Must have been something funky in the way RSS was being generated in 3.0.1.
Michael. |
#21
|
|||
|
|||
I wrote my own version of this:
Code:
<if condition="$vboptions[externalrss]"> <link href="$vboptions[bburl]/external.php?type=rss2" rel="alternate" type="application/rss+xml" title="<phrase 1="$vboptions[hometitle]">$vbphrase[x_dash_latest_posts]</phrase>" /> <if condition="$foruminfo[forumid]"> <link href="$vboptions[bburl]/external.php?type=rss2&forumids=$foruminfo[forumid]" rel="alternate" type="application/rss+xml" title="<phrase 1="$vboptions[hometitle]" 2="$foruminfo[title]">$vbphrase[x_dash_latest_posts_in_y]</phrase>" /> </if> </if> Code:
{1} - Latest Posts Code:
{1} - Latest Posts in {2} |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|