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: 85

Henyman

Secret Goat Fetish
Political Access
Joined
9 Jun 2002
Messages
9,606
yeah i presumed it was a random error that happened for the hell of it :p
 

Electronic Punk

willalwaysbewithyou
Staff member
Political Access
Joined
2 Dec 2001
Messages
18,683
its would happen if & was there too as it is converted to &
 

Electronic Punk

willalwaysbewithyou
Staff member
Political Access
Joined
2 Dec 2001
Messages
18,683
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";
}
 

Members online

No members online now.

Latest profile posts

hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.
Terrahertz wrote on Electronic Punk's profile.
Yo fellas!
Electronic Punk wrote on Sazar's profile.
Where are you buddy?
Perris Calderon wrote on Electronic Punk's profile.
Hey EP! All good with me, applying for Microsoft MVP right now, should have done this a while ago.

Notifications don't work, I only found your response by coming back to hunt up some threads, if you want, give me your email address so we can keep in touch easier!

Forum statistics

Threads
61,999
Messages
673,424
Members
5,592
Latest member
Rhilani