Chatrix

توسط

Easily add a Matrix client to WordPress pages, either through the Block Editor, or as a popup.

Feedback welcome

If you have any feedback or questions about Chatrix, please do talk to plugin maintainers at #chatrix:matrix.org.

راهنمای نصب برای این آیتم موجود نیست.

سوالات متداول

How can I install this plugin on my site?

This plugin can be used in two distinct ways:

  1. By adding a block to a page through the block editor
  2. By selecting pages in which a popup will be displayed. You configure this through Settings -> Chatrix.
Is there a more flexible way to configure the popup?

Yes. Instead of configuring the popup through Settings -> Chatrix, you can configure it through code, by using the chatrix_instances filter:

// functions.php

add_filter( 'chatrix_instances', function ( array $default_instances ) {
    // The key is an instance_id, the value array is the config for that instance.
    // Set 'pages' to an array of the ids of the pages which should show chatrix.
    // You can also set 'pages' to 'all' which results in that instance always being used.
    // Only one instance can be shown on a given page.
    return array(
        'foo' => array(
            'homeserver' => 'https://foo.com',
            'room_id'    => '!id:foo.com',
            'pages'      => 'all',
        ),
        'bar' => array(
            'homeserver' => 'https://bar.com',
            'room_id'    => '!id:bar.com',
            'pages'      => array(1, 2, 3),
        ),
    );
} );

How can I configure WordPress user accounts to register and login on Matrix homeserver?

The plugin will respect the login methods configured on the Matrix homeserver. For example, if the homeserver has both password and SSO login enabled, both options will be available to the user.

In light of the plan for Matrix to replace their user management with Open ID Connect (OIDC), we recommend to use a Single-Sign On (SSO) flow by configuring Open ID Connect login on Synapse and use the OpenID Connect Server WordPress plugin.

The flow will then be as follows: When logging into your homeserver, it will redirect you to your own WordPress login page and ask you to authorize the login by the click of a button, and then relay your information to the homeserver. You’ll be redirected back to your WordPress page and Chatrix will receive the login information and you can start chatting.

Later, when Matrix makes the switch to OIDC, you are already prepared and can continue to use this setup.

×
نظری برای این آیتم موجود نیست.
0 0 رای ها
امتیازدهی
اشتراک در
اطلاع از
0 نظرات
قدیمی‌ترین
تازه‌ترین بیشترین رأی
هیچ نسخه‌ای برای این آیتم موجود نیست.
★★★★★
★★★★★
3.0 /5 (1 نظر)

قیمت:

رایگان

نگارش

آخرین انتشار

20 اردیبهشت 1405

آخرین بروزرسانی

3 ماه پیش

نصب های فعال

20+

نگارش وردپرس

وردپرس 6.0+

تست شده از نسخه

وردپرس 6.8.5

نگارش PHP

PHP 7.4+

تگ ها

نسخه ها

0 نسخه