Search found 913 matches

by kasimi
Fri Jul 12, 2019 4:49 pm
Forum: Extension Writers Discussion
Topic: Disable Email Notification only
Replies: 17
Views: 558

Re: Disable Email Notification only

Using such event breaks the delivery of an already parsed message core.modify_notification_template instead can do the same thing but before of that. The $break variable is evaluated only after both events core.modify_notification_template and core.modify_notification_message are triggered, so in t...
by kasimi
Fri Jul 12, 2019 8:51 am
Forum: phpBB Custom Coding
Topic: Which prosilver_se template variable return content of the first post ?
Replies: 1
Views: 201

Re: Which prosilver_se template variable return content of the first post ?

Code: Select all

{% if postrow.S_FIRST_POST %}
<script>
  var content = "{{ postrow.MESSAGE | escape('js') }}";
</script>
{% endif %}
by kasimi
Thu Jul 11, 2019 10:06 pm
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 e...
by kasimi
Tue Jun 04, 2019 2:53 pm
Forum: phpBB Discussion
Topic: New CVE for PHP
Replies: 2
Views: 635

Re: New CVE for PHP

John connor wrote:
Tue Jun 04, 2019 12:29 pm
I take it version 7.2.18 is at risk?
No:
Known Affected Software Configurations:
Up to (excluding) 7.1.29
Up to (excluding) 7.2.18
Up to (excluding) 7.3.5
by kasimi
Tue Jun 04, 2019 8:20 am
Forum: [3.2.x] Extensions Database Releases
Topic: Lightbox
Replies: 4
Views: 3876

Re: Lightbox

Extension Updated to version 2.0.1
See first post for Download Link
by kasimi
Mon May 27, 2019 3:08 pm
Forum: phpBB Custom Coding
Topic: How do i use current user id for my site?
Replies: 9
Views: 519

Re: How do i use current user id for my site?

Code: Select all

<input type="hidden" name="userid" value="{{ user.data.user_id }}"><br>
by kasimi
Tue May 21, 2019 4:54 pm
Forum: Extension Writers Discussion
Topic: trigger_error() acting strange
Replies: 19
Views: 617

Re: trigger_error() acting strange

Use core.user_setup only to load languages with the lang_set_ext event variable. Don't call $language->add_lang() in that handler.
In core.user_setup_after you can load your language with $language->add_lang() and access your language keys.
by kasimi
Sun Apr 14, 2019 9:01 am
Forum: General Discussion
Topic: Argon2
Replies: 5
Views: 16513

Re: Argon2

by kasimi
Tue Apr 02, 2019 11:23 am
Forum: phpBB Custom Coding
Topic: List of changes to core files from 3.2.2 to 3.2.5
Replies: 8
Views: 478

Re: List of changes to core files from 3.2.2 to 3.2.5

Unless you've modified your files heavily, this should be faster: Download phpBB 3.2.2 Compare it with your board files to find and document all your edits. Have a look at WinMerge if you're on Windows. Donwload phpBB 3.2.5 Re-apply all your core edits Update to phpBB 3.2.5 by replacing all files
by kasimi
Fri Mar 29, 2019 3:28 pm
Forum: phpBB Ideas
Topic: Edit History Feature
Replies: 6
Views: 789

Re: Edit History Feature

As for the table size, assuming that most of the time users only fix typos and add information rather than change everything in each edit, the post versions could be stored incrementally, preferably in reverse order. I do agree that this should be an extension.
by kasimi
Fri Mar 22, 2019 10:57 pm
Forum: [3.2.x] Extensions Database Releases
Topic: Empty Post Subjects
Replies: 1
Views: 1503

Re: Empty Post Subjects

Extension validated/released
by kasimi
Wed Mar 20, 2019 4:11 pm
Forum: Extension Requests
Topic: Proxyfie images
Replies: 6
Views: 465

Re: Proxyfie images

Have a look at this extension: viewtopic.php?t=2487136 The only downside is that it doesn't come with a proxy, but adding one should be easy.
by kasimi
Sun Mar 17, 2019 11:03 am
Forum: Extension Writers Discussion
Topic: Problem with email template in custom notification
Replies: 14
Views: 811

Re: Problem with email template in custom notification

It's possible that the location where the event is triggered has something to do with it, although I couldn't spot anything suspicious at a first glance. Try using a different event to send your notification, for example core.search_modify_forum_select_list . Make sure to temporarily adjust your han...
by kasimi
Tue Mar 12, 2019 11:12 am
Forum: Extension Writers Discussion
Topic: Problem with email template in custom notification
Replies: 14
Views: 811

Re: Problem with email template in custom notification

The template identifier is correct. When and where are you creating the notification?

Go to advanced search