Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    1. Home
    2. Ludvig Janiuk
    • Profile
    • Following 0
    • Followers 1
    • Topics 5
    • Posts 14
    • Best 2
    • Groups 0

    Ludvig Janiuk

    @Ludvig Janiuk

    3
    Reputation
    198
    Profile views
    14
    Posts
    1
    Followers
    0
    Following
    Joined Last Online

    Ludvig Janiuk Unfollow Follow

    Best posts made by Ludvig Janiuk

    • RE: How do I change the GDPR consent text on new registration?

      Well, there are language files in /public/language. The GDPR text is, as far as I remember, sourced from a few of these entries (the language files are JSON files with a prase identifier, and translation). So if you want to change the wording, you would have to modify these files in your clone of the repo.

      Not sure if this is the "best way" since they might be overwritten when you pull the next version (could someone with more knowlede than me confirm this?) but that's a git issue that you should be able to handle once you get to updating.

      For example, I see three entries in the file "/public/language/en-US/register.json" that start with "gdpr_". There are probably others but this is a good place to start. Just search those language files for the exact wording.

      Also note that to chnag eit you would have to change all of the languages, but if english only is enough for you, that is easier.

      posted in General Discussion
      Ludvig Janiuk
      Ludvig Janiuk
    • How to specify dependency on other plugins?

      Hi folks, I'm developing some custom plugins for NodeBB and one is dependent on the other being installed. How would I specify this kind of dependency? I know that dependencies on npm is specified as usual in package.json, but would what work in my case, since I want the forum to have the nodebb plugin installed?

      What I mean is, I'm doing module.parent.require and not just require. Would package.json/dependencies still work with that, or is there another better way?

      Best regards, I find NodeBB to be really awesome.

      posted in Plugin Development
      Ludvig Janiuk
      Ludvig Janiuk

    Latest posts made by Ludvig Janiuk

    • RE: Can I load arbitrary ACP settings from a file?

      Thank you, I didn't try that approach, instead, I realized I can change the settings directly from the code. So I'm baking in my settings into my plugin and setting them in the init.

      posted in NodeBB Development
      Ludvig Janiuk
      Ludvig Janiuk
    • RE: Can I load arbitrary ACP settings from a file?

      @PitaJ Ahh... Yeah this was looking fine, but I've encountered a problem with exporting the local login setting. Earlier it was in the config object, but now that has been obsoleted and it's a "group privilege". I find the database structure of groups and their privileges a big confusing. Do you think you could help me figure out how to export that general setting in the current situation?

      posted in NodeBB Development
      Ludvig Janiuk
      Ludvig Janiuk
    • RE: NodeBB v1.10.2 released.

      @Rusdy-MT It seems to me like they have revamped this option. It's now some kind of "group privilege" now. You can toggle it under ACP -> Manage -> Privileges. This came out of nowhere for me as well...

      posted in Announcements
      Ludvig Janiuk
      Ludvig Janiuk
    • RE: Can I load arbitrary ACP settings from a file?

      Alright, thanks.

      posted in NodeBB Development
      Ludvig Janiuk
      Ludvig Janiuk
    • RE: Can I load arbitrary ACP settings from a file?

      Hmm, I guess that would be the way then. Are the ones in the config object also plugin options, or only general ones?

      posted in NodeBB Development
      Ludvig Janiuk
      Ludvig Janiuk
    • Can I load arbitrary ACP settings from a file?

      I'm trying to set up a staging environment, but a lot of my setup depends on my settings. I don't want to have to duplicate them every time I change something. Is there a way to sync all ACP, perhaps in a file?

      Edit: I also want to sync the installed plugins, but I can already do that with package.json.

      posted in NodeBB Development
      Ludvig Janiuk
      Ludvig Janiuk
    • RE: On what branch to write PR's?

      Ok, I'll do that. Thank you!

      posted in NodeBB Development
      Ludvig Janiuk
      Ludvig Janiuk
    • On what branch to write PR's?

      Hi, I'd like to submit a PR as a feature request for NodeBB. Should I do it on the latest versioned branch, or on master, or...?

      posted in NodeBB Development
      Ludvig Janiuk
      Ludvig Janiuk
    • RE: How do I change the GDPR consent text on new registration?

      Well, there are language files in /public/language. The GDPR text is, as far as I remember, sourced from a few of these entries (the language files are JSON files with a prase identifier, and translation). So if you want to change the wording, you would have to modify these files in your clone of the repo.

      Not sure if this is the "best way" since they might be overwritten when you pull the next version (could someone with more knowlede than me confirm this?) but that's a git issue that you should be able to handle once you get to updating.

      For example, I see three entries in the file "/public/language/en-US/register.json" that start with "gdpr_". There are probably others but this is a good place to start. Just search those language files for the exact wording.

      Also note that to chnag eit you would have to change all of the languages, but if english only is enough for you, that is easier.

      posted in General Discussion
      Ludvig Janiuk
      Ludvig Janiuk
    • RE: Setting Up Generic CORS (settings "Origin: *")

      Yeah, don't worry, it's not urgent and when I'm setting the specific host URL for my client it works. I just realized that looking at the code, setting "*" will not work. However, I also see now that you added '...Origin-regex' in the latest update, so I guess that is a fine workaround.

      posted in Technical Support
      Ludvig Janiuk
      Ludvig Janiuk