Announcement

Collapse
No announcement yet.

Can 'first new thread' be added to the sidebar?

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

  • [Forum] Can 'first new thread' be added to the sidebar?

    This seems like a pretty easy modification, but I'm just not figuring it out. I'd like for the link to an updated thread in the Sidebar to link to the 'first new (unread) post' like it does when clicking the thread link on forum home in the Last Post column.

    There's nothing on vbulletin.org.

  • #2
    http://www.vbulletin.com/forum/showt...=1#post2311399

    Just choose different options other than in screenshots
    To be or not to be... Where the hell is the question????
    My psychiatrist told me I was crazy and I said I want a second opinion. He said okay, you're ugly too

    Live vBulletin 4.2.0 Multilingual * Alpha/Beta vB 4 - vB 5 Tier 1A
    CentOS 6.2 - Apache:2.2.15(Apache2Handler) - PHP:5.3.3 - MySQL:5.1.61
    Xampp/Win-XP - Apache v2.2.21(Apache2Handler) - PHP:5.3.8 - MySQL:5.5.16

    Comment


    • #3
      Hi Merjawy. Thanks for the reply.

      None of the built in options do what it is I'm looking for. If you look at the screenshot, "TV Schedule...", "Coverage: Family Circle Cup", and "Your swing", all link to the "First UNREAD post". Meaning they will go to the newest post that I've not read yet. Every thread title in that "last post" column of the forum home page does that.

      I simply want that same functionality in the sidebar.

      I assumed it might be a matte of just using the same code from the forumhome template and placing it in the sidebar/block template. Boy, was I wrong!
      Attached Files

      Comment


      • #4
        I hope this is what you're asking

        Forums & Moderators
        >> Forum Blocks Manager >> Add Block

        Select Block Type: New Forum Posts >> click Continue

        Click image for larger version

Name:	2012-07-05_1915.png
Views:	1
Size:	61.3 KB
ID:	3689538
        To be or not to be... Where the hell is the question????
        My psychiatrist told me I was crazy and I said I want a second opinion. He said okay, you're ugly too

        Live vBulletin 4.2.0 Multilingual * Alpha/Beta vB 4 - vB 5 Tier 1A
        CentOS 6.2 - Apache:2.2.15(Apache2Handler) - PHP:5.3.3 - MySQL:5.1.61
        Xampp/Win-XP - Apache v2.2.21(Apache2Handler) - PHP:5.3.8 - MySQL:5.5.16

        Comment


        • #5
          there's a hard and simple way you can achieve this by, the simple way is by updating the 'block_threads' template. Find this:

          HTML Code:
          {vb:raw thread.url}
          Change it to this:

          HTML Code:
          {vb:raw thread.url}&goto=newpost
          This applid only for a thread type of forum blocks, if you need it for another type you have to find out the template then apply the change. All of them start with 'block_'.
          Please feel free to contact me if you have any questions or concerns

          Links: vBulletin Manual - Code Documentation - FAQ - Bug Tracker - Lemon Juice
          vBulletin 5 Connect: Extensions - Articles - Features - Purchases

          Comment


          • #6
            Thank you both so much for taking the time to help me with this. @Merjawy, the built in blocks just don't do what it is I'm looking for. @al3bd, thanks for that! Unfortunately that didn't work for me. The link still goes to the very first post.

            I didn't want to, but I'm going to use vBadvanced CMPS for the time being. That's what I've been using for years now on my vB 3.8 Forum. I was just hoping to find a built in replacement for this feature. I wanted a completely mod-free upgrade to 4.2

            Seriously, though, thank you both so much for your suggestions.

            Comment


            • #7
              Which sidebar block are you using that you want to modify?

              Comment


              • #8
                Hi Matthew, I assumed the Forum Threads block would be the one to modify. To have the thread title go to the first unread post rather than the beginning of the thread. The mod I mentioned above does a good job of it, but it's not as good looking as the vB Sidebar, and it's not vB core (I've had it with mods -- too much trouble and instability).

                Comment


                • #9
                  Originally posted by Kirkus View Post
                  Hi Matthew, I assumed the Forum Threads block would be the one to modify.
                  I figured, I just wanted to be sure before I started looking through the code and such.

                  Revert the changes you made before to the block_threads template and change:
                  Code:
                  {vb:raw thread.url}
                  to this:
                  Code:
                  {vb:raw thread.newposturl}

                  Comment


                  • #10
                    Matthew! Thank you so much. That's exactly what I was looking for.

                    Comment

                    Related Topics

                    Collapse

                    Working...
                    X