How could I stick coppermine into this page??
|
I must be doing something wrong. I've created test.php, renamed to privacy.php, changed all occurences of "test" to "privacy", uploaded to root folder and created template "privacy" in ACP, but all I get when going to myforums.org/privacy.php is a blank page. I'm befuddled...
|
Quote:
|
I have a question, and everybody is forewarned that I'm a bit of a hacking n00b.
Alrighty, taken care of that. I'm interesting in making my site run off of vB templates, etc to make it all look continuous (same footer, etc). However, I know you can't run php code in most of the templates (php_start, and end excluded from that), but a large section of my site uses php and mySQL to retrieve information. Am I correct in saying that if I put the php code in the actual page (test.php for example), that in my template "test", I can call the variables that are in test.php? (Like if I have the array $comicinfo, and I need $comicinfo[date], or even just "$date" that it would display?) Thanks in advance Chris |
/me clicks install
|
I was wondering. I don't see where this has been asked before or not. But can you use this hack and put another site withing the template? What I want to do is have my template and have another URL upen within the template so that my header is still on top and the other site can be viewed.
|
Quote:
|
This was just what i needed, thanks!
Got a question though, not really a hackproblem but i'm gonna ask it anyway ;) I have a html page that i wanted to display inside the forum, and using this hack could do that perfectly, by just copying that html page inside the template. But, the html page is generated automatically each day so hardcopying it into the template isn't an option. Is there a way to grab the html contents and to display it inside the template? It kinda works by using an iframe in the template, but iframes need height dimensions and the generated page varies in height (and a scrollbar for the iframe looks very ugly). Any idea on how to do this? or how to set the height of the iframe to be variable? Or alternatively, is there a way to do it the other way around, add the header/navbar/footer to the html page (everthough it's generated i can determine what fixed components should be in this html page) and maybe shange the html page in an php page? Oh btw... [high]* BarBeQue clicks install :D[/high] |
very nice:)
installed and thank You! |
Omega]fantastic. thank you very much, Gary :)
|
All times are GMT. The time now is 03:07 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|