Title: NextGEN Gallery Authors
Author: roberto.c
Published: <strong>2011 年 8 月 28 日</strong>
Last modified: 2011 年 9 月 2 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

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

# NextGEN Gallery Authors

 作者：[roberto.c](https://profiles.wordpress.org/robertoc/)

[下载](https://downloads.wordpress.org/plugin/nextgen-gallery-authors.0.2.5.zip)

 * [详情](https://cn.wordpress.org/plugins/nextgen-gallery-authors/#description)
 * [评价](https://cn.wordpress.org/plugins/nextgen-gallery-authors/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/nextgen-gallery-authors/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/nextgen-gallery-authors/#developers)

 [支持](https://wordpress.org/support/plugin/nextgen-gallery-authors/)

## 描述

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

**[ A T T E N T I O N ] NextGEN Gallery core modification required!**

Read [installation page](https://wordpress.org/extend/plugins/nextgen-gallery-authors/installation/)

NextGEN Gallery Authors is an add-on for the best wordpress gallery plugin i have
seen! With my plugin, you can show galleries filtered by author.

### 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.

## 安装

**[ A T T E N T I O N ] NextGEN Gallery core modification required!**

To use this plugin, you need to make a simple change to a NextGEN Gallery file(tested
with version 1.8.3).
 This will be necessary until the change will not be integrated(
I have already sent the request to Alex Rabe). To make the change, follow the instructions:

 1. Open the following file: /wp-content/plugins/nextgen-gallery/nggfunctions.php;
 2. The changes affect the function nggCreateAlbum, go to row 580, just before the
 3. // check for page navigation
 4. if ($maxElement > 0) {
 5. Enter the following filter:
 6. $galleries = apply_filters(‘ngg_album_galleries_before_paging’, $galleries, $album);
    ————————;
 7. To check if you have done correctly, check the screenshot (plugins/nextgen-gallery-
    date/date/admin/images/ngg-new-filter.png);

Now, install the plugin:

 1. Install & Activate the plugin (you need NextGEN Gallery plugin to be active!)
 2. Check if there is a nggallery folder (and the gallery.php inside) in your theme
    folder. If not, create that folder, then open the “nextgen-gallery” folder in wordpress
    plugin folder, open “view” folder, copy gallery.php and album-extend.php and paste
    them in the nggallery folder you created before.
 3. in album-extend.php, inside te cycle ‘foreach ($galleries as $gallery)’ you can
    use this var ‘$gallery->author_galleries’ to get a link (like this http://lorem.
    com/lorem-ipsum/nggallery/auth-1) to reload the page only to show galleries created
    by that author.
     You can link directly the name of the author in this way:
 4.     ```
        $author = get_the_author_meta('display_name', $gallery->author);
        ...
        <a href="<?php $gallery->author_galleries ?>"><?php $author ?></a>
        ...
        ```
    

That’s it … Have fun

## 评价

此插件暂无评价。

## 贡献者及开发者

「NextGEN Gallery Authors」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「NextGEN Gallery Authors」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/nextgen-gallery-authors)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/nextgen-gallery-authors/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/nextgen-gallery-authors/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/nextgen-gallery-authors/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/nextgen-gallery-authors/)。

## 更新日志

#### V0.2.5 – 02.09.2011

 * Fix: the menu will no longer show

#### V0.2.3 – 01.09.2011

 * Some core modifications

#### V0.2.2 – 29.08.2011

 * Fix: the warning box in admin pages can not be closed

#### V0.2.1 – 28.08.2011

 * Fix: plugin forum link was incorrect
 * Fix: NGG core modification instructions: filter line is incomplete (need ; at
   the end)

#### V0.1 – 24.08.2011

 * Initial release

## 额外信息

 *  版本 **0.2.5**
 *  最后更新：**15 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.1 或更高版本 **
 *  已测试的最高版本为 **3.2.1**
 *  语言
 * [English (US)](https://wordpress.org/plugins/nextgen-gallery-authors/)
 * 标签
 * [NextGEN Gallery](https://cn.wordpress.org/plugins/tags/nextgen-gallery/)
 *  [高级视图](https://cn.wordpress.org/plugins/nextgen-gallery-authors/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/nextgen-gallery-authors/reviews/)

## 贡献者

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

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/nextgen-gallery-authors/)