Guestbook: no line-breaks in comments!!

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
hesbas

Guestbook: no line-breaks in comments!!

Post by hesbas »

The Guestbook works fine exept one thing:

Typed text in the comments field will alwas show as one line after submitting. Line-breaks seem to be deleted. Wat can it be?

An other question is: is it possible to use a form of layout as in the admin, like text-color and text-size?
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm
Location: the Netherlands

Re: Guestbook: no line-breaks in comments!!

Post by Dee »

On line 46 of action.get-entrylist.php, above

Code: Select all

$entries[$index] = $entry;
add

Code: Select all

$entry['message'] = nl2pnbr($entry['message']);   
                                                                                                       

or use the latest version of action.get-entrylist.php from SVN.

I'll add some basic wysiwyg in the next release.

Regards,
D
hesbas

Re: Guestbook: no line-breaks in comments!!

Post by hesbas »

Thanx!

It worked... So far nog bugs found anymore

Keep up the good work!

Grz,

Bas
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm
Location: the Netherlands

Re: Guestbook: no line-breaks in comments!!

Post by Dee »

I just released Guestbook-1.1.4 which fixes this problem and adds basic WYSIWYG using FCKeditor.

Regards,
D
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm
Location: the Netherlands

Re: Guestbook: no line-breaks in comments!!

Post by Dee »

And today I released Guestbook-1.1.5 which fixes the WYSIWYG not showing and some other small issues.

Regards,
D
Locked

Return to “Modules/Add-Ons”