Skip to content

Category For User

Solved Configure
11 3 3.1k 1
  • Mark hi
    I can not give permission for one user to set special category for it.
    I can not to cancel others write on that category expect one user.
    How can i set it?

    wrote on last edited by
    #2

    @cagatay Can you provide a bit more detail (screenshots etc) of what you’ve tried so far?

  • @cagatay Can you provide a bit more detail (screenshots etc) of what you’ve tried so far?

    wrote on last edited by
    #3

    @phenomlab for example Efruthe user can not edit nothing and i can not chose what he/she can do this category 😞

    32b835f5-5ca7-4711-a8d9-ca5a587e9a41-image.png

  • @phenomlab for example Efruthe user can not edit nothing and i can not chose what he/she can do this category 😞

    32b835f5-5ca7-4711-a8d9-ca5a587e9a41-image.png

    wrote on last edited by
    #4

    @cagatay Do you get the same issues if you create a group, add the user, and then try to set permissions on that rather than individual users?

  • @cagatay Do you get the same issues if you create a group, add the user, and then try to set permissions on that rather than individual users?

    wrote on last edited by
    #5

    @phenomlab said in Category For User:

    Do you get the same issues if you create a group, add the user, and then try to set permissions on that rather than individual users?

    yes Mark, i have registered and verified group.

    but when updated 3.5 it will not work for verified group and others also. i thinks its a bug on 3.5 version.

  • @phenomlab said in Category For User:

    Do you get the same issues if you create a group, add the user, and then try to set permissions on that rather than individual users?

    yes Mark, i have registered and verified group.

    but when updated 3.5 it will not work for verified group and others also. i thinks its a bug on 3.5 version.

    wrote on last edited by
    #6

    @cagatay yes, I’ve seen this reported on nodebb via @crazycells

  • @cagatay yes, I’ve seen this reported on nodebb via @crazycells

    wrote on last edited by
    #7

    @phenomlab yes, let’s wait until @barisusakli fixes the bug…

  • wrote on last edited by
    #8

    you can see also group privigalies

    image.png

  • you can see also group privigalies

    image.png

    wrote on last edited by
    #9

    @cagatay definitely looks like a bug

  • wrote on last edited by
    #10

    Closing this, as a confirmed bug and will be resolved in 3.5.1

    https://community.nodebb.org/topic/17623/nodebb-3-5-0/18?_=1699903831824

  • phenomlab phenomlab has marked this topic as solved on
  • wrote on last edited by
    #11

    3.5.1 has now been released. I’ve just deployed it, so safe to do so!


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
  • Nodebb to Xenforo

    Solved Configure xenforo nodebb
    3
    0 Votes
    3 Posts
    1k Views
    phenomlab
    @cagatay as @downpw stated, there isn’t a native tool that will do this for you. You’d need to either develop your own or ask the nodebb team to assist which will be a paid exercise.
  • 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.
  • How to deploy WordPress.org Developer theme

    Solved Configure wordpress theme github
    4
    1 Votes
    4 Posts
    3k Views
    phenomlab
    @Hari the real issue here is that I don’t think it can be used as a theme for WordPress because of the dependencies it clearly has, including its own Web server. My view here is that this is designed to be a complete development environment outside of the WordPress core.
  • mongodb backup problem

    Moved Configure mongodb
    3
    1
    1 Votes
    3 Posts
    1k Views
    phenomlab
    You might want to also review this post https://sudonix.org/topic/389/mongodb-backup-script
  • 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
  • 3 Votes
    2 Posts
    982 Views
    phenomlab
    @DownPW This isn’t something I have readily available, and because I’m not entirely familiar with the database structure of NodeBB, it’s something that would require research and development in terms of script. I think it’d be quicker to ask this in the NodeBB forums.
  • 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); } };
  • 2 Votes
    1 Posts
    791 Views
    No one has replied