Title: NextGEN Gallery Comments
Author: roberto.c
Published: <strong>25 d'agost de 2011</strong>
Last modified: 16 de setembre de 2011

---

Cerca extensions

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

![](https://s.w.org/plugins/geopattern-icon/nextgen-gallery-comments.svg)

# NextGEN Gallery Comments

 Per [roberto.c](https://profiles.wordpress.org/robertoc/)

[Baixa](https://downloads.wordpress.org/plugin/nextgen-gallery-comments.0.1.5.zip)

 * [Detalls](https://ca.wordpress.org/plugins/nextgen-gallery-comments/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/nextgen-gallery-comments/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/nextgen-gallery-comments/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/nextgen-gallery-comments/#developers)

 [Suport](https://wordpress.org/support/plugin/nextgen-gallery-comments/)

## Descripció

**Please use at least version 1.8.3 of NextGEN Gallery. This plugin is not tested
with lower versions**

NextGEN Gallery Comments give power to the best wordpress gallery plugin i have 
seen! With my plugin, now all users can leave comments to your galleries. Comments
are also displayed in admin in Comments section and in manage gallery page.

** * * NOTE * * **

For now, comments are show on galleries only when they are not called directly in
post/page with shortcode. Example:

[nggallery id=X] —-> gallery comments are not showed

[album id=X] —-> gallery comments are showed (Not in album list, but inside the 
gallery page)

I will check in next release to find a way to do it.

#### Features

 * Template : You can add custom comment form template for your theme. (read F.A.
   Q.)

### Credits

Copyright 2011 by Roberto Cantarano

This program is free software; you can redistribute it and/or modify
 it under the
terms of the GNU General Public License as published by the Free Software Foundation;
either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
 but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
PARTICULAR PURPOSE. See the GNU General Public License for more details.

## Instal·lació

 1. Upload `plugin-name.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress (you need NextGEN Gallery
    plugin to be active!)

That’s it … Have fun

## PMF

  I have installed the plugin but i can’t see any admin options page. Where is it?

Ehm.. this is my first release of my first plugin, in next versions i will ad an
option page with various options.

  What about customizing the comments page?

This is a simple task. This plugin use the template `comments-nggallery.php` inside`
plugins/nextgen-gallery-comments/template` to show comments list and form.
 If you
want to customize it, copy it and paste in your theme inside `nggallery` folder (
if this not exists, create it. This folder is needed to customize [NextGEN Gallery templates](http://nextgen-gallery.com/templates/))

  If i click the logout button in gallery comment form, the page is bad redirected.
How can i fix it?

You have to use a filter (put it in FUNCTIONS.PHP in your theme) to change the logout
url:

add_filter(‘your_function’,’rcwd_comment_form_defaults’);
 function your_function(
$defaults){ global $user_identity, $post_id; if(get_query_var(‘gallery’) != ”){ 
$logout_url = esc_attr($_SERVER[“REQUEST_URI”]); }else{ $logout_url = get_permalink(
$post_id); } $defaults[‘logged_in_as’] = ‘

‘ . sprintf( __( ‘Logged in as [%2$s](https://ca.wordpress.org/plugins/nextgen-gallery-comments/%1$s?output_format=md).
[Log out?](https://ca.wordpress.org/plugins/nextgen-gallery-comments/%3$s?output_format=md)‘),
admin_url( ‘profile.php’ ), $user_identity, wp_logout_url( apply_filters( ‘the_permalink’,
$logout_url ) ) ) . ‘

‘;
 return $defaults;

}

## Ressenyes

No hi ha ressenyes per a aquesta extensió.

## Col·laboradors i desenvolupadors

«NextGEN Gallery Comments» és programari de codi obert. La següent gent ha col·laborat
en aquesta extensió.

Col·laboradors

 *   [ roberto.c ](https://profiles.wordpress.org/robertoc/)

[Traduïu «NextGEN Gallery Comments» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/nextgen-gallery-comments)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/nextgen-gallery-comments/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/nextgen-gallery-comments/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/nextgen-gallery-comments/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/nextgen-gallery-comments/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### V0.1.5 – 16.09.2011

 * FIX: gallery is displayed above the content event if inside the editor it was
   placed below

#### V0.1.4 – 02.09.2011

 * FIX: ‘no comments’ text in nggallery-manage-gallery appears in bottom left position

#### V0.1.3 – 31.08.2011

 * FIX: all existing galleries before the plugin activation don’t show comments
 * Removed comments from gallery when called directly with shortcode [nggallery 
   id=X]

#### V0.1.2 – 28.08.2011

 * Fixed some bugs which did not allow the installation in NextGEN Gallery Date 
   is active

#### V0.1.1 – 27.08.2011

 * Fixed some bugs which did not allow the display of comments

#### V0.1 – 24.08.2011

 * Initial release

## Meta

 *  Versió **0.1.5**
 *  Darrera actualització **fa 15 anys**
 *  Instal·lacions actives **70+**
 *  Versió del WordPress ** 2.9.1 o posterior **
 *  Provada fins a **3.2.1**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/nextgen-gallery-comments/)
 * Etiquetes
 * [comment](https://ca.wordpress.org/plugins/tags/comment/)[gallery](https://ca.wordpress.org/plugins/tags/gallery/)
   [nextgen](https://ca.wordpress.org/plugins/tags/nextgen/)[NextGEN Gallery](https://ca.wordpress.org/plugins/tags/nextgen-gallery/)
   [photo gallery](https://ca.wordpress.org/plugins/tags/photo-gallery/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/nextgen-gallery-comments/advanced/)

## Valoracions

 1 sobre 5 estrelles.

 *  [  0 valoracions de 5 estrelles     ](https://wordpress.org/support/plugin/nextgen-gallery-comments/reviews/?filter=5)
 *  [  0 valoracions de 4 estrelles     ](https://wordpress.org/support/plugin/nextgen-gallery-comments/reviews/?filter=4)
 *  [  0 valoracions de 3 estrelles     ](https://wordpress.org/support/plugin/nextgen-gallery-comments/reviews/?filter=3)
 *  [  0 valoracions de 2 estrelles     ](https://wordpress.org/support/plugin/nextgen-gallery-comments/reviews/?filter=2)
 *  [  1 valoració de 1 estrelles     ](https://wordpress.org/support/plugin/nextgen-gallery-comments/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/nextgen-gallery-comments/reviews/#new-post)

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/nextgen-gallery-comments/reviews/)

## Col·laboradors

 *   [ roberto.c ](https://profiles.wordpress.org/robertoc/)

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/nextgen-gallery-comments/)