Advanced search  

News:

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

Pages: [1]   Go Down

Author Topic: Multiline Comments  (Read 25258 times)

0 Members and 1 Guest are viewing this topic.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Multiline Comments
« 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!"

« Last Edit: May 31, 2006, 07:12:34 am by GauGau »
Logged

Mats

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Multiline Comments
« Reply #1 on: May 30, 2006, 02:42:04 pm »

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
« Last Edit: May 30, 2006, 02:48:35 pm by Mats »
Logged

stormtrooper

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: Multiline Comments
« Reply #2 on: May 31, 2006, 01:03:46 am »

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)
Logged

bitcloud

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 117
Re: Multiline Comments
« Reply #3 on: October 09, 2007, 01:09:46 pm »

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?
Logged

Oracle9

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: Multiline Comments
« Reply #4 on: November 17, 2007, 08:49:03 am »

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
Logged

jesusarmy

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 34
Re: Multiline Comments
« Reply #5 on: January 09, 2008, 11:30:18 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:
Code: [Select]
$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:
Code: [Select]
$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>
Logged

jesusarmy

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 34
Re: Multiline Comments
« Reply #6 on: February 29, 2008, 11:47:22 am »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.333 seconds with 20 queries.