vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Placing the whole VB board in another template? (https://vborg.vbsupport.ru/showthread.php?t=99292)

larry_wic 10-25-2005 05:08 PM

Placing the whole VB board in another template?
 
I'm struggling with this...

I have my website that has its own template.
I added the VB to my existing website.
I want VB to fit inside my existing template.

I do not want to add a header or footer or side bar...
I want the WHOLE vb to operate as-is inside my existing template.

Now, I know I can edit the FORUM_HOME template and the
FORUM_DISPLAY template... to get my desired results.

BUT that is only the home page and the main thread pages.
ITS not ALL of the vb pages.

Isn't there "ONE" template that is the main template, that all other templates are based off of?

yes, no?

If yes, which one?
If no, besides the FORUM_HOME and FORUM_DISPLAY... what are the other forums that I need to edit?

Thanks!!!
Larry

larry_wic 10-25-2005 06:58 PM

thanks James...

but I don't think that will work.
that does appear to be the "last" place VB goes out.... BUT

the existing VB templates have header and other "stuff" that can't appear in the body tags of a web page.

So even if I could make it work, I would still need to go edit many templates (of which I don't know which to change)


I'm guessing I will have to do plan B.... just go edit each template file individually :(

WHich leads to the second question....

What does each of the templates do?
Is there not a "Description" list of the templates?

Right now, you have to guess the what the name is saying.
Open it. Look at the code or view the code (display it) and see what it is.
If its what you think it is... edit it.
IF not, leave it alone and move to the next template.

Long Process....
there has got to be a better way :)

THANKS

Sinistra 10-25-2005 07:53 PM

If your site is using tables you can add your forum into a new templade Put the opening table code in the header and the finishing table code in the footer. so here is how it would look

Header code
Code:

<table width="100%"  cellpadding="0" cellspacing="0">
<tr>
<td>Logo info gose here and navebar if  you have a custon navbar</td>
<td>
<!-- content table -->
$spacer_open

$_phpinclude_output

Footer Code
at the bottom of all the HTML put
Code:

</td>
<td>the rest of your site footer will go here</td>
</tr>
</table>

sorry I don't have an exaple to show you but this should help you out in some way ^_^

larry_wic 10-25-2005 08:35 PM

YES. YES. YES!!!!!

Thank You Lord!!!
:)

I was not thinking clearly.... Didn't think you can use the header/footer in that way!!!!

kept thinking the top - VB - bottom but the html code is not linear :)
not sure that made since... BUT I get it!!!

THANK YOU!!!!


All times are GMT. The time now is 05:19 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.01021 seconds
  • Memory Usage 1,722KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete