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)
-   -   [HTL] Hack Tracking Log (https://vborg.vbsupport.ru/showthread.php?t=60735)

KuraFire 01-26-2004 10:47 PM

Quote:

Originally Posted by Zelda-King
KuraFire: Your instructions did the trick. Many thanks! I thought I'd better say that in this thread so people know it wasn't a fault with the hack script at all. Very impressive support!

Hey, it's just cos I know my script inside out ;)

I'm glad it did the trick, I would've been in trouble if that hadn't been the problem :D

^_^ And I'm glad you like the HTL! :)

squawell 01-26-2004 11:08 PM

hello Kura..i already test it on my another computer and it work now BUT when i refrash my admin cp i got below error message:
PHP Code:

Fatal errorCall to undefined function: construct_nav_option2() in C:\Apache Group\Apache2\htdocs\forum\admincp\index.php on line 450 

the line 450 is
PHP Code:

construct_nav_option2($vbphrase['htl_cphome_refresh_current_menu'], 'index.php?do=nav' iif($thisnav!='vb' AND $vboptions['htl_use_dual_nav'], '&amp;hacksnav=1'), '<br />'); 

any idea?

PS:im use ur new update zip file.

Link14716 01-26-2004 11:12 PM

Did you edit includes/adminfunctions_navpanel.php?

madhouse 01-26-2004 11:15 PM

Got the same error messege , well on the same lines kinda....

Fatal error: Call to undefined function: construct_nav_option2() in /home/madhouse/public_html/forum/admincp/index.php on line 500

And yes I have edited the includes/adminfunctions_navpanel.php

KuraFire 01-26-2004 11:31 PM

IF YOU HAVE THIS PROBLEM:

Code:

Call to undefined function: construct_nav_option2()
You PROBABLY mis-placed the file edit in adminfunctions_navpanel.php!

The file edit in adminfunctions_navpanel.php has to go BELOW this:
PHP Code:

       </script>
        <?php
    
        
echo $controls $_NAV $_controls;
    
     }

Pay close attention to the closing bracket:
}

it all has to go BELOW that!


This is *most likely* what you did wrong - paste the new code 2 lines too high. :)

Link14716 01-26-2004 11:35 PM

I personally still have a "Make vB.org Post" error with the text for the modified stuff:
https://vborg.vbsupport.ru/showthread.php?p=469032

I redownloaded the zip and uploaded the new hackadmin.php and even tried modifying it to work myself with little luck.

madhouse 01-26-2004 11:36 PM

Sorry KuraFire ,

I have it exactly like you said

</script>
<?php

echo $controls . $_NAV . $_controls;

} <<<<<<<-----------\

right after the bracket

Link14716 01-26-2004 11:41 PM

Personally, I dropped it under this code:
PHP Code:

// ###################### Start makenavoption #######################
function construct_nav_option($title$url$extra '')
{
// creates an <option> or <a href for the left-panel of index.php
// (depending on value of $cpnavjs)
// NOTE: '&$session[sessionurl]' will be AUTOMATICALLY added to the URL - do not add to your link!
    
global $session$options;
    static 
$sessionlink$bubblefix;

    if (!isset(
$options))
    {
        
$options = array();

        if (
$session['sessionurl'] == '')
        {
            
$sessionlink '';
        }
        else
        {
            
$sessionlink "&amp;s=$session[sessionhash]";
        }

        
// only include the bubble-fix for IE - ignore when encountering the Konqueror/Safari event model
        
if (is_browser('ie'))
        {
            
$bubblefix ' onclick="nobub()"';
        }
        else
        {
            
$bubblefix '';
        }
    }

    
$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>$title</a>$_extra</div>\n";


and it works perfectly.

madhouse 01-27-2004 12:02 AM

Tried it that way too link and still same error in the admin panel nav.

Its calling the error on the index.php , which keeps talking about the
construct_nav_option2()

For some reason it just does not like this at all...

KuraFire 01-27-2004 12:03 AM

Quote:

Originally Posted by Link14716
I personally still have a "Make vB.org Post" error with the text for the modified stuff:
https://vborg.vbsupport.ru/showthread.php?p=469032

I redownloaded the zip and uploaded the new hackadmin.php and even tried modifying it to work myself with little luck.

oh christ, don't tell me I made a typo in the updated zip's hackadmin.php.....


... ++++! I did... :(

*sighs and updates again*


All times are GMT. The time now is 11:35 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.01422 seconds
  • Memory Usage 1,759KB
  • 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
  • (4)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
  • (2)pagenav_pagelinkrel
  • (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