• 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

where can i find the Custom css in the files?

Scheduled Pinned Locked Moved Unsolved Technical Support
8 Posts 6 Posters 648 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.
  • יצחק מרדכי טאבאקי Offline
    יצחק מרדכי טאבאקי Offline
    יצחק מרדכי טאבאק
    wrote on last edited by
    #1

    my site is down and i wana backup my css, where is the css in the files of nodebb?

    dunlixD א שא 2 Replies Last reply
    0
  • dunlixD Offline
    dunlixD Offline
    dunlix GNU/Linux Gamers
    replied to יצחק מרדכי טאבאק on last edited by
    #2

    @יצחק-מרדכי-טאבאק css is part of the site config and it’s in the database

    A 1 Reply Last reply
    1
  • A Offline
    A Offline
    Avi Klaine
    replied to dunlix on last edited by
    #3

    @dunlix
    So how do you actually find it ?
    I just have the same question .

    dunlixD 1 Reply Last reply
    0
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    wrote on last edited by baris
    #4

    It is stored in the config object.

    > db.objects.findOne({_key: "config"}).customCSS 
    .best {
        background-color: #ff0000;
    }
    
    1 Reply Last reply
    5
  • dunlixD Offline
    dunlixD Offline
    dunlix GNU/Linux Gamers
    replied to Avi Klaine on last edited by
    #5

    @avi-klaine why can’t you just copy and paste from the css section of the acp?

    phenomlabP 1 Reply Last reply
    0
  • phenomlabP Offline
    phenomlabP Offline
    phenomlab
    replied to dunlix on last edited by phenomlab
    #6

    @dunlix you can, but didn't @Avi-Klaine say that their forum was down ?

    1 Reply Last reply
    1
  • א שא Offline
    א שא Offline
    א ש
    replied to יצחק מרדכי טאבאק on last edited by א ש
    #7

    @יצחק-מרדכי-טאבאק said in where can i find the Custom css in the files?:

    my site is down and i wana backup my css, where is the css in the files of nodebb?

    More precisely this is the right question
    The server has shut down
    And MONGODB has been damaged and we are currently unable to restart in any way
    The posts and users of the forum we understand are lost
    The question is whether CSS etc. is also lost
    Or it's fine we can find in the NODEBB folder

    phenomlabP 1 Reply Last reply
    0
  • phenomlabP Offline
    phenomlabP Offline
    phenomlab
    replied to א ש on last edited by
    #8

    @א-ש if your database is damaged, then immediate retrieval won't be possible. Do you at least have a backup of the database ? From the comment below around accepting the loss of posts and users, it doesn't seem to be the case.

    What I always do is take a copy of the CSS and keep it up to date in a text file outside of NodeBB.

    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