MyBB Community Forums

Full Version: mybb_adminnav instead of makenavoption()
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I was thinking that making a table called mybb_adminnav with 3 columns called: url, text, and type

the url would represent the link href in the link, and the text would represent the text in the link, if the type was equal to option.

If type was equal to catagory, then it would just use the text and output the text as a catagory.

So, for example

URL | TEXT | TYPE

-- "" | "Board Settings" | "Catagory"

- "settings.php?action=change" | "Change" | "Option"
- "settings.php?action=add" | "Add new Setting" | "Option"
- "plugins.php" | "Plugin Manager" | "Option"

-- "" | "Forum Management" | "Catagory"

- "forums.php?action=add" | "Add new Forum" | "Option"
- "forums.php?action=modify" | "Manage Forums " | "Option"
- "announcements.php?action=modify" | "Forum Announcements " | "Option"
- "forumpermissions.php" | "Permissions " | "Option"


ect.. Your get the idea Smile