Jump to content

Ryan Ashbrook

Invision Community Team
  • Posts

  • Joined

  • Days Won


 Content Type 



IPS4 Providers

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog



Posts posted by Ryan Ashbrook

  1. Alternatively, you can create a page that is only visible to people that are not a part of the club, and explain the purpose of the club and that they can read but cannot participate until they join. Then, you can re-order the menu to place the page first, which will then load that page automatically as soon as users click into the club.

  2. Try using the like() method instead. Also, you do not need to pass your query to query() - simply convert $select to an array using the iterator_to_array() function.

    $select = \IPS\Db::i()->select( '*', 'news_artcms_news', array( \IPS\Db::i()->like( 'categorynum', 'main', TRUE, TRUE ) ), 'news_artcms_news.num DESC', array( 0, 12 ) );
    $results = iterator_to_array($select);


  • Create New...