Results 1 to 2 of 2

Thread: Adding link in vb Navbar via plugin/hook system

  1. #1
    Join Date
    Oct 2007
    Posts
    103

    Default Adding link in vb Navbar via plugin/hook system

    Hi,

    I want to add a link to my Links Directory in my vbulletin navbar, but I don't want to have to edit the vb navbar template. Could someone tell me how to add a plugin to the Links Directory product for this? Or, if someone has a better idea that I haven't mentioned, I'm all ears

    thanks!

  2. #2
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,466

    Default Re: Adding link in vb Navbar via plugin/hook system

    If you add a new plugin to the 'global_setup_complete' hook location with the following code it should do the trick.

    PHP Code:
    $template_hook['navbar_buttons_right'] .= '<td class="vbmenu_control"><a href="/links/index.php' $vbulletin->session->vars['sessionurl_q'] . '">Links</a></td>'

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. plugin system?
    By carney in forum Troubleshooting & Problems
    Replies: 1
    Last Post: 08-04-2007, 08:23 AM
  2. Random Banner Plugin Hook Location
    By zooki in forum Troubleshooting & Problems
    Replies: 6
    Last Post: 03-14-2007, 07:01 AM
  3. Setting up a Plugin/Hook to perform this action?
    By bhxtyrant in forum "How Do I..." Questions
    Replies: 2
    Last Post: 10-08-2005, 06:28 PM
  4. Remove one file edition on adminfuntions_template.php using Plugin System
    By deathemperor in forum Module & Modification Discussion & Requests
    Replies: 0
    Last Post: 09-21-2005, 11:43 PM
  5. Does CMPS 2.x use the 3.5 plugin system?
    By dodgez in forum "How Do I..." Questions
    Replies: 4
    Last Post: 07-20-2005, 08:48 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •