Skip to content

Commit 8db62d7

Browse files
committed
Update dev documentation for removal of jabber
1 parent 9c07563 commit 8db62d7

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
lines changed

development/development/upgrade/400.rst

+12
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ The ban system has been greatly refactored for phpBB 4.0. As part of this, the f
4040
- Added support for IPv6 banning
4141
- Removed "exclude" functionality which resulted in ambiguous settings
4242

43+
Removal of Jabber/XMPP
44+
----------------------
45+
The Jabber/XMPP functionality has been removed from phpBB 4.0. This includes the Jabber/XMPP settings in the ACP and the Jabber/XMPP notification system.
46+
Users with Jabber/XMPP accounts will no longer receive notifications via Jabber/XMPP and have instead been migrated to email notifications.
47+
The Jabber/XMPP functionality was removed due to the lack of support for the XMPP protocol in modern browsers and the fact that it was not widely used by phpBB users.
48+
4349
Class and function changes
4450
==========================
4551
The following table lists class and function changes that might affect custom PHP or Extension code.
@@ -391,6 +397,12 @@ Also have a look at the `phpBB API documentation <https://area51.phpbb.com/docs/
391397
- ``4.0.0-a1``
392398
- Use phpbb_build_radio() instead.
393399

400+
* - ``messenger``
401+
- ``includes/functions_messenger.php``
402+
- Refactored to new messenger system, removed jabber support
403+
- ``4.0.0-a1``
404+
- Added new refactored messenger system. See the API docs for `\\phpbb\\messenger <https://area51.phpbb.com/docs/code/master/phpbb/messenger.html>`_ namespace.
405+
394406
**Explanation of columns:**
395407

396408
* **Class or function:** The name of the class or function that was added, changed, deprecated, or removed in this version.

development/extensions/tutorial_notifications.rst

+3-7
Original file line numberDiff line numberDiff line change
@@ -651,14 +651,10 @@ you will have to indicate that in the path, e.g.: ``@vendor_extension/subdirecto
651651
return '@vendor_extension/sample';
652652
}
653653
654-
There is also a third notification method, Jabber, which uses the :class:`email/short` directory for its template files.
655-
This notification method is closely tied to the email method, so it is important to also supply that template file,
656-
even though the content might be identical to the email template.
657-
658-
.. warning::
654+
.. note::
659655

660-
Make sure to have both :class:`language/en/email/sample.txt` and :class:`language/en/email/short/sample.txt`
661-
in your extension's language directory to prevent errors.
656+
The previously existing Jabber notification method has been removed in phpBB 4.0. A separate :class:`email/short` directory
657+
for this notification method is no longer used and therefore you no longer need to create a separate template file for it.
662658

663659
get_email_template_variables
664660
----------------------------

0 commit comments

Comments
 (0)