It generates random number
https://www.php.net/manual/en/function.rand.php
dibu
Posts
-
rand() in PHP -
[nodebb-plugin-xkcd-embed] XKCD Embedding@julian said:
@scottalanmiller How unfortunate!
In a nutshell, perhaps something like this?
would be great!
-
[nodebb-plugin-xkcd-embed] XKCD Embedding(xkcd#1234)
-
Challenges in using NodeBB to provide forums to a web community where users must be able to dynamically create their own sub-forums as the site grows -
Challenges in using NodeBB to provide forums to a web community where users must be able to dynamically create their own sub-forums as the site grows@baris said:
@dibu Right now only administrators can create groups, once created they can add users to those groups and set permissions from the control panel.
Are there any plans to add this kind of feature? Is it a lot of work?
For example after user get some level of reputation he can create his own groups and invite other users to take part. But Admin also can delete all post/user/groups as needed.
This can help to build some kind of self-organized community on top of NodeBB. -
Challenges in using NodeBB to provide forums to a web community where users must be able to dynamically create their own sub-forums as the site grows@julian said:
such a use case would be something we'd work closely together on. Please get in touch with me at [email protected] and we can talk specifics over email or G+ Hangouts.
I'm also looking for a solution as in the first part of this topic. But I need some thing like self-organized groups. Where user can create his own group and add user to his own group and give rights to write topics and posts? Some kind of self-organized community.
@julian can I also get in touch with you at [email protected] or G+ Hangouts if in need?
-
Challenges in using NodeBB to provide forums to a web community where users must be able to dynamically create their own sub-forums as the site grows@baris said:
@grumpi said:
I could possibly add every sub-community as a group on NodeBB. Is it currently possible to restrict visibility of certain forums to certain user groups in NodeBB? Would that be a reasonable use of groups in NodeBB?
This is already possible using the groups and permissions system, it is exactly what it was designed for.
Is it available in version 0.4 or in the latest commits on github? How can I add users to groups? Are there any docs for groups?
Can user create his own group and add user to his own group and give them rights to write to the group or read-only? -
NodeBB Demo Admin?@julian said:
Here are some, but keep in mind we're in the process of completely revamping the admin panel
Is it a screenshot of admin panel for this forum?
-
Socket.io v1.0 released!@julian said:
As you know, we use socket.io to power our real-time aspect.
I have a couple of questions:
- Is upgrade to socket.io 1.0 planned?
- There are other alternatives to socket.io like sockjs, primus, faye is socket.io better?
- Is it possible to scale socket.io (multiple thread, servers) used in NodeBB? (Can you share your experience?) In some posts you mentioned that this forum was running on the server with 512Mb of RAM. What was the peak or average amount of simultaneous socket.io connection using this amount of RAM?
-
Badges!@trevor said:
@psychobunny said:
You've been awarded a badge! Congrats you've earned a badge for earning a badge! Congrats! you've earned a badge for earning a badge for earning your first badge! Congrats!...
Congrats, you've earned a badge for earning a badge for earning a badge... (while loop)
you've earned a badge for earning a badge... infinite loop
-
Badges!@psychobunny Other ideas for badges:
- "Self assigned" badges - it's like: admin creates list of badges which you can add to your profile on the profile page. Example "NodeBB User", "NodeJS Developer" etc. (Rules can also be used. In the list of badges Admin can set minimum reputation needed for the user to access self-assigned badges).
- May be. Simple API to award badges from other apps. Like if I have html5 game(or some script) on site and want some achievements in the game(script) to be awarded as badges in the forum.
- Badges with images instead of text or both.
-
Badges!@psychobunny said:
You've been awarded a badge! Congrats you've earned a badge for earning a badge! Congrats! you've earned a badge for earning a badge for earning your first badge! Congrats!...
-
Badges!@psychobunny Excellent
-
Badges!@trevor said:
@psychobunny said:
Definitely will have a page that lists all the badges, although I never thought of having a list of the users that attained that badge on the badges page. Might get crowded if you have simple badges that many will achieve. Will think about it design-wise
Infinite scroll.
-
Badges!@psychobunny What I mean is that you already have the page with all the users https://community.nodebb.org/users and it only need to be filtered by users Badge. And you have page https://community.nodebb.org/tags where all tags listed and by clicking on the tag you can see all the posts.
It would be great if I can go to the list of Badges click on the "Plugin Developer" Badge and see all the users assigned to this badge or see all the posts from users with this badge.Another Idea: rules to automate Badge assignment that you can create in Admin Panel.
-
Badges!@psychobunny Page with the list all Badges and all user assigned to Badge like on the https://community.nodebb.org/tags page?
-
Tile over lapping issueSaw this problem couple of times.
-
What's the reasoning behind removing the chat button?@Kamal-Patel
-
What's the reasoning behind removing the chat button?@Kamal-Patel Buttons were much better.
-
Redis vs MongoDB@baris What about LevelDB? Which is better for NoddeBB Redis or LevelDB?