[MMO] Live Threads

[MMO] Live Threads 2.3.9

No permission to download
Using the addon on XF 2.2 with the addon version 2.2.2.
But threads aren't real-time, where should I start debugging?
  • User group permission is set to yes
  • Websocket is already enabled on Cloudflare
  • No error logged on admin.php
  • No error logs on nginx as well
  • Using centrifugo_4.1.5 on Ubuntu 22.04
  • Nginx is also setup to proxy websocket
Network log:
1716168155210.webp

Addon option:
1716168420924.webp
 
Please.

Anyone who has successfully installed and run it well, please try providing a sample video for this add-on.

Sincerely, thank you.
 
  • Like
Reactions: rdn
(1) For this addon, is there a way to distinguish if a thread is "LIVE" or not ? (from the member's perspective). I think a nice feature would be some text at the BOTTOM of the thread Just before the posting text area.

(2) does this addon have a dropdown option like this ? [Start Live thread]

1729536282103.webp

Does this addon show this "Live" text on the forum layout ?

1729536466039.webp
 
In MMO/LiveThreads/XF/Entity/Post.php

$api = new \MMO\Centrifuge\Api; // this fails when a new post is being created programmatically using Thread\Replier service

This appears to be related to the Api constructor that creates a new http client.
 
@Rangers Fans

Try this config:
JSON:
{
    "client": {
        "token": {
            "hmac_secret_key": "xxxxx"
        },
        "allowed_origins": [
            "*"
        ]
    },
    "channel": {
        "namespaces": [
            {
                "name": "public",
                "allow_subscribe_for_client": true
            },
            {
                "name": "dm",
                "allow_user_limited_channels": true
            },
            {
                "name": "personal",
                "allow_user_limited_channels": true
            }
        ]
    },
    "admin": {
        "enabled": false,
        "password": "xxxxx,
        "secret": "xxxxx"
    },
    "http_api": {
        "key": "xxxxx"
    }
}
 
@Rangers Fans

Try this config:
JSON:
{
    "client": {
        "token": {
            "hmac_secret_key": "xxxxx"
        },
        "allowed_origins": [
            "*"
        ]
    },
    "channel": {
        "namespaces": [
            {
                "name": "public",
                "allow_subscribe_for_client": true
            },
            {
                "name": "dm",
                "allow_user_limited_channels": true
            },
            {
                "name": "personal",
                "allow_user_limited_channels": true
            }
        ]
    },
    "admin": {
        "enabled": false,
        "password": "xxxxx,
        "secret": "xxxxx"
    },
    "http_api": {
        "key": "xxxxx"
    }
}

thank you, I'll give that a try. Continue to leave the host address and host path fields blank?
 
For nginx, I proxy it like this:
NGINX:
location /connection/websocket {
        proxy_pass 127.0.0.1:8000;
    }

I'm not sure how on apache.
 
Back
Top Bottom