Posted on: 04/04/02 10:14am
By: tubbs
Hi, I really need to fix this. When users on my site submits articles, they submit it in plain text and it looks ok when i first check it. But, then there's this problem; the users have only one form-area to submit in, which becomes the "intro text". I then have to move the main part of the article to "body text". The intro text part is nicely formatted with single spacing, but the body text part looks freakish with double spacing. When looking at the printer friendly version it looks ok though... Could anyone please give me a hint about what to do?
(a suggestion for other releases of geeklog is to let the user have two submit field too, one for intro text and one for body text...)
If you dont understand what i mean, just check www.freebsd.se and see for your self.
TIA
tubbs
Writing for the Web
Posted on: 04/09/02 12:17pm
By: tcarr
News sites never carry the whole article as a solid chunk of text. There is always an opening statement or a kicker to draw readers into the article. Two text input boxes would allow the writer of an article to indicate their intended split between into and main text. It would also ease the work of the editor.
I would suggest a short term solution in a situation where the community members operate as peers. That is to assign everyone story admin rights so they can use the story admin block to enter their stories.
tcarr
Writing for the Web
Posted on: 04/09/02 05:11pm
By: Anonymous (Anonymous)
Sure, I agree, I could do that, but it still doesnt solve the crazy formatting

, Im sure its something simple...
Old bug...
Posted on: 04/10/02 09:36am
By: Tony
This was an old bug and has been fixed in newer versions of geeklog. I'd upgrade if I were you.
-----
The reason people blame things on previous generations is that there's only one other choice.
Old bug...
Posted on: 04/10/02 10:10am
By: tubbs
ok, so this was a bug in 1.3.3, but its solved in 1.3.4?
Old bug...
Posted on: 04/10/02 10:19am
By: squatty
I've got the same issue on a 1.3.4 install. My fix to date has been to edit the data in phpMyAdmin.
Old bug...
Posted on: 04/10/02 10:30am
By: tubbs
ugh, I'll try upgrading later tonight. I'll post if it helped or not.
Crazy Formatting
Posted on: 04/10/02 04:25pm
By: tcarr
Only solution I have found in the short term is to enter the relevant html line <br> and paragraph breaks <p> and to switch the format to html.
Crazy Formatting
Posted on: 04/11/02 07:24am
By: Anonymous (Anonymous)
yup, but that would make do nothing but converting txt to html all day long... i actually have better things to do

, but yes its a solution hehe.
Still got the problem in 1.3.4 was: Old bug...
Posted on: 04/11/02 08:49am
By: tubbs
I tried upgrading, did _not_ change the formating...
Still got the problem in 1.3.4 was: Old bug...
Posted on: 04/11/02 05:28pm
By: tubbs
Now it works perfectly since i removed that extra nl2br() call, thanks a bunch Tony! what a relief

thanks thanks thanks!
(for those of you who have the same problem: about line 183 in public_html/lib-common.php theres an unnecessary use of nl2br, it looks like this:
$article->set_var('story_introtext', stripslashes($A['introtext']) . '<br><br>'.nl2br(stripslashes($A['bodytext'])));
but should look like this:
$article->set_var('story_introtext', stripslashes($A['introtext']) . '<br><br>'.stripslashes($A['bodytext']));
I kinda had a feeling it was just a small thing like this
