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)
-   -   vBindex v3.0.0 RC5 (https://vborg.vbsupport.ru/showthread.php?t=59524)

Caspartheghost 02-04-2004 11:56 AM

Quote:

Originally Posted by NTLDR
ACP -> Style Manager -> Click '<<>>' for each parent style -> find the templates in the list.

Nice one, found it! thx :)

Ok, finished the install but the vbindex.php shows me this when I try and view it.

Quote:

Warning: main(./global.php) [function.main]: failed to create stream: No such file or directory in d:\accounts\wbprimary\forum\vbindex.php on line 132

Fatal error: main() [function.main]: Failed opening required './global.php' (include_path='.;c:\php4\pear') in d:\accounts\wbprimary\forum\vbindex.php on line 132

Caspartheghost 02-04-2004 11:57 AM

Quote:

Originally Posted by DestinyIslands
There's 48 pages .. can you link me to the right reply?

I think it's this... :)

Quote:

Optional File Edit: vBindex Options Link in the ACP
----------------------------------------------------

Optionally you can do the following edit to your ACP's index.php (forums/admin/index.php or /forums/admincp/index.php):

Find:

construct_nav_option(construct_phrase($vbphrase['x_options'], 'vBulletin'), 'options.php?null=0', '<br />');

Add after it:

construct_nav_option(construct_phrase($vbphrase['x_options'], 'vBindex'), 'vbioptions.php?', '<br />');

This will show a link to vBindex Options, just under the vBulletin Options one.

Caspartheghost 02-04-2004 11:58 AM

re: problem on post #711

I'm running

WINNT / PHP v4.3.1
v4.0.13-nt

fly 02-04-2004 12:01 PM

Quote:

Originally Posted by NTLDR
Assuming you haven't added extra lines I'd guess the error is on the line that looks like this:

PHP Code:

$servername 'localhost'

If it looks OK in vbiupgradecore.php find:

PHP Code:

if (PHP_VERSION  >= '4.3.0') {
    $config = str_replace(array('<?php', '?>'), array('', ''), file_get_contents('../includes/config'.SCRIPT_EXTENSION));
} else {
    @ob_start();
    readfile('../includes/config'.SCRIPT_EXTENSION);
    $config = @ob_get_contents();
    @ob_end_clean();
    $config = str_replace(array('<?php', '?>'), array('', ''), $config);
}
eval($config);
unset($config);
chdir('../'.$admincpdir);

And replace with:

PHP Code:

chdir('../ACP_DIR_HERE'); 

Replacing ACP_DIR_HERE with the name of your admin directory, ie admin or admincp

That did it!

mossyuk 02-04-2004 12:53 PM

i have done the bit that says to add construct_nav_option(construct_phrase($vbphrase['x_options'], 'vBindex'), 'vbioptions.php?', '<br />');

However, although the link seems to work (it creates a new row in the table in the admincp), its blank so its:

MENU NAV BOX
Options (title + image)
vBulletin Options (first row)
('blank' row that links to vBindex options)
END OF NAV BOX

fly 02-04-2004 01:10 PM

Quote:

Originally Posted by mossyuk
i have done the bit that says to add construct_nav_option(construct_phrase($vbphrase['x_options'], 'vBindex'), 'vbioptions.php?', '<br />');

However, although the link seems to work (it creates a new row in the table in the admincp), its blank so its:

MENU NAV BOX
Options (title + image)
vBulletin Options (first row)
('blank' row that links to vBindex options)
END OF NAV BOX

I'm having the same problem.

mossyuk 02-04-2004 01:26 PM

Also - I know its possible to add a dynamic page - but that looks hard. Is it not possible to use an include to pull a PHP page kinda like an IFrame would do?

Caspartheghost 02-04-2004 01:44 PM

Ok, finished the install but the vbindex.php shows me this when I try and view it.

Quote:

Warning: main(./global.php) [function.main]: failed to create stream: No such file or directory in d:\accounts\wbprimary\forum\vbindex.php on line 132

Fatal error: main() [function.main]: Failed opening required './global.php' (include_path='.;c:\php4\pear') in d:\accounts\wbprimary\forum\vbindex.php on line 132
I'm running

WINNT / PHP v4.3.1
v4.0.13-nt

any ideas?

mossyuk 02-04-2004 01:47 PM

have you changed the CH_DIR variable to fit your site, in vbiconfig.php (if thats a bit sketchy, its in the READ_ME.TXT)

Caspartheghost 02-04-2004 01:56 PM

Quote:

Originally Posted by mossyuk
have you changed the CH_DIR variable to fit your site, in vbiconfig.php (if thats a bit sketchy, its in the READ_ME.TXT)

yeah, I copied and pasted it:

define('CHDIR_PATH', 'd:\\accounts\\wbprimary\\forum\\install');


but just to check...why does it point to the install DIR?


All times are GMT. The time now is 01:30 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.02964 seconds
  • Memory Usage 1,750KB
  • 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
  • (3)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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