Mind blowing SEO improving and Google rank increasing Signature Rotator SEO Tool.

Thread: 

Control Panel Quick Links MYBB How To Add?

Ads
antony Offline referral

Posts: 478
Joined: Jul 2013
Reputation: 5

#1
Senior Member
In MYBB User Control Panel (CP) there are Messenger, Your Profile, Miscellaneous categories with many links in them. How do I add a new category with a few links in it? Do I need a plugin for that or it can be done with a simple template edit?
marcus_avrelius Offline referral

Posts: 2,424
Joined: May 2013
Reputation: 102

#2
Support Team
Hi, no need to install plugins it can be done by simply editing your template!

Go to your MYBB Admin Control Panel (ACP) >> Templates & Style >> Templates >> Your Custom Template >> User Control Panel Templates >> usercp_nav_misc

And add this code at the end of the HTML code:

PHP Code:
<tr>
    <
td class="tcat">
        <
div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['usercpmisc']}.gif" id="usercpmisc_img" class="expander" alt="[-]" title="[-]" /></div>
        <
div><span class="smalltext"><strong>Category Title</strong></span></div>
    </
td>
</
tr>
<
tbody>
    <
tr><td class="trow1 smalltext"><a href="Link URL" class="usercp_nav_item usercp_nav_mycategory_1">Link Text</a></td></tr>
</
tbody

Rename this text:

Category Title
Link Text
Link URL


Now create an icon image save it as mycategory_1.png and upload it to ./images/usercp folder.

Lastly add this code to your global.css:

PHP Code:
.usercp_nav_mycategory_1 {
    
backgroundurl("/images/usercp/mycategory_1.png"no-repeat scroll left center;






User(s) browsing this thread: 1 Guest(s)