Smilie Problem
ReviewStud 135
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: Smilie Problem
ReviewStud
OP
135
From: -
From: -
Bingo!! That fixed it.
Thank you,
Thank you,
1 Re: Smilie Problem
Philipp Esselbach
From: -
Editor
0From: -
This should work for new stories. To fix the problem in edit:
Open /cadmin/news/admindoeditstory.php and replace:
with:
Open /cadmin/news/admindoeditstory.php and replace:
if( !$input_html )
{
$input_newsstory_story_parsed = $system -> dechomp( $input_newsstory_story_parsed );
$input_newsstory_extendedstory_parsed = $system -> dechomp( $input_newsstory_extendedstory_parsed );
}
with:
if( !$input_html )
{
$input_newsstory_story_parsed = $system -> dechomp( $input_newsstory_story_parsed );
$input_newsstory_extendedstory_parsed = $system -> dechomp( $input_newsstory_extendedstory_parsed );
}
else
{
$input_newsstory_story_parsed = $system -> scriptex( $input_newsstory_story_parsed );
$input_newsstory_extendedstory_parsed = $system -> scriptex( $input_newsstory_extendedstory_parsed );
}
1 Re: Smilie Problem
ReviewStud
OP
135
From: -
From: -
I added the line, but there isn't any change. Still no smilie.
1 Re: Smilie Problem
Philipp Esselbach
From: -
Editor
0From: -
Try the following. Open classes/class_system.php in an editor and add after:
the following line:
This should fix the problem for new stories.
$var = preg_replace( "/JavaScript/i", "Java Script ", $var );
$var = preg_replace( "/VBScript/i", "vb script ", $var );
the following line:
$var = str_replace( "../jscripts/tiny_mce", "jscripts/tiny_mce", $var );
This should fix the problem for new stories.
I know if the worst problem I am having is smilies not showing up once their articles are submitted is not a 'really' bad problem to have. But it is a strange problem to have.
I can see the smilie in the WYSIWYG editor, but after I hit 'edit' and check the page for the updates, the smilie isn't there.
I have checked to see if the image's path is correct and it is, but the only thing that is showing up is the ALT text.
Anyone else seen this problem before?