Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
Advanced Navbar Links Details »»
Advanced Navbar Links
Version: 2.0.2, by harmor19 harmor19 is offline
Developer Last Online: May 2023 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.6.4 Rating:
Released: 07-06-2006 Last Update: 04-24-2007 Installs: 466
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

Author: Andrew Harmor
Version: 2.0.2
File Edits: 0
Template Edits: 2
Difficulty: Easy


Description:
You can add links or multiple menus to the navbar quickly through a form. Specify which usergroups can see each link via the permissions system.


F.A.Q.
Q: Why aren't the links showing?
A: Edit the link in your Admin CP and check the usergroup permissions

Q: All the links I made from the last version are gone
A: Go into phpmyadmin and select your vbulletin database.
Browse the table named "custom_droplinks". Change all the "catid's" with 0 to 1.
Go into your ACP --> Advanced Navbar Links --> Modify/Delete The links should show up under the first category. You can edit the links from here and select a different category to place it in.

Q: How do I get the links to appear on vBAdvanced?
A: Go into your ACP --> vBa CMPS --> Default Settings
Look for "Portal Output Global Variables". Add the following into the text area.
Code:
custom_singlelinks
custom_droplinks
custom_droplinks_cat


If you install this mod please press the "Install" button.

--Change Log--
1.0.0 - Initial Release

1.0.1 - took out the code that automatically added HTML to the navbar. I thought having it do it automatically was cool but can be annoying because you can't easily customize the class or placement

2.0.0 - Added the functionality to add multiple drop down menus

2.0.1 - Added missing table prefixes

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #282  
Old 08-13-2007, 01:40 PM
bandanafz1's Avatar
bandanafz1 bandanafz1 is offline
 
Join Date: May 2007
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there,

I'm struggling to get this mod installed, I am using VB 3.6.8

When I import the XML file I get database errors, these were caused for the custom_droplinks and custom_singlelinks tables. Both the tables already existed so I backed them up (despite both having zero records) and then dropped each. Importing the XML has created them again without any errors but the I am stumped by the next error:-

Quote:
CREATE TABLE `custom_droplinks_cat` (
`catid` INT( 20 ) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY , `title` VARCHAR( 100 ) NOT NULL , `permissions` VARCHAR( 100 ) NOT NULL , `display` TINYINT( 2 ) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE = MYISAM ;;

MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'ENGINE = MYISAM' at line 6
Error Number : 1064
Apologies if this has been mentioned previously... I am looking back through the thread to try to find what the problem is - any help will be much appreciated.

DAN
Reply With Quote
  #283  
Old 08-13-2007, 02:11 PM
bandanafz1's Avatar
bandanafz1 bandanafz1 is offline
 
Join Date: May 2007
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bandanafz1 View Post
Hi there,

I'm struggling to get this mod installed, I am using VB 3.6.8

When I import the XML file I get database errors, these were caused for the custom_droplinks and custom_singlelinks tables. Both the tables already existed so I backed them up (despite both having zero records) and then dropped each. Importing the XML has created them again without any errors but the I am stumped by the next error:-



Apologies if this has been mentioned previously... I am looking back through the thread to try to find what the problem is - any help will be much appreciated.

DAN
I think I have fixed it, certainly the XML has imported OK...

I found this http://www.phpizabi.net/index.php?L=...barticle&id=27

That suggests for older versions of MYSQL (mine is 4.0.16) the ENGINE command is not recognised, the command TYPE should be used for backwards compatibility.
Reply With Quote
  #284  
Old 08-18-2007, 11:40 AM
cynthetiq's Avatar
cynthetiq cynthetiq is offline
 
Join Date: Jul 2005
Location: NYC
Posts: 190
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cynthetiq View Post
Thanks alot! I haven't created my menus but
and here I was wondering why I wasn't getting any answers... I didn't finish my thought apparently.

I'm using a custom skin, navbar has been moved to the header and I followed the discussion and put one edit int he header and the other in the navbar. It works great.

what I need to now do is make sure that every time I add a new link a spacer gets added nav_div.gif.

PHP Code:
  <td class="h_nav"><a href="faq.php$session[sessionurl_q]accesskey="5">$vbphrase[faq]</a></td>
    <
td><img src="$stylevar[imgdir_misc]/nav_div.gif" alt="" /></td>
  <
td class="h_nav"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
    <
td><img src="$stylevar[imgdir_misc]/nav_div.gif" alt="" /></td>
  <
td class="h_nav"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
$custom_droplinks_cat
$custom_singlelinks
    
<td><img src="$stylevar[imgdir_misc]/nav_div.gif" alt="" /></td
Also I need to adjust the class="" since it colorizes the added menu item. Where do I find that to edit? I've looked in the templates I can find which is just the custom_droplinks_cat, custom_singlelinks, custom_droplinks, but there is no class for me to edit there. Please see attached image for example.

Thanks
Reply With Quote
  #285  
Old 08-21-2007, 01:19 AM
cynthetiq's Avatar
cynthetiq cynthetiq is offline
 
Join Date: Jul 2005
Location: NYC
Posts: 190
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I figured out how to do the customer_droplinks_cat and get the nav.gif there by editing that particular template. It works. I also found the class I needed to adjust and inserted it into the $custome_singlelinks as well.

Hoever, I cannot get the $custom_singlelinks since that is all that is in the custom_singlelinks template. I tried editing the XML file by adding
PHP Code:
<td><img src="$stylevar[imgdir_misc]/nav_div.gif" alt="" /></td
to the line:
Code:
 
$custom_singlelinks .= "<td class='h_nav'>$img<a href='".$slink['url']."' target='$new' title='".$slink['alt']."'>".$slink['name']."</a></td>";
Anyone know how I can add this to the $custom_singlelinks?
Reply With Quote
  #286  
Old 08-25-2007, 06:04 AM
Konstantinos Konstantinos is offline
 
Join Date: Apr 2006
Posts: 443
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

links dont show up in the arcade as already mentioned
Reply With Quote
  #287  
Old 08-25-2007, 09:00 PM
PimvanJ PimvanJ is offline
 
Join Date: Jan 2006
Location: Netherlands
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Konstantinos View Post
links dont show up in the arcade as already mentioned

Edit the functions.php (/arcade/functions/)

Find:

function do_output($output_array)
{
global $header, $vbphrase, $vboptions, $stylevar, $headinclude, $bbuserinfo, $session, $show, $pmbox,

Replace:

function do_output($output_array)
{
global $header, $vbphrase, $vboptions, $stylevar, $headinclude, $bbuserinfo, $session, $show, $pmbox, $custom_singlelinks,
Reply With Quote
  #288  
Old 08-31-2007, 12:12 AM
Atsuko Atsuko is offline
 
Join Date: Jan 2005
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello!

I installed this plugin for headder.
I only using dropdown links.

When I install this plugin, there is no problem.
But later I back to the site, I found that the small triagles have gone,
so can not pull down the menu for the link.

Then I install the plugin again, there is no problem...

Please advice to fix this.

Thank you!
Reply With Quote
  #289  
Old 09-01-2007, 07:20 AM
Konstantinos Konstantinos is offline
 
Join Date: Apr 2006
Posts: 443
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there any way for the hack to support javascript links . so far it doest i want to use this

Code:
javascript:openRadioStations()".
for the radio hack. any idea how to do it ?
Reply With Quote
  #290  
Old 09-01-2007, 09:36 AM
harmor19 harmor19 is offline
 
Join Date: Apr 2005
Posts: 1,324
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You cannot use javascript.
Reply With Quote
  #291  
Old 09-03-2007, 04:25 AM
Atsuko Atsuko is offline
 
Join Date: Jan 2005
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello!

I have unistalled vB Database Backup Pro, then the trouble of droplinks are fixed.

I still want to use vB Database Backup Pro, so I am happy if you give some advice for it.

One more question.

For the droplink, when I put in another site's URL, no jump to the page.
Whe the URL is same sith forum, no problem.

Please help to fix it!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:55 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07350 seconds
  • Memory Usage 2,325KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (2)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete