Skip to Content Skip to Menu

[SOLVED] How can I use the $_PLUGINS->trigger( 'gj_onAfterLeaveGroup', array( $row, $group, $category, $user, $plugin ) ) variables in PHP?

  • NicoFaaij
  • NicoFaaij
  • OFFLINE
  • Posts: 114
  • Thanks: 10
  • Karma: 1
10 years 6 months ago - 10 years 6 months ago #243765 by NicoFaaij
Hi,

I want to run a PHP script after somebody leave a group. How do I get the array variables like $row, $group, $category, $user, $plugin of that trigger in PHP vaiables? I just don't get it work. If I use $VARIABLE = [VAR1] etc. I get "array" instead of the value.

Many thanks in advance,
Nico
Last edit: 10 years 6 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • NicoFaaij
  • NicoFaaij
  • OFFLINE
  • Posts: 114
  • Thanks: 10
  • Karma: 1
10 years 6 months ago #243778 by NicoFaaij
It took me many hours but now I finally understand how [var4_firstname], [var4_username] etc. works ;-)

So case closed :cheer:
The following user(s) said Thank You: nant, krileon

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum