jfb-nav-bar [Jcink.com Wiki]

Nav Bar Overview

The navigation bar is an often overlooked section of the forum. Though it has several powerful features for more advanced users looking to customize their forums. One feature is that admins can edit the link names of the links featured in the navigation bar. Which can be useful for admins to add additional touches to their forums. Though additional uses for this are:

  • linking to categories;
  • specific forums;
  • specific topics;
  • pages from the webpage maker;
  • Or any of the various mods.

For a graphic representation of where the Nav bar is, look here(in the CSS guide) for the section marked “Submenu” on the index images. Admins who wish to hide the nav bar can do so by looking for #submenu in the CSS and putting “display:none;” in it.

Enabling Custom Nav Bar

Before an admin can use any of the features of the Navigation Bar, it must first be enabled. To do that:

  1. In the left side of the ACP, click “System Settings” to expand the section (if not already done)
  2. Then click “General Configuration”
  3. On the page that loads, scroll down to the “Global Settings” header and change the first option (“Use global bar manager to set up your navigation links?”) to “Yes”
  4. Then click “Submit Changes” at the bottom of the page.

Adding new links

Important note - You will not be able to add any links until you have turned the custom navigation setup on once already. If you have not done that, go ahead and turn it on first.

  1. In the left of the ACP, click “System Settings” to expand the section (if not already done)
  2. Then click “Navigation Bar Set-up”
  3. On the page that loads, you will see a list of the basic links. At the bottom, click the “Add New Link” button.
  4. On the next page, it will ask for several options. “Display” is where the new link will be added. The higher the number, the further to the right it will be. (For example, if this is the 6th link then 6 is the absolute right.)
  5. The next box “Image Name” is where you put the url for the image that sits beside the link. Though you do not need to put an image if you don't want to.
  6. The next box, “Link Name” is what will appear in the bar for a name so the users know what it is. It is a good idea to use as brief but descriptive names as you can to avoid too much clutter in the nav bar.
  7. In the 4th box, “Link URL” this is where you place the URL. You do not need to place anything before the index.php? though. The reason is that the board will automatically add that in. If you add it, it will force the user to go to that specific link. Which is an issue if you have alternate domains set up. (EX- if they use yoursite.jfbs.net and you put in yoursite.b1.jcink.com then it will force them to the b1.jcink.com link.)
  8. In the 5th box, “Window Type?” this allows you to choose how the link functions. Whether you want the link you're adding to open in the same window, a new one, or in a popup.
  9. The final two options (“Popup Width” and “Popup Height”) allow you to set the dimensions of the popup. However it only applies if you select “Popup” in the previous box. Otherwise this has no bearing and can safely be left blank.
  10. When you have the above info filled out to desired specifications, click “Add Link” and the link will be added to the nav bar. You will automatically be redirected to the navigation setup's main page.

To find the specific urls for each format:

  • linking to categories - go to “Forum Control” then “Manage Forums” then hover over the category name and it should give the url of the category. (It will look like: “index.php?c=#”);
  • Specific forums - Locate the forum from the index, enter the forum and check the URL bar. The format will be “index.php?showforum=#” and you want the number listed at the end;
  • specific topics - Follow the same procedure for finding forums, just enter the topic and get the topic number from the end of the URL bar. (like your forum's rules ex- index.php?showtopic=#);
  • pages from the webpage maker - In the ACP, go to “Skins & Templates” then “Webpage maker” then click the web page name. The format will be “index.php?act=Pages&pid=#”;
  • Or any of the various mods.

Editing a link

  1. In the left of the ACP, click “System Settings” to expand the section (if not already done)
  2. Then click “Navigation Bar Set-up”
  3. On the page that loads, you will see a list of the basic links. Beside each one is a text link marked “Edit”, click it for the link you want to edit. (See Note 1)
  4. On the page that loads, which will look identical to the one used to create the link, you can make the required edits.
  5. When you're finished, click the “Edit Link” button and it will be saved and you'll be directed back to the navigation setup's main page.

Note

  1. You can edit any of the links, even ones provided already by the system.

Removing a Link

  1. In the left of the ACP, click “System Settings” to expand the section (if not already done)
  2. Then click “Navigation Bar Set-up”
  3. On the page that loads, you will see a list of the basic links. Beside each one is a text link marked “Delete”, click it for the link you want to remove.
  4. When the page automatically reloads, the link will be removed

Warning! There is no warning confirmation asking if you really want to delete the link. So make sure that you really do want to delete it before clicking the link.

Disabling Custom Nav Bar

  1. In the left side of the ACP, click “System Settings” to expand the section (if not already done)
  2. Then click “General Configuration”
  3. On the page that loads, scroll down to the “Global Settings” header and change the first option (“Use global bar manager to set up your navigation links?”) to “No”
  4. Then click “Submit Changes” at the bottom of the page.

When the Custom Nav bar is disabled it will default to whatever was installed/enabled before. (So if you had the store mod enabled but removed it with the custom nav bar option, disabling the custom nav bar will cause that link to return. )

Important Note - The settings saved while the custom nav bar was enabled are not lost when they are turned off. They can still be accessed and edited even after you have turned it off.

 
jfb-nav-bar.txt · Last modified: 2017/03/04 13:18 by jcink