Linux 软件免费装

NextGEN Gallery Comments

开发者 Roberto Cantarano
更新时间 2011年9月17日 02:01
PHP版本: 2.9.1 及以上
WordPress版本: 3.2.1

标签

comments gallery comment nextgen nextgen gallery comments nextgen-gallery photo-gallery nextgen-gallery-comments

下载

0.1.5 0.1.1 0.1.2 0.1.3 0.1.4

详情介绍:

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

安装:

  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

常见问题:

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)

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. Log out?' ), admin_url( 'profile.php' ), $user_identity, wp_logout_url( apply_filters( 'the_permalink', $logout_url ) ) ) . ''; return $defaults; }

更新日志:

V0.1.5 - 16.09.2011 V0.1.4 - 02.09.2011 V0.1.3 - 31.08.2011 V0.1.2 - 28.08.2011 V0.1.1 - 27.08.2011 V0.1 - 24.08.2011