Minor Thing

Henyman

Secret Goat Fetish
Political Access
Joined
9 Jun 2002
Messages
9,606
i just noticed the thread called:

somehow i "locked" my desktop icons in place

and saw on on the bit at the top as a new post, but, the text is wrong even though the mouseover + actual thread title are correct? is says:

Somehow I "locked&qu
 

Attachments

  • 1.JPG
    1.JPG
    154.1 KB · Views: 108
yeah i presumed it was a random error that happened for the hell of it 😛
 
its would happen if & was there too as it is converted to &
 
Here is the function that does it

Code:
unset($recentforumposts);
$recentforumget = 5; // Number of posts to get
$recentforumlength = 25; // Length of title to display before cutting off
$forumexclude = "28,29"; // Add forum id's to exclude from get (eg private ones) sepetate by a comma

$getposts = query("SELECT threadid,title FROM thread WHERE (visible <> 0)".iif($forumexclude," AND (forumid NOT IN ($forumexclude))")." AND (open <> '10') ORDER BY lastpost DESC LIMIT $recentforumget");

while ($post = fetch_array($getposts)) {
$post[short_title] = iif(strlen($post[title]) > $recentforumlength,substr($post[title],0,$recentforumlength)."...",$post[title]);
$post[full_title] = $post[title];
$recentforumposts .= "<a href=\"http://forum.osnn.net/showthread.php?goto=newpost&amp;t=$post[threadid]\" title=\"$post[full_title]\" target=\"_top\">$post[short_title]</a><br />\n";
}
 
Guess no one knows, so it will stay as it is 🙂
 

Members online

No members online now.

Forum statistics

Threads
62,021
Messages
673,242
Members
5,641
Latest member
cpomd
Back
Top