Helpful Information
 
 
Category: vbArticles
[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"




/ ############################## 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!

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)
// cache nav prefs
can_administer();

construct_nav_spacer();

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 :)

No problem. :)
Good luck.










privacy (GDPR)