Skip to:
Content
Pages
Categories
Search
Top
Bottom

Determine topic’s status


  • LordCoder
    Member

    @lordcoder

    Hello ,

    how to get topic’s status ?

    I mean something like Resolved , Not a support question …

    Thanks ,

    Bouazza .

Viewing 2 replies - 1 through 2 (of 2 total)

  • ardentfrost
    Member

    @ardentfrost

    The function topic_resolved() echo’s back whether the topic is resolved, not resolved, or not a support question. You can even change what it echo’s by passing strings to the function.

    Otherwise you want the function get_topic_resolved($id) which will return yes, no, or mu (for it is resolved, it’s not resolved, or it’s not a support question).

    But if you don’t like that method, you can always get it straight from the database… it’s just more work for the server that way.


    LordCoder
    Member

    @lordcoder

    Thanks ardenfrost , i ill use get_topic_resolved .

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.