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)

trafix 01-08-2005 10:00 PM

Dual Admin Navigation
 
This Hack will add a second menu to the admin area of your forum thus giving you a new menu for your hack functions while keeping the main navigation menu in its original state.

I posted 2 screenies, one from each menu :)

4 new phrases

3 file edits

Support for this hack will be given here!

Enjoy

P.S. Please click install ;)

shadiguy1 01-09-2005 03:54 AM

i see this is for 3.0.5 will it work with 3.0.3 ?

trafix 01-09-2005 03:56 AM

i presume that it will work for earlier versions, however the upgrade to 3.0.5 is criticle and should be done to fill the security hole.

Floris 01-09-2005 04:05 AM

Nice job! You're back on track trafix.

trafix 01-09-2005 04:18 AM

Tnx Floris :)

trafix 01-09-2005 08:16 AM

Just a thought...

Alternativly you could re arrange the menus so that the function that you use most are on the 1st menu and the least used functions are on the second :)

You may need to change the wording for the nav text drop box

Oblivion Knight 01-09-2005 08:30 AM

Didn't you post this before the HTL was released? ;)

It's a cool idea, but IIRC there aren't that many hacks on vB3 that add a whole new option block on the Admin CP menu.. Arcade, uShop and possibly vB Journal. There may be others that I've not installed though.

Zachery 01-09-2005 08:31 AM

Quote:

Originally Posted by Oblivion Knight
Didn't you post this before the HTL was released? ;)

It's a cool idea, but IIRC there aren't that many hacks on vB3 that add a whole new option block on the Admin CP menu.. Arcade, uShop and possibly vB Journal. There may be others that I've not installed though.

All of the vBa hacks do now as well

trafix 01-09-2005 08:34 AM

Quote:

Originally Posted by Oblivion Knight
Didn't you post this before the HTL was released? ;)

It's a cool idea, but IIRC there aren't that many hacks on vB3 that add a whole new option block on the Admin CP menu.. Arcade, uShop and possibly vB Journal. There may be others that I've not installed though.

Yep i did code it for vb3 beta ... but not here .... ive released it now :)

Yep i realise that there arnt many at the moment that adds admin nav functions, but im sure more will be developed in the future ;)

BarHopper 01-09-2005 10:46 AM

Nice hack, but too late for me, i'd have to re-do things.

trafix 01-09-2005 10:50 AM

sorry to hear that :(

but if it is only admin link codes that you have added to your index.php then it should be easy to install this hack and move the code from the first menu code to the second one :)

PixelFx 01-10-2005 10:29 PM

thanks I was looking for someone to make this, works great on 3.0.5

bishop93 01-11-2005 01:42 AM

The only thing that I see, installed on 3.0.3, is that when you go from one menu to the other (regardless of main to hack or hack to main), in the right hand window is shown the menu panel itself again.

Maybe I slipped up in the code somewhere, but I don't see it.

However, regardless of this little complaint (and it's not really a complaint, seriously!), this is an awesome hack that just cleaned up my admin section tremendously. Great, amazing, awesome hack here!!!

trafix 01-11-2005 07:35 AM

Quote:

Originally Posted by bishop93
The only thing that I see, installed on 3.0.3, is that when you go from one menu to the other (regardless of main to hack or hack to main), in the right hand window is shown the menu panel itself again.

Maybe I slipped up in the code somewhere, but I don't see it.

However, regardless of this little complaint (and it's not really a complaint, seriously!), this is an awesome hack that just cleaned up my admin section tremendously. Great, amazing, awesome hack here!!!

hmm, not sure y it is doing that for .... but it was designed to keep your admin area tidy so i suppose you could call it "Great, amazing, awesome" :)

Thanks .... Enjoy!

bishop93 01-11-2005 09:19 PM

I've discovered that it only happens in Firefox. In Explorer, it works perfectly without a hitch at all.

trafix 01-11-2005 09:37 PM

Quote:

Originally Posted by bishop93
I've discovered that it only happens in Firefox. In Explorer, it works perfectly without a hitch at all.

I'm glad we worked that one out :)
tnx

trafix 01-16-2005 11:21 PM

Any problems installing this one .... any suggestions on possible additions?

Rhoads 01-26-2005 07:54 AM

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.

trafix 01-26-2005 08:00 AM

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.

thx ... i will look into it further .. i have noticed it happening on my dev site but it hasnt worried me .... i will find a fix ;)

Rhoads 01-26-2005 08:24 AM

Quote:

Originally Posted by trafix
thx ... i will look into it further .. i have noticed it happening on my dev site but it hasnt worried me .... i will find a fix ;)

Oke thnx trafix, it's not a big problem for me ;)

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 07:39 PM.

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.01912 seconds
  • Memory Usage 1,809KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (30)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete