Thanks a lot @JasperNL, that's really helpful.
If I get some availability any time soon, I'll sort out a PR for accepting the emoji unicode range.
Thanks a lot @JasperNL, that's really helpful.
If I get some availability any time soon, I'll sort out a PR for accepting the emoji unicode range.
I'm having the same issue!
If anyone has any experience with this, it would be really helpful.
I agree with you about Emojis in usernames not being a good idea.
Unfortunately, this is an existing feature in the community and so will need to be handled by the forum in order for it to integrate.
I have a custom Auth system connected to NodeBB, which allows Emoji to be used within the username. This is causing problems when it tries to create the matching account within the forum.
I have nodebb-plugin-emoji-extended enabled.
Is there any way to allow Emoji within the username field?
Cheers.
Thanks @Julian.
It's all working now!
@julian This plugin looks great. I'm linking to the forum from within a mobile app, so it will be perfect for user experience.
I'm having a couple of issues getting it to work though:
From the Session Sharing admin page on user search I keep getting 'We were unable to find a remote id belonging to that user'. I assumed this was just the uid? I don't get any results for remote ID search using uids.
Running NodeBB in dev mode, I can call the '/debug/session/' endpoint and get a 200 OK response. A document in the sessions collection is created with session value {"cookie":{"originalMaxAge":1209600000,"expires":"2016-05-25T14:36:09.230Z","httpOnly":true,"path":"/"}}'
but no testUser is created.
I've tried creating a cookie to test in the browser with 'javascript:document.cookie="token=<JWT token>" 'but it doesn't seem to be picked up by the page
I do have the authentication overridden (hook "action:auth.overrideLogin") with my own system, so I'm hoping that isn't related to this, or likely to cause issues down the line.
I'm currently running v1.0.2, if that helps.
Thanks Julian, you're a legend!
I'm having an issue when changing my user language to Japanese, it just doesn't seem to recognize it.
I can see the json files in the public/languages/ja directory and they're mostly populated, but I just get a combination of English and labels when this is applied. Is this anything to do with the dropdown displaying ja_JP and the language directory being ja?
Other languages work. Chinese simplified and traditional, Arabic and Korean are all fine.
I have a team of guys who can complete the remaining Japanese translations but I need to get the existing ones working first, so any help would be greatly appreciated.
@julian & @baris, would it be possible to send you guys the completed json files for the completed translations, rather than go through the transifex interface? This would be a much simpler way for us to work with our team in Japan.
Thanks a lot!
I'm trying to get all users from the REST API by using path '/api/users/'
The results don't contain all the users from the forum and the results are also paginated. I've tried putting '?page=2' at the end of the url, but this still just return the same results.
Am I missing something in the request to get the additional page, or better still is there a way to return users in a non-paginated way?
Cheers.
Thanks for the response @julian. I guess I'll have to put it on my todo list!
Just found the language!
'user:uid:settings'
I'm currently using the write api to create users, but it would be really useful if we could set the language of the user on creation. I've tried passing in language as a member of the body object, but this hasn't worked.
I've looked through the mongo objects collection and I can't see where the user's language is being stored either, is this determined from the location?
I'm really hoping I don't have to write a whole plugin just for this
Cheers.
@a_5mith Did you ever find the solution to this?
Was the result the nodebb-plugin-custom-font plugin?
Thanks a lot @baris.
I'll investigate this route.
I'm looking at a service to create a group, then a category for only members of that group.
The user who called the service will also become moderator of the category & it won't be visible to members outside of the group.
I'm using 'privileges.categories.give' to give the group permissions, but I'm struggling with issuing the privileges to a specific user. I've tried using the same function with UID, but no luck
Does anyone have any pointers for this?
Thanks.
Thanks @yariplus.
Hadn't seen this response until just now!
I've added a custom field to the users of the forum by using the "filter:user.custom_fields" hook in a custom plugin, which is an awesome feature.
The only problem I'm finding is I want to be able to search for users using this field, but I can't figure out how to use 'users.js' to achieve this. Is this possible with the current code?
My alternative is to create another connection to the MongoDb, which seems a bit dirty, but it's what I'll do in the mean time.
Any help would be great!
@julian Sorry, hadn't seen that you hadn't got a private npm account to play around with!
@psychobunny That's a really good idea, it's actually how I've been testing separate projects that use my privately hosted modules currently, before publishing the updates to the npm account.
It would be great if support came out the box at some point though