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)

Tigga 12-06-2002 05:22 PM

mv540 - If you'll refer to posts 194 & 196 in this thread that's already been explained. Either of those ways will work and should be pretty simple, but if you have any problems let me know.

mv540 12-06-2002 07:17 PM

this question i just asked recently is diferent, i got the index forum to work so when people register or sign in the see the portal...i just want to know basickly how to add more tables if thats what they are called..but ill have a looks see and check if thats what im looking for..

thanks for the help..

mv540 12-06-2002 07:29 PM

Quote:

Originally posted by 350Chevy
alkatraz,

I would imagine you would just change this

Code:

// Custom Boxes
$custom1='';
$custom2='';
if ($showcustom1) {
  $getbgrow=getrowcolor();
  eval("\$custom1 .= \"".gettemplate('index_custom1')."\";");
}
if ($showcustom2) {
  $getbgrow=getrowcolor();
  eval("\$custom2 .= \"".gettemplate('index_custom2')."\";");
}

to something like this...

Code:

// Custom Boxes
$custom1='';
$custom2='';
$custom3='';
$custom4='';
$custom5='';
if ($showcustom1) {
  $getbgrow=getrowcolor();
  eval("\$custom1 .= \"".gettemplate('index_custom1')."\";");
}
if ($showcustom2) {
  $getbgrow=getrowcolor();
  eval("\$custom2 .= \"".gettemplate('index_custom2')."\";");
}
if ($showcustom3) {
  $getbgrow=getrowcolor();
  eval("\$custom3 .= \"".gettemplate('index_custom3')."\";");
}
if ($showcustom4) {
  $getbgrow=getrowcolor();
  eval("\$custom4 .= \"".gettemplate('index_custom4')."\";");
}
if ($showcustom5) {
  $getbgrow=getrowcolor();
  eval("\$custom5 .= \"".gettemplate('index_custom5')."\";");
}

And create templates for each.

Then edit the 'index' template located under mYvBindex Templates and add $custom3, $custom4, $custom5 where ever you want the templates to be displayed.

ok i really dont understand this, in the INDEX template of myvbindex i dont see // custom boxes...

Tigga 12-06-2002 07:34 PM

That would be because it's in the myvbindex.php file, not a template. ;)

mv540 12-06-2002 07:36 PM

DAMIT!...lol

mv540 12-06-2002 07:45 PM

k found the php file, how do i rename it or open it to edit it..??

Tigga 12-06-2002 07:50 PM

What do you mean? You would open it or rename it with a text editor just like you would any other file.

mv540 12-06-2002 07:59 PM

i would just rename it like the config.php file..when i need to edit that i name it config.php.new correct?

mv540 12-06-2002 08:00 PM

its ok im gonna use the 2 custom index ones that are already in there...much easier..lol..thanks

Tony DiMera 12-07-2002 12:03 AM

How would you set up the cookie domain if the vbindex homepage is at www.yoursite.com and your board is it forums.yoursite.com Most likely .yoursite.com correct? What if later on I put in a second board(witha second license of course) at <u>subdomain.yoursite.com/forums/</u> and a vbindex at <u>subdomain.yoursite.com</u>, how would i set up the cookie domains for both boards and what would i put in place where it has a / for both boards?


All times are GMT. The time now is 07:35 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.02479 seconds
  • Memory Usage 1,735KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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