PDA

View Full Version : using better includes?


Mark Carras
06-02-2007, 11:01 PM
So my vbulletin message center in the admin panel is telling me that... 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.



<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
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
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
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).