[WordPress] 外掛分享: Social Crowd

首頁外掛目錄 › Social Crowd
WordPress 外掛 Social Crowd 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
50+
安裝啟用
★★★★
4.6/5 分(5 則評價)
4636 天前
最後更新
問題解決
WordPress 3.0+ v0.9.6.1 上架:2011-05-19

內容簡介

「Social Crowd 外掛」可以從您喜愛的社交網路取得最新的朋友/粉絲/追蹤者等數量,然後顯示在您的部落格上。報告的數量原始且未經樣式化,因此您可以使它們看起來和感覺像您的網站。這是鼓勵更多使用者加入您的網路的完美解決方案。

重要提示:此外掛需要安裝 PHP Curl 模組才能正常運作。請確認已安裝。

支援的網路:

Facebook
Twitter
YouTube
Vimeo

外掛用法

Feedburner 更新
Google 已停止所有 Feedburner API,因此無法取得 Social Crowd 外掛之前提供的統計數據,因此支援 Feedburner 已停用⋯

Google+/LinkedIn 更新
Google+ 和 LinkedIn 網站的變更會定期破壞外掛從這些網路中取得數據的能力,因此 0.9 版本起,暫停支援,直到能夠建立更好的抓取統計數據的方法。

基本用法

在 WordPress 管理員的「Social Crowd 選項」頁面上設置選項(設置要從哪些社交網路收集統計數據),然後進入「Widgets 管理員」,啟用「Social Crowd」小工具。此小工具會自動顯示您在選項頁面中選擇的社交網路,並提供有限的自定義功能。

進階用法

在如「基本用法」中所示的配置選項後,您可以在小工具管理中啟用「Social Crowd Advanced」小工具。此小工具可讓您具體選擇要在小工具區域中顯示的網路,並允許您自定義顯示統計數據時使用的文字。

此外,還有一個短代碼,可讓您在整個文章和頁面中訪問統計數據並輸出它們。
短代碼的用法如下:

[SC_Stats type=network]

其中,network 是您要顯示的社交網路,例如:「facebook」、「twitter」等,或在下方的「可用統計數據」列表中列出的任何可用統計數據。如果在短代碼中不包含網路類型,它將默認返回您的 Facebook 統計數據。

進階(設計師/開發人員)用法

「Social Crowd 外掛」提供了可用於您的佈景主題文件中的函數調用,以更好地宣傳您或您的客戶的社交網路。函數文檔如下。

您將調用的「Social Crowd」函數是:

SocialCrowd_Stats();

您有兩個選擇:

使用特定網路調用該函數:

將該函數放在您希望顯示數據的位置。
使用特定的網路名稱(全部小寫)調用函數:

SocialCrowd_Stats(‘facebook’)
SocialCrowd_Stats(‘twitter’)
SocialCrowd_Stats(‘youtube’)
等等⋯

函數將顯示所請求的網路統計數據。

不使用特定網路調用該函數:

將該函數放在您希望的位置。
不使用任何選項,調用該函數。
$stats = SocialCrowd_Stats()
該函數將返回含有所有網路的統計數據的數組。
數組是一個關聯數組,您可以像下面這樣訪問它:

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.9.6.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Social Crowd」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

The Social Crowd Plugin grabs the latest counts of your Friends/Fans/Followers etc from your Favorite Social Networks and then displays them on your Blog. The counts that are reported come raw and without styling, so you can make them look and feel like your website. It is the perfect solution to encourage more users to join your network.
Important: This plugin REQUIRES the PHP Curl Module in order to function. Please make sure it is installed.
Supported Networks:

Facebook
Twitter
Youtube
Vimeo

Plugin Usage
Feedburner Update
Google has discontinued all feedburner API’s thus making it impossible to acquire the stats that the Social Crowd plugin had made available previously, so feedburner support has been discontinued…
Google+/LinkedIn Update
Changes on the Google+ and LinkedIn sites periodically break the ability for the plugin to grab the stats from those networks, so as of the 0.9 release support will be discontinued for now, until a better method for grabbing the stats can be established.
Basic Usage
After setting up the options on the ‘Social Crowd Options’ page in the wordpress administrator (setting the Social Networks that you want to collect stats from), you can go to the Widgets manager and enable the ‘Social Crowd’ widget. This widget will automatically display the networks that you have selected on the options page, with some limited customizability, and you are good to go.
Intermediate Usage
After configuring the options as indicated in the ‘basic usage’ above, you can enable the ‘Social Crowd Advanced’ widget in the widget administrator. This widget gives you the ability to specifically select the networks that you want to display in the widget area, and also allows you to customize the text that is displayed with the stats.
Additionally there is a shortcode that allows you to access the stats and output them throughout your posts and pages.
The shortcode is used as follows:
[SC_Stats type=network]
where network is the social network that you want to display stats for ie: ‘facebook’, ‘twitter’, etc… or any of the available stats listed in the ‘Available Stats’ list below. If you do not include a ‘type’ of network in the shortcode it will return your facebook stat count by default.
Advanced (Designer/Developer) Usage
The Social Crowd Plugin provides function calls that you can use throughout your theme files to better promote your or your clients social networks. The function documentation is as follows.
The Social Crowd function you will call is:
SocialCrowd_Stats();

You have two options:

Calling the function with a specific network:

Place the function wherever you want the data to be displayed.
Call the function with a specific network name (all lowercase):

SocialCrowd_Stats(‘facebook’)
SocialCrowd_Stats(‘twitter’)
SocialCrowd_Stats(‘youtube’)
etc…

Function will echo out the requested Network Stats.

Calling the function without a specific network:

Place the function anywhere you want.
Call the function with no options.
$stats = SocialCrowd_Stats()
The function will return an array with the stats for all your networks.
the array is an associative array that you can you can access like so:

$stats[‘facebook’]
$stats[‘twitter’]
$stats[‘youtube’]
etc…

Available Stats
The available stats are listed in the following order:
Type of statistic (‘keyword’), use the keyowrd in the Social Crowd function to retrieve the desired content.

Facebook Friend/Like Count
(‘ facebook ‘) Number of friends or page likes.
Twitter Follower Count
(‘ twitter ‘) Number of followers.
Twitter Friend Count
(‘ twitterFriends ‘) Number of Friends you have.
Twitter Statuses Count
(‘ twitterStatuses ‘) Number of status updates you have sent.
Twitter Listed Count
(‘ twitterListed ‘) Number of lists you have been added to.
Youtube Friend Count
(‘ youtube ‘) Number of friends on Youtube.
Youtube Subscriber Count
(‘ youtubeSubscribers ‘) Number of Youtube subscribers.
Youtube Viewed Count
(‘ youtubeViews ‘) Number of videos you have viewed.
Youtube Uploaded Views Count
(‘ youtubeUploadViews ‘) Number of views your uploaded videos have had on Youtube.
Vimeo Friend Count
(‘ vimeo ‘) Number of friends you have on Vimeo.
Vimeo Uploads Count
(‘ vimeoUploads ‘) Number of videos you have uploaded to Vimeo.
Vimeo Appears In Count
(‘ vimeoAppearsIn ‘) Number of videos you appear in on Vimeo.
Vimeo Likes Count
(‘ vimeoLikes ‘) Number of videos that you have liked on Vimeo.

I hope to expand this list to include your favorites ( just leave me some comments on the plugin homepage ).
A big thanks to DeviantArt’s jwloh for creating the Social.me and Aquaticus Icon Sets that is used in the plugin’s Administrator and Widgets, You can check out his work.
Other icons used with the Widget are:
Elegant Media Icon Set
Picons Icon Set
Social Balloon Icon Set
Socialize Sticker Icon Set

延伸相關外掛

文章
Filter
Apply Filters
Mastodon