![]() |
Quote:
|
eva, heynurse: glad you both got them working. :)
xdam: There's no reason it should be doing that. Is everything else about it working? |
Yea, everything else works perfect, i have edited alot though maybe i screwed the code somewhere? Have you tried to take the max characters over 120 in your script?
* now sorted, the problem was i removed the <nobr> tags * |
I just tried it out with max chars set to 300 and it worked fine...
|
ok thanks for testing, another thing you code help me off if your willing to is that i want to display the posts as news, i've kinda converted this script into a news script, take a look at:
http://digital-forums.com/clan/clan.php I have displayed it as news, now my problem is that whenever someone replies the 'news article' jumps to the top and there replie appears is there anyway i can make it so the script only see's new topics? excellent script btw, just what the doctor prescribed :) |
You mean so it only shows threads with no replies? Sure - just change this
Code:
$query = "SELECT thread.lastpost,thread.title,thread.lastposter,thread.replycount,thread.views,user.userid,thread.threadid,thread.forumid$fsel,thread.iconid FROM thread,user$ftitle $wheresql ORDER BY thread.$ob $obdir LIMIT $maxthreads"; Code:
$query = "SELECT thread.lastpost,thread.title,thread.lastposter,thread.replycount,thread.views,user.userid,thread.threadid,thread.forumid$fsel,thread.iconid FROM thread,user$ftitle $wheresql AND thread.replycount=0 ORDER BY thread.$ob $obdir LIMIT $maxthreads"; |
<a href="http://digital-forums.com/clan/clan.php" target="_blank">http://digital-forums.com/clan/clan.php</a>
didn't work |
it's gone abit weird now a news article was posted and its gone into 7 articles (and this is without your code change)
|
First of all, I just want to say thanks to tubedogg for this great hack. I am very new to most of this, but I am starting to learn a lot. Thanks! :D
Now for my error... I downloaded file last10-102.zip today and started playing with it. Everything works great, but if I leave the $tw variable blank ("") the font style and size in the resulting table is exactly what I have specified in the $f and $fs variable. If I change the $tw variable to either a pixel number or a percentage, the font in the resulting table is the default font style and size of my browser and doesn't hold the $f and $fs variable information at all. Everything else (colors, etc.) is just fine. This happens when implementing this hack using an PHP-parsed page and server-parsed page. [EDIT-I just noticed that this only happens when using Netscape 4.77. When viewed in IE it looks fine.] Any clues? If this is just a strange way that Netscape shows the file, should I just override the $f and $fs variable in the last10.php file? If so, what code do I change? :confused: I scanned through this entire thread looking for an answer to this problem, but didn't find an answer but it is a pretty big thread so please forgive me if the answer is indeed in here somewhere and I missed it. Thanks in advance!! Jason |
Tubedogg,
(I won't start by saying: 'thanks for this great hack'..... ;) Just to let you know that I discovered a little 'issue' in the output of the text in the tables. The following thing happens: - If a user uses the character ["] in the subjectline, for example : Tips van beginnende "gebruikers", (it's Dutch btw) then the output in the last_post hack is: Tips van beginnende &quo... Well...a picture says more than......: http://www.haarweb.nl/Documenten/last_post.gif I hope that this remark will be helpfull to you, to improve this hack more and more. (So I will END by saying: 'thanks for this great hack'..... ;) Grover. |
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:
|