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 31 Jan '17, 3:55pm.

    • Mark.B
      #21
      Mark.B commented
      Editing a comment
      Change the string to this:
      Code:
      {"date":{"from":"lastWeek"},"view":"topic","sort":{"lastcontent":"desc"},"exclude_type":["vBForum_PrivateMessage"]}

    • Homwer
      #22
      Homwer commented
      Editing a comment
      Hi,
      great thanks.
      Can you add the code that would limit the findings to a single category, like "News", and maybe not only as topic list but with the first 20 - 30 lines?
      That would make it a nice News page - I'm missing that feature.

    • bw_van_manen
      #23
      bw_van_manen commented
      Editing a comment
      Hi Homwer, You can add specific categorys with the following code:
      "channel":["1","2","3"]

      The channel numbers can be found in the channel manager in the admin CP: (Node ID: 1)
    Posting comments is disabled.

Related Topics

Collapse

Working...