vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Dual Admin Navigation (https://vborg.vbsupport.ru/showthread.php?t=74043)

PixelFx 01-27-2005 11:56 PM

I've had the same problems above with IE but put up with it cause it was badley needed :)

djjeffa 02-04-2005 09:01 PM

Quote:

Originally Posted by drl2005
Hi trafix, wonderfull hack, thnx to you.

I have a little problem, when I push near the text on the Refresh Current Menu button, the menu is then comming into my admin index, see screens :

The First is not good.
The second screen is good.

great hack but its doiing that to me too, also now how do i put all my hacked optiond on ther cause the still all show on the main and in the hack there are none yet.

trafix 02-04-2005 09:19 PM

you have to edit the index.php and move the admin menu code to between

// ********************* Add hack nav function code below here *********************

// ********************* Add hack nav function code above here *********************

Thanatos 02-23-2005 05:28 AM

Any word on the fix for this?

Jenta 03-08-2005 01:57 PM

what i think it needs is target="_self' but not sure how to add that in php files

PHP Code:

construct_nav_option2(construct_phrase($vbphrase['hack_menu']), 'index.php?do=nav2''<br />'); 



PHP Code:

construct_nav_option2(construct_phrase($vbphrase['hack_menu']), 'index.php?do=nav2 target="_self"''<br />'); 

? :nervous: not sure if it will do the " properly

Revan 04-04-2005 06:23 PM

[high]* Revan installs :)
[/high]
I severely need this for RPG Integration Hack, because it is adding a number of option groups equal to a fair portion of the native vB ;)
Also, to fix the bug with it duplicating:
In includes/adminfunctions_navpanel, find
PHP Code:

$options[] = "\t\t<div class=\"navlink-normal\" onclick=\"nav_goto('$url$sessionlink');\" onmouseover=\"this.className='navlink-hover';\" onmouseout=\"this.className='navlink-normal'\"><a href=\"$url$sessionlink\"$bubblefix target=\"nav\">$title</a>$_extra</div>\n"

Replace with
PHP Code:

$options[] = "\t\t<div class=\"navlink-normal\" onclick=\"location='$url$sessionlink';\" onmouseover=\"this.className='navlink-hover';\" onmouseout=\"this.className='navlink-normal'\"><a href=\"$url$sessionlink\"$bubblefix target=\"nav\">$title</a>$_extra</div>\n"

- works for me :)

Rhoads 04-18-2005 09:21 PM

Quote:

Originally Posted by Revan
[high]* Revan installs :)
[/high]
I severely need this for RPG Integration Hack, because it is adding a number of option groups equal to a fair portion of the native vB ;)
Also, to fix the bug with it duplicating:
In includes/adminfunctions_navpanel, find
PHP Code:

$options[] = "\t\t<div class=\"navlink-normal\" onclick=\"nav_goto('$url$sessionlink');\" onmouseover=\"this.className='navlink-hover';\" onmouseout=\"this.className='navlink-normal'\"><a href=\"$url$sessionlink\"$bubblefix target=\"nav\">$title</a>$_extra</div>\n"

Replace with
PHP Code:

$options[] = "\t\t<div class=\"navlink-normal\" onclick=\"location='$url$sessionlink';\" onmouseover=\"this.className='navlink-hover';\" onmouseout=\"this.className='navlink-normal'\"><a href=\"$url$sessionlink\"$bubblefix target=\"nav\">$title</a>$_extra</div>\n"

- works for me :)

Thnx, it's works for me too :squareeyed:

eXtremeTim 04-19-2005 05:13 AM

Great hack. I will be installing soon. Seeing as my acp side nav is more than double the original size already. ;)

tomshawk 06-03-2005 11:34 PM

Has anyone got this working in 3.0.7

this is the error I get

Fatal error: Call to undefined function: construct_nav_option2() in /home/techunit/public_html/forums/admincpdir/index.php on line 549

this is line 549
Code:

construct_nav_option2(construct_phrase($vbphrase['refresh_current']), 'index.php?do=nav', '<br />');
Any help would be greatly appriciated

Never mind, I'm an idiot!!!

Thank you for an excellent hack

clicked install of course ;)

sabret00the 07-04-2005 03:27 PM

was gonna pm you but couldn't :( but wondered if you plan to port this to 3.5 or if you'd allow someone else to do so?


All times are GMT. The time now is 10:48 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.01175 seconds
  • Memory Usage 1,755KB
  • 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
  • (1)bbcode_code_printable
  • (6)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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