Recent content by granis

  1. granis

    Searching for customFields

    I am getting all users in return, as if I hadnt specified any criteria. How can I enable debug query, I am developing this piece of code in a custom file with the following header: $fileDir = realpath(dirname(__FILE__) . '/../../'); chdir($fileDir); require_once($fileDir ...
  2. granis

    Searching for customFields

    Hey there, I am trying to search for all users that have a specific value in a specific custom field. I guess my non-working code shows best what I am trying to do: $userModel = new XenForo_Model_User(); $criteria = array( 'customFields' => array("my_custom_field" => "bunny"), )...
Back
Top Bottom