Search found 123 matches

by rxu
Sun Sep 14, 2014 3:48 am
Forum: [3.x] Event Requests
Topic: [RFC] profile_update hook
Replies: 10
Views: 15541

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: 7455

Re: [RFC] User activate hook

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: 7424

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...
by rxu
Sat Jul 19, 2014 3:46 am
Forum: [3.x] Discussion
Topic: Quick Links
Replies: 38
Views: 26028

Re: Quick Links

Unlike for 3.0, with 3.1 quicklinks predefined search links are available on every page. So I wonder if they still should point to the whole board or it will be more usable to limit tham by forum/topic user currently browsing. Example (to be more clear): when you're browsing f=ID, clicking on any of...