vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   using better includes? (https://vborg.vbsupport.ru/showthread.php?t=148760)

Mark Carras 06-02-2007 11:01 PM

using better includes?
 
So my vbulletin message center in the admin panel is telling me that...
Quote:

There are currently 19 customized template(s) that need to be updated or reverted. Some sections of vBulletin may not function if you do not do this!
I know what is causing this. It is because I currently use an include within an iframe to place the header on each forum the way I want it. I know that is a horrid way to archive this, but it was the only way I could get it to work in a way that integrates with the rest of the website.

So now it looks like I need to try once again to figure out how to do this other style of includes. Anybody with tons of patience brave enough to help me?

Here is a sample of the code I use for one of the band forums I host.

Code:


<a name="top"></a>

<a name="top"></a>
<IFRAME NORESIZE="NORESIZE" FRAMEBORDER="0" WIDTH="100%" HEIGHT="260" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="NO" BGCOLOR="#000000" SRC="http://www.rockmymonkey.com/x/InThisMomentForumInclude.php"></iframe>

<!-- content table -->
$spacer_open

$_phpinclude_output


Mark Carras 06-06-2007 03:02 AM

Nobody has any help on this?

Dismounted 06-06-2007 09:41 AM

Have you upgraded vBulletin recently? If you have, it means you haven't put in the new required changes.

Mark Carras 06-08-2007 03:13 AM

Quote:

Originally Posted by Dismounted (Post 1262396)
Have you upgraded vBulletin recently? If you have, it means you haven't put in the new required changes.

Yes, it was after the last update that it told me the info above.

Dismounted 06-08-2007 10:15 AM

You will need to look in the release threads and make the required template changes.

Mark Carras 06-09-2007 08:34 PM

Quote:

Originally Posted by Dismounted (Post 1264011)
You will need to look in the release threads and make the required template changes.

I don't think you understand my question. If I wanted to just revert back to the standard look I would just click that button. I need to include a header just like I do now. The problem is that my current method does not use the Sever Side Include method that this board uses.

What I am looking for is how to do the method of server side includes that this board uses.

Dismounted 06-10-2007 03:11 AM

The iframe does not cause that error. That error is saying that your templates do not have the required changes for the upgrade. You don't have to revert everything.

Mark Carras 06-12-2007 03:14 AM

Quote:

Originally Posted by Dismounted (Post 1265251)
The iframe does not cause that error. That error is saying that your templates do not have the required changes for the upgrade. You don't have to revert everything.

Ok, now I am confused. The iframe is part of the template. So how do I find out this mysterious missing element of the template without reverting it?

Dismounted 06-12-2007 09:45 AM

By looking at the vBulletin.com release threads.

Paul M 06-12-2007 10:36 AM

What are the 19 templates ?

Your modified header is only one template (unless you have 19 styles of course).


All times are GMT. The time now is 03:51 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.01074 seconds
  • Memory Usage 1,732KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete