Search found 8 matches
- Fri Sep 24, 2010 6:58 am
- Forum: [3.x] Event Requests
- Topic: [RFC] profile_update hook
- Replies: 10
- Views: 31784
Re: [RFC] profile_update hook
I'll post the same thing here: It would also be nice if the "before" hook were able to deny changes alltogether (or reject parts of the changes). A GEO Mod might check the entered location for example, or one might wish to restrict the Homepages to some special domains.
- Fri Sep 24, 2010 6:54 am
- Forum: [3.1/Ascraeus] Merged Event Requests
- Topic: [RFC|Implemented] user_update_name hook
- Replies: 3
- Views: 14076
Re: [RFC] user_update_name hook
How about a simple notification that "something" in the user profile was changed? I agree that some mods need the name change, but other mods might need other changes as well. One could simply have a hook that carries the information of the column names that were changed along with the new values ...
- Fri Sep 24, 2010 6:42 am
- Forum: [3.1/Ascraeus] Merged Event Requests
- Topic: [RFC] user_add hook
- Replies: 10
- Views: 45448
Re: [RFC] user_add hook
It should be possible to deny adding the user through the "before" hook. A mod might set conditions that must be met, before a user can be added, for example it might check some data entered in custom profile fields (beyond just checking for the correct format, i.e. it might compare a field for ...
- Tue Aug 31, 2010 9:32 pm
- Forum: [3.x] Discussion
- Topic: Plugins / Hooks Section in ACP
- Replies: 3
- Views: 11344
Re: Plugins / Hooks Section in ACP
If you leave this up to the mods then the question is rather: Will the Mod Author be able to foresee all possible other mods that use the same hook and position his mod correctly in the execution order for all of them to work? I think there should be some way of sorting the mods so that Mod A can be ...
- Tue Aug 31, 2010 9:12 pm
- Forum: [3.1/Ascraeus] Merged Event Requests
- Topic: [RFC|Implemented] page_header hook
- Replies: 9
- Views: 29531
Re: [RFC] page_header hook
Yes, a lot of mods need to add a link to that menu.
- Tue Aug 31, 2010 9:06 pm
- Forum: [3.x] Rejected Event Requests
- Topic: [RFC|Replaced] hook_cron
- Replies: 3
- Views: 23034
Re: [RFC] hook_cron
Oh, I guess I missed that one. Yes, agreed.
- Mon Aug 30, 2010 10:19 pm
- Forum: [3.1/Ascraeus] Merged Event Requests
- Topic: [RFC|Implemented] user_delete hook
- Replies: 2
- Views: 12075
Re: [RFC] user_delete hook
The same thing goes for deleting topics, forums and posts since mods may need to delete data along with it.
It may be sensible to also be able to cancel a deletion process as well, sometimes the user may only be deleted if certain circumstances are met (for example the user may have to pay his ...
It may be sensible to also be able to cancel a deletion process as well, sometimes the user may only be deleted if certain circumstances are met (for example the user may have to pay his ...
- Mon Aug 30, 2010 10:04 pm
- Forum: [3.x] Rejected Event Requests
- Topic: [RFC|Replaced] hook_cron
- Replies: 3
- Views: 23034
[RFC|Replaced] hook_cron
Name: hook_cron
Rationale: Many mods require to do maintenance on a regular basis, a calendar mod could delete old entries every week or a topic robot could post special topics every week.
Placement: cron.php
Input arguments: 1: repetition_rate (one of the constants: CRON_DAYLY CRON_WEEKLY ...