Jump to content
InvisionCommunity.de - Der Deutsche Invision Community Support

Smoerble

Mitglied
  • Content count

    1
  • Joined

  • Last visited

About Smoerble

  • Rank
    Einmalposter

IP.Board Informationen

  • IP.Board Version
    2.3.x
  1. Hallo. Ich möchte in einem Script die aktuellen Topics auswerfen. Allerdings nur die eines bestimmten Forums und aller seiner Unterforen. Im Moment benutze ich folgenden Code: =============================+ $ipsclass->DB->build_query( array( 'select' => 't.tid, t.title, t.forum_id, t.starter_name, t.posts, t.start_date', 'from' => array('topics' => 't'), 'where' => "t.tid = ".$topicID, 'add_join' => array( array( 'type' => 'left', 'select' => 'p.pid, p.post', 'where' => 'p.topic_id=t.tid', 'from' => array('posts' => 'p'), ), ), ) ============================= Wie erweitere ich den, dass er auch die Unterforen mit einbezieht? Danke! Smo
×