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

TopList.cz

外掛說明

For English, please see below.

Czech: Tento plug-in Vám zajistí snadné použití statistické služby TopList.cz ve vašem blogu provozovaném na systému WordPress. Plug-in přidá nový widget (nazvaný TopList.cz) a jeho umístěním na stránku (do sidebaru) zajistíte automatické používání služby. Autoři webových stránek běžně zařazují kód pro používání služby TopList.cz do šablony vzhledu – ovšem moje řešení pomocí pluginu/widgetu zajistí používání služby bez ohledu na použitou šablonu – můžete šablony vzhledu přepínat dle libosti a statistiky jsou stále zajištěny. K dispozici je plná konfigurace služby (např. vzhled ikony, detaily sledování apod.).

English: This plug-in allows for easy integration of web statistics service TopList.cz into your blog run by WordPress. Plug-in adds a new widget (called TopList.cz) to WordPress and by placing the widget on your page (sidebar) you integrate TopList.cz into your blog. It is common to put the code for such service into the theme template, but my solution utilizing it as a widget allows to run the statistics regardless of the theme used – you can switch the themes and it works all the time. The widget contains complete configuration (displayed icon, detailed analytics etc.).

License

WTFPL License 2.0 applies

           DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
                   Version 2, December 2004

Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>

Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.

           DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
  TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

 0. You just DO WHAT THE FUCK YOU WANT TO.

螢幕擷圖

  • Konfigurace widgetu / widget configuration
  • Dashboard widget

安裝方式

For English, see below.

Czech:

  1. Pokud ještě nemáte svou registraci na serveru toplist.cz, pak je zapotřebí se zaregistrovat a získat ID pro své webové stránky.
  2. Nahrajte kompletní adresář pluginu do wp-content/plugins.
  3. Aktivujte plugin TopList.cz v administraci plug-inů.
  4. Přidejte widget TopList.cz v administraci Vzhled->Widgety do postranního panelu.
  5. V konfiguraci widgetu zadejte své ID pro server toplist.cz, případně zvolte další volby. Uložte změny.

English:

  1. If you don’t have a toplist.cz server registration yet, you have to registrate and receive ID number for your web presentation.
  2. Upload the full plugin directory into your wp-content/plugins directory.
  3. Activate the plugin in plugins administration.
  4. Add widget TopList.cz into your sidebar in Widgets administration.
  5. In widget configuration, enter your ID number for toplist.cz server; eventually you can change other options. Save changes.

常見問題集

Czech:

Od verze 3.2 widget umožňuje také nastavit, jestli se má obrázek (logo) ve sloupci vycentrovat nebo skrýt. To by sice mělo být standardně řešeno použitou šablonou skrz css kaskádový styl, nicméně někteří uživatelé nemusí být dostatečně zkušení v editaci kaskádových stylů, případně nemusejí mít možnost šablonu změnit, proto jsem do widgetu přidal možnost nastavit to přímo v něm.

Pokud chcete nastavit zobrazení widgetu ve vaší šabloně (tak jak to má být), pak do ní přidejte pro vycentrování:

.widget_toplist_cz {text-align:center}

případně pro skrytí zobrazení:

.widget_toplist_cz {display:none}

English:

Since version 3.2 you can also specify how to display the widget (logo) in the sidebar, you can center or hide it. This should normally be done via the theme css, but some users are not skilled in editing css styles or they might not have permission to change it, so I have added such option to specify the display directly in the widget config.

If you prefer to set the widget display in the theme css (as it should be), then for centering the widget use:

.widget_toplist_cz {text-align:center}

eventually for hiding the widget:

.widget_toplist_cz {display:none}

使用者評論

閱讀全部 3 則使用者評論

參與者及開發者

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

參與者

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

對開發相關資訊感興趣?

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

變更記錄

4.2

  • Access to toplist.cz changed from HTTP to HTTPS

4.1

  • Added totals to the graph legends in dashboard widget
  • Support for TopList security code
  • Automatic (ajax) reload of dashboard widget every 15 minutes

4.0.1

  • Bug fixes

4.0

  • Added dashboard widget, which displays the statistics retrieved from toplist.cz/sk

3.2

  • Added option for centering or hiding the widget.

3.1

  • Added option for filtering WordPress admins out of the statistics.

3.0

  • Recoded for WordPress 2.8 API.

2.0

  • Added support for toplist.sk server.
  • Link can lead to detailed statistics now.

1.0

  • Initial release.