Search found 3017 matches

by MarkDHamill
Fri May 24, 2019 5:49 pm
Forum: Extension Writers Discussion
Topic: cron doesn't run
Replies: 13
Views: 470

Re: cron doesn't run

3Di, is there something I am missing?
by MarkDHamill
Fri May 24, 2019 3:38 pm
Forum: Extension Writers Discussion
Topic: cron doesn't run
Replies: 13
Views: 470

Re: cron doesn't run

Thanks for the suggestion. Unfortunately, it didn't work. Not sure what set_name has to do with this and how it is used.
by MarkDHamill
Thu May 23, 2019 9:41 pm
Forum: Extension Writers Discussion
Topic: cron doesn't run
Replies: 13
Views: 470

cron doesn't run

Here's my services.yml file: imports: - { resource: parameters.yml } services: phpbbservices.filterbycountry.listener: class: phpbbservices\filterbycountry\event\main_listener arguments: - '@language' - '@request' - '%core.root_path%' - '%core.php_ext%' - '@config' - '@log' - '@user' tags: - { name:...
by MarkDHamill
Tue May 21, 2019 9:30 pm
Forum: Extension Writers Discussion
Topic: trigger_error() acting strange
Replies: 19
Views: 617

Re: trigger_error() acting strange

Thanks. I'll have to figure out a different place to do this then. I think what you need to look at is using phpbb\exception\http_exception I don't seen an event there that I can use. Basically I am looking for a place to quickly reject access to the board shortly after the IP is analyzed. trigger_...
by MarkDHamill
Tue May 21, 2019 7:13 pm
Forum: Extension Writers Discussion
Topic: trigger_error() acting strange
Replies: 19
Views: 617

Re: trigger_error() acting strange

Thanks. So for core events you can only manipulate variables attached to the event object mentioned in the documentation for the event. In this case I added the language object to the main_listener.php and assumed I could use that. I could, but I couldn't expect any interpolation.
by MarkDHamill
Tue May 21, 2019 4:34 pm
Forum: Extension Writers Discussion
Topic: trigger_error() acting strange
Replies: 19
Views: 617

Re: trigger_error() acting strange

Thanks. I'll have to figure out a different place to do this then.
by MarkDHamill
Tue May 21, 2019 3:15 pm
Forum: Extension Writers Discussion
Topic: trigger_error() acting strange
Replies: 19
Views: 617

Re: trigger_error() acting strange

Thanks David. One thing I am wondering if it's because I'm using the core.user_setup() event. There I first link in the language files for the extension. // Load the language files for the extension $lang_set_ext = $event['lang_set_ext']; $lang_set_ext[] = array( 'ext_name' => 'phpbbservices/filterb...
by MarkDHamill
Tue May 21, 2019 1:22 pm
Forum: Extension Writers Discussion
Topic: trigger_error() acting strange
Replies: 19
Views: 617

Re: trigger_error() acting strange

Thanks for the suggestion. I did try this and many variations. No change.
Your access is denied due to the country code assigned to your Internet Protocol (IP) address. Your IP is %1$s and your country is %2$s.
by MarkDHamill
Tue May 21, 2019 12:01 am
Forum: Extension Writers Discussion
Topic: trigger_error() acting strange
Replies: 19
Views: 617

Re: trigger_error() acting strange

The notice is: Notice: FBC_DENY_ACCESS in /Applications/XAMPP/xamppfiles/apps/phpbb/htdocs/ext/phpbbservices/filterbycountry/event/main_listener.php on line 157 The line of code is the same: trigger_error($this->language->lang('FBC_DENY_ACCESS', $user_ip, $country), E_USER_NOTICE); The behavior is t...
by MarkDHamill
Mon May 20, 2019 11:27 pm
Forum: Extension Writers Discussion
Topic: trigger_error() acting strange
Replies: 19
Views: 617

Re: trigger_error() acting strange

I had actually tried this variation. @trigger_error($this->language->lang('FBC_DENY_ACCESS', $user_ip, $country), E_USER_NOTICE); still results in: Your access is denied due to the country code assigned to your Internet Protocol (IP) address. Your IP is %1$s and your country is %2$s. Quite puzzling.
by MarkDHamill
Mon May 20, 2019 9:34 pm
Forum: Extension Writers Discussion
Topic: trigger_error() acting strange
Replies: 19
Views: 617

trigger_error() acting strange

This behavior strikes me as bizarre. I have this language variable defined in another file: 'FBC_DENY_ACCESS' => 'Your access is denied due to the country code assigned to your Internet Protocol (IP) address. Your IP is %s and your country is %s', I set some local variables, in this case both $user_...
by MarkDHamill
Mon May 20, 2019 8:20 pm
Forum: Extensions in Development
Topic: [RC] Selective mass emails
Replies: 15
Views: 1330

Re: [3.2][ALPHA] Selective mass emails

Digests can send a text digest with all HTML stripped out. As this new extension gets more mature, it might be useful to have it send a list of popular posts, etc. It's a long way from that. Bear in mind that mass emails send text only, so links if sent will appear as plain text. The integration wit...
by MarkDHamill
Sun May 19, 2019 7:18 pm
Forum: Extensions in Development
Topic: [RC] Selective mass emails
Replies: 15
Views: 1330

Re: [3.2][ALPHA] Selective mass emails

Version 1.0.2-alpha is released. The screenshot and updated feature list, along with a download link, is on the first post.

There is also a Github archive here.
by MarkDHamill
Sun May 19, 2019 1:46 am
Forum: Wanted!
Topic: Wanted someone to upgrade phpBB 3.0 to 3.2
Replies: 2
Views: 648

Re: Wanted someone to upgrade phpBB 3.0 to 3.2

I do these all the time. Send me a PM.
by MarkDHamill
Mon May 13, 2019 2:57 pm
Forum: Extensions in Development
Topic: [RC] Selective mass emails
Replies: 15
Views: 1330

Re: [3.2][DEV] Selective mass emails

I don't think any of these possible user filters are desired in this extension, but please let me know if you feel otherwise: Registration date Password change date Birthday Last mark date Email mask (like aol.com) Number of warnings Last warning date Number of login attempts Language Timezone Numbe...

Go to advanced search