Show latest threads from a forum

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Razasharp
    Senior Member
    • Feb 2005
    • 2789
    • 3.7.x

    Show latest threads from a forum

    I noticed Floris posted this nifty how to here:http://www.vbulletin.com/forum/showthread.php?t=158887

    Where you can show the latest most active threads.

    Is there anyway we can tweak it to show the last ten created threads instead? (As opposed to latest 10 threads that have been posted in?).

    Or does anyone know of a plug-in that does it?

    Cheers.
    What's Special About Ruby on Rails?
  • Andy Huang
    Senior Member
    • Feb 2004
    • 4602

    #2
    The tip is built by using the external data provider (external.php) to get the last 10 threads with new posts; as the external data provider does not provide newly created threads, it can't be edited to do that... You will need a custom addon for it :/
    Best Regards,
    Andy Huang

    Comment

    • Jake Bunce
      Senior Member
      • Dec 2000
      • 46598
      • 3.6.x

      #3
      There is no sorting option for the external feed. Changing it from the default would require modifying the code (www.vbulletin.org).

      Comment

      • Razasharp
        Senior Member
        • Feb 2005
        • 2789
        • 3.7.x

        #4
        Thanks both.

        Is it something that can be done easily? Or is it quite involved?
        What's Special About Ruby on Rails?

        Comment

        • Jake Bunce
          Senior Member
          • Dec 2000
          • 46598
          • 3.6.x

          #5
          I imagine it would be easy... just modify the query that selects the records.

          Comment

          • Razasharp
            Senior Member
            • Feb 2005
            • 2789
            • 3.7.x

            #6
            Ah k thanks Jake.

            Just one last thing - are there any disadvantages to doing it this way? As opposed to creating a plug-in with an sql query to get that data in and display it?

            For eg, if a person doesn't have javascript enabled on their browser, the list wouldn't show?
            What's Special About Ruby on Rails?

            Comment

            • Jake Bunce
              Senior Member
              • Dec 2000
              • 46598
              • 3.6.x

              #7
              If you are concerned about javascript then you can accomplish the same thing with a plugin. It's up to you.

              On my own site I use a custom PHP script to write the latest threads directly to the HTML of the page rather than use a feed.

              Comment

              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
              Working...