Foruma hoş geldin 👋, Ziyaretçi

Forum içeriğine ve tüm hizmetlerimize erişim sağlamak için foruma kayıt olmalı ya da giriş yapmalısınız. Foruma üye olmak tamamen ücretsizdir.

  • hey ; @Ziyaretçi, coin kasmak için reklama bas. reklam başı 100coin.
[DCom] Live Content

Eklenti [DCom] Live Content 2.1.0

indirmek için izniniz yok
Eklenti
Uyumlu XF Sürümleri
2.1, 2.2, 2.3, 2.4, 2.5, 2.10
  • Bir alt etki alanı aracılığıyla bir soket yapılandırma yeteneği eklendi. Ana etki alanını WebSocket protokolüyle uyumlu olmayan hizmetlere, örneğin Ezoic'e bağlarken gereklidir.
  • Yeniden yapılandırılan kod
After installing and configuring the plugin, go to the server console and execute the
Kod:
php socket_server.php start
command in the root of the forum to start the server socket. We also open the server socket TCP port for listening before starting.
To stop the
Kod:
php socket_server.php stop
Server status
Kod:
php socket_server.php status
Server restart
Kod:
php socket_server.php restart

Kod:
2053
2083
2087
2096
8443

Sample configs for connecting through a proxy
NGINX:
location /socket.io/ {
        proxy_pass http://127.0.0.1:2053;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "Upgrade";
    }
Kod:
extprocessor socket.io {
  type                    proxy
  address                 127.0.0.1:2053
  maxConns                2000
  pcKeepAliveTimeout      60
  initTimeout             60
  retryTimeout            0
  respBuffer              0
}
context /socket.io/ {
  type                    proxy
  handler                 socket.io
  addDefaultCharset       off
}
websocket /socket.io {
  address                 127.0.0.1:2053
}

Managing a socket server as a Systemd service

Create a file named "livecontent.service" along the path "/etc/systemd/system".
You can create it manually or execute it in the console "systemctl edit --force --full livecontent.service"

In the created file, we write the unit instructions.
Rich (BB code):
[Unit]
Description=Live Content socket server
After=mysql.service
Requires=mysql.service

[Service]
Type=forking
PIDFile=/www/wwwroot/xendev.ru/internal_data/dcom_live_content.pid
WorkingDirectory=/www/wwwroot/xendev.ru
ExecStart=/usr/bin/php socket_server.php start
ExecStop=/usr/bin/php socket_server.php stop
ExecReload=/usr/bin/php socket_server.php restart
TimeoutSec=300
Restart=always

[Install]
WantedBy=multi-user.target
Alias=livecontent.service
Variables in bold change to your own depending on the system

Do not forget to reload the systemd daemon after fixes in the unit
systemctl daemon-reload

We look at the status of the unit systemctl status livecontent

We see that it is disabled - we allow it
systemctl enable livecontent
systemctl -l status livecontent

Starting the service
systemctl start livecontent
We look at the beautiful status:
systemctl -l status livecontent

  • Communication in topics and personal correspondence without reloading the page.
  • Transitions between pages via AJAX.
  • There are two styles of personal correspondence to choose from.
  • Customizable sound alerts.
The plugin uses the phpsocket.io library
  • Screenshot 2022-11-27 at 04-54-20 DCom Live Content XenForo - Admin control panel.png
    77.6 KB · Görüntüleme: 21
  • Screenshot 2022-11-27 at 04-54-57 DCom Live Content XenForo - Admin control panel.png
    67.6 KB · Görüntüleme: 23
Yazar
İnfo
İndirilme
6
Görüntüleme
301
İlk yayınlama
Son güncelleme

Puanlar

0.00 yıldız 0 değerlendirme

İnfo ait diğer kaynakar

En son güncellenenler

  1. [DCom] Live Content v2.1.0

    2.1.0 - Nov 27, 2022 Added support for XenForo 2.1 Fixing an error when creating/editing a user...

Tema özelleştirme sistemi

Bu menüden forum temasının bazı alanlarını kendinize özel olarak düzenleye bilirsiniz

Zevkini yansıtan rengi seç

Geniş / Dar görünüm

Temanızı geniş yada dar olarak kullanmak için kullanabileceğiniz bir yapıyı kontrolünü sağlayabilirsiniz.

Izgara görünümlü forum listesi

Forum listesindeki düzeni ızgara yada sıradan listeleme tarzındaki yapının kontrolünü sağlayabilirsiniz.

Resimli ızgara modu

Izgara forum listesinde resimleri açıp/kapatabileceğiniz yapının kontrolünü sağlayabilirsiniz.

Kenar çubuğunu kapat

Kenar çubuğunu kapatarak forumdaki kalabalık görünümde kurtulabilirsiniz.

Sabit kenar çubuğu

Kenar çubuğunu sabitleyerek daha kullanışlı ve erişiminizi kolaylaştırabilirsiniz.

Köşe kıvrımlarını kapat

Blokların köşelerinde bulunan kıvrımları kapatıp/açarak zevkinize göre kullanabilirsiniz.

Geri