vB3 Adding RSS and other options to Forum home page.

  • Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Radio

    ven0m

    Administrator
    Staff member
    Administrator
    Moderator
    Platinum
    xenForo 2.x.x
    xenForo 1.x.x
    Contributor
    vBulletin All Access Pass
    The Chest
    Verified
    Ultra Platinum VIP
    Platinum VIP
    Gold VIP
    Silver VIP
    Premium
    Member
    Jul 17, 2005
    20,503
    7,742
    321
    localhost
    Heisenberg submitted a new resource:

    - Adding RSS and other options to Forum home page.

    vB Version: 3.8.4

    This modification adds an RSS + New post + Newthread next to each forum shown in the main page "Home".

    Now lets see how we can do that!

    First .. the only template that we are going to edit is "forumhome_forumbit_level2_post"

    So we open the forumhome_forumbit_level2_post template of the style that we want to add these options to !

    We search for this line code

    Code:
    <if...

     
    Last edited:

    ven0m

    Administrator
    Staff member
    Administrator
    Moderator
    Platinum
    xenForo 2.x.x
    xenForo 1.x.x
    Contributor
    vBulletin All Access Pass
    The Chest
    Verified
    Ultra Platinum VIP
    Platinum VIP
    Gold VIP
    Silver VIP
    Premium
    Member
    Jul 17, 2005
    20,503
    7,742
    321
    localhost
    Code:
    <!--  San3a.Com Mod -->
    <if condition="!in_array($forumid, array(x,x,x,x))">
    <table align="right" border="0">
        <tr>
            <if condition="$show['member']">
            <td width="15">
                <a href="newthread.php?$session[sessionurl]f=$forum[forumid]">
                    <img src="$stylevar[imgdir_misc]/newthread.png" border="0" width="14" height="14" hspace="0" alt="New thread" align="left" /></a>
            </td>
            <td width="15">
                <a href="search.php?$session[sessionurl]do=getnew&amp;f=$forum[forumid]">
                    <img src="$stylevar[imgdir_misc]/newposts.png" border="0" width="14" height="14" hspace="0" alt="New posts" align="left" /></a>
            </td>
            </if>
            <td width="15">
            <a target="_blank" href="external.php?type=RSS2&amp;forumids=$forum[forumid]">
            <img src="$stylevar[imgdir_misc]/rss_rss.gif" border="0" width="14" height="14" hspace="0" alt="Rss feed" align="left" /></a>
            </td>
        </tr>
    </table>
    </if>
    <!-- / San3a.Com Mod -->

    So you will leave the rss feed for the visitors.