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)

NTLDR 02-03-2004 06:02 PM

Quote:

Originally Posted by gmarik
NTLDR
Can not figure out the Affiliate block.
It should be something like smilies categorys, misc. categorys, different ones shown on different pages. At least think about the block idea, ok?!

You just add the links into a custom block, as I said a simple template edit and nothing more.

NTLDR 02-03-2004 06:03 PM

Quote:

Originally Posted by flypaper
Hmmmm

Tried to run the fresh install file and got this error:

Code:

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in ./vbiupgradecore.php(47) : eval()'d code on line 26

Parse error: parse error in ./vbiupgradecore.php(47) : eval()'d code on line 102



 
Unable to add cookies, header already sent.
File: ./vbiupgradecore.php(47) : eval()'d code
Line: 26

Any ideas guy(s)?

Re-uploade vbiupgradecore.php if you still have the problem then something is wrong in your config.php file.

MischiefThought 02-03-2004 06:28 PM

Hey NT, I have attached a screen shot to better explain what i am trying to do. This must be done (On my end) in order to complete the design :(.

Is there anyway at all to edit these side blocks?

fly 02-03-2004 06:30 PM

Quote:

Originally Posted by NTLDR
Re-uploade vbiupgradecore.php if you still have the problem then something is wrong in your config.php file.

Reuploaded, still got the same error. Any idea what could be wrong in my config.php file? The file is pretty straight forward, unless maybe it has something to do with my ID being unalterable...

NTLDR 02-03-2004 06:36 PM

Quote:

Originally Posted by MischiefThought
Hey NT, I have attached a screen shot to better explain what i am trying to do. This must be done (On my end) in order to complete the design :(.

Is there anyway at all to edit these side blocks?

Thats not vBindex.

NTLDR 02-03-2004 06:39 PM

Quote:

Originally Posted by flypaper
Reuploaded, still got the same error. Any idea what could be wrong in my config.php file? The file is pretty straight forward, unless maybe it has something to do with my ID being unalterable...

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

GsxrTony 02-03-2004 06:46 PM

Ok I've ran into every problem listed in this thread and lost at least an inch off my hairline. I've done every fix in here. I'm down to what I hope is my last problem, I'm only getting a white blank page as my index pagenow. Anybody know the fix to this, I've been working on this and reading this thread for 5 hours now.

Someone should really make an FAQ for this thread. My god reading through 600 plus posts to find a specific problem is getting really hard.

SandsUSA 02-03-2004 07:32 PM

Quote:

Originally Posted by GsxrTony
Ok I've ran into every problem listed in this thread and lost at least an inch off my hairline. I've done every fix in here. I'm down to what I hope is my last problem, I'm only getting a white blank page as my index pagenow. Anybody know the fix to this, I've been working on this and reading this thread for 5 hours now.


Someone should really make an FAQ for this thread. My god reading through 600 plus posts to find a specific problem is getting really hard.

When I was at that point (blank page) it was because I had no vbindex templates in my current style. Added them manually and suddenly the page was blank no longer. :)

dpakman91 02-03-2004 08:15 PM

the install went well, just a couple questions...i haven't touched any of my templates yet, wanted to ask first. i can't imagine i overwrite the three templates that must be edited with what is in the html files, since for example in the headinclue.html file, there is only this:

$style[css]

a little help on what exactly i need to do to the templates would be great.

NTLDR 02-03-2004 08:54 PM

Quote:

Originally Posted by dpakman91
the install went well, just a couple questions...i haven't touched any of my templates yet, wanted to ask first. i can't imagine i overwrite the three templates that must be edited with what is in the html files, since for example in the headinclue.html file, there is only this:

$style[css]

a little help on what exactly i need to do to the templates would be great.

You need to copy the contents of the file, not whats shown in the web browser.

NTLDR 02-03-2004 08:56 PM

Quote:

Originally Posted by GsxrTony
Ok I've ran into every problem listed in this thread and lost at least an inch off my hairline. I've done every fix in here. I'm down to what I hope is my last problem, I'm only getting a white blank page as my index pagenow. Anybody know the fix to this, I've been working on this and reading this thread for 5 hours now.


Someone should really make an FAQ for this thread. My god reading through 600 plus posts to find a specific problem is getting really hard.

If you have finished the install process without any errors and the vBindex templates (VBINDEX, vbindex_somename) are not in your style then use the style importer in the ACP to import the vbindex_templates.xml file into your style.

If the templates exist then you haven't edited vbiconfig.php correctly.

dpakman91 02-03-2004 09:10 PM

Quote:

Originally Posted by NTLDR
You need to copy the contents of the file, not whats shown in the web browser.

i'm an idiot. :rolleyes:
thanks.

dpakman91 02-03-2004 09:15 PM

ok, i set up all my templates...the problem i'm having is that all that shows up on my vbindex home is the welcome box...what am i doing wrong?

check it out www.thevividedge.com/vbindex.php

NTLDR 02-03-2004 09:16 PM

Untill you setup the options for vBindex thats all that will display.

dpakman91 02-03-2004 10:37 PM

Quote:

Originally Posted by NTLDR
Untill you setup the options for vBindex thats all that will display.

ahh, i just eralized i selected what i wanted on and off but didnt' go through the "box" selections...how can i get back into the vbindex setup? i don't see anythign listed for it in my admincp.

GsxrTony 02-03-2004 10:39 PM

Quote:

Originally Posted by NTLDR
If you have finished the install process without any errors and the vBindex templates (VBINDEX, vbindex_somename) are not in your style then use the style importer in the ACP to import the vbindex_templates.xml file into your style.

If the templates exist then you haven't edited vbiconfig.php correctly.


Hey thanks, that was the problem :D


My front page is up. Now I gotta go back through here and find out how to resize some of the boxs, I would like the center colums to be larger and the side colums to be smaller.

My test site is tonyspage.net if you have any ideas how to do that it would be appreciated.

-Tony

gmarik 02-04-2004 12:20 AM

Quote:

Originally Posted by MischiefThought
Hey NT, I have attached a screen shot to better explain what i am trying to do. This must be done (On my end) in order to complete the design :(.

Is there anyway at all to edit these side blocks?

Would you be interested in exchanging
the blocks and add-ons? PM me if interested, ok?!

Lost Prophesy 02-04-2004 01:51 AM

I messed up my image path, where do I edit them in my Admin CP??

Found it nvm!

Great hack clicks install

- LP

mknott 02-04-2004 11:28 AM

Is it possiable to get pages that i have created to be shown inbetween the left and right coloms (where the news / welcome is)

Caspartheghost 02-04-2004 11:32 AM

I'm trying to install this and following the install instructions it says to edit these two files:

navbar.html
pm_popup_script.html

Where are these two places to edit?

I've already edited the 'headinclude' by cut and pasting the text from headinclude.html.

I'm on vb3rc3


EDIT: I also got this error, all the way through the install steps:

Quote:

Notice: Constant SCRIPT_EXTENSION already defined in d:\accounts\wbprimary\forum\install\vbiupgrade2.ph p on line 33

NTLDR 02-04-2004 11:38 AM

Quote:

Originally Posted by mknott
Is it possiable to get pages that i have created to be shown inbetween the left and right coloms (where the news / welcome is)

There is a link to the extra page tutorial in the first post.

NTLDR 02-04-2004 11:39 AM

Quote:

Originally Posted by Caspartheghost
I'm trying to install this and following the install instructions it says to edit these two files:

navbar.html
pm_popup_script.html

Where are these two places to edit?

I've already edited the 'headinclude' by cut and pasting the text from headinclude.html.

I'm on vb3rc3


EDIT: I also got this error, all the way through the install steps:

You do exactly the same for the navbar and pm_popup_script as you have done for the headinclude one. You can ignore the notice that appeared during the install as its not important.

NTLDR 02-04-2004 11:40 AM

Quote:

Originally Posted by dpakman91
ahh, i just eralized i selected what i wanted on and off but didnt' go through the "box" selections...how can i get back into the vbindex setup? i don't see anythign listed for it in my admincp.

http://www.mydomain.com/forum/admin/vbioptions.php where admin is your ACP directory.

Caspartheghost 02-04-2004 11:43 AM

Quote:

Originally Posted by NTLDR
You do exactly the same for the navbar and pm_popup_script as you have done for the headinclude one. You can ignore the notice that appeared during the install as its not important.


Ok, but where are these two?..within admincp?

NTLDR 02-04-2004 11:44 AM

They are templates just like headinlcude.

DestinyIslands 02-04-2004 11:45 AM

If I wanted to add this to my vBOptions so I don't have to type ..../admincp/vbioptions.php ... what would I have to do?

NTLDR 02-04-2004 11:47 AM

You can't, vBindex's options aren't compatible with vB's. Search the thread and you'll find the details for Gamma/RC1/RC2/RC3 to add the vBindex Options link in the ACP.

Caspartheghost 02-04-2004 11:49 AM

Quote:

Originally Posted by NTLDR
They are templates just like headinlcude.

Within Style Manager -> my chosen style -> Common Templates. where the headerinclude is located...

All I have for editable regions are:

header
headinclude
footer
phpinclude_start
phpinclude_end


am I just being daft, but where else would they be?

NTLDR 02-04-2004 11:51 AM

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

DestinyIslands 02-04-2004 11:54 AM

There's 48 pages .. can you link me to the right reply?

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 03:59 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.02667 seconds
  • Memory Usage 1,855KB
  • 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
  • (26)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
  • (40)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