• Home
  • Categories
  • Recent
  • Popular
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Default
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Quartz
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Slate
  • Solar
  • Superhero
  • Vapor
Collapse

Community

    • All categories
    Load new posts
Log in to post
  • magnusvhendinM

    Unable to load template

    Scheduled Pinned Locked Moved Plugin Development templates script error
    1 Votes
    18 Posts
    1010 Views
    gotwfG

    @magnusvhendin Settings->Advanced User

    Obligatory reading:

    Advanced user features

    uBlock Origin - An efficient blocker for Chromium and Firefox. Fast and lean. - Advanced user features 路 gorhill/uBlock Wiki

    favicon

    GitHub (github.com)

    Although it still does allow some stuff I'd rather not see, on balance I tend to favor "Medium Mode" : https://github.com/gorhill/uBlock/wiki/Blocking-mode:-medium-mode

    Once you're "in the advanced user" modes, enable various "noop" rules to season to taste. Speaking of which, you probably also should read up "Dynamic Filtering": https://github.com/gorhill/uBlock/wiki/Dynamic-filtering

    For those more visual and auditory learners: youtuber link: https://www.youtube.com/watch?v=2lisQQmWQkY

    Have fun! o/ 馃悤

  • E

    customizing email templates

    Scheduled Pinned Locked Moved Technical Support templates email notification email emails
    0 Votes
    4 Posts
    365 Views
    julianJ

    All of our translation efforts are handled on Transifex (https://www.transifex.com/nodebb/nodebb/), but in general, yes... fixes and incorrect translations would be handled there, and custom changes specific to your community you'd make to those files directly.

  • fais3000F

    Global footer widget appearing before footers of other pages.

    Scheduled Pinned Locked Moved Bug Reports persona theme templates widgets
    0 Votes
    3 Posts
    1291 Views
    fais3000F

    @pitaj

    Global footer widget appearing before footers of other pages. 路 Issue #6199 路 NodeBB/NodeBB

    Since updating to nodebb 1.6.1. We noticed our copyright and disclaimer widgets started appearing above footers of other page templates. e.g topic.tpl Here is an example from source code of http://chatrooms.talkwithstranger.com/topic/657...

    favicon

    GitHub (github.com)

  • A

    How to use "posts api"

    Scheduled Pinned Locked Moved Technical Support help templates
    0 Votes
    3 Posts
    2063 Views
    A

    @yariplus said in How to use "posts api":

    {posts.post.user.sso-steam:steamid}

    Thank you, yari!

  • henrywrightH

    Required markup

    Scheduled Pinned Locked Moved Technical Support templates
    1 Votes
    5 Posts
    2237 Views
    henrywrightH

    @julian how about running one huge find and replace job? Wait... on second thoughts maybe not ha

  • henrywrightH

    List of templates available

    Scheduled Pinned Locked Moved Technical Support templates
    0 Votes
    4 Posts
    2486 Views
    julianJ

    Also /src/views/, for ACP templates

  • henrywrightH

    Using custom templates

    Scheduled Pinned Locked Moved Technical Support templates
    0 Votes
    2 Posts
    1599 Views
    julianJ

    Yessir 馃槈

  • drewD

    Nested Template Inheritance

    Scheduled Pinned Locked Moved Feature Requests templates feature request
    0 Votes
    4 Posts
    1906 Views
    henrywrightH

    @henrywright said:

    this idea wouldn't work if > 1 line change

    I was referring to my idea of making a manual 1-line change to the theme core at the point of each upgrade. That would avoid you having to use Git to merge in new commits each upgrade.

    Again, although not a clean way of working, it sounds like it'll be easier than what you're currently doing.

  • henrywrightH

    Is it possible to override templates?

    Scheduled Pinned Locked Moved Solved Technical Support templates
    0 Votes
    7 Posts
    2754 Views
    henrywrightH

    @julian Got ya. Thanks for the heads up

  • epidemiya30E

    Expose custom fields to be used in templates

    Scheduled Pinned Locked Moved Unsolved NodeBB Development custom fields templates
    0 Votes
    3 Posts
    1763 Views
    epidemiya30E

    For example, I would like to replace username on topic, like shown on the screenshot:Image 1.png

  • NicolasN

    Dynamic Templates via Settings

    Scheduled Pinned Locked Moved Plugin Development plugin dynamic templates
    0 Votes
    5 Posts
    2303 Views
    NicolasN

    My case is to provide text-area for the user in ACP, so user for example can "change template" of rendering list item.

    For example one possible solution:

    Store template markup in settings, and ask user to reload NodeBB. In static:load use file system instruments to rewrite template.

    But I'm not happy with such solution 馃槈

  • drewD

    Banner on the home page

    Scheduled Pinned Locked Moved General Discussion widget design templates
    0 Votes
    6 Posts
    3311 Views
    julianJ

    I suppose we could add a widget area for the index page template...

  • Dustin FalgoutD

    Is it possible to display previews from child categories when the parent has no posts?

    Scheduled Pinned Locked Moved NodeBB Development lavender templates homepage
    1 Votes
    12 Posts
    6383 Views
    Dustin FalgoutD

    @julian Right, I understand. It just makes it difficult to migrate from a more traditional forum like phpBB (which is the most, or perhaps second-most, used forum software today). I think making it easier to migrate from phpBB's format could only help nodeBB gain more ground 馃檪 Here is the github issue I opened a couple weeks ago. It was closed, though I hope we can reopen it. I'm more than willing to contribute. Let me know if there's anything I can do.

    Posts from child categories are not shown on the home page. 路 Issue #2549 路 NodeBB/NodeBB

    This becomes an issue when the parent category does not contain any posts directly, but has several child categories. Is there a way to adjust this behavior? If anyone could point me in the right direction it would be much appreciated! 馃槃

    favicon

    GitHub (github.com)

  • P

    How to get subcategories from home.tpl?

    Scheduled Pinned Locked Moved Technical Support templates
    0 Votes
    2 Posts
    2138 Views
    P

    Ok, this works

    <!-- IF categories.children.length --> <!-- BEGIN children --> <!-- IF @first -->(Sub-forums: <!-- ENDIF @first --> <a href="\{relative_path\}/category/{categories.children.slug}" itemprop="url">{categories.children.name}</a> <!-- IF [email protected] --> &middot; <!-- ENDIF [email protected] --> <!-- IF @last -->)<!-- ENDIF @last --> <!-- END children --> <!-- ENDIF categories.children.length -->

    Just put it somewhere between <!-- BEGIN categories --> and <!--END categories --> in home.tpl

    And take both \ from {relative_path}.. it seems that nodebb parses it... so I had to type...

  • mootzvilleM

    Understanding the templating engine & middleware

    Scheduled Pinned Locked Moved General Discussion middleware engine templates
    0 Votes
    3 Posts
    2207 Views
    mootzvilleM

    Ya, so I was dumb...I have a local dev instance and a staging server. I was playing around with some things and forgot to switch the theme back to vanilla which explains why I was missing the navbar for the login screen...boo me.

    But yes, thanks for pointing that out. The template engine and middleware are making a lot more sense now after looking through the source for the last 2 days...

    I'm going to start looking to add/update the documentation here soon...some of the stuff can drive you crazy if you aren't familiar with the version changes.

    Also, after reading through most of core at this point I have to say it's an impressive piece of kit. Thumbs up to the core devs. @julian @baris @psychobunny

    EDIT: Also, anyone else who comes across this thread...if you really want to save yourself some time banging your head against the wall -- like I did -- take a few days to really dive into the nodebb source. It has been a good lesson in object-oriented javascript -- so many objects 馃檪 -- done right. I've realized I'm approaching things more from a functional perspective, so this has been an eye opener for me.

  • B

    [QUESTION] Plugin ACP templates relative URLs

    Scheduled Pinned Locked Moved NodeBB Development relative urls folder installs templates plugin
    0 Votes
    5 Posts
    2454 Views
    julianJ

    @bentael yes, I believe that is the case.

  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
  • Login

  • Don't have an account? Register

  • Login or register to search.