Search found 126 matches

by rxu
Sat May 16, 2015 4:23 am
Forum: [3.x] Tickets Discussion
Topic: PHPBB3-13802 - Offer a way for extensions to configure the text_formatter.parser service for a given user
Replies: 2
Views: 5663

Re: PHPBB3-13802 - Offer a way for extensions to configure the text_formatter.parser service for a given user

If we want to grant extensions the possibility to toggle things depending on the user permissions, we'd need to add the $auth dependency to the parser/event. In theory, some extensions would want to operate some user's data to decide what to do with BBcode while parsing the post. But, if the data fr...
by rxu
Tue Feb 17, 2015 7:13 pm
Forum: General Development Discussion
Topic: Git development branches
Replies: 23
Views: 38891

Re: Git development branches

+1 (better late than never).
by rxu
Thu Jan 22, 2015 4:52 pm
Forum: [3.x] Event Requests
Topic: [PHP]core.ucp.profile_on_change.php
Replies: 4
Views: 9090

Re: [PHP]core.ucp.profile_on_change.php

Related to event request viewtopic.php?f=111&t=33744
by rxu
Sun Sep 14, 2014 3:48 am
Forum: [3.x] Event Requests
Topic: [RFC] profile_update hook
Replies: 10
Views: 18683

Re: [RFC] profile_update hook

The problem implementing this request is that ucp_profile.php doesn't hold 'before_update' data but just 'after_update' which users table is updated with.
Actually, 'before_update' data can be obtained within the listener if we place an event before the 'UPDATE' sql query execution.
by rxu
Sun Sep 14, 2014 3:29 am
Forum: [3.x] Event Requests
Topic: [PHP] core.user_activate
Replies: 6
Views: 9407

Re: [RFC] User activate hook

Tomba
Will it work for you adding an event before the if (sizeof($sql_statements)) having $sql_statements, $deactivated, $activated passed to it?
by rxu
Sun Sep 14, 2014 3:19 am
Forum: [3.x] Event Requests
Topic: [PHP]core.ucp.profile_on_change.php
Replies: 4
Views: 9090

Re: [PHP]core.ucp.profile_on_change.php

roelandaernoudts , I think it's hardly possible to add an event before the function main() because this is the class definition area, so there's nowhere to get phpbb dispatcher object instance. Could you take a further look at the ucp_profile.php, probably it will work if adding an event within mod...