Latest Activity to show last post

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • RFLIndustries
    Member
    • Feb 2013
    • 32
    • 4.2.X

    Latest Activity to show last post

    Is it possible to have the latest activity, to show the last post instead of the first post of each thread?
  • Lynne
    Former vBulletin Support
    • Oct 2004
    • 26255

    #2
    Not without modifying the code, no. If you need help with that, the place to ask is over on vbulletin.org, the modification site.

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools <- awesome site for html/css help

    Comment

    • Mark.B
      vBulletin Support
      • Feb 2004
      • 24287
      • 6.0.X

      #3
      Try this search JSON...it produces what I believe to be a 100% accurate Activity Stream. New topics, replies, everything.

      You can add it to the navbar as a tab or subnav link using Site Builder.
      Code:
      search?searchJSON={%22date%22:{%22from%22:%222%22},%22type%22:[%22vBForum_Gallery%22,%22vBForum_Link%22,%22vBForum_Photo%22,%22vBForum_Poll%22,%22vBForum_Text%22,%22vBForum_Video%22],%22channel%22:{%22param%22:%22channelid%22},%22sort%22:{%22created%22:%22desc%22},%22view%22:%22%22,%22exclude_type%22:[%22vBForum_PrivateMessage%22]}
      Here it is for this site to give you an idea:
      http://www.vbulletin.com/forum/searc...teMessage%22]}
      MARK.B
      vBulletin Support
      ------------
      My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
      My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

      Comment

      • RFLIndustries
        Member
        • Feb 2013
        • 32
        • 4.2.X

        #4
        Originally posted by Mark.B
        Try this search JSON...it produces what I believe to be a 100% accurate Activity Stream. New topics, replies, everything.

        You can add it to the navbar as a tab or subnav link using Site Builder.
        Code:
        search?searchJSON={%22date%22:{%22from%22:%222%22},%22type%22:[%22vBForum_Gallery%22,%22vBForum_Link%22,%22vBForum_Photo%22,%22vBForum_Poll%22,%22vBForum_Text%22,%22vBForum_Video%22],%22channel%22:{%22param%22:%22channelid%22},%22sort%22:{%22created%22:%22desc%22},%22view%22:%22%22,%22exclude_type%22:[%22vBForum_PrivateMessage%22]}
        Here it is for this site to give you an idea:
        http://www.vbulletin.com/forum/searc...teMessage%22]}
        so I tried doing this.

        ​I added the search... went to advance put the code in...and clicked save search.

        all it did was say working and then never did anything... the search never updated.

        Comment

        • Mark.B
          vBulletin Support
          • Feb 2004
          • 24287
          • 6.0.X

          #5
          The code I posted is for putting into the navbar as a tab or subnav link.

          Try this version for a search module, but it doesn't really appear in full stream view in a module, the layout is slightly different.
          Code:
          {"date":{"from":"2"},"type":["vBForum_Gallery","vBForum_Link","vBForum_Photo","vBForum_Poll","vBForum_Text","vBForum_Video"],"channel":{"param":"channelid"},"sort":{"created":"desc"},"view":"","exclude_type":["vBForum_PrivateMessage"]}
          Last edited by Mark.B; Wed 26 Feb '14, 9:37am.
          MARK.B
          vBulletin Support
          ------------
          My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
          My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

          Comment

          • RFLIndustries
            Member
            • Feb 2013
            • 32
            • 4.2.X

            #6
            sorry I misunderstood I got the code mixed up with another one of your post i was reading.

            but as the navbar it seems to work great.

            Comment

            • RFLIndustries
              Member
              • Feb 2013
              • 32
              • 4.2.X

              #7
              I have one more question that hopefully you can help me with.

              i have a few widgets on my front page that was supposed to do latest threads... and I've not been able to get it to work correctly.

              instead of showing the last 5 latest threads... it shows the last 5 updated post. anyway to change this?

              Comment

              • Mark.B
                vBulletin Support
                • Feb 2004
                • 24287
                • 6.0.X

                #8
                Originally posted by RFLIndustries
                I have one more question that hopefully you can help me with.

                i have a few widgets on my front page that was supposed to do latest threads... and I've not been able to get it to work correctly.

                instead of showing the last 5 latest threads... it shows the last 5 updated post. anyway to change this?
                These work for me:

                MARK.B
                vBulletin Support
                ------------
                My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
                My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

                Comment

                • Paul.
                  Member
                  • Feb 2007
                  • 98
                  • 5.1.x

                  #9
                  Originally posted by Mark.B
                  The code I posted is for putting into the navbar as a tab or subnav link.

                  Try this version for a search module, but it doesn't really appear in full stream view in a module, the layout is slightly different.
                  Code:
                  {"date":{"from":"2"},"type":["vBForum_Gallery","vBForum_Link","vBForum_Photo","vBForum_Poll","vBForum_Text","vBForum_Video"],"channel":{"param":"channelid"},"sort":{"created":"desc"},"view":"","exclude_type":["vBForum_PrivateMessage"]}
                  Hi Mark,

                  This works perfectly for me.
                  Would you be able to modify it for me to exclude visitor messages?

                  It's useful because I can't use this old vB4 addon: http://www.vbulletin.org/forum/showthread.php?t=231060
                  Welcome, Paul..
                  You last visited: Sat 21st Jul '07 at 2:37am

                  Comment

                  Related Topics

                  Collapse

                  Working...