vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   mYvBindex v3.1 (https://vborg.vbsupport.ru/showthread.php?t=44691)

PKRWUD 04-15-2003 10:23 PM

My site is on a shared server. What can I do?

o0stephane0o 04-16-2003 12:10 PM

Change server...
That´s what I had to do..

kerpen 04-17-2003 04:07 AM

I tried this but it loads incredibly slowly even when there's very little load on my server. Any idea why? Even when I disable many feaqtures to reduce queries it takes a really long time. Page is ehre:
http://cross-x.com/home/indextest.php

Tigga 04-17-2003 04:15 AM

That's strange. It should load in less than 1 second most of the time. Could you put your board in debug mode and show me the results of an explain=1 on that page?
In case you're not sure what I mean, you would open your admin/config.php. Right before the ?> at the end of that file, add the code:
$debug="1";
Then upload that file and go to the url - http://cross-x.com/home/indextest.php?explain=1
If you wouldn't mind doing that and pasting the results of that page here I'll be glad to take a look and see if I can figure out why it's loading so slow.

Airs 04-17-2003 04:58 AM

Quote:

12-04-02 at 05:29 AM Tigga said this in Post #196
alkatraz - No, that wouldn't be hard at all. At the very bottom of the myvbindex.php file look inbetween the following lines:

PHP Code:

if ($showcustom2) {
  
$getbgrow=getrowcolor();
  eval(
"\$custom2 = \"".gettemplate('index_custom2')."\";");


And:
PHP Code:

$getbgrow=getrowcolor();
eval(
"dooutput(\"".gettemplate('index')."\");");

?> 

In that space you can add code for it to call more custom templates. You would just add something like the following:

PHP Code:

eval("\$custom3 = \"".gettemplate('index_custom3')."\";"); 

The variable $custom3 there can be called whatever you would like and would be what you would use in the index template to call that template. Then the part index_custom3 should be renamed to whatever you are calling your new template. Also, if you would like to be able to use the $getbgrow function in that template to alternate between your firstaltcolor & secondaltcolor, you should add the following above that code as it is with the others.

$getbgrow=getrowcolor();


Hi im using the recent version of myvbb and i tried this and it dosent work it is pretty simple and im very sure i did it right..but it dosent show up in the admin panel? what am i doing wrong? thnx in advance!.

Tigga 04-17-2003 05:05 AM

With that method of adding more custom templates, there's no need to turn them on or anything in the Admin CP. Just add the variables in the index template and it should work fine. Or if you particularly want to be able to turn them off let me know and I'll post instructions on how to do that.

Airs 04-17-2003 05:37 AM

Quote:

Today at 06:05 AM Tigga said this in Post #1076
With that method of adding more custom templates, there's no need to turn them on or anything in the Admin CP. Just add the variables in the index template and it should work fine. Or if you particularly want to be able to turn them off let me know and I'll post instructions on how to do that.

Not sure if you understood me right >< what i wanted to do was add extra templates so i could write up more content to link from the main page to another index with a diffrent nav pertaining to the section etc..etc..u know running everything off myvbb. But i have no idea how to put more templates in the myvbb template area ><

kerpen 04-17-2003 04:21 PM

Quote:

Today at 05:15 AM Tigga said this in Post #1074
That's strange. It should load in less than 1 second most of the time. Could you put your board in debug mode and show me the results of an explain=1 on that page?
In case you're not sure what I mean, you would open your admin/config.php. Right before the ?> at the end of that file, add the code:
$debug="1";
Then upload that file and go to the url - http://cross-x.com/home/indextest.php?explain=1
If you wouldn't mind doing that and pasting the results of that page here I'll be glad to take a look and see if I can figure out why it's loading so slow.

Thanks:

http://cross-x.com/indextestexplain.html

I commented out the new posts query and it made a big difference.

Tigga 04-17-2003 10:33 PM

Airs - I'm still not sure I follow you here... Are you just trying to add more "boxes" to your myvbindex page that will have links in them? Or are you saying you want more pages like the myvbindex page but with different content replacing the news or something to that effect?

kerpen - Check your PMs. :)

PKRWUD 04-18-2003 12:28 AM

Tigga-
Just wondering if you got my PM. The problem came back.

Also, because I just felt like being really stupid, I tried what you suggested above (the debug thing), and it wiped out my admin/config file, and did something else so that my server decided I was instantly 800mb's over my limit, which made it so that I couldn't copy my backup admin/config file to the admin folder. It was a very lively 10 minutes before I decided to try moving it instead of copying it. That worked. Anyway, check your PM's.

:)


All times are GMT. The time now is 06:04 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.02092 seconds
  • Memory Usage 1,755KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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