PDA

View Full Version : Add-On Releases - vBonjour - Latest Threads Via RSS Feeds Add On


peterska2
12-13-2006, 10:00 PM
vBonjour

Easy Customizable Portal System

Latest Threads Via RSS Feeds Add On

Brought to you by www.peterska2.co.uk (http://www.peterska2.co.uk/)



What is vBonjour?
vBonjour is an alternative to vBAdvanced. It is an easy to install, modular portal system designed as a gateway to your site.

Why vBonjour?
This is pretty simple really. As the front page is the first thing that your visitors see, it is a welcome page. The first few names that were thought of were either very boring, or far too long winded and not at all catchy.

What is the Latest Threads Via RSS Feeds Add On?
The Latest Threads Via RSS Feeds Add On allows display of the latest threads posted in all guest accessable forums.

Other important information regarding this Add On
This add on requires that you have the External Javascript enabled
(vBOptions > External Data Provider > Enable External Javscript > YES)

If you do not have forums accessible to guests, then please be aware that this will result in no threads being displayed.

Installation instructions are included in the attached zip file.


Ok, so where are the screen shots?
Why have screen shots when you can have a live demo?
The demo is available at www.peterska2.co.uk (http://www.peterska2.co.uk/)

What versions of vBonjour does the Latest Threads Via RSS Feeds Add On work with?
This module is currently compatible with vBonjour version 1.0.1 and above



I hope that you like this system. Please remember to mark it as installed to recieve notification of updates and support. Support will only be provided to those who have clicked install.

Frapegliko
12-14-2006, 10:13 PM
thank you

kylek
12-21-2006, 04:45 PM
Thanks!!

Wayne Luke
01-11-2007, 07:16 PM
I am testing this on a new forum and was getting a Javascript error because of the for loop. It was hardcoded to a set amount of 15. I didn't have 15 threads yet.

Anyway, I made the following change to to the template and it eliminates it:

<if condition="$vboptions['externaljs']">
<!-- show latest active threads -->
<br />
<table class="tborder" width="100%" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0">
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('portal_external')"><img id="collapseimg_portal_external" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_portal_external].gif" alt="" border="0" /></a>
<a href="$vboptions[bburl]/search.php?$session[sessionurl]do=getnew">$vbphrase[latest_threads]</a>
</td>
</tr>
</tbody>
<tbody id="collapseobj_portal_external" style="$vbcollapse[collapseobj_portal_external]">

<script type="text/javascript" src="http://www.ridersofconquest.org/forum/external.php?type=js"></script>
<script language="Javascript" type="text/javascript">
<!--
for (x in threads)
{
document.writeln("<tr><td class=\"alt1\" width=\"100%\"><div class=\"smallfont\"><img class=\"inlineimg\" src=\"$stylevar[imgdir_button]/lastpost.gif\" alt=\"\" border=\"0\" /> <a href=\"$vboptions[bburl]/showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a><br /><span class=\"time\">($vbphrase[posted_by]: "+threads[x].poster+")</div></td></tr>");
}
//-->
</script>
</tbody>
<!-- show latest active threads -->
</table>
</if>


This has the added benefit of utilizing vB's maximum external records option under vBulletin Options -> External Data Provider. That way people can have the number they choose.

peterska2
01-11-2007, 08:40 PM
Thanks for that Wayne, I'll update it later with the changed code.

peterska2
01-11-2007, 09:40 PM
Update released. Fixed minimum threads issue (thanks again Wayne) and also corrected a minor error in the template which only affected installations outside the forum directory.

To upgrade, just import the new xml overwriting the existing product.

Wayne Luke
01-12-2007, 02:28 AM
You're welcome... Nice little system here. I look forward to watching it grow.

Ahsin1
02-25-2007, 02:53 PM
Installed................