MyBB Community Forums

Full Version: Making something a header
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello! I am quite new to mybb (forums in general really) and have been trying to make a link a header. However, I only want the link to be accessed by the header and not by browsing through the forums. For instance I don't want people to get to the link by going forums->community->general discussion-> (then whatever the link may be)
I just want the header to be forums->(link). Do you understand?
in general we use template conditionals plugin for such requirements.

basically top links are coded in the header template of the theme & they appear on all pages

to make a link appear only on the index page,
with the template conditionals plugin installed, we use code like below
<if THIS_SCRIPT == "index.php" then>
--- required code which will be shown on the index ---
</if>

[templates guidance]