How to show the last post on my website? VB5

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • patriaquemera
    New Member
    • Dec 2011
    • 10
    • 4.1.x

    How to show the last post on my website? VB5

    How to show the last post on my website, I have VB5
  • Mark.B
    vBulletin Support
    • Feb 2004
    • 24287
    • 6.0.X

    #2
    Create a search module, and set it to look for forum posts, and to show just one single result.
    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

    • patriaquemera
      New Member
      • Dec 2011
      • 10
      • 4.1.x

      #3
      But I can show it to an external site to vbulletin?

      Comment

      • Wayne Luke
        vBulletin Technical Support Lead
        • Aug 2000
        • 74111

        #4
        You would need to create a JSON query The easiest way to do this is to create a search module and select your criteria. Once you've done that click on the advanced tab to see the JSON query.

        You would then need to write code for your website that submits that JSON query to your forums via a GET and parses the results to show on your website. If you're using PHP, you can pass it through cURL to get a result returned and then use json_decode() to parse it.
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API

        Comment

        Related Topics

        Collapse

        Working...