![]() |
Tubedogg,
great hack!! I finally got it to work. (was having netscape troubles, but it seems to be cool now.) I do have a question/suggestion. I noticed that you gave us the option of having the table header color be different than the alt 1 and alt 2 columns. I changed the text in the table header be a different color than the text within the rest of the table. I defined another variable in last10config.php: $htc = "#FFFFFF";// head text color Then in last10.php I simply changed the font color (for the header fonts to: color:$htc; worked like a charm. Thanks Kevin. :) p.s. I also changed (in last10.php) $fs .= "pt"; $hfs .= "pt"; to $fs .= "px"; $hfs .= "px"; so it works better in netscape. :) |
Ok, I tested this and it worked great (see above post) and when I went to put it into my home page, I go a weird output (like it isn't reading the font tags)
Here is the page (it is a test page) http://www.curvemag.com/index2.html What happens is that if I put the include in the right hand column, it doesn't work properly, but anywhere else on the page, it works great. p.s. it "works" in both places, just the styles don't work in the right hand column. The text in question says: "Join the conversation thread one thread two thread three" (I changed some of the language to suit our site.) Can anyone explain what is wrong in my html that is making this happen in the right hand column? Please? :) |
Just to let whoever is interested know: for whatever reason, it was stuff about the column that effected this formatting problem.
<td valign="top" height="215" width="147"> The column was defined with a width of 147, which the script didn't like. It output weird formatting of the text in Netscape on a mac. Eventually, I figured out a solution, weird as it may be - was to change the width attribute by a few numbers, and it worked. I had tried this also on another page, and the wisth of 147 was the problem. Perhaps the numbers didn't add up... I donno. It's a weird thing, but it is now solved, by using: <td valign="top" height="215" width="150"> That in combination with removing a <nobr> in line 226 of last10.php fixed it. :) |
I've been trying for short while today to get this script working using the <!--#include file="last10.php"--> call from within an SSI file on Windows 2000 Server / IIS 5. All this does is inserts the text of the last10.php script directly into the SSI file, instead of parsing the php script first. I read this entire thread looking for a solution to this, but only found that other people using Win2k / IIS5 were having similar problems.
I did finally figure it out, though. This is what worked for me, instead of using <!--#include file="last10.php"--> to call the script I'm using <!--#exec cgi="last10.php"--> & it is working fine now. Tubedog, I haven't had a chance to really play around with this script but it does look like it will be very useful - thanks in advance! You may also want to add a note for Win2k / IIS 5 users in your installation directions about the <!--#exec cgi="last10.php"--> command as there seems to be a number of other people who have this similar problem. Best, - John |
It's great dude.. easy to setup.
Only problem is.. sometimes people might want a different text colour for the heading.. may I suggest a heading text colour param. That and a cellspacing one, because... I didn't want a HUGE gap between my posts and had to edit the last10.php file. So yes, thanks heaps... mine's at http://www.buffydownunder.com Cheers. |
Well, I am reinstalling this hack since i recently upgraded.
I am going to be using this hack on its own page, rather than included in a small portion of an existing page. Can anyone tell me how to get this to utilize a users chosen style set? |
Hi,
There is what i got when i enter last10.php... Warning: Unable to access /config.php in /last10.php on line 13 Warning: Failed opening '/config.php' for inclusion (include_path='.') in /last10.php on line 13 Fatal error: Failed opening required '/config.php' (include_path='.') in /last10.php on line 13 What do i have to do ?? Plz Help me Thx in Advance |
thanks Kevin for this hack
I hope I'm not too late to get an answer for my question anyway this is what I'm looking for how can I show only one thread from the forums I included .................................................. . the problem I'm facing is I included 10 forums and my $maxthreads is set at 10 one of the forums is the most active forum I get 7 threads from that forum only where I want a thread from each forum and thanks in advance :) |
awesome hack!
one question tho - when a user have included a smilie they dont show up.. im just getting the "X".. this is how the url to the image looks: Code:
http://www.mysite.com/forum/http://www.mysite.com/forum/images/smilies/up.gif also if possible - how do i make the links open up in a new window?? ive got the script in an iframe... any ideas?? |
I installed the last10.php easily and it works. But, there seems to be a problem when an unregistered user posts a reply to a new discussion.
When the new thread has been submitted, it appears on the front page. When an unregistered user replies to that thread, then the link disappears from the front page. Using it on this site : http://www.bbfc.org.uk/ Regards, Jamie. |
All times are GMT. The time now is 04:33 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:
|