Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 10-25-2005, 05:08 PM
larry_wic larry_wic is offline
 
Join Date: Jul 2005
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 10-25-2005, 06:58 PM
larry_wic larry_wic is offline
 
Join Date: Jul 2005
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #3  
Old 10-25-2005, 07:53 PM
Sinistra's Avatar
Sinistra Sinistra is offline
 
Join Date: Jun 2005
Posts: 190
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ^_^
Reply With Quote
  #4  
Old 10-25-2005, 08:35 PM
larry_wic larry_wic is offline
 
Join Date: Jul 2005
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!!!!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:47 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03813 seconds
  • Memory Usage 2,183KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete