Omit forum from today's posts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • scorpio24
    Senior Member
    • Nov 2006
    • 679

    Omit forum from today's posts



    I tried this before in 3.6 and apparently it wasn't possible...hoping it is in 3.8


    Navbar edit:

    <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily&exclude=166" accesskey="2">$vbphrase[todays_posts]</a></td>
    </if>

    Does not work.

    This is a plugin that works for "new posts"...any way to use the same for "Today's posts?


    Originally posted by scorpio24
    Just thought i'd try my luck again. I received some help previously at vbulletin.com about omitting the rss from appearing as a "new post". I would like to omit the rss in the same way from the "last post" when you are on the main page.

    Is it as simple as adding some code like this?

    $vbulletin->GPC['exclude'] .= ',98,32';

    http://www.vbulletin.com/forum/showthread.php?t=202789
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    This works as of 3.5:

    Comment

    • scorpio24
      Senior Member
      • Nov 2006
      • 679

      #3
      I was looking at that but it doesn't seem to work for "Today's posts"...only "new posts".

      Comment

      • Jake Bunce
        Senior Member
        • Dec 2000
        • 46598
        • 3.6.x

        #4
        It works for both. You need to add the same code to the Today's post link.

        Comment

        • scorpio24
          Senior Member
          • Nov 2006
          • 679

          #5
          Right you are...

          Comment

          • scorpio24
            Senior Member
            • Nov 2006
            • 679

            #6
            ok...I had the import set every 4 hours so they are still being added to "Today's posts".

            These are the current navbar template edits.

            <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily&exclude=166" accesskey="2">$vbphrase[todays_posts]</a></td>
            </if>

            <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily&exclude=166" accesskey="2">$vbphrase[todays_posts]</a></td>
            </if>

            <if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily&exclude=166">$vbphrase[todays_posts]</a></td></tr></if>

            Comment

            • Jake Bunce
              Senior Member
              • Dec 2000
              • 46598
              • 3.6.x

              #7
              It seems to be working for me. I went to your site and tested that link with the "exclude". Maybe you were viewing a cached search. Try again.

              Comment

              • scorpio24
                Senior Member
                • Nov 2006
                • 679

                #8
                Right you are again Thx Jake.
                Last edited by scorpio24; Sat 4 Jul '09, 12:37pm.

                Comment

                • Byron
                  Senior Member
                  • Nov 2000
                  • 525
                  • 3.0.0 Beta 6

                  #9
                  I am trying to find out how to exclude an entire category of forums for getdaily.

                  It seems that when you exclude a main category, the subforums in that category are still not excluded. Am I right?
                  .

                  Comment

                  • Jake Bunce
                    Senior Member
                    • Dec 2000
                    • 46598
                    • 3.6.x

                    #10
                    Correct. You have to list each individual forum.

                    Comment

                    • Byron
                      Senior Member
                      • Nov 2000
                      • 525
                      • 3.0.0 Beta 6

                      #11
                      but there is a limit to the url for how many forums you can exclude... I tested a site with a big list of excluded forums, but the list got truncated.
                      .

                      Comment

                      • Jake Bunce
                        Senior Member
                        • Dec 2000
                        • 46598
                        • 3.6.x

                        #12
                        I am not aware of any hard limit on the length of that parameter. How long is the list you are using?

                        Comment

                        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                        Working...