Problem with forum

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
1/4/2008 5:06:29 AM
Gravatar
Total Posts 19

Problem with forum

Hi. I run a small forum using built-in forum in mojoPortal, but I ran into a small problem.

Some posts are not displayed correctly. The problem is that the text sometimes goes outside the borders set for the post (vertically, it goes outside the right end). It doeas so on several skins, and the text has spaces. Furthermore, if I edit such note, and place another space it divides te whole line that went outside into two lines (so it may happen, that if I put a space right after the first word on the left, rest on the right is put into the second line). Just as if there were no spaces at all.

1/4/2008 9:50:53 AM
Gravatar
Total Posts 18439

Re: Problem with forum

Hi,

This sounds like skin specific style issues to me. Is your site public where I can see the problem? I would review the css in the affected skins, especially forummodule.css.

I would look for white-space: nowrap; as that is the most likely css setting that could cause the problem you describe. If found, remove it to fix the problem.

Hope it helps,

Joe

1/4/2008 11:10:49 AM
Gravatar
Total Posts 19

Re: Problem with forum

Hi.

Well, first of all, I haven't managed to do that. But I'll ask the users to try to post such message in public forum. If it happens, I give you a link.

As for the css:

.forumthreadcrumbs { margin: 0px 0px 3px 0px;}
.forumpostheader {padding: 0px 0px 0px 5px;margin: 0px 0px 0px 0px;
background-color: #eee; font-weight: bold; }
.postwrapper { background-color: #EAEAEA; margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px; border:solid thin #EAEAEA;}
.postleft {float: left; text-align:center; width: 20%; padding: 15px 5px 5px 5px;
margin: 0px 0px 0px 0px; }
.postright { padding: 0px 0px 0px 0px; margin: 0px 0px 0px 21%;
background-color: white; }
.posttopic { background-color: #EAEAEA; }
.postbody { padding: 10px 5px 0px 5px; }
.forumpostuserpropertylist { margin: 0px 0px 0px 0px; text-align: center; }
.forumpostusername { list-style-type:none; }
.forumpostuseravatar { list-style-type:none; }
.forumpostuserattribute { list-style-type:none; }

 

 

btw, how can I remove this popup window when I press ctrl+v?

1/4/2008 1:14:53 PM
Gravatar
Total Posts 19

Re: Problem with forum

Hi. Found 2 examples:

Example 1, and 2

1/4/2008 1:24:40 PM
Gravatar
Total Posts 18439

Re: Problem with forum

Hi,

First link provided is broken. I can't tell anything from the screenshot. If it was a public site I would view the source of the rendered page to see whats going on with the markup and contents.

The forums are configured to force paste as plain text because users often copy some html fragment from a page and paste it in and it causes problems because its missing opening or closing tags or has other invalid markup. So forcing plain text strips out all the markup and is the safest way to allow pasting. The popup only happens in Firefox, not in IE. This is a feature of FCKeditor and how it handles things differently in gecko browsers vs IE.

You'll notice that the toolbar in the editor has item for paste as text as well as paste from word which helps cleanup things copied from word. Unfortunately we can't always count on users knowing enough to use these toolbar items. The Force paste as plain text feature is equivalent to clicking the Paste as Text toolbar item.

Hope it helps,

Joe

1/4/2008 1:45:49 PM
Gravatar
Total Posts 19

Re: Problem with forum

Here you go

On the example above you can see message with spaces.

1/4/2008 1:59:36 PM
Gravatar
Total Posts 18439

Re: Problem with forum

All the lines that cross the border have no space in them so they can't wrap. I thought you were saying they had space in them but still don't wrap.

This is normal behavior. It can't split words to wrap it can only wrap on white space.

Joe

1/4/2008 2:31:39 PM
Gravatar
Total Posts 19

Re: Problem with forum

The second post has spaces, but I just checked the code, and the're changed to  

Now I need to find a way to extend the post to include the whole word.

 

Thanks Joe :)

 

mojo Portal is great!

You must sign in to post in the forums. This thread is closed to new posts.