line-breaks dissapear after image upload/preview/edit [message #23162] |
Mon, 07 March 2005 12:30 |
!alex
Messages: 23 Registered: February 2004 Location: germany
Karma: 0
|
Junior Member |
|
|
Hello,
i have a serious problem with linebreaks in the edit-textarea:
In the following cases all the linebreaks dissapear and make a lot of work to bring the message in the right format again:
1.) image/file-upload while editing a message
2.) preview a message
3.) edit a message
I think it`s only a small bug to fix, if it`s necessary to hack the sourcecode a little it would also be not a big issue.
Thanks for your efforts,
Alex
P.S.: As i see in this forum the problem doesn't exist
|
|
|
Re: line-breaks dissapear after image upload/preview/edit [message #23165 is a reply to message #23162] |
Mon, 07 March 2005 15:20 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Can't replicate the problem on this or my development forum, try using a later version of the forum? If you already are perhaps you can give me access to the forum so that I can see the problem for myself and review your forum settings.
FUDforum Core Developer
|
|
|
|
|
|
|
|
|
|
Re: line-breaks dissapear after image upload/preview/edit [message #23216 is a reply to message #23162] |
Wed, 09 March 2005 02:02 |
!alex
Messages: 23 Registered: February 2004 Location: germany
Karma: 0
|
Junior Member |
|
|
You mean I change:
if (isset($_SERVER['REMOTE_ADDR']) || !defined('forum_debug')) {
$GLOBALS['usr'] =& init_user();
}
to something like:
if ((isset($_SERVER['REMOTE_ADDR']) || !defined('forum_debug')) && !in_array($_SERVER['HTTP_USER_AGENT'],$aSpiders)) {
$GLOBALS['usr'] =& init_user();
}
and disable referrer check in the global settings works even if there is no user created by the forum then ?
Alex
[Updated on: Wed, 09 March 2005 02:03] Report message to a moderator
|
|
|
|