NodeBB external links in the navbar

General Discussion

Suggested Topics

  • 0 Votes
    4 Posts

    The minimum reputation required to flag was set at 10 on this forum I lowered it to 3.

  • 2 Votes
    3 Posts

    As mentioned prior, you can use the privileges to restrict access to the topic.

    but I'm not entirely sure how this works.

    If a spider is detected (not a 100% guarantee, by the way), then they are either allowed or denied access to the topic based on how your privileges are set up.

    For example, if you grant spiders "access-topic" privilege, but do not grant "registered-users" that privilege, then web crawlers will be able to access the topic and crawl it, but regular users will not. The groups are mutually exclusive.

    On one hand, I'm thinking that allowing spiders to access all content could potentially boost my site's search engine rankings. On the other hand, I'd like to keep one or two paragraphs hidden from spiders, so that only verified users can view them.

    That's harder, you'd want to use a custom plugin to restrict the post content if a spider is detected. Doable, just not available right here right now.

    There are plugin hooks that are fired when a post is rendered, and you can probably check caller.uid or req.isSpider (depending on what is passed in) to see whether it is a spider or not. A uid of -1 is a spider as determined by the library we use.

  • 0 Votes
    7 Posts

    @dunlix said in Best NodeBB plugins?:

    @anodetobb in the NodeBB settings (ACP) There is an option somewhere to open new links in new tabs. Maybe in settings>posts but not sure. On a desktop you can just middle click.

    Thanks very much! 👍🏻

  • 0 Votes
    4 Posts

    Forgot to update. Got it to work finally, I ended up using 15.01 x64. I was getting misc errors, but it worked that time around, because of using 15.01 vs 14.01 or something else IDK.

  • 0 Votes
    8 Posts

    NodeBB supports anything. 😆