[nodebb-plugin-metro-tiles] Metro Tiles (Modern UI inspired)

NodeBB Plugins

Suggested Topics


  • 0 Votes
    20 Posts
    544 Views

    Hi,

    i have a little Change, that will also leave User when NOT in ldap group:

    groupJoin: (ldapGroup, ldapId, uid, callback) => { winston.verbose("[LDAP] groupJoin " + ldapGroup.cn + " for user " + ldapId + " uid " + uid) nodebb_ldap.createGroup(ldapGroup, (err, groupId) => { if (err) { return callback(err); } let members = ldapGroup.uniqueMember; if (!Array.isArray(members)) { members = [members]; } winston.verbose("[LDAP] groupJoin members " + members && typeof members) let found = false if (members) { members.forEach(member => { if (member && member.indexOf(ldapId) != -1) { found = true } }); } if (found) { const groupsToJoin = [groupId]; if ((master_config.admin_groups || '').split(',').includes(ldapGroup.cn)) { winston.verbose("[LDAP] joins admin group") groupsToJoin.push('administrators'); } if ((master_config.moderator_groups || '').split(',').includes(ldapGroup.cn)) { groupsToJoin.push('Global Moderators'); } return groups.join(groupsToJoin, uid, callback); } else { const groupsToUnJoin = [groupId]; winston.verbose("[LDAP] unjoins group" + ldapGroup.cn + " uid " + uid); return groups.leave(groupsToUnJoin, uid, callback); //callback(); } } ); },

    thats realy cool for use 🙂 maybe someone else will help it 🙂

  • 0 Votes
    2 Posts
    290 Views

    The first plugin is the one written by @psychobunny, and is actively maintained. The others are forks.

  • Plugin repository?

    NodeBB Plugins
    2
    0 Votes
    2 Posts
    222 Views

    The plugin repository is the one in nodebb admin. But the thing about it is that there is no moderation there - it's just npm packages that have nbbpm attribute and compatibility string. If the compatibility string is wrong, there is no way for NodeBB to verify that. You can learn about it here.
    Other than that you can just search GitHub, NPM and GitLab for names starting with nodebb-plugin.

  • 0 Votes
    5 Posts
    482 Views

    @PitaJ
    {
    "url": "https://forum.ZZZZ.com",
    "secret": "xxxx",
    "database": "mongo",
    "port": ["4567","4568","4569"],
    "mongo": {
    "host": "127.0.0.1",
    "port": "27017",
    "username": "root",
    "password": "xxx",
    "database": "nodebb"
    }
    }

  • Tip with Reddcoin plugin

    NodeBB Plugins
    1
    0 Votes
    1 Posts
    856 Views

    Re: Tip with bitcoin
    Just to update the thread and status of the plugin.

    I believe this is now resolved.
    https://github.com/reddink/nodebb-plugin-reddcoin/issues/4
    Had to amend some versioning
    Would be great if someone could test it out in the wild, and feed back

    Wont close the issue yet, unless i dont here back in a reasonable time