vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vbArticles (https://vborg.vbsupport.ru/forumdisplay.php?f=106)
-   -   [Fixed] Upgrade problem (https://vborg.vbsupport.ru/showthread.php?t=77024)

MikeeX 02-25-2005 02:12 PM

[Fixed] Upgrade problem
 
Hey guys :)

I had the old version and now upgrading to the new one. I guess this file was overwritten in between this time

admincp/index.php

I don't have "find this code"



PHP Code:

############################## VBARTICLES HACK #############################
    
construct_nav_spacer();
    
construct_nav_option('Article Manager''vbarticles.php?do=modify''|');
    
construct_nav_option('View All Articles''vbarticles.php?do=viewall');
    
construct_nav_option('Add New Article''vbarticles.php?do=preadd');
    
construct_nav_option('Category Manager''vbarticles.php?do=modifycat''|');
    
construct_nav_option('Add New Category''vbarticles.php?do=addcat');
    if(
$vboptions['validatevbartcomments'])
    {
        
construct_nav_option('Validate Comments''vbarticles.php?do=validatecomment');
    }
    
construct_nav_group('Articles''<hr />');
    
construct_nav_spacer();
 
// ########################### END OF VBARTICLES HACK ######################## 

So of course I can't update this code with what you want me to. Where do I place this new code? What linenumber?

Thanks for your help!

KTBleeding 02-25-2005 02:40 PM

You can actually put it anywhere in there.. as long as it's after one of the if functions..
I have mine right below this: (which is where the file edits suggested)
Code:

// cache nav prefs
        can_administer();

        construct_nav_spacer();


MikeeX 02-25-2005 02:41 PM

KT!

Thank you very much for the response. Wasn't sure if I could just put it anywhere. I'll continue with my install now.

Thanks again :)

KTBleeding 02-25-2005 02:42 PM

No problem. :)
Good luck.


All times are GMT. The time now is 01:01 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.01225 seconds
  • Memory Usage 1,717KB
  • 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
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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