onBeforeUsersListQuery trigger

14 years 1 month ago #129559 by riznob
onBeforeUsersListQuery trigger was created by riznob
I have a CB plugin that will allow an administrator to customize the userlist query and join it to other tables, etc. It gets called by...

$_PLUGINS->trigger( 'onBeforeUsersListQuery', array( &$queryFrom, 1 ) );

I would like to propose that the 3rd parameter be changed to the $listid, rather than hard coded 1.

$_PLUGINS->trigger( 'onBeforeUsersListQuery', array( &$queryFrom, $listid ) );

You can take a look at my plugin here.
www.pdxcode.com/downloads/joomla

Thanks,
-Rob Anderson

Please Log in to join the conversation.

14 years 2 weeks ago #131122 by beat
Replied by beat on topic Re:onBeforeUsersListQuery trigger
Good idea.

Added for next CB 1.2.3 as third param.

#1662

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.216 seconds

Facebook Twitter LinkedIn