Announcement

Collapse
No announcement yet.

How to create a Latest Updated Topics module in vBulletin 5 Connect

Collapse
X
Collapse
 

  • How to create a Latest Updated Topics module in vBulletin 5 Connect

    In this blog, I will show you how to create a "Latest Updated Topics" module.

    First, make sure you are logged in as an admin, and ensure "Edit Site" is on in the top right corner of the page.






    Make sure you are on the page you would like to add your module. I will add it on the main forum index, above the forum list.

    Click "Edit Page" in the admin bar at the top.






    Enter your admin password if requested.

    Drag the "Search Module" box to to wherever you want to place the module...in this case, we will place it just above the "Latest Activity Module", which is what displays the forum list.

    [IMG]]http://www.talknewsuk.com/vbblogs/58814.jpg[/IMG]




    It can be tricky to position it correctly...watch the red line that appears as this indicates the position.






    Once positioned, click on the pencil icon to configure the module.




    In the window that pops up, click "Switch to Advanced Editor".






    In the Advanced Editor that appears, enter the following:

    Widget Title: Latest Updated Topics
    Number of results: 5 (or however many you would like)
    Search JSON:
    Copy and paste the following code exactly and carefully:
    Code:
    {"date":{"from":"lastVisit"},"view":"topic","sort":{"lastcontent":"desc"},"exclude_type":["vBForum_PrivateMessage"]}



    Click "Save Changes".






    Click "Save Page".






    Click "OK".






    Finally, click "Save Page".






    And that's it! You should now have your "Latest Updated Topics" module.

    If you require any assistance, please post in the vBulletin 5 Site Builder forum.

    Thanks to Wayne Luke for providing the JSON code.
    Last edited by Mark.B; Tue 31st Jan '17, 4:55pm.

    • emrahdincer
      #21
      emrahdincer commented
      Editing a comment
      Hi,

      We are using below JSon in our vb 5 connect forum. (Like this link : http://www.vbulletin.com/forum/blogs/mark-b/3931714-how-to-create-a-latest-updated-topics-module-in-vbulletin-5-connect )

      {"date":{"from":"lastWeek"},"view":"topic","sort":{"lastcontent":"desc"},"exclude_type" :["vBForum_PrivateMessage"]}

      But we still have a problem on sorting.

      Some of the threads are in wrong order.

      Web Site : http://www.kartutkusu.com/

      Version : Vbulletin 5.1.5

      Can anyone solve our problem ?

    • JohnPBee
      #22
      JohnPBee commented
      Editing a comment
      Your criteria is not restrictive enough and might return too many results. Please restrict your criteria and try again.

    • hkjacko
      #23
      hkjacko commented
      Editing a comment
      "test"
    Posting comments is disabled.

Related Topics

Collapse

Working...
X