Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

onBeforeUsersListQuery trigger

  • riznob
  • riznob
  • OFFLINE
  • Posts: 1
  • Thanks: 0
  • Karma: 0
14 years 8 months 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 or Create an account to join the conversation.

  • beat
  • beat
  • ONLINE
  • Posts: 2174
  • Thanks: 463
  • Karma: 352
14 years 8 months 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 or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum