The Arcive of vBulletin Modifications Site. |
|
Details »»
|
||||||||||||||||||||||||||
I want to call the script call news from /forum
how would I do this? I've got this so far: Quote:
Show Your Support
|
||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Code:
require("forum/news.php");
|
|
#3
|
|||
|
|||
|
no, now it says:
Warning: Failed opening 'global.php3' for inclusion in forums/news.php3 on line 5 Fatal error: Failed opening required 'bfc.php3' in forums/news.php3 on line 6 |
|
#4
|
|||
|
|||
|
k, nevermind, fixed that by using absolute urls in the news.php3 file... but now all it does it leave the page blank where it should be calling news.php3... i checked the source and it's gone, so something's happened. also, how do i get it parse the file for SSI at the same time? now that's not working either!
|
|
#5
|
|||
|
|||
|
You shouldn't need to use both SSI and PHP include functions in the same file - they do exactly the same thing.
Sounds like the path to news.php3 or the filename is wrong - try changing the "require" to "include" - that might come up with an error giving you more information. Check paths and filenames, that should fix your problem. |
|
#6
|
|||
|
|||
|
Ok... so I have to take my insert files that I was calling with SSI and make them into VB templates and call them that way?
|
|
#7
|
|||
|
|||
|
No, all you have to do is replace all your SSI calls with require() calls like the ones above - they perform the same function.
|
![]() |
|
|