Multiline Comments Multiline Comments
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Multiline Comments

Started by Joachim Müller, December 19, 2005, 10:09:42 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Joachim Müller

Nibbler has created a plugin that enables multiline comments - originally posted in the cpg1.3.x mod "[MOD] Multiline Comments!"


Mats

#1
Is the zip in this thread or the original one the latest? This one says $version='1.0';, but the one in the original thread says 1.1?

EDIT
The one below is newer and solves the double new rows issue:
http://forum.coppermine-gallery.net/index.php?topic=18217.msg110980#msg110980

stormtrooper

the double line bug is not yet fixed.

Enter or Shift-Enter gives a double-liner. when writing without hitting the enter button it "breaks" the text correctly on the next line.

also spacing of the table is not correct and shows a black line.

table 1 (black background)
---table 2 (comment box)
black line-----------------
---table 3 (smile box)

bitcloud

I use this multiline comments plugin, but I find I can't edit the comments using the (e) edit button.

Has anyone else encountered this possible bug?

Oracle9

The Multiline Comments work fine with me but iwith the subscribe/unscribe comments control of Stramm modpack:

in the write comment box below the pics, the clickable text (subscribe/unscribe) is disappeared.
Any help
Regards

jesusarmy

Quote from: Oracle9 on November 17, 2007, 08:49:03 AM
The Multiline Comments work fine with me but with[out] the subscribe/unscribe comments control of Stramm modpack:
in the write comment box below the pics, the clickable text (subscribe/unscribe) is disappeared.
Any help

In plugins/multiline_comments/codebase.php, find:
$template_add_your_comment = <<<EOT
<table align="center" width="{WIDTH}" cellspacing="1" cellpadding="0" class="maintable">
        <tr>
        <td width="100%" class="tableh2_compact"><b>{ADD_YOUR_COMMENT}</b></td>
        </tr>


change one line (<td> ... </td>) so it becomes:
$template_add_your_comment = <<<EOT
<table align="center" width="{WIDTH}" cellspacing="1" cellpadding="0" class="maintable">
        <tr>
        <td width="100%" class="tableh2_compact"><span style="float: left"><b>{ADD_YOUR_COMMENT}</b></span><span style="float: right">{SUBSCRIBE}</span></td>
        </tr>

jesusarmy

There is one problem I have found with this plugin. Multiline input with textarea doesn't accept "maxlength" (unlike single line text input), so the setting for maximum length of comments is not respected.

That can have an impact on vulnerability to spam, which is often many lines long.