Search found 70 matches

by Dark❶
Sat Jul 13, 2019 4:30 pm
Forum: Extension Writers Discussion
Topic: Disable Email Notification only
Replies: 17
Views: 558

Re: Disable Email Notification only

3Di wrote:
Sat Jul 13, 2019 4:29 pm
...
Which is what I said
...
Yes!! you are Right :+1:
by Dark❶
Sat Jul 13, 2019 4:25 pm
Forum: Extension Writers Discussion
Topic: Disable Email Notification only
Replies: 17
Views: 558

Re: Disable Email Notification only

3Di wrote:
Sat Jul 13, 2019 4:22 pm
You've got all you need already. There is no such notification type.
Ho! in that case , I just have to allow notification.type.admin_activate_user & disable all.

Thanks 3Di .

Best regards :+1:
by Dark❶
Sat Jul 13, 2019 4:18 pm
Forum: Extension Writers Discussion
Topic: Disable Email Notification only
Replies: 17
Views: 558

Re: Disable Email Notification only

But just one question: Which notification.type is that user activates them-self ?? There is no such notification, if the user still has to activate or reactivate himself explain to me how could he ever see his notifications? In this case the email is sent directly from the Messenger. See core.ucp_r...
by Dark❶
Sat Jul 13, 2019 7:27 am
Forum: Extension Writers Discussion
Topic: Disable Email Notification only
Replies: 17
Views: 558

Re: Disable Email Notification only

... Otherwise here is the array of native notifications type, the one you want to be excluded is commented out. You can add other type of notifications (custom) to the array indeed. $type_ary = [ 'notification.type.topic', 'notification.type.approve_topic', 'notification.type.quote', 'notification....
by Dark❶
Fri Jul 12, 2019 12:14 pm
Forum: Extension Writers Discussion
Topic: Disable Email Notification only
Replies: 17
Views: 558

Re: Disable Email Notification only

3Di wrote:
Fri Jul 12, 2019 11:46 am
Yes, in my use case.
It is possible to grey those boxes completely though, or make that part of the UCP invisible once done I believe.
Currently I am using JS to disable those box...
But if user disables the JS then ... :roll:

Best regards :+1:
by Dark❶
Fri Jul 12, 2019 11:42 am
Forum: Extension Writers Discussion
Topic: Disable Email Notification only
Replies: 17
Views: 558

Re: Disable Email Notification only

3Di wrote:
Fri Jul 12, 2019 11:31 am
...
Instead, with my method above described, I opted to directly disable === un-check the boxes in the UCP for all users.
But user can again opt for it right???

Best regards :+1:
by Dark❶
Fri Jul 12, 2019 6:56 am
Forum: Extension Writers Discussion
Topic: Disable Email Notification only
Replies: 17
Views: 558

Re: Disable Email Notification only

What you can do is disable all email notifications. Subscribe to core.modify_notification_message : public function handler($event) { if ($event['method'] == NOTIFY_EMAIL) { $event['break'] = true; } } I can't find a way to allow specific notification types though. To do that, you would need a new ...
by Dark❶
Thu Jul 11, 2019 9:56 pm
Forum: Extension Writers Discussion
Topic: Disable Email Notification only
Replies: 17
Views: 558

Re: Disable Email Notification only

Is there any PHP hook event that can be used to disable specific or all notification email. Not that I am aware of. I use queries (custom function's call) in a migration for my notifications and I think you can do that for standard ones too. The notification manager could be used instead of queries...
by Dark❶
Sun Jul 07, 2019 9:28 am
Forum: Extension Writers Discussion
Topic: PHPBB Cron not running
Replies: 8
Views: 447

Re: PHPBB Cron not running

canonknipser wrote:
Sun Jul 07, 2019 9:21 am
...

Code: Select all

public function update_data()
{
    return array(
         array('config.remove', array('foobar')),
         array('config.add', array('foobar', 1, true)),
    );
}
...
Ok thanks...
I Quote coz to indicate WRT what i am talking... Sorry if it troubles you.

Best regards :+1:
by Dark❶
Sun Jul 07, 2019 9:12 am
Forum: Extension Writers Discussion
Topic: PHPBB Cron not running
Replies: 8
Views: 447

Re: PHPBB Cron not running

so

Code: Select all

public function update_data()
{
    return array(
         array('config.update', array('foobar', 1, true)),
    );
}
This way ???

Thanking you best regards :+1:
by Dark❶
Sun Jul 07, 2019 8:21 am
Forum: Extension Writers Discussion
Topic: Disable Email Notification only
Replies: 17
Views: 558

Disable Email Notification only

Is there any PHP hook event that can be used to disable specific or all notification email.
Of-course except the Registration Activation email.

Thanking you , Best regards :+1:
by Dark❶
Sun Jul 07, 2019 8:17 am
Forum: Extension Writers Discussion
Topic: PHPBB Cron not running
Replies: 8
Views: 447

Re: PHPBB Cron not running

... Also, you need to set your config value to be "dynamic", which you currently haven't done. This can be done in your migration, setting the third parameter to true . return array( array('config.add', array('requests_cron_last_run', 0, true)), ); Ho!! I forgot to set this flag... Is there any way...
by Dark❶
Thu Jun 27, 2019 11:40 am
Forum: Extensions in Development
Topic: [3.2][RC] Member Avatar & Status [MAS]
Replies: 33
Views: 3741

Re: [3.2][RC] Member Avatar & Status [MAS]

Hi! I have some problems with your extension. phpBB 3.2.7. Tested with no difference with Member Avatars & Status v1.5 and v2.1 (from Github). Tested with differents styles, including untouched ProSilver. I have the extension Board Portal v2.2.0-b1. ... Does someone has any clue about this, please?...
by Dark❶
Thu Jun 27, 2019 6:22 am
Forum: Extensions in Development
Topic: [3.2][RC] Member Avatar & Status [MAS]
Replies: 33
Views: 3741

Re: [3.2][RC] Member Avatar & Status [MAS]

Hi! I have some problems with your extension. phpBB 3.2.7. Tested with no difference with Member Avatars & Status v1.5 and v2.1 (from Github). Tested with differents styles, including untouched ProSilver. I have the extension Board Portal v2.2.0-b1. ... [*]When I'm on the portal, some avatars are g...
by Dark❶
Mon Jun 24, 2019 2:50 pm
Forum: Extensions in Development
Topic: [3.2][RC] Member Avatar & Status [MAS]
Replies: 33
Views: 3741

Re: [3.2][RC] Member Avatar & Status [MAS]

[Deleted]

Best regards :thumbsup:

Go to advanced search