News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

SMF with Simple Portal

Started by Gatlin1, April 23, 2012, 02:15:25 AM

Previous topic - Next topic

ARG01

Since I am not confident that this is an SMF issue I am posting here. Feel free to move the topic if necessary.

Has anyone ever seen this before? I am running SMF 2.0.2 and Simple Portal 2.3.5. I am having issues when creating any BBC, HTML and PHP block or page and board post that has more than a paragraph or two.
When previewing the content before submitting everything looks good but once I submit, only part of the content shows. Then when editing, it shows only the content that was visible before. This just started today, everything was fine a few days ago.
I uninstalled Simple Portal, removed all SP files from my server and reinstalled. No changes. This happens with any theme including the SMF default theme.

SMF 2.0.2
Simple Portal 2.3.5
http://michiganskywarn.com

Any ideas?  ???
No, I will not offer free downloads to Premium DzinerStuido themes. Please stop asking.

live627

The database may be truncating the message when it's stored in smf_messages as body.

ARG01

It's is a copy and paste from a source that offers info for similar sites. It's hard to nail down since it happens with both SP blocks/pages and normal SMF forum posting.

Below is what I am attempting to post both BBC and basic HTML

BBC
[b]Spring and Summer Weather [/b]

Hazardous weather that most affects the state of Michigan during spring and summer months includes thunder, lightning and hail storms, possible tornadoes, floods and extreme heat. The following severe weather terms are defined by the National Weather Service.

The National Weather Service (NWS) is responsible for issuing severe weather watches, warnings and advisories to alert the public when dangerous weather conditions are expected.  It is always a good idea to tune into your local media stations whenever severe weather is expected.

    [b]Watch[/b] - A weather watch means the potential or conditions exist for a dangerous weather event.
    [b]Warning[/b] - A weather warning means that a dangerous weather event is imminent. Immediate action must be taken to protect life and property.
    [b]Advisory[/b] - A weather advisory means a less dangerous weather event is imminent and is less severe than a warning. However, a hazardous weather event is still threatening to occur.

[b]Hazardous Weather Outlook[/b] - A hazardous weather outlook is given when forecasters believe significant weather conditions are possible. An outlook is usually issued 24-72 hours in advance of an event.

[b]Special Weather Statement[/b] – Provides the public with information concerning ongoing of imminent weather hazards, including strong storms that may become severe.

[b]Short Term Forecast[/b] - A short-term forecast describes the weather in the local area and includes a short-range forecast (usually not more than six hours). This product will be updated more frequently when it is used during active weather. A short-term forecast is sometimes referred to as a "NOW-cast."
[b]
Heat Index (Apparent Temperature)[/b] - A number in degrees Fahrenheit that indicates how hot it feels when relative humidity is considered along with the actual air temperature. Exposure to direct sunlight can increase the heat index by 15 degrees.

[u][b]WATCHES[/b][/u]

    A weather watch means the potential or conditions exist for a dangerous weather event.
    Action: Prepare for the weather event; listen for additional information, including warnings. Be ready to act if hazardous weather is observed.

[b]Excessive Heat Watch[/b] - An excessive heat watch is issued when excessive heat is possible. Heat indexes are forecast at 105 degrees or higher for a period of two hours or more.

[b]Fire Weather Watch[/b] - A fire weather watch is issued when there is the possible development of conditions favorable for forest, grass or brush fires and the conditions support extreme fire danger and/or fire behavior.

[b]Flood Watch[/b] - A Flood Watch can be issued for several different reasons. The watch may be issued for the potential of rapid flooding from either torrential downpours, dam breaks, or ice jam breaks. A flood watch may also be issued when the onset of flooding is much slower, usually greater than six hours. The body of the watch describes what type of flooding to expect. The watches are usually issued up to 12 hours prior to the possible flood event.

[b]High Wind Watch[/b] - A high wind watch is issued when there is a potential for dangerous winds.

[b]Severe Thunderstorm Watch[/b] - A severe thunderstorm watch outlines an area where hail up to 1 inch in diameter or larger, and/or damaging thunderstorm winds are expected to occur. Tornadoes may be possible. In rare situations, the enhanced wording, "this is a particularly dangerous situation" will be used to describe extreme thunderstorm activity.

[b]Tornado Watch[/b] - A tornado watch outlines an area where large hail and damaging wind threats, as well as the possibility of multiple tornadoes are possible. In rare situations, the enhanced wording, "this is a particularly dangerous situation" will be used when long-lived, strong and violent tornadoes are possible.

[u][b]WARNINGS[/b][/u]

    A weather warning means that a dangerous weather event is imminent. Immediate action must be taken to protect life and property.
    Action: Take action immediately to protect life and property.

[b]Excessive Heat Warning[/b] - An excessive heat warning is issued when heat indexes will generally reach 105 degrees or higher for a period of two hours or more.

[b]Flash Flood Warning[/b] - A flash flood warning signifies a short duration of intense or rapid flooding of counties, communities, streams, or urban areas. Flash floods may result from such things as torrential downpours, dam breaks, or ice jam breaks.
Action: Take action immediately - move to higher ground, do not drive through flooded roadways.

[b]Flash Flood Statement[/b] - A flash flood statement provides supplemental information on active Flash Flood Warning products, such as updated observations and impact information. It will provide the latest information on the flash flooding situation or event.

[b]Areal Flood Warning[/b] – An areal flood warning may be issued for any high flow, overflow, or inundation in a geographical area which threatens life and property and isn't appropriately covered by a flash flood warning or flood warning for forecast points.

[b]Flood Statement[/b] - A flood statement is issued after a Flood Warning. It will provide the latest information on the flooding situation or event.

[b]High Wind Warning[/b] - A high wind warning is issued when sustained winds are predicted to reach 40 mph or greater for at least one hour, or any gust of wind is expected to be 58 mph or greater.

[b]Severe Thunderstorm Warning[/b] - A severe thunderstorm warning is issued when large hail or damaging wind is actually occurring or imminent. Severe thunderstorms can produce tornadoes with little or no advance warning. Severe thunderstorms will also produce frequent and dangerous lightning.
Action: Seek safe shelter immediately. Criteria: Hail - 1" or larger; Wind - 58 mph or greater.

[b]Severe Weather Statement[/b] - A severe weather statement provides follow-up information on severe weather conditions (severe thunderstorm or tornadoes) which have occurred or are currently occurring.

[b]Special Marine Warning[/b] - A special marine warning is issued for any of the hazardous maritime weather conditions; thunderstorms over water; thunderstorms that will move over water; or waterspouts which usually last two hours or less and produce sustained winds or frequent gusts of 34 knots or more, and/or hail ¾ inch or larger. The Special Marine Warning should also be issued for non-convective short duration winds of 34 knots or greater.
Action: Boaters should move to safe harbor.

[b]Red Flag Warning[/b] - A red flag warning is issued when extreme burning conditions are forecasted. Forecasting criteria includes relative humidity, wind and temperature. Dry fuels are also a factor.
Action: No open burning.

[b]River Flood Warning[/b] - A river flood warning is issued for specific communities or areas along a river where flooding is imminent or occurring. River flood warnings will provide crest forecasts.
Action: move to higher ground; do not drive through flooded roadways

[b]Tornado Warning[/b] - A tornado warning is issued if a cloud rotation has been spotted or when a tornado is imminent or occurring. This includes when a tornado is indicated by Doppler radar or sighted by spotters.
[b]Action:[/b] Seek safe shelter immediately.

[u][b]ADVISORIES[/b][/u]

    Advisories are for conditions less serious than warnings, and cause significant inconvenience. If caution is not exercised, weather advisories could lead to situations that may threaten life or property.

[b]Dense Fog Advisory[/b] - A dense fog advisory is issued when widespread fog will reduce visibility to one-fourth mile or less.

[b]Heat Advisory[/b] - A heat advisory is issued when heat index is expected to reach at least 100°F but less than 105°F

[b]Urban & Small Stream Flood Advisory[/b] - An urban and small stream flood advisory provides information on elevated river/stream flow or ponding of water in geographical area when such an event warrants notification of the public in a product less urgent than a warning. This advisory is issued when heavy rain is predicted to cause flooding of streets and low-lying places in urban areas. It is also used if small rural or urban streams are expected to reach or exceed their banks.

[b]Wind Advisory[/b] - A wind advisory is issued when sustained winds are expected to be 40 mph or greater for at least an hour, or any wind gust between 46 mph and 57 mph.

[u][b]WEATHER TERMS[/b][/u]

[b]Cold Air Funnels[/b]
Weak funnel cloud extensions from cumulous clouds that typically remain aloft. Cold air funnels form in cold, unstable air masses and are not usually associated with thunderstorms or severe weather.

[b]Downburst[/b]
A strong downdraft current of air from a thunderstorm, often associated with intense thunderstorms. Downbursts may produce damaging winds at the surface.

[b]Flash Flood[/b]
A rapid and extreme flow of high water into a normally dry area, or a rapid rise in a stream or creek above a predetermined flood level, beginning in a short period of time from the causative event. A flash flood can occur very rapidly. Flash floods occur as the result of very heavy rainfall in a short period of time, generally over a relatively small area.

[b]Flood[/b]
A condition that occurs when water overflows the natural or artificial confines of a stream or body of water, or accumulates by drainage over low lying areas. This flood is any high flow of water, overflow, or inundation by water which causes or threatens damage.

[b]Funnel Cloud[/b]
A condensation funnel extending from the base of a towering cumulus cloud associated with a rotating column of air that is not in contact with the ground – and hence, different from a tornado. A condensation funnel is a tornado, not a funnel cloud if
[b]a.[/b]) it is in contact with the ground;
[b]b.[/b]) a debris cloud or dust whirl is visible beneath it.

[b]Gust Front[/b]
The leading edge of gusty surface winds that flow from the base of a thunderstorm and spread along the ground in advance of the thunderstorm.

[b]Lightning[/b]
A visible electrical discharge produced by a thunderstorm. The discharge may occur within or between clouds, between the cloud and air, between a cloud and the ground or between the ground and a cloud.

[b]Severe Thunderstorm[/b]
A thunderstorm producing a tornado and/or, damaging winds of 58 mph or higher, and/or hail 1 inch in diameter or larger.

[b]Squall Line[/b]
A line of active thunderstorms, either continuous or with breaks, including contiguous precipitation areas resulting from the existence of the thunderstorm.

[b]Straight-Line Winds[/b]
Generally, any wind that is not associated with rotation, used mainly to differentiate them from tornadic winds. These thunderstorm winds may produce damage that typically exhibits a lack of a rotational damage pattern.

[b]Thunderstorm[/b]
In general, a local storm produced by a cumulonimbus cloud, and accompanied by lightning and thunder, many times with strong wind gusts, heavy rain and sometimes hail. A cumulonimbus cloud is a cauliflower-shaped cloud that usually has a height taller than or equal to its width.

[b]Tornado[/b]
A violently rotating column of air that comes in contact with the ground, usually, descending from the base of a thunderstorm. In Ohio, many tornadoes are obscured by hills, trees and rain.


HTML
<strong>Spring and Summer Weather </strong></br>
</br>

Hazardous weather that most affects the state of Michigan during spring and summer months includes thunder, lightning and hail storms, possible tornadoes, floods and extreme heat. The following severe weather terms are defined by the National Weather Service.</br></br>

The National Weather Service (NWS) is responsible for issuing severe weather watches, warnings and advisories to alert the public when dangerous weather conditions are expected.  It is always a good idea to tune into your local media stations whenever severe weather is expected.</br></br>

    <strong>Watch</strong> - A weather watch means the potential or conditions exist for a dangerous weather event.</br>
    <strong>Warning</strong> - A weather warning means that a dangerous weather event is imminent. Immediate action must be taken to protect life and property.</br>
    <strong>Advisory</strong> - A weather advisory means a less dangerous weather event is imminent and is less severe than a warning. However, a hazardous weather event is still threatening to occur.</br></br>

<strong>Hazardous Weather Outlook</strong> - A hazardous weather outlook is given when forecasters believe significant weather conditions are possible. An outlook is usually issued 24-72 hours in advance of an event.</br></br>

<strong>Special Weather Statement</strong> – Provides the public with information concerning ongoing of imminent weather hazards, including strong storms that may become severe.</br></br>

<strong>Short Term Forecast</strong> - A short-term forecast describes the weather in the local area and includes a short-range forecast (usually not more than six hours). This product will be updated more frequently when it is used during active weather. A short-term forecast is sometimes referred to as a "NOW-cast."</br></br>
<strong></br></br>
Heat Index (Apparent Temperature)</strong> - A number in degrees Fahrenheit that indicates how hot it feels when relative humidity is considered along with the actual air temperature. Exposure to direct sunlight can increase the heat index by 15 degrees.</br></br>

<u><strong>WATCHES</strong></u></br></br>

    A weather watch means the potential or conditions exist for a dangerous weather event.
    Action: Prepare for the weather event; listen for additional information, including warnings. Be ready to act if hazardous weather is observed.</br></br>

<strong>Excessive Heat Watch</strong> - An excessive heat watch is issued when excessive heat is possible. Heat indexes are forecast at 105 degrees or higher for a period of two hours or more.</br></br>

<strong>Fire Weather Watch</strong> - A fire weather watch is issued when there is the possible development of conditions favorable for forest, grass or brush fires and the conditions support extreme fire danger and/or fire behavior.</br></br>

<strong>Flood Watch</strong> - A Flood Watch can be issued for several different reasons. The watch may be issued for the potential of rapid flooding from either torrential downpours, dam breaks, or ice jam breaks. A flood watch may also be issued when the onset of flooding is much slower, usually greater than six hours. The body of the watch describes what type of flooding to expect. The watches are usually issued up to 12 hours prior to the possible flood event.</br></br>

<strong>High Wind Watch</strong> - A high wind watch is issued when there is a potential for dangerous winds.</br></br>

<strong>Severe Thunderstorm Watch</strong> - A severe thunderstorm watch outlines an area where hail up to 1 inch in diameter or larger, and/or damaging thunderstorm winds are expected to occur. Tornadoes may be possible. In rare situations, the enhanced wording, "this is a particularly dangerous situation" will be used to describe extreme thunderstorm activity.</br></br>

<strong>Tornado Watch</strong> - A tornado watch outlines an area where large hail and damaging wind threats, as well as the possibility of multiple tornadoes are possible. In rare situations, the enhanced wording, "this is a particularly dangerous situation" will be used when long-lived, strong and violent tornadoes are possible.</br></br>

<u><strong>WARNINGS</strong></u></br></br>

    A weather warning means that a dangerous weather event is imminent. Immediate action must be taken to protect life and property.
    Action: Take action immediately to protect life and property.</br></br>

<strong>Excessive Heat Warning</strong> - An excessive heat warning is issued when heat indexes will generally reach 105 degrees or higher for a period of two hours or more.</br></br>

<strong>Flash Flood Warning</strong> - A flash flood warning signifies a short duration of intense or rapid flooding of counties, communities, streams, or urban areas. Flash floods may result from such things as torrential downpours, dam breaks, or ice jam breaks.
Action: Take action immediately - move to higher ground, do not drive through flooded roadways.</br></br>

<strong>Flash Flood Statement</strong> - A flash flood statement provides supplemental information on active Flash Flood Warning products, such as updated observations and impact information. It will provide the latest information on the flash flooding situation or event.</br></br>

<strong>Areal Flood Warning</strong> – An areal flood warning may be issued for any high flow, overflow, or inundation in a geographical area which threatens life and property and isn't appropriately covered by a flash flood warning or flood warning for forecast points.</br></br>

<strong>Flood Statement</strong> - A flood statement is issued after a Flood Warning. It will provide the latest information on the flooding situation or event.</br></br>

<strong>High Wind Warning</strong> - A high wind warning is issued when sustained winds are predicted to reach 40 mph or greater for at least one hour, or any gust of wind is expected to be 58 mph or greater.</br></br>

<strong>Severe Thunderstorm Warning</strong> - A severe thunderstorm warning is issued when large hail or damaging wind is actually occurring or imminent. Severe thunderstorms can produce tornadoes with little or no advance warning. Severe thunderstorms will also produce frequent and dangerous lightning.</br>
Action: Seek safe shelter immediately. Criteria: Hail - 1" or larger; Wind - 58 mph or greater.</br></br>

<strong>Severe Weather Statement</strong> - A severe weather statement provides follow-up information on severe weather conditions (severe thunderstorm or tornadoes) which have occurred or are currently occurring.</br></br>

<strong>Special Marine Warning</strong> - A special marine warning is issued for any of the hazardous maritime weather conditions; thunderstorms over water; thunderstorms that will move over water; or waterspouts which usually last two hours or less and produce sustained winds or frequent gusts of 34 knots or more, and/or hail ¾ inch or larger. The Special Marine Warning should also be issued for non-convective short duration winds of 34 knots or greater.
Action: Boaters should move to safe harbor.</br></br>

<strong>Red Flag Warning</strong> - A red flag warning is issued when extreme burning conditions are forecasted. Forecasting criteria includes relative humidity, wind and temperature. Dry fuels are also a factor.
Action: No open burning.</br></br>

<strong>River Flood Warning</strong> - A river flood warning is issued for specific communities or areas along a river where flooding is imminent or occurring. River flood warnings will provide crest forecasts.</br>
Action: move to higher ground; do not drive through flooded roadways.</br></br>

<strong>Tornado Warning</strong> - A tornado warning is issued if a cloud rotation has been spotted or when a tornado is imminent or occurring. This includes when a tornado is indicated by Doppler radar or sighted by spotters.
<strong>Action:</strong> Seek safe shelter immediately.</br></br>

<u><strong>ADVISORIES</strong></u></br></br>

    Advisories are for conditions less serious than warnings, and cause significant inconvenience. If caution is not exercised, weather advisories could lead to situations that may threaten life or property.</br></br>

<strong>Dense Fog Advisory</strong> - A dense fog advisory is issued when widespread fog will reduce visibility to one-fourth mile or less.</br></br>

<strong>Heat Advisory</strong> - A heat advisory is issued when heat index is expected to reach at least 100°F but less than 105°F.</br></br>

<strong>Urban & Small Stream Flood Advisory</strong> - An urban and small stream flood advisory provides information on elevated river/stream flow or ponding of water in geographical area when such an event warrants notification of the public in a product less urgent than a warning. This advisory is issued when heavy rain is predicted to cause flooding of streets and low-lying places in urban areas. It is also used if small rural or urban streams are expected to reach or exceed their banks.</br></br>

<strong>Wind Advisory</strong> - A wind advisory is issued when sustained winds are expected to be 40 mph or greater for at least an hour, or any wind gust between 46 mph and 57 mph.</br></br>

<u><strong>WEATHER TERMS</strong></u></br></br>

<strong>Cold Air Funnels</strong></br>
Weak funnel cloud extensions from cumulous clouds that typically remain aloft. Cold air funnels form in cold, unstable air masses and are not usually associated with thunderstorms or severe weather.</br></br>

<strong>Downburst</strong></br>
A strong downdraft current of air from a thunderstorm, often associated with intense thunderstorms. Downbursts may produce damaging winds at the surface.</br></br>

<strong>Flash Flood</strong></br>
A rapid and extreme flow of high water into a normally dry area, or a rapid rise in a stream or creek above a predetermined flood level, beginning in a short period of time from the causative event. A flash flood can occur very rapidly. Flash floods occur as the result of very heavy rainfall in a short period of time, generally over a relatively small area.</br></br>

<strong>Flood</strong></br>
A condition that occurs when water overflows the natural or artificial confines of a stream or body of water, or accumulates by drainage over low lying areas. This flood is any high flow of water, overflow, or inundation by water which causes or threatens damage.</br></br>

<strong>Funnel Cloud</strong></br>
A condensation funnel extending from the base of a towering cumulus cloud associated with a rotating column of air that is not in contact with the ground – and hence, different from a tornado. A condensation funnel is a tornado, not a funnel cloud if:</br>
<strong>a.</strong>) it is in contact with the ground;</br>
<strong>b.</strong>) a debris cloud or dust whirl is visible beneath it.</br></br>

<strong>Gust Front</strong></br>
The leading edge of gusty surface winds that flow from the base of a thunderstorm and spread along the ground in advance of the thunderstorm.</br></br>

<strong>Lightning</strong></br>
A visible electrical discharge produced by a thunderstorm. The discharge may occur within or between clouds, between the cloud and air, between a cloud and the ground or between the ground and a cloud.</br></br>

<strong>Severe Thunderstorm</strong></br>
A thunderstorm producing a tornado and/or, damaging winds of 58 mph or higher, and/or hail 1 inch in diameter or larger.</br></br>

<strong>Squall Line</strong></br>
A line of active thunderstorms, either continuous or with breaks, including contiguous precipitation areas resulting from the existence of the thunderstorm.</br></br>

<strong>Straight-Line Winds</strong></br>
Generally, any wind that is not associated with rotation, used mainly to differentiate them from tornadic winds. These thunderstorm winds may produce damage that typically exhibits a lack of a rotational damage pattern.</br></br>

<strong>Thunderstorm</strong></br>
In general, a local storm produced by a cumulonimbus cloud, and accompanied by lightning and thunder, many times with strong wind gusts, heavy rain and sometimes hail. A cumulonimbus cloud is a cauliflower-shaped cloud that usually has a height taller than or equal to its width.</br></br>

<strong>Tornado</strong></br>v
A violently rotating column of air that comes in contact with the ground, usually, descending from the base of a thunderstorm. In Ohio, many tornadoes are obscured by hills, trees and rain.</br></br>

No, I will not offer free downloads to Premium DzinerStuido themes. Please stop asking.

ARG01

Topic Marked Solved.

Quote from: Arantor on April 23, 2012, 03:24:08 PM
It's the hyphen after Special Weather Statement. It's not a legal ISO-8859-1 character. Convert to UTF-8 and repost it.
No, I will not offer free downloads to Premium DzinerStuido themes. Please stop asking.

MrPhil

Yes, you have to be careful when you cut and paste in material, especially from Word documents. That text had an em-dash in it, which many browsers interpret as a control code in UTF-8.

MrPhil

Here's a patch for handling MS Smart Quotes: http://www.simplemachines.org/community/index.php?topic=476538.msg3333723#msg3333723

It's lightly tested, but might be a good starting place.

Advertisement: