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,691
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,691
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

Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
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?

Forum statistics

Threads
62,004
Messages
673,460
Members
5,599
Latest member
Larry Chris