Search found 2577 matches

by rxu
Fri Mar 01, 2024 2:37 pm
Forum: Extension Writers Discussion
Topic: notification system in extension
Replies: 3
Views: 334

Re: notification system in extension

You have a typo in your constructor arguments list. Note
sebo wrote: Sun Feb 18, 2024 10:19 am $notication_manager
vs

sebo wrote: Sun Feb 18, 2024 10:19 am $notification_manager
by rxu
Mon Feb 26, 2024 2:38 pm
Forum: phpBB Discussion
Topic: phpBB 3.3.x Collation
Replies: 1
Views: 485

Re: phpBB 3.3.x Collation

In MySQL, utf8 is an alias for utf8mb3. So utf8_bin is the same as utf8mb3_bin.
https://dev.mysql.com/doc/refman/5.7/en ... -utf8.html
by rxu
Wed Dec 27, 2023 5:48 pm
Forum: Extension Writers Discussion
Topic: Event before sending emails
Replies: 2
Views: 573

Re: Event before sending emails

It seems some events in includes/functions_messenger.php could be utilized. F.e. core.modify_notification_template , core.modify_notification_message , core.notification_message_email . $user and $topic_id can be retrieved in the listener via request object just like in memberlist.php , f.e. $user_i...
by rxu
Thu Dec 07, 2023 8:26 am
Forum: [3.3.x] Support Forum
Topic: [phpBB Debug] PHP Warning - 3.3.11
Replies: 9
Views: 1014

Re: [phpBB Debug] PHP Warning - 3.3.11

TextFormatter is 3rd-party library which internals I'm afraid can be explained by its author only. As the library handles parsing posts and BBCode, probably something related happens (broken BBcode, broken text content in some manner, files broken by editing, etc). Also it's possible to be some exte...
by rxu
Thu Dec 07, 2023 8:19 am
Forum: [3.3.x] Support Forum
Topic: 3.3.11 - what is newest PHP & MySQL versions supported?
Replies: 7
Views: 951

Re: 3.3.11 - what is newest PHP & MySQL versions supported?

Automated tests pass successfully on PHP 8.2 (and PHP 8.3 for development 3.3.x branch -> upcomung v.3.3.12). Also tests pass for 3.3.11&MySQL 8 without errors.
https://github.com/phpbb/phpbb/actions/runs/6604327705
by rxu
Fri Dec 01, 2023 4:29 am
Forum: Extension Writers Discussion
Topic: Priority event extensions
Replies: 7
Views: 1555

Re: Priority event extensions

Actually they load in order the data got selected from the DB extensions table https://github.com/phpbb/phpbb/blob/master/phpBB/phpbb/extension/manager.php#L88-L89 As far as the SQL query doesn't contain ORDER BY clause, resulting order can differ on different DBMS versions/servers/installations etc...
by rxu
Tue Nov 28, 2023 3:17 pm
Forum: Extensions in Development
Topic: [3.3][RC] Autolinks 1.3.9
Replies: 318
Views: 52719

Re: [3.3][RC] Autolinks 1.3.5

Just at the brief look, foreach iterates the $parts array by $index => $part and at the last iteration step the $parts[$index + 1] array element simply does not exist, hence the error. Not all pages are affected probably since PHP doesn't reach the $parts[$index + 1][0] check as far as $part is neit...
by rxu
Fri Nov 24, 2023 3:37 pm
Forum: [3.3.x] Styles Support & Discussion
Topic: is phpbb forum stripping out the code?
Replies: 2
Views: 457

Re: is phpbb forum stripping out the code?

It seems that phpBB treats {key} as a template variable placeholder. Thus as far as key template var is not set, it replaces the placeholder with an empty string. It probably would work like

Code: Select all

el.setAttribute(`${
key
}`, `${attrs[key]}`);
by rxu
Wed Nov 22, 2023 6:35 am
Forum: Extension Writers Discussion
Topic: Installing the EPV
Replies: 10
Views: 1043

Re: Installing the EPV

Long story short, it's better using PHP 7 for EPV because its current sub-dependencies (f.e. some phpunit 5 dependencies etc.) don't work with PHP 8.
by rxu
Mon Nov 20, 2023 1:46 pm
Forum: Extension Writers Discussion
Topic: Problem with non-latin symbols
Replies: 2
Views: 606

Re: Problem with non-latin symbols

As usually, $request->variable() method needs 3rd argument to be true to handle UTF8 strings. Like

Code: Select all

$config->set('obscurecontactus_subject', $request->variable('obscurecontactus_subject', '', true));
and so on.
by rxu
Tue Nov 14, 2023 2:54 pm
Forum: [3.3.x] Support Forum
Topic: Incorrect Last Activity Date
Replies: 8
Views: 496

Re: Incorrect Last Activity Date

User last visit issue is to be addressed in 3.3.12 (https://github.com/phpbb/phpbb/pull/6490), probably related with the OP issue but not sure what does "Last activity date" mean here.
by rxu
Wed Nov 08, 2023 5:10 pm
Forum: Extension Writers Discussion
Topic: Seeking Guidance on Adjusting Search Results and Pagination After Modifying sql_where
Replies: 16
Views: 2116

Re: Seeking Guidance on Adjusting Search Results and Pagination After Modifying sql_where

but title does not get updated That would involve adjusting 'SEARCH_MATCHES' as well (or 'SEARCH_TITLE' if required) as per search_results.html template. Can you elaborate on this line That is theoretically, about adding new PHP event to the core (but it can only be released within phpBB 3.3.12 if ...
by rxu
Wed Nov 08, 2023 8:10 am
Forum: Extension Writers Discussion
Topic: Seeking Guidance on Adjusting Search Results and Pagination After Modifying sql_where
Replies: 16
Views: 2116

Re: Seeking Guidance on Adjusting Search Results and Pagination After Modifying sql_where

Well, it's turned out not trivial task really as total_match_count is not compacted into any suitable event after SQL query got executed. Currently the only path I could see is: - get rowset count using core.search_modify_rowset event and store in any listener property, - redefine tempate variables ...

Go to advanced search