![]() |
Sorry - forgot the IE p ic:
|
Quote:
www.swzone.org/main_home.php It works but gives out many errors. And I don't know how to solve it. |
Rostor,
I, too, was getting your exact same error. I went round and round for days wondering what the heck was going on in my little NT world. :( I have found that IIS appears to have problems with filtering or parsing included files. The IIS include is looking for a txt or HTML file, and thus I could not get it working with a plain SHTM(L) include statement. What I did as a work around, is I set up my SHTM pages to be parsed by the PHP Isapi filter versus the ssinc.dll that is default. Basically my homepage is now PHP parsed, but still mostly HTML-based. Have I confused you yet? :) Now that my page is PHP-parsed, I can just just the standard <? include("last10.php"); ?> statement in my code and everything works fine. I was a bit nervous about doing this as I wondered if any of my FP extensions would not function, but all seems to working well. (knock on wood) You can view how I implemented the hack on my site at www.mhogaming.com Hope that helps... -Brian |
Kevin and Steve,
I am having the same problem on Netscape 4.7 with the overlapping of the end of the thread title at www.citysailor.com I removed the <nobr> tags, but it did not help. A guess a Kludgy solution might be to specifically limit the number of letters printed, depending on the space allocated. [By the way, if anyone reading this knows how to make the background image on Netscape just x-repeat, instead of repeating down the whole page, please let me know] |
First of all- I would like to thank tubedogg for ths wonderful hack! It is a great traffic builder! Thanks tubedogg!
Now on to my (stupid) concern: I don't know a thing about "Parsed", never heard of the term. But I WAS able to follow the "Last XX Post" instructions up until the point of having the "last10.php" work :) . The problem I am having is incorperating this into some sort of HTML (or similar) document. How EXACTLY is this accomplished? Thanks in advance... |
Hi Jarvis thx for your help but i take a different way to solve the problem :)
Last Week I bought 2 books about PHP and started to study it !!! After 3 days i make little modify to lastXX so now the hack works fine with IIS5. First: In the lastxxconfig.php file I add this lines: // by rostor $counter = ""; // fine inserimento rostor So a problem with undefined constant has been solved. Second: In the lastxx.php I defined this line with " " :) // if the title is more than $len characters, we need to cut it off and add ... to the end if (strlen($threads["title"]) > $len) { $title = substr($threads["title"],0,$len); $title .= "..."; } else { $title = $threads["title"]; } // convert the date to a format readable by non-unix geeks :) $fd = date($fdt,$threads["lastpost"]); That's All |
Has anyone else included this hack into a non VB page (HTML document) and then looked at it in Netscat? It's not pretty.....and this particular line of code really confuses me...:
PHP Code:
|
Yep - this doesn't look good in Netscape 4.7x at all. I wish I knew how to fix the HTML so it works with NS as well.
|
I wish I knew how to put it in HTML period! Can't anyone help me with this?
|
try changing the name of your file to .shtml from .html and put this code in where you want the last 10 to show up on your page:
Your choice of <!--#include virtual="last10/last10.php"--> or <!--#include file="last10/last10.php"--> If folder your.shtml file is in is not above the last10 folder in your directory, you need to do "../last10/last10.php" instead (note the "../" ) That tells it to look up one folder before looking down for the last10 folder . |
All times are GMT. The time now is 05:15 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|