Jump to content

Ryan Ashbrook

Invision Community Team
  • Posts

    12,669
  • Joined

  • Days Won

    13

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by Ryan Ashbrook

  1. 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);

     

  2. Just now, CoffeeCake said:

    Just logged into the client area and saw the initial response I got was that this would be a feature request and not a bug. Do you need me to create a thread in the feature request forum making a request that this behavior be modified?

    There may be some confusion in the support response. Post Before Registering is completely invisible to us out of the box until the person goes through with registering. That we'd be prompted to look at content submitted that is otherwise invisible and decide whether or not to approve it before they complete the registration seems like a flaw to me. If they don't complete the registration, it will delete itself. I'd offer that the profanity/link filter should only be triggered when the registration is complete and the post is about to be published.

    Indeed - I reached out to support and clarified. What you described is a bug, and I'm investigating.

×
×
  • Create New...