這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

G3Client

外掛說明

G3Client embedds Gallery3 resources (albums, photos) into a WordPress posting or page.
It requires the following software available on the server:

  • PHP 5 (tested with 5.3, recommended)
  • WordPress 3 (tested with 3.0.5)
  • Gallery3 with REST API (tested with Gallery3 3.0.1)
  • PHP CURL Extension or HTTP_Request2 (http://pear.php.net/package/HTTP_Request2/)

螢幕擷圖

  • The preferences page
  • The embedded gallery created by G3Client (default style sheet)
  • Embedded gallery showing an album containing an album and photos
  • Full image view using the lightbox (fancybox)

安裝方式

  1. Upload g3client.zip to the /wp-content/plugins/ directory
  2. Unzip g3client-VERSION.zip
  3. Install and activate G3Client in the plugin manager
  4. Make sure you’ve enabled the rest api in Gallery3
  5. Open Settings -> G3Client
  6. Set the Gallery3 api settings (api base url and api key)
  7. Save the settings. G3Client checks the connection to Gallery3, if you don’t see an error
    message, G3Client should work
  8. Add the shortcode to a post/page: [g3client]

You can easily modify the default style sheet, it is located in /wp-content/plugins/g3client/css/.

There is also the possibility to load a user defined style sheet (see the option page for details).

常見問題集

Can http basic authentication be used with G3Client?

Yes, just specify it in the Gallery3 api base url as follows:

http://username:password@example.com/gallery3/index.php/rest/

How can I translate G3Client into my language?

The .pot file is supplied in the directory g3client/languages. Together with Poedit, you can
translate all messages of G3Client.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈G3Client〉的開發相關工作。

參與者

將〈G3Client〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

0.2.0

  • added siderbar widget to display a random image from Gallery3
  • added custom album and photo listing titles
  • fixed url generation errors
  • fixed various small problems
  • admin interface improvements
  • refactorings and extensions to simplify the creation of new widgets and
    output modules

0.1.5

  • added lightbox compatibility mode to prevent doubled lightboxes, especially when having
    jQuery Colorbox installed, thx to admaust
  • added the possibility to include a user defined css file (see g3client/css/user.css for
    a template), the user css file will disable the default css, thx to admaust
  • added some more shorttags and display customizations
  • internal optimizations

0.1.4

  • fixed broken urls, thx to admaust

0.1.3

  • fixed versioning

0.1.2

  • removed HTTP_Request2 dependency, the more common php curl extension is now used by default
  • added missing shortcode documentation for items per row

0.1.1

  • first public release