vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Advanced Navbar (add navbars & links, display it anywhere) (https://vborg.vbsupport.ru/showthread.php?t=115806)

Developer 05-17-2006 01:53 PM

Sorry, due to exams, i have to study hard these days & i'll not present on the net except some days i'll remove some non working functions unill i have time
sorry again :(

maroceve 05-17-2006 02:07 PM

Allright...hope u ace that stuff !

Developer 05-17-2006 02:37 PM

1.0.1 On 17. May 2006 Fix Table prefix problem & remove some non working functions

louis_chypher 05-17-2006 02:53 PM

advanced_navbar.php

line 227-240

changed to:

switch($vbulletin->GPC['order'])
{
case 'name':
$order = TABLE_PREFIX . 'advnavbar_links.linkname';
break;
case 'id':
$order = TABLE_PREFIX . 'advnavbar_links.linkid';
break;
case 'status':
$order = TABLE_PREFIX . 'advnavbar_links.linkstatus';
break;
default:
$order = TABLE_PREFIX . 'advnavbar_links.linkorder';
}

bashy 05-17-2006 03:03 PM

Hi peeps

I aint had no errors from Atakan KOC addition,
Working well :)

JD45 05-17-2006 03:37 PM

Quote:

Originally Posted by Atakan KOC
Problem Fix Files

Thanks for the fix...:)

louis_chypher 05-17-2006 03:41 PM

The, I hope, last issue I am trying to solve is having the quick links contents displayed in the navbar when I enable the product. ?shrug?

JD45 05-17-2006 03:51 PM

Atakan, I'm still getting this error when trying to view links. Any suggestions?

Code:

Invalid SQL:

                SELECT *
                FROM vb_advnavbar_links
               
               
                ORDER BY advnavbar_links.linkorder DESC
                LIMIT 0, 10;

MySQL Error  : Unknown table 'advnavbar_links' in order clause


Quarterbore 05-17-2006 04:00 PM

I will have to try this...

As a note, I threw the following out as a suggestion for a way to navigate between various user profile pages that might be on a site... Am I correct that this hack would work for this?

See:

https://vborg.vbsupport.ru/showthread.php?t=115306

If so, you are my hero!

Atakan KOC 05-17-2006 04:05 PM

Quote:

Originally Posted by JD45
Atakan, I'm still getting this error when trying to view links. Any suggestions?

Code:

Invalid SQL:

                SELECT *
                FROM vb_advnavbar_links
               
               
                ORDER BY advnavbar_links.linkorder DESC
                LIMIT 0, 10;

MySQL Error  : Unknown table 'advnavbar_links' in order clause



Find advanced_navbar.php

PHP Code:

 switch($vbulletin->GPC['order'])
        {
                case 
'name':
                      
$order 'advnavbar_links.linkname';
                      break;
                case 
'id':
                      
$order 'advnavbar_links.linkid';
                      break;
                case 
'status':
                      
$order 'advnavbar_links.linkstatus';
                      break;
                default:
                
$order 'advnavbar_links.linkorder';
        } 

REPLACE

PHP Code:

 switch($vbulletin->GPC['order'])
        {
                case 
'name':
                      
$order TABLE_PREFIX .'advnavbar_links.linkname';
                      break;
                case 
'id':
                      
$order TABLE_PREFIX .'advnavbar_links.linkid';
                      break;
                case 
'status':
                      
$order TABLE_PREFIX .'advnavbar_links.linkstatus';
                      break;
                default:
                
$order TABLE_PREFIX .'advnavbar_links.linkorder';
        } 



All times are GMT. The time now is 11:34 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01115 seconds
  • Memory Usage 1,754KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete