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)

msimplay 03-13-2004 08:01 PM

i want to add vbindex as my homepage but i need a couple of things
i need to be able to make vbindex a different width to the forum
the forum is set at 750 width but i want the vbindex to be 100% width
and also how do i go about putting the shoutbox underneath the welcome box
check the attachment to see what i mean

NTLDR 03-13-2004 09:48 PM

To make the width 100% just edit the VBINDEX template and change the width from $stylevar[tablewidth] to 100%.

To place the shoutbox under the welcome panel use $side[shoutbox] in the VBINDEX template where you want it. This should work.

Davey-UK 03-14-2004 08:55 PM

I am desperately trying to add a random image from my photo gallery into a custom box.

I am just guessing, but can this be done, as i know there are issues with Php includes.

phpinclude_start

ob_start();
require("http://www.mydomain.co.uk/forum/random.php");
$header = ob_get_contents();
ob_end_clean();

Then in the custom block

<php include ('http://www.mydomain.co.uk/forum/random.php')?>

It doesn't show anything in the box at all.
Can this be done??

Please help :disappointed:

NTLDR 03-14-2004 09:02 PM

You cannot use PHP in custom blocks untill the next version. Rename the $header variable in in the phpinlcude_start template with something like $randompic and then place that in the custom block.

Davey-UK 03-14-2004 09:55 PM

Quote:

Originally Posted by NTLDR
You cannot use PHP in custom blocks untill the next version. Rename the $header variable in in the phpinlcude_start template with something like $randompic and then place that in the custom block.

Thats great, but now i get this:
Code:

Warning: Unknown(): stream does not support seeking in /hsphere/local/home/conviction/mydomain.co.uk/forum/global.php(386) :
eval()'d code on line 3

Any ideas? Something to do with permissions?

NTLDR 03-14-2004 10:06 PM

I would guess its something inside the file your including thats causing the error.

keiser 03-15-2004 04:08 AM

Everything works, except the smilies won't show up in my shoutbox. Any ideas? What files or templates should I check?

There wasn't a smilie image path option in the stylevar image settings....

NTLDR 03-15-2004 09:58 AM

Quote:

In order for smilies to work on vBindex you will need to go into the Smilie Manager in the vBulletin Admin Control Panel and edit the smilies to use a full URL.

tobkat 03-16-2004 02:47 PM

NTLDR, do you approximediatly know, when you will release the next version ? It would bit great if News texts could be limited in lenght. The rest of the Text should only be availible in the forums. For example ... "blablabla .... for full story click here"

NTLDR 03-16-2004 05:29 PM

Sometime after vB3 Gold is released vBindex RC4 will be released which will have at minium a center block for latest threads and dynamic custom blocks.

The modification to limit news text can be found at Core Forums however as I've mentioned before due to BB Code it may not allways work very well.

msimplay 03-16-2004 08:02 PM

Quote:

Originally Posted by NTLDR
To make the width 100% just edit the VBINDEX template and change the width from $stylevar[tablewidth] to 100%.

To place the shoutbox under the welcome panel use $side[shoutbox] in the VBINDEX template where you want it. This should work.

thanks that worked :)

DrkFusion 03-16-2004 10:28 PM

Coding for this one is great. Works like a charm, have been using it since early beta. Congrats on a job well done!

afterglow 03-17-2004 10:10 AM

looks like i posted in the wrong forum earlier. i should have posted here. my problem is about installation. i can't get past Step 7..i get an error page. i
double checked everything and uploaded the files in the right place. i downloaded the version for vb 3 rc4 coz that's my forum version. i don't have an old vb. i got the latest so i can't understand why i'm getting this error. help please.

and oh btw, about the templates. do i have to edit them inside the Style Manager? i don't have templates to upload coz everything's inside the xml file.

afterglow

NTLDR 03-17-2004 10:16 AM

The templates listed for editing are part of the default vB style. The solution to your error has probably already been posted here, but unless you specify what it is no one can help you.

afterglow 03-17-2004 02:14 PM

ok, i checked all vbulletin folders and found no templates in any one of them except images inside cpstyles. the only place i know i could edit template is by going to the admin panel and then on to the Style Manager. Is this what u mean?

Now as for my problem, i have already stated them above. I can't install past Step 7. I get an error page everytime i get into this part. I followed the instruction though but can't understand why the installation stopped at Step 7. Could someone point me to the right place to look for solution?

thanks and regards,
Afterglow

NTLDR 03-17-2004 02:17 PM

Quote:

Originally Posted by afterglow
ok, i checked all vbulletin folders and found no templates in any one of them except images inside cpstyles. the only place i know i could edit template is by going to the admin panel and then on to the Style Manager. Is this what u mean?

Yes.

Quote:

Now as for my problem, i have already stated them above. I can't install past Step 7. I get an error page everytime i get into this part.
And the error message says?

afterglow 03-17-2004 03:29 PM

now, that's the problem, what was displayed is just another error page,
page not found. didn't say what the error was. really strange.

Afterglow

NTLDR 03-17-2004 03:31 PM

Make sure you have uploaded all the files to the correct directories.

P???t?l??k 03-18-2004 09:39 PM

I followed the readme and got to the install part and after several steps i got this error.

Warning: chdir(): No such file or directory (errno 2) in /home/hoski1/public_html/forums/vbindex.php on line 131

Can someone help me?

P???t?l??k 03-18-2004 09:52 PM

Now i'm getting this error.

Warning: chdir(): No such file or directory (errno 2) in /home/hoski1/public_html/vbindex.php on line 131

Warning: main(./global.php): failed to open stream: No such file or directory in /home/hoski1/public_html/vbindex.php on line 132

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hoski1/public_html/vbindex.php on line 132

NTLDR 03-18-2004 10:59 PM

You haven't done step 1, editing vbiconfig.php to include the full path to your forums.

Goat Boy 03-18-2004 11:43 PM

Everything looks great, good work. Just one question and I search through the templates trying to figure this out but I am not an expert at this although I managed to figure out allot by myself.

Here is my question, my web host has 6 hour time difference on the Calender it highlights the correct day according to the time offset, but on the top of the calender it advances a day 6 hours early, I cannot figure out which variable I would have to change in the templets to have it follow the time offset of the forums which I image would be what the user selects wouldn't it?

Thanks

P???t?l??k 03-18-2004 11:45 PM

How can i clear all entries from my database so i can start install fresh?

NTLDR 03-19-2004 08:52 AM

Quote:

Originally Posted by Goat Boy
Here is my question, my web host has 6 hour time difference on the Calender it highlights the correct day according to the time offset, but on the top of the calender it advances a day 6 hours early, I cannot figure out which variable I would have to change in the templets to have it follow the time offset of the forums which I image would be what the user selects wouldn't it?

I should show the calendar based on the users time, I'll look into this.

Goat Boy 03-19-2004 09:25 AM

Thanks, just so you know this is for both version of vb 2.X.X and 3.X.X so it is not
only this vbindex

P???t?l??k 03-19-2004 11:36 AM

ok i cleared my database and now the install went fine just about to step 7.
Once step 7 went thru it gave me page cannot be displayed.
I tried refreshing and this is the error that showed up.

Database error in vBulletin 3.0.0 Release Candidate 4:

Invalid SQL: INSERT INTO datastore (title) VALUES ('vbi_eventcache')
mysql error: Duplicate entry 'vbi_eventcache' for key 1

mysql error number: 1062


Just my luck :(

neocorteqz 03-20-2004 01:02 AM

Quote:

Originally Posted by P???t?l??k
ok i cleared my database and now the install went fine just about to step 7.
Once step 7 went thru it gave me page cannot be displayed.
I tried refreshing and this is the error that showed up.

Database error in vBulletin 3.0.0 Release Candidate 4:

Invalid SQL: INSERT INTO datastore (title) VALUES ('vbi_eventcache')
mysql error: Duplicate entry 'vbi_eventcache' for key 1

mysql error number: 1062


Just my luck :(

Easy to fix though, just a duplicate entery in the database.

to start over, execut the following SQL query
[sql]
DELETE FROM template WHERE title like LCASE('vbindex%')
AND title NOT like 'vbindex_extra_%';
[/sql]
you can always find more info at

http://www.coreforums.net/index.core?

just PM NTLDR here with the username you set up there to let em know your license status here.

paul_r 03-20-2004 07:20 PM

The problem i'm having is the images and link.

i've followed the walkthrough and everything went fine the templates are default ones so i used the html code from the zip file.
ran the installer and it created all the tables fine, except for the last bit the readme says.



Click next step and follow the instructions on screen. Eventually you'll get to a step near the end when you have to update your image paths. Make sure you edit these to make sure that the images on vBindex show correctly. If your button images are at http://www.mydomain.com/forums/images/buttons you would either enter that URL or /forums/images/buttons for that sepcific loaction.



But i didn't get this after it made it's last table the next screen was a 404 error

also this bit i'm confused on


A number of vBulletin templates need to be edited to make sure that the JavaScript and navbar links work correctly. (See the install instructions for details of example default templates that will work).
The following HTML tags should be checked and edit to have $vboptions[bburl]/ placed in front of the filename (e.g. login.php would become /login.php):

<form>
<a>
<script>

I have not a clue where to find these ?

The VBINDEX is there in the control panel drop down boxes and radio buttons bt no images i take it this is linked to the IMAGE path problem.

MindTrix 03-20-2004 08:10 PM

My installation messed up part way through but it seems to be working ok, except i cannot see the vbioptions.php as i get a database error. I think it mght be because it did not run the code for that section so is there any chance of gettin the code

NTLDR 03-20-2004 08:22 PM

Quote:

Originally Posted by paul_r
But i didn't get this after it made it's last table the next screen was a 404 error

Make sure you have uploaded all the files to the correct locations.

Quote:

also this bit i'm confused on
If you have used the templates from thr HTML files then you don't need to do this.

NTLDR 03-20-2004 08:27 PM

Quote:

Originally Posted by MindTrix
My installation messed up part way through but it seems to be working ok, except i cannot see the vbioptions.php as i get a database error. I think it mght be because it did not run the code for that section so is there any chance of gettin the code

The vBindex Options won't work untill the install process has been finished correctly. Take a look at the error and the query(s) to correct it will probably be in upgrade.php/upgrade1.php

vBindex 3.0.0 RC4 should be out next week which will have better support for re-installing.

MindTrix 03-20-2004 08:29 PM

i was installing it on GOLDcant get the errors now because i closed the window. Everything else works apart from that.

neocorteqz 03-20-2004 08:30 PM

Quote:

Originally Posted by paul_r
The problem i'm having is the images and link.

i've followed the walkthrough and everything went fine the templates are default ones so i used the html code from the zip file.
ran the installer and it created all the tables fine, except for the last bit the readme says.



Click next step and follow the instructions on screen. Eventually you'll get to a step near the end when you have to update your image paths. Make sure you edit these to make sure that the images on vBindex show correctly. If your button images are at http://www.mydomain.com/forums/images/buttons you would either enter that URL or /forums/images/buttons for that sepcific loaction.



But i didn't get this after it made it's last table the next screen was a 404 error

also this bit i'm confused on


A number of vBulletin templates need to be edited to make sure that the JavaScript and navbar links work correctly. (See the install instructions for details of example default templates that will work).
The following HTML tags should be checked and edit to have $vboptions[bburl]/ placed in front of the filename (e.g. login.php would become /login.php):

<form>
<a>
<script>

I have not a clue where to find these ?

The VBINDEX is there in the control panel drop down boxes and radio buttons bt no images i take it this is linked to the IMAGE path problem.

If you take a look at your navbar template (Navigation / Breadcrumb Templates)

anything with a <a>, <form>, or <script> tag

ie.
Code:

                <a href="/register.php?$session[sessionurl]">$vbphrase[register]</a></td>
Code:

<form action="/login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password)">
Code:

<script type="text/javascript" src="/clientscript/vbulletin_md5.js"></script>
you will need to edit these to add the '$vboptions[bburl]'

so it will look something like this

Code:

a href="$vboptions[bburl]/register.php?$session[sessionurl]">$vbphrase[register]</a></td>
If i recall correctly, there is a step in there to add phrases.

as for the images, i'll look at that in a sec

neocorteqz 03-20-2004 08:31 PM

Quote:

Originally Posted by NTLDR
Make sure you have uploaded all the files to the correct locations.



If you have used the templates from thr HTML files then you don't need to do this.


will that work with any template changes with the release of vB 3.0.0 ?

edit: this is working perfectly on the Gold release. :)

NTLDR 03-20-2004 08:37 PM

Quote:

Originally Posted by neocorteqz
will that work with any template changes with the release of vB 3.0.0 ?

edit: this is working perfectly on the Gold release. :)

According to Kier the only template thats changed in vB 3.0.0 (that vBindex uses) is the headinclude template, the following is an edited vB 3.0.0 one incase anyone has problems:

HTML Code:

<meta http-equiv="Content-Type" content="text/html; charset=$stylevar[charset]" />
<meta name="generator" content="vBulletin $versionnumber" />
<meta name="keywords" content="$vboptions[keywords]" />
<meta name="description" content="$vboptions[description]" />

<!-- CSS Stylesheet -->
$style[css]
<if condition="is_browser('opera')">
<style type="text/css">
ul, ol { padding-left:20px; }
</style>
</if>
<!-- / CSS Stylesheet -->

<script type="text/javascript">
<!--
var SESSIONURL = "$session[sessionurl]";
var IMGDIR_MISC = "$stylevar[imgdir_misc]";
// -->

</script>

<script type="text/javascript" src="$vboptions[bburl]/clientscript/vbulletin_global.js"></script>
<if condition="$show['popups']"><script type="text/javascript" src="$vboptions[bburl]/clientscript/vbulletin_menu.js"></script></if>


neocorteqz 03-20-2004 08:48 PM

Quote:

Originally Posted by NTLDR
According to Kier the only template thats changed in vB 3.0.0 (that vBindex uses) is the headinclude template, the following is an edited vB 3.0.0 one incase anyone has problems:

HTML Code:

<meta http-equiv="Content-Type" content="text/html; charset=$stylevar[charset]" />
<meta name="generator" content="vBulletin $versionnumber" />
<meta name="keywords" content="$vboptions[keywords]" />
<meta name="description" content="$vboptions[description]" />

<!-- CSS Stylesheet -->
$style[css]
<if condition="is_browser('opera')">
<style type="text/css">
ul, ol { padding-left:20px; }
</style>
</if>
<!-- / CSS Stylesheet -->

<script type="text/javascript">
<!--
var SESSIONURL = "$session[sessionurl]";
var IMGDIR_MISC = "$stylevar[imgdir_misc]";
// -->

</script>

<script type="text/javascript" src="$vboptions[bburl]/clientscript/vbulletin_global.js"></script>
<if condition="$show['popups']"><script type="text/javascript" src="$vboptions[bburl]/clientscript/vbulletin_menu.js"></script></if>


Not having problems. but thanks. :) I'm sure this will be in the upcoming update. odd, i'm not having problems, yet the $vboptions[bburl] is not anywhere in that template. heh.

edit, is this post bleeding off the table border?? using mozilla.

NTLDR 03-20-2004 08:53 PM

Quote:

Originally Posted by neocorteqz
Not having problems. but thanks. :) I'm sure this will be in the upcoming update. odd, i'm not having problems, yet the $vboptions[bburl] is not anywhere in that template. heh.

edit, is this post bleeding off the table border?? using mozilla.

As your running vBindex in the name directory as the forums then the template edits don't effect you :)

The Quote, Code, HTML and PHP BB Codes seem to have some problems mainly with Mozilla where the text expands past the border for the box its in.

neocorteqz 03-20-2004 09:01 PM

Quote:

Originally Posted by NTLDR
As your running vBindex in the name directory as the forums then the template edits don't effect you :)

The Quote, Code, HTML and PHP BB Codes seem to have some problems mainly with Mozilla where the text expands past the border for the box its in.

ahh, thanks.

paul_r 03-20-2004 09:03 PM

Quote:

Originally Posted by neocorteqz
If you take a look at your navbar template (Navigation / Breadcrumb Templates)

anything with a <a>, <form>, or <script> tag

ie.
Code:

                <a href="/register.php?$session[sessionurl]">$vbphrase[register]</a></td>
Code:

<form action="/login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password)">
Code:

<script type="text/javascript" src="/clientscript/vbulletin_md5.js"></script>
you will need to edit these to add the '$vboptions[bburl]'

so it will look something like this

Code:

a href="$vboptions[bburl]/register.php?$session[sessionurl]">$vbphrase[register]</a></td>
If i recall correctly, there is a step in there to add phrases.

as for the images, i'll look at that in a sec

right it works fine and bombs out when it trys to import the vbindex templates

is there a way to add these manually ?

its just bombing out at step 6

NTLDR 03-20-2004 09:08 PM

Quote:

Originally Posted by paul_r
right it works fine and bombs out when it trys to import the vbindex templates

If the installer fails to import the templates correctly then use the Upload Style tool in the Admin CP to overwrite your style with the vbindex_templates.xml file. This will add the vBindex templates to your existing style.


All times are GMT. The time now is 08:12 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.02444 seconds
  • Memory Usage 1,868KB
  • 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
  • (9)bbcode_code_printable
  • (2)bbcode_html_printable
  • (18)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