Skip to content

General Discussion

A place to talk about whatever you want

3.8k Topics 23.2k Posts
  • confirm this web site www.gta5-mods.co

    2
    0 Votes
    2 Posts
    155 Views
    barisB

    @ayc868 I was gonna delete this as spam but turns out https://forums.gta5-mods.com/ is indeed using NodeBB.

  • Larger, square user images

    5
    0 Votes
    5 Posts
    233 Views
    N

    Thanks 🙂

  • Notification on mobile likes whatsapp ?

    2
    0 Votes
    2 Posts
    127 Views
    barisB

    https://github.com/NodeBB/nodebb-plugin-ntfy this plugin comes bundled in 3.x

  • 0 Votes
    2 Posts
    120 Views
    G

    in nodebb-plugin-dbsearch, query is $text - $search (not $regex).
    I understand why.

  • 0 Votes
    5 Posts
    238 Views
    barisB

    You would use the hook 'action:meta.override404' and do a helpers.redirect(res, '/'); You might have to copy some of the code from https://github.com/NodeBB/NodeBB/blob/master/src/controllers/404.js#L24-L44. So you don't redirect requests to javascript files to the homepage for example.

  • Confirmation email never arriving

    15
    0 Votes
    15 Posts
    524 Views
    eeeeeE

    There seems to be something about NodeBB thats not helping, especially when user signs up with a gmail.
    This also happened on two other forums that were having same issue till they gave up. I remember one used Zoho mail which was good for reliability in all other cases.
    Its concerning, and I keep mentioning it because of the significance this could have.

  • how to add a nav link?

    2
    0 Votes
    2 Posts
    125 Views
    barisB

    You can drag items from there to the navigation on the left.

  • 1 Votes
    16 Posts
    743 Views
    julianJ

    @fbmac I don't really hate the articles, it's just not clear that it's satire 🙂 but I do not have control over what other people do with their websites.

  • Anyway to override the tab behavior on full composer?

    Solved
    3
    0 Votes
    3 Posts
    160 Views
    PitaJP

    Put this in your Custom Javascript in the ACP:

    $(() => app.require('hooks').then((hooks) => { hooks.on('action:composer.enhanced', ({ postContainer }) => { postContainer.find('textarea.write').on('keydown', function (e) { if (e.key == 'Tab') { e.preventDefault(); var start = this.selectionStart; var end = this.selectionEnd; // set textarea value to: text before caret + tab + text after caret this.value = this.value.substring(0, start) + "\t" + this.value.substring(end); // put caret at right position again this.selectionStart = this.selectionEnd = start + 1; } }); }); }));
  • GDPR compliance for US based forums

    1
    0 Votes
    1 Posts
    160 Views
    R

    I'm trying to understand the legal implications of allowing EU residents to create accounts on a US based forum. Is it sufficient to place verbiage in the ToS that requires acceptance of data residency in the US?

    For example

    We care about data privacy and security. By using the Site, you agree to be bound by our Privacy Policy which is incorporated into these Terms of Use. Please be advised the Site is hosted in the United States. If you access the Site from any other region of the world with laws or other requirements governing personal data collection, use, or disclosure that differ from applicable laws in the United States, then through your continued use of the Site, you are transferring your data to the United States, and you agree to have your data transferred to and processed in the United States.

    Are there any other clauses that need to be clearly identified? We do state the identifiers collected when creating an account

    All data collected is solely for the purpose of providing unique indentifiers in order to allow for the creation of a user account that is then used to access our services. None of this data is shared with 3rd parties, and our own usage is restricted to informational messaging around the operation and functionality of the application. We may ask for and store the following data elements as part of our Sign Up process:

    Username (can be fully anonymous)
    A valid email address
    A valid phone number for dual factor authentication (optional)

    Any gotchas to be wary of? or any advice in general would be much appreciated.

  • Monetizing your board... how?

    8
    0 Votes
    8 Posts
    286 Views
    N

    @julian

    My assumption is more nefarious

    Yes, depending on what the code is and how unsuspecting the target forum/service owner it.
    You'd think that would be a one time payment though. "Here, put this plugin on your site, it does this little thing and we'll pay you $200/month for that". It would not be user count based which is why I was thinking they are gaining more data when more users are providing it.

    I cannot imagine how many think they are making a few bucks every month but causing massive problems on the Internet unknowingly.

    @eeeee Good of you to spot this and even share it.

  • Alternative monetization of forum

    5
    0 Votes
    5 Posts
    283 Views
    julianJ

    @NodeHam My assumption is more nefarious... I think it is to build out a botnet. At a single command all connected clients will spam a target 😬

  • Raising and lowering the reputation of users

    11
    0 Votes
    11 Posts
    673 Views
    barisB

    This will be in core in 3.3.0 https://github.com/NodeBB/NodeBB/issues/11842

  • textcomplete-item

    4
    0 Votes
    4 Posts
    210 Views
    vijay kumavatV

    Hay @baris ,

    (https://github.com/julianlam/nodebb-plugin-mentions/blob/master/static/autofill.js#L94)

    This works for me for this . Thanks

  • 0 Votes
    6 Posts
    207 Views
    phenomlabP

    @eeeee Because a 1080 pixel mobile screen does not mean 1080px wide. If you look at how responsive CSS works in Bootstrap (breakpoints) you'll see what I mean.

    @media (min-width:320px) { /* smartphones, iPhone, portrait 480x320 phones */ } @media (min-width:481px) { /* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */ } @media (min-width:641px) { /* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */ } @media (min-width:961px) { /* tablet, landscape iPad, lo-res laptops ands desktops */ } @media (min-width:1025px) { /* big landscape tablets, laptops, and desktops */ } @media (min-width:1281px) { /* hi-res displays */ }

    The "sweet spot" for most mobile devices sits at around 767px

  • How can I assign variable in .tpl?

    7
    0 Votes
    7 Posts
    308 Views
    G

    @PitaJ Thank you for reply.

  • Complex: having API call within widget

    16
    0 Votes
    16 Posts
    550 Views
    PitaJP

    Benchpress/templates.js has always used a single { to wrap variable substitution.

    I agree before is not commonly used, but using { is an industry standard for format strings and templates.

    Not sure what documents you read about escaping, it appears I don't actually have that documented. But to escape you should be able to add a single backslash before the opening {:

    if (something) \{ stuff() }

    But even just putting a semicolon in there should work

    if (something) { stuff(); }
  • 0 Votes
    12 Posts
    2k Views
    M

    @Nuran-Akimbek said in TypeError: Cannot read properties of undefined (reading 'split'):

    Hi, a have a same error (Cannot read properties of undefined (reading 'split')) on my forum. Please, write final solution have you solve it

    I solved it by doing a

    ./nodebb restart
  • 0 Votes
    6 Posts
    265 Views
    G

    @josef I got it, thanks.

  • startup nodebb after server reboot

    Solved
    7
    0 Votes
    7 Posts
    300 Views
    julianJ

    @陈洁 wow, that is definitely a power user setup!

    One thing I have struggled with is proper logging with systemd. At some point it seemed to stop emitting logs properly, and I could only either have logs sent to the journal for viewing with journalctl, or output to the regular log file at logs/output.log, not both. 🤷

    Regardless, @josef I'm glad you got it working 😄