![]() |
Try renaming each of the config files to something different, such as last10config1.php, last10config2.php, etc. Then, change the name of each of the last10 files to something unique, such as last101.php, last102.php, etc. Then in the last10 files, find
require("last10config.php"); and change it to the unique name for each file. So in the last101.php file, you'd change it to require("last10config1.php"); etc. |
Hi tubedogg,
your hack works great for me, thx... and i have added these: so it will display the full vb code...:):) ok i give up...:mad: :mad: :mad: plx see the attached file...you can find it in the next post... |
that didn't come out very well, please try again.. I'd like to do what you did, but I can't follow it!
|
vbcode in this hack...
|
I am not by any means an HTML guru, but I do have the last 10 wittled down to the size I want at www.mhogaming.com/vb/recent/last10.php so that it will fit in the left hand column at www.mhogaming.com, problem is, I cannot discern from the directions how to include this file into a regular index.htm. I've looked at some of the example sites, but I actually see html table code. Are we supposed to code the table manually?
Gawd, am I confused... (okay, I hear the snickering now) :p |
You need to use an SSI or "server side include". The code would look like this:
<!--#include virtual="/forums/online.php"--> Substitute what's in the paretheses for the path to the file and the name of the file you're trying to "include" in the html document. Also, make sure that your hosting provider allows the use of server side includes. Some will and some won't. Some will allow you to embed the include right into the html document. Others will make you change the file designation from html to shtml. Good luck! |
Quote:
I host my web pages via IIS, but I do not see anyway to allow SSI. I'm guessing then I might just be out o' luck? Didn't think I was this lost... :o |
yes, that is the exact code including the <! > I don't know anything about your hosting provider. Try embedding an include and see what happens or just contact them and ask.
|
Whoa... I did an include statement as suggested and this is what I get
www.mhogaming.com/test.shtm Looks like it's including the file, but then not parsing the PHP code once it does? I am running IIS 5.0 and see where the shtm extension invokes the ssiinc.dll, but then the included file "last10.php" seems to confuse it. Anyone running this combo? |
If it's not a huge deal to you what your main page is named, I would rename it index.php. That way you can do a PHP include and it'll work all nice. :)
PHP include example: PHP Code:
|
All times are GMT. The time now is 04:20 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|