Skip to content

Answers

User documentation for NodeBB

44 Topics 44 Posts
  • Appearance and Design: Adding a logo and favicon

    1
    0 Votes
    1 Posts
    117 Views
    Jay MoonahJ
    Your logo can been added as both an image within the main header of your forum and as a 'favicon' which will appear within the browser address bar, tab or or next to the site name in bookmarks. To start, you'll need a square version of your logo in JPEG or PNG format. Open the administrative dashboard using the 'gear' icon on your forum Then go to the Settings > General menu. Scroll down until you see Site Logo on the left side.  Right of this is a button to upload your logo. Below that, you can add a URL link for the logo . When you are done, be sure to click the Save settings button at the bottom of the screen. Add a favicon using the same logo image Convert your logo into ICO format, which is a standard used by web browsers and other programs for icon images. There are a number of free online converters that will do this, such as favicon-generator.org. This site allows you to create a number of different types of icon files, but in this case we will only need a 16 x 16 version which is standard for the web. Make this selection, and then upload your logo. The site will convert this into a favicon that you can download and save. Return to your forum settings and upload your new favicon, and then save settings again. Your logo will now be featured on your forum, both on the page and within the browser. [image: youtubelogo.png] Adding a logo and favicon for your NodeBB forum
  • Admin Control Panel: Activating search feature

    1
    0 Votes
    1 Posts
    115 Views
    Jay MoonahJ
    NodeBB comes with a built-in search plugin known as DB Search. This is a simple full text search that will work well for most forums. Open the administrative dashboard using the 'gear' icon on your forum. Go to Plugins > Install Plugins. From the Installed tab, type dbsearch into the search. Select activate. Note that you need to restart your forum, which can be done from the dashboard. If your forum has existing posts, you'll want to make sure these are indexed for search. After restart, select Plugins > DB Search, and hit the Reindex button. You should only need to do this once, since any new posts will automatically be added to the index. Note that a direct link to the advanced search can be added to your forum by going to the General > Navigation menu in admin.  From here, you can select options for this link, including limiting it to only certain users. [image: youtubelogo.png] Activating search for your NodeBB forum
  • Admin Control Panel: Accommodating search optimization/SEO

    1
    0 Votes
    1 Posts
    80 Views
    Jay MoonahJ
    NodeBB provides global controls for title tags and metadata via the Settings > General menu. There are also category-specific settings that can be customized by category if desired. Custom metadata tags can also be added via the Appearance > Customize > Custom Content (HTML/JS/CSS) menu.
  • Admin Control Panel: Force User Login

    1
    0 Votes
    1 Posts
    75 Views
    Jay MoonahJ
    Hide content from non-logged in users and redirect them to the login page. Log into your forum as an Admin Open the Admin Control Panel, you can do this via the gears icon or by appending "/admin" to your forum URL Open the "Appearance > Custom Content (HTML/JS/CSS)" page Select the Custom Javascript tab Paste in the following code: $(document).ready(function () { function redirectAnon () { if (!app.user.uid && document.location.pathname !== '/login') { document.location = config.relative_path + '/login'; } } $(window).on('action:ajaxify.end', redirectAnon); redirectAnon(); });​ Click the Diskette icon to the bottom right of the page to save Select the Dashboard menu Restart your NodeBB instance