After I post in the Forums on my site using jcow forums, I have a problem
with Internet Explorer but not FireFox in the News Feed - I get a "No pict
box" in the News Feed.
http://twitterrooms.co.uk/forums/viewthread/338?succ=1
One suggestion was: "i think you have a problem in the stream_display
function "
This is a portion of the code:
if (in_array(1,$forum['read_roles']) || in_array(2,$forum['read_roles']))
{
$posturl = '<a href="'.$posturl.'">'.t('View').'</a>';
$attachment = array(
'cwall_id' => 'none',
'name'=> t('Reply to'),
'des' => addslashes(h(utf8_substr($post['message'],60)))
);
$app = array('name'=>'forums','id'=>$thread['id']);
$replyurl = url('forums/newreply/'.$pid,t('Reply'));
$stream_id = stream_publish(
addslashes(h(utf8_substr(stripslashes($_POST['form_content']),120)).'
<span style="float:right;">'.$posturl.' | '.$replyurl.'</span>'),
$attachment,$app);
sql_query("update ".tb()."forum_posts set stream_id='$stream_id' where
id='$pid'");
}