Skip to content

Forum not loading

Solved Configure
27 2 12.0k 1
  • @jac No, not really. I’ll do it now.

    wrote on last edited by
    #18

    @phenomlab Many thanks pal 😄

  • JAC JAC

    @phenomlab Many thanks pal 😄

    wrote on last edited by
    #19

    @jac As you do not have a Cloudflare account, we will need to create one - or, I can tack your domain onto my account meaning I will be responsible for it.

    Up to you.

  • wrote on last edited by
    #20

    Before we go down this route, I’m going to wait an hour to see if I can renew the LE cert.

  • Before we go down this route, I’m going to wait an hour to see if I can renew the LE cert.

    wrote on last edited by
    #21

    @phenomlab Absolutely no problem pal 🙂 .

  • @jac As you do not have a Cloudflare account, we will need to create one - or, I can tack your domain onto my account meaning I will be responsible for it.

    Up to you.

    wrote on last edited by
    #22

    @phenomlab said in NodeBB - Created pages not found?:

    As you do not have a Cloudflare account, we will need to create one - or, I can tack your domain onto my account meaning I will be responsible for it.
    Up to you.

    Having read the last message sent, if you do go down this route I am more than happy for it to be added to your account, but only if you are, or I can create my own.

  • JAC JAC

    @phenomlab said in NodeBB - Created pages not found?:

    As you do not have a Cloudflare account, we will need to create one - or, I can tack your domain onto my account meaning I will be responsible for it.
    Up to you.

    Having read the last message sent, if you do go down this route I am more than happy for it to be added to your account, but only if you are, or I can create my own.

    wrote on last edited by
    #23

    @jac said in NodeBB - Created pages not found?:

    Having read the last message sent, if you do go down this route I am more than happy for it to be added to your account, but only if you are, or I can create my own.

    Ok, no issues. I’ll add it to my account - but only if the LE renewal fails

  • JAC JAC

    @phenomlab said in NodeBB - Created pages not found?:

    As you do not have a Cloudflare account, we will need to create one - or, I can tack your domain onto my account meaning I will be responsible for it.
    Up to you.

    Having read the last message sent, if you do go down this route I am more than happy for it to be added to your account, but only if you are, or I can create my own.

    wrote on last edited by
    #24

    @jac I just managed to renew the cert 🙂 You’re back in the game…

  • @jac I just managed to renew the cert 🙂 You’re back in the game…

    wrote on last edited by
    #25

    @phenomlab said in NodeBB - Created pages not found?:

    I just managed to renew the cert You’re back in the game…

    Brilliant!

    Many thanks Mark, how did you manage that? 😉

  • JAC JAC

    @phenomlab said in NodeBB - Created pages not found?:

    I just managed to renew the cert You’re back in the game…

    Brilliant!

    Many thanks Mark, how did you manage that? 😉

    wrote on last edited by
    #26

    @jac I noticed that the .well-known directories for LE had been deleted from your default web server path, so I recreated them and forced a renew

  • @jac I noticed that the .well-known directories for LE had been deleted from your default web server path, so I recreated them and forced a renew

    wrote on last edited by
    #27

    @phenomlab Brilliant!!

    Thanks ever so much!! 🙂

    Now I need to try pull in new members ❓ 😛

  • phenomlab phenomlab has marked this topic as solved on

Did this solution help you?
Did you find the suggested solution useful? Support 💗 Sudonix with a coffee ☕
If your organisation needs deeper expertise around infrastructure, security, or technology leadership, learn more about Phenomlab Ltd. Many of the deeper technical guides behind Sudonix are published there.

Related Topics
  • Spam spam spam

    Solved Configure nodebb
    6
    2 Votes
    6 Posts
    3k Views
    phenomlab
    @Panda said in Spam spam spam: ok, yes Ive seen the queue, it shows IP, but doesnt have a field for comments from registrant. It’s not designed for that. It merely serves as a gateway between posts appearing on your form or not. @Panda said in Spam spam spam: It would be better if nodebb had this plugin included in ACP list, as not only then do you know its approved and should work, but many people cant or dont want to use CLI on the server That’s a question for the NodeBB devs but in all honesty you can’t not use the CLI when installing nodebb so to be this isn’t a big deal.
  • Test of youtube embeds

    Solved Configure nodebb
    14
    11 Votes
    14 Posts
    5k Views
    Sampo2910
    @phenomlab Perfect!!! Many thanks.
  • Pulling YouTube videos using RSS

    Configure rss youtube rsshub
    5
    7
    6 Votes
    5 Posts
    2k Views
    JAC
    The perfect solution and walkthrough Mark, appreciated as always!
  • MogoDB v6 to v7 upgrade

    Solved Configure nodebb
    5
    1 Votes
    5 Posts
    2k Views
    phenomlab
    @Panda if you used the Ubuntu PPA, I think this only goes as far as 6.x if I recall correctly.
  • Email Server Settings

    Solved Configure mx entry
    25
    10 Votes
    25 Posts
    11k Views
    phenomlab
    @Onix said in Email Server Settings: If anyone has long-term experience with self-hosted SMTP + DNS set-ups that remain stable, would be great to hear which configurations worked best. I can help with this
  • 5 Votes
    13 Posts
    3k Views
    DownPW
    'use strict'; const winston = require('winston'); const user = require('../user'); const notifications = require('../notifications'); const sockets = require('../socket.io'); const plugins = require('../plugins'); const meta = require('../meta'); module.exports = function (Messaging) { Messaging.notifyQueue = {}; // Only used to notify a user of a new chat message, see Messaging.notifyUser Messaging.notifyUsersInRoom = async (fromUid, roomId, messageObj) => { let uids = await Messaging.getUidsInRoom(roomId, 0, -1); uids = await user.blocks.filterUids(fromUid, uids); let data = { roomId: roomId, fromUid: fromUid, message: messageObj, uids: uids, }; data = await plugins.hooks.fire('filter:messaging.notify', data); if (!data || !data.uids || !data.uids.length) { return; } uids = data.uids; uids.forEach((uid) => { data.self = parseInt(uid, 10) === parseInt(fromUid, 10) ? 1 : 0; Messaging.pushUnreadCount(uid); sockets.in(`uid_${uid}`).emit('event:chats.receive', data); }); if (messageObj.system) { return; } // Delayed notifications let queueObj = Messaging.notifyQueue[`${fromUid}:${roomId}`]; if (queueObj) { queueObj.message.content += `\n${messageObj.content}`; clearTimeout(queueObj.timeout); } else { queueObj = { message: messageObj, }; Messaging.notifyQueue[`${fromUid}:${roomId}`] = queueObj; } queueObj.timeout = setTimeout(async () => { try { await sendNotifications(fromUid, uids, roomId, queueObj.message); } catch (err) { winston.error(`[messaging/notifications] Unabled to send notification\n${err.stack}`); } }, meta.config.notificationSendDelay * 1000); }; async function sendNotifications(fromuid, uids, roomId, messageObj) { const isOnline = await user.isOnline(uids); uids = uids.filter((uid, index) => !isOnline[index] && parseInt(fromuid, 10) !== parseInt(uid, 10)); if (!uids.length) { return; } if (roomId != 11) { // 5 Is the ID of the ID of the global chat room. Messaging.getUidsInRoom(roomId, 0, -1); // Proceed as normal. } else { user.getUidsFromSet('users:online', 0, -1); // Only notify online users. } const { displayname } = messageObj.fromUser; const isGroupChat = await Messaging.isGroupChat(roomId); const notification = await notifications.create({ type: isGroupChat ? 'new-group-chat' : 'new-chat', subject: `[[email:notif.chat.subject, ${displayname}]]`, bodyShort: `[[notifications:new_message_from, ${displayname}]]`, bodyLong: messageObj.content, nid: `chat_${fromuid}_${roomId}`, from: fromuid, path: `/chats/${messageObj.roomId}`, }); delete Messaging.notifyQueue[`${fromuid}:${roomId}`]; notifications.push(notification, uids); } };
  • is "night mode" shifting the forum several pixels up?

    Solved Configure nodebb
    8
    4 Votes
    8 Posts
    3k Views
    phenomlab
    @crazycells hmm. Good point. I actually use my own version of the dark mode plugin, so not entirely sure. However, I think the CSS is probably the same. I’m not at my PC currently but can check and advise later.
  • Forum registration email goes to spam

    Moved Solved Configure
    6
    1 Votes
    6 Posts
    2k Views
    JAC
    @phenomlab emails mate, although I seem to have used a different email on each browser to remain logged in for cough cough posts .