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

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

Disabling automatic updates

Scheduled Pinned Locked Moved Technical Support
5 Posts 3 Posters 1.6k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    metalkramp GNU/Linux
    wrote on last edited by
    #1

    I changed some core stuff, is it possible to turn automatic updates off? Or even better - how can I make these changes permanent/persistent? By writing a plugin?

    Example: I want my advanced search panel closed by default, I changed core code and I don't want to lose these settings with next update.

    Same with language files - I had to modify some terms which might not be suited for general use, but they suit my specific needs. I don't want to change general used files on Transifex, so I made these changes locally. How can I ensure that next update won't reverse my changes?

    1 Reply Last reply
    0
  • yariplusY Offline
    yariplusY Offline
    yariplus Community Rep
    wrote on last edited by
    #2

    I'm not sure what you mean by automatic updates. I think what you mean is when you do an update, your core file changes are overwritten.

    To keep your core changes, you will need to stash them, update nodebb, and then re-apply.

    git stash
    --update nodebb--
    git stash apply

    There will likely be merge conflicts. If so, it will let you know what files have conflicts, and you will need to edit those files manually.

    1 Reply Last reply
    0
  • jareyJ Offline
    jareyJ Offline
    jarey Translator
    wrote on last edited by
    #3

    I think the problrm and dolution for it it is already answerrd by @yariplus, but i perso ally think that the way to go woyld be a custom theme and a set of custom plugins to fert your needs.

    With a custom theme i think you could make the modifications you need regarding search page behaviour. You could just fork persona theme if you are using that, and make the changes on your fork with a different name.

    Regarding new message localisation i think they would fit better on a plugin, linked to the new functionality you are providing.

    1 Reply Last reply
    0
  • M Offline
    M Offline
    metalkramp GNU/Linux
    wrote on last edited by
    #4

    I was presuming (incorectly as I see now) that there is an automatic update function.
    I've asked a similar question here: https://community.nodebb.org/topic/9601/changing-labels-hiding-elements-in-specific-categories/7, but doesn't hurt if I repeat it here.

    Should I first pull 1.x.x branch and then on master or can I pull master branch directly? Currently I'm using version 1.1.2.

    yariplusY 1 Reply Last reply
    0
  • yariplusY Offline
    yariplusY Offline
    yariplus Community Rep
    replied to metalkramp on last edited by
    #5

    @metalkramp If you are on 1.1.2, you should be able to just checkout the master branch. (master branch may contain additional bugs.)

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • 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
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development