forum.coppermine-gallery.net
Support => cpg1.4 plugins => cpg1.4.x Support => Older/other versions => cpg1.4 plugin contributions => Topic started by: Joachim Müller on December 19, 2005, 10:09:42 am
-
Nibbler has created a plugin that enables multiline comments - originally posted in the cpg1.3.x mod "[MOD] Multiline Comments! (http://forum.coppermine-gallery.net/index.php?topic=18217.msg110980#msg110980)"
-
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
-
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)
-
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?
-
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
-
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>
-
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.