Remove login popup


User avatar
LordPhobos
Collaborator
 
Posts: 54
Joined: Sat Apr 27, 2024 8:00 pm
 Tue May 27, 2025 2:57 pm • via Web
Hi

I'm posting here because I don't know exactly where does this login popup come from, maybe from "core", maybe from "chat", but I really need to disable it.

Image


I couldn't find in the file the exact lines to comment out to remove this function, or an option in ACP to disable it.

Could you plz help?

It is quite important to me, thanks!
User avatar
LordPhobos
Collaborator
 
Posts: 54
Joined: Sat Apr 27, 2024 8:00 pm
 Sat May 31, 2025 2:31 am • via Web
I solved!

Just comment out this part in jchat.min.js and the login popup is gone:

Code: Select all
                                    /* case "login":
                                        (l.connected = !1),
                                            l.dialog({
                                                content: t.htmlContent,
                                                onOpen: function (e) {
                                                    e.ui.find("input:first").focus(),
                                                        e.ui.find("input[type=text], input[type=password]").keydown(function (t) {
                                                            if (13 == t.which && p(this).val()) return e.ui.find('[value="submit"]').click(), t.preventDefault(), t.stopPropagation(), !1;
                                                        });
                                                },
                                                onSubmit: function (t) {
                                                    if (!t.username && !t.username_register) return p(this).find("input[name=username]").addClass("cbb-state-error").focus(), !1;
                                                    (t.submit = 1),
                                                        l.send("connect", t, function (t) {
                                                            t.userLogged && (l.cookie("connectStatus", 1, -1), window.location.reload());
                                                        });
                                                },
                                            });
                                        break; */
                                    case "login": break;
User avatar
LordPhobos
Collaborator
 
Posts: 54
Joined: Sat Apr 27, 2024 8:00 pm
 Sat May 31, 2025 2:55 am • via Web
Better yet, you just enable

Code: Select all
   'CHAT_ANONYMOUS_ALLOWED'   => 'Allow unnamed guests',


and the problem is gone forever, I was dumb in the first place, sorry.

Who is online

Users browsing this forum: No registered users and 0 guests