This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

Smilie Problem


avatar
ReviewStud 135
From: -
Smilie Problem

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?

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


1 Re: Smilie Problem
avatar
OP 135
From: -
Bingo!! That fixed it.

Thank you,
1 Re: Smilie Problem
avatar
Editor
0
From: -
This should work for new stories. To fix the problem in edit:

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
avatar
OP 135
From: -
I added the line, but there isn't any change. Still no smilie.
1 Re: Smilie Problem
avatar
Editor
0
From: -
Try the following. Open classes/class_system.php in an editor and add after:

           $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.

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.