Announcement

Collapse
No announcement yet.

RSS Feed in Forumhome

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • RSS Feed in Forumhome

    Hi guys!

    Please, I want insert my Rss Feed icon in the forumhome, if possibile:

    @ Near my icon on left before the title of forum
    or
    @ As in this forum
    or
    @ As in this forum

    How Can I do?

    Thanks all ;-)

  • #2
    In your forumhome_forumbit_level2_post template find
    Code:
        <td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">
            <div>
    and replace with
    Code:
        <td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">
    <span style="float:$stylevar[right]"><a href="external.php?type=RSS2&forumids=$forum[forumid]">RSS</a></span>
            <div>
    and in forumhome_forumbit_level1_post find
    Code:
    <td class="alt1Active" colspan="2" align="$stylevar[left]" id="f$forum[forumid]">
                
            <table cellpadding="0" cellspacing="0" border="0">
    and replace with
    Code:
    <td class="alt1Active" colspan="2" align="$stylevar[left]" id="f$forum[forumid]">
                
    <span style="float:$stylevar[right]"><a href="external.php?type=RSS2&forumids=$forum[forumid]">RSS</a></span>
            
            <table cellpadding="0" cellspacing="0" border="0">
    You can replace the text RSS with an image if you desire.
    Kerry-Anne :)

    Twitter Blog

    www.peterska2.com www.worldnewszone.com www.popularusenetgroups.com www.superclickers.co.uk www.forumsforchrist.com www.browsergameplanet.com

    Comment


    • #3
      Thanks, this is very helpfull. Is the second forum mentioned by jarod1981 with the extra column to the right a 'supported' code change please, as it looks a lot tidier.

      Bob

      Comment


      • #4
        If you could tell me how to make the new rss column as seen in the first image it would solve the problem in my other thread (which would be much appreciated!)

        James

        Comment


        • #5
          Very thanks Kerry, it's work fine!

          Comment


          • #6
            Originally posted by Bob Isaac View Post
            Thanks, this is very helpfull. Is the second forum mentioned by jarod1981 with the extra column to the right a 'supported' code change please, as it looks a lot tidier.

            Bob
            That would require a lot of template changes. I suggest asking at vBulletin.org for help with that.

            Originally posted by aceofspades View Post
            If you could tell me how to make the new rss column as seen in the first image it would solve the problem in my other thread (which would be much appreciated!)

            James
            This displays as in the first link given. I've used text and not an image, but including an image will be easy enough to do.
            Kerry-Anne :)

            Twitter Blog

            www.peterska2.com www.worldnewszone.com www.popularusenetgroups.com www.superclickers.co.uk www.forumsforchrist.com www.browsergameplanet.com

            Comment


            • #7
              Is there a way to exclude showing the RSS icon/text on some forums with something like &exclude=1,2,3 as there are some forums on my board that RSS feeds are not relevant.

              Bob

              Comment


              • #8
                You can put
                Code:
                <if condition="!in_array($forum[forumid], array(x,y,z))">
                RSS Code here
                </if>
                replacing x,y,z with the forum id numbers where you do not want the RSS Link/button to appear.
                Kerry-Anne :)

                Twitter Blog

                www.peterska2.com www.worldnewszone.com www.popularusenetgroups.com www.superclickers.co.uk www.forumsforchrist.com www.browsergameplanet.com

                Comment


                • #9
                  Thanks. Where would this fit in with the code in your post #2?

                  Bob

                  Comment


                  • #10
                    Put the conditional around the code in post #2
                    Kerry-Anne :)

                    Twitter Blog

                    www.peterska2.com www.worldnewszone.com www.popularusenetgroups.com www.superclickers.co.uk www.forumsforchrist.com www.browsergameplanet.com

                    Comment


                    • #11
                      Originally posted by Kerry-Anne View Post
                      That would require a lot of template changes. I suggest asking at vBulletin.org for help with that.

                      This displays as in the first link given. I've used text and not an image, but including an image will be easy enough to do.
                      Ya i wanted the same, what does alot mean? a couple of hours or just a few minutes

                      Comment


                      • #12
                        A lot of edits to a lot of templates and not something that could be done quickly.
                        Kerry-Anne :)

                        Twitter Blog

                        www.peterska2.com www.worldnewszone.com www.popularusenetgroups.com www.superclickers.co.uk www.forumsforchrist.com www.browsergameplanet.com

                        Comment


                        • #13
                          Originally posted by Kerry-Anne View Post
                          You can put
                          Code:
                          <if condition="!in_array($forum[forumid], array(x,y,z))">
                          RSS Code here
                          </if>
                          replacing x,y,z with the forum id numbers where you do not want the RSS Link/button to appear.
                          forumhome_forumbit_level2_post
                          <if condition="!in_array($forum[forumid], array(41,51,88,102,103,104,105,106,107,108,109,111))">
                          <td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">
                          <span style="float:$stylevar[right]"><a href="external.php?type=RSS2&forumids=$forum[forumid]">RSS</a></span>
                          <div>
                          </if>
                          forumhome_forumbit_level2_post
                          <if condition="!in_array($forum[forumid], array(41,51,88,102,103,104,105,106,107,108,109,111))">
                          <td class="alt1Active" colspan="2" align="$stylevar[left]" id="f$forum[forumid]">

                          <span style="float:$stylevar[right]"><a href="external.php?type=RSS2&forumids=$forum[forumid]">RSS</a></span>

                          <table cellpadding="0" cellspacing="0" border="0">
                          </if>
                          These broke the forums I wanted to exclude.

                          Bob

                          Comment


                          • #14
                            Sorry, The if is in the wrong place.

                            Change it to:

                            level2_post
                            Code:
                             
                            <td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">
                            <if condition="!in_array($forum[forumid], array(41,51,88,102,103,104,105,106,107,108,109,111  ))">
                            <span style="float:$stylevar[right]"><a href="external.php?type=RSS2&forumids=$forum[forumid]">RSS</a></span>
                            </if>
                            <div>
                            level1_post
                            Code:
                             
                            <td class="alt1Active" colspan="2" align="$stylevar[left]" id="f$forum[forumid]">
                             <if condition="!in_array($forum[forumid], array(41,51,88,102,103,104,105,106,107,108,109,111  ))">
                            <span style="float:$stylevar[right]"><a href="external.php?type=RSS2&forumids=$forum[forumid]">RSS</a></span>
                             </if>
                            <table cellpadding="0" cellspacing="0" border="0">
                            Kerry-Anne :)

                            Twitter Blog

                            www.peterska2.com www.worldnewszone.com www.popularusenetgroups.com www.superclickers.co.uk www.forumsforchrist.com www.browsergameplanet.com

                            Comment


                            • #15
                              Thanks, all working now.

                              Bob

                              Comment

                              Loading...
                              Working...
                              X