View Full Version : Add more links in modcp listings
ProFifaLeagues
06-19-2011, 09:17 PM
Is there a way i can add some more links to external sites that we use for our forums ??
Ideally in the mod cp area so mods have quick links for them.
Thanks for the help in advance :)
LifesGreatestGift
06-19-2011, 10:47 PM
To create new links in ModCP do the following
AdminCP>Plugins & Products>Add New Plugin>
Product: vBulletin
Hook Location: mod_index_navigation
Title: ModCP Links
Execution Order: 5 (default)
Plugin PHP Code:
construct_nav_option('Link1', 'link.php');
construct_nav_option('Link2', 'link2.php');
construct_nav_option('Google', 'http://www.google.com');
construct_nav_group('Links of Interest');
construct_nav_spacer();
Plugin is Active: Yes
Click Save
-----------------------------------------
To change the title of the navigation block edit Links of Interest above.
To add more navigation items just copy the construct_nav_option('Link1', 'link.php'); line, edit the Link1 for link title, and link.php for link location. Add as many as you'd like.
ProFifaLeagues
06-19-2011, 10:49 PM
Thank you very much
LifesGreatestGift
06-19-2011, 10:49 PM
screenshot attached to my previous post :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.