[RFC] group_change hook

Request hook events and what data needs to be sent for the new hook system.
Post Reply
User avatar
Sam
Registered User
Posts: 31
Joined: Fri Jan 23, 2009 10:24 pm

[RFC] group_change hook

Post by Sam » Tue Aug 24, 2010 3:01 am

Name: hook_group_add
Rationale: This hook will allow someone to hook into the group adding/changing process
Placement: group_add function
Input arguments: $mode ('add', 'remove', 'promote', 'demote', 'approve'), $user_data (reference to $user->data), $group_id, $is_default_group, $group_name = ''
Output format: void, wouldn't output anything, but change things outside or around phpBB.
Output semantics: n/a
Infrastructure: This hook would allow someone to update external systems with the user's new group status, whether they have been added in the group, removed, made leader, approved in the group, is default group, etc.

User avatar
3Di
Registered User
Posts: 694
Joined: Tue Nov 01, 2005 9:50 pm
Location: Milano (I) Frankfurt (D)
Contact:

Re: [RFC] group_change hook

Post by 3Di » Wed Aug 25, 2010 12:06 am

SyntaxError90 wrote:Rationale: This hook will allow someone to
to what? :!:
Want to compensate me for my interest? Don't ask me, just do it
I'm available for custom phpBB jobs, you can PM me the details.
New: my Live Board, Extensions and Tools for phpBB - Men at works.

User avatar
Sam
Registered User
Posts: 31
Joined: Fri Jan 23, 2009 10:24 pm

Re: [RFC] group_change hook

Post by Sam » Wed Aug 25, 2010 2:01 am

3Di wrote:
SyntaxError90 wrote:Rationale: This hook will allow someone to
to what? :!:
Can't you read the invisible text?

/me edits

User avatar
3Di
Registered User
Posts: 694
Joined: Tue Nov 01, 2005 9:50 pm
Location: Milano (I) Frankfurt (D)
Contact:

Re: [RFC] group_change hook

Post by 3Di » Sat Aug 28, 2010 9:10 pm

SyntaxError90 wrote:
3Di wrote:
SyntaxError90 wrote:Rationale: This hook will allow someone to
to what? :!:
Can't you read the invisible text?

/me edits
oopps, sorry, my crystall ball.. you know. :)
Want to compensate me for my interest? Don't ask me, just do it
I'm available for custom phpBB jobs, you can PM me the details.
New: my Live Board, Extensions and Tools for phpBB - Men at works.

Post Reply