[WordPress] 外掛分享: BuddyMenu BuddyLinks

前言介紹

  • 這款 WordPress 外掛「BuddyMenu BuddyLinks」是 2013-01-05 上架。
  • 目前有 80 個安裝啟用數。
  • 上一次更新是 2013-10-25,距離現在已有 4209 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.0 以上版本才可以安裝。
  • 有 17 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

leehodson |

外掛標籤

links | Link shortcodes | BuddyPress Shortcodes | BuddyPress Menu Widget | BuddyPress Menu Shortcode |

內容簡介

BuddyPress BuddyLinks 是一個外掛,具有以下三種優點:

BuddyMenu - BuddyPress 菜單小工具。
BuddyMenu - BuddyPress 菜單短代码。
BuddyLinks - BuddyPress 動態鏈接短代码。

此外掛需要 BuddyPress 才能運作。在 WP Multisite 上不需要網路啟用,且不會顯示給未登錄的使用者。

BuddyPress 菜單是動態的,每個登錄的使用者的網址都不同。這使得大多數社群管理員和網站管理員很難添加到其 BuddyPress 網站中的連結區域。您可以使用這個 BuddyMenu BuddyLinks 提供的小工具和短代码,在側欄、文章、頁面、小工具、頁尾或任何其他地方放置 BuddyPress 菜單或動態用戶鏈接。如果您不知道如何創建歡迎頁面並使用連結將新用戶發送到其個人資料頁面,因為每個用戶的鏈接都不同,請查看使用指南。

例如,指向用戶自己的活動流的鏈接看起來會像這樣:http://example.com/members/[USERNAME]/activity/。網址的 [USERNAME] 部分是由 BuddyPress 動態添加的。這意味著您需要使用圖片、視頻、圖表和大量文本來將人們引導到BP網站中的不同位置,或者您可以使用此 BuddyMenu BuddyLinks 提供的小工具和短代码。

BuddyMenu Widget
BuddyMenu Widget 顯示主要的 BP 菜單項目:

活動
論壇
朋友
消息
個人資料
編輯個人檔案
更改頭像
設置
菜單
自定義鏈接

BuddyMenu Widget 的功能:

選擇要顯示哪些菜單選項。
選擇菜單選項的顯示順序。
自定義菜單項目。
您可以為每個鏈接指定錨文本。
您可以選擇將菜單顯示為垂直列表或水平條。
小工具僅顯示給已登錄的使用者。未登錄的使用者看不到菜單。
菜單鏈接旁邊有美麗且時尚的菜單圖標。
自定義圖標。
選擇是否顯示圖標。
自定義菜單標題。

只需前往外觀 - 小工具,將 BuddyMenu Widget 拖放到您的側欄或任何其他小工具區域即可輕鬆使用。

BuddyMenu 短代码
BuddyMenu 短代码顯示 BuddyPress 菜單標籤。作為短代码,它可以嵌入任何頁面或文章中。如果您使用的是 Ultimate TinyMCE 外掛,您甚至可以將短代码放置在小工具中。

BuddyMenu 短代码的功能:

可配置的菜單標題,就像小工具一樣。
垂直或水平對齊。
可以關閉菜單項目。
可以啟用或禁用菜單圖標。
可以自定義菜單圖標。

BuddyLinks 短代码
這是在頁面和文章內容中添加單個鏈接的功能。非常適合從文章中連結到用戶的個人資料、設置、個人活動流或任何其他 BuddyPress 頁面。例如,您已經為新成員編寫了入門指南,希望將他們發送到上傳頭像的頁面,您可以使用 BuddyLinks 短代碼來鏈接到新用戶的頭像上傳頁面。動態股票由 BuddyLinks 創建。

BuddyLinks 的功能:

在上下文中使用 BuddyPress 鏈接。
易於使用。
鏈接標題和鏈接鏈接配置。
快速鏈接到 BuddyMenus 中的每個 8 個頁面。
可配置的未登錄訪客文本 - 告訴他們登錄以跟隨鏈接或使文本不可點擊。
可以添加圖標到鏈接中。

原文外掛簡介

BuddyPress BuddyLinks does three things really well:

BuddydMenu BuddyPress menu widget.
BuddyMenu BuddyPress menu shortcode.
BuddyLinks BuddyPress dynamic link shortcode.

Put a BuddyPress menu or dynamic user link in your sidebar, post, page, widget, footer or anywhere else. Needs BuddyPress to work. There is no need to network activate in WP Multisite. Does not display to logged out users.
BuddyPress menus are dynamic. Their URLs change for each logged in user. This makes it difficult for most community admins and webmasters to add links to areas in their BuddyPress sites. Unless you know how, you can’t create a welcome page and send new users to their profile page with a link in the welcome page because the link will be different for each user.
For example, a link to a user’s own activity stream would look like http://example.com/members/[USERNAME]/activity/.
The [USERNAME] bit of the URL is added dynamically by BuddyPress. This means you need to use pictures, videos, diagrams and lots of text to send people to different locations within a BP site or you can use the widget and shortcodes this BuddyMenu BuddyLinks provides.
See ‘Other Notes’ section usage guide.
BuddyMenu Widget
The BuddyMenu Widget displays the main BP menus items:

Activity
Forums
Friends
Messages
Profile
Edit Profile
Change Avatar
Settings
Menu
Custom Links

BuddyMenu Widget’s Features

Choose which menu tabs to display.
1 Choose display order of menu tabs.
Custom menu items.
You can specify anchor text for each link.
You can choose to display the menu as a vertical list or as a horizontal bar.
The widget displays to those who are logged in only. Logged out users do not see the menu.
Beautiful and stylish menu icons next to each menu link.
Customize icons.
Choose whether to display icons or not.
Customize menu tab titles.

As easy to use as going to Appearance > Widgets and dragging the BuddyMenu widget into your sidebar or any other widget area.
BuddyMenu Shortcode
BuddyMenu Shortcode displays the BuddyPress menus tabs. Being a shortcode, it can be embedded in any page or post. If you use Ultimate TinyMCE you can even put the shortcode in a widget.
The BuddyMenu Shortcode Features

Configurable menu titles, just like the widget.
Vertical or horizontal alignment.
Menu items can be switched off.
Menu icons can be enabled or disabled.
Menu icons can be customized.

BuddyLinks Shortcode
This is for adding single links within page and post content. Ideal for linking to a user’s profile, settings, personal activity stream or any other other BuddyPress page from within a post. For example, you’ve written a getting started guide for new members and you want to send them to upload an avatar; you can use the BuddyLinks shortcode to link to new users’ avatar upload page. The dynamic slug is created by BuddyLinks.
BuddyLinks Features

In context BuddyPress linking.
Ease of use.
Link title and link anchor configuration.
Quick links to each of the 8 pages found in the BuddyMenus.
Configurable text for logged out visitors – tell them to login to follow the link or make the text non-clickable.
Icons can be added to links. Use shortcode attributes to use icons from the default icon set or use a URL to a custom icon.

Instructions
BuddyMenu Widget

Go to Appearance > Settings
Find the BuddyMenu widget
Drag it into a widget area
Configure the menus to display, their titles, their icons and whether to display the menu horizontally or vertically.

This menu is not visible to visitors who are not logged in.
BuddyMenu Shortcode
BuddyMenu Shortcode displays a vertical or horizontal menu. You can change the anchor text of each menu tab. The link title tooltip will always be the same as the anchor text. Any of the menu tabs can be disabled. This menu is not visible to visitors who are not logged in.
New in version 2: Customize the menu icons
Enter the shortcode in any page, post or widget area (if you are set up to use shortcodes in widget areas).
The shortcode for the menu is:
[buddymenu]
The basic options/attributes are:

bmact="" to change the activity tab
bmfor="" to change the forum tab
bmfri="" to change the friends tab
bmmsg="" to change the messages tab
bmpro="" to change the profile tab
bmedpro="" to change the edit profile tab
bmchav="" to change the change avatar tab
bmset="" to change the settings tab
bmlay="" to change the layout from horizontal to vertical

If no option is set, the full menu is displayed as a horizontal row. For example, using [buddymenu] will display the full menu where the shorcode is placed.
Setting any option to -1 will disable that option’s menu item.
Any text entered within the quotes of an option will become the link anchor text and the link title for that option’s menu item.
For example,
To show the full menu horizontally:
[buddymenu]
To show the full menu as a vertical list:
[buddymenu bmlay=”vertical”]
To show the menu without the activity tab:
[buddymenu bmact=”-1″]
To show the menu with the message tab text changed to Inbox:
[buddymenu bmmsg=”Inbox”]
To show a horizontal menu with the settings tab changed to Configs:
[buddymenu bmset=”Configs” bmlay=”horizontal”]
This menu is very useful in horizontal widget areas in multilingual environments.
The icon customization attributes are:

bmacti="" sets the activity icon.
bmfori="" sets the forum icon.
bmfrii="" sets the friends icon.
bmmsgi="" sets the messages icon.
bmproi="" sets the profile icon.
`bmedproi=”” sets the edit profile icon.
`bmchavi=”” sets the change avatar icon.
bmseti="" sets the settings icon.
`bmicons=”0″ Disables all icons.

Put the URL to any image into an link icon attribute to use that image as the icon for that link.
For example,
[buddymenu bmicons=”0″] Disables all icons.
[buddymenu bmacti=”http://example.com/icon.png”] Will replace the default activity icon with the image at http://example.com/icon.png.
BuddyLinks
The BuddyLinks shortcode provides a stub URL that is dynamically generated by BuddyPress. This URL looks like example.com/members/[USERNAME]/. You need to provide the path that follows the username (represented by the asterisk in this case).
This shortcode is good for putting links to your network users’ pages in the content of your pages and posts.
None logged in users see the text “login to view this link” which links to the WordPress login page. This text link is configurable.
BuddyLinks has four main options/attributes:

bllink="" for setting the link
bltitle="" for setting the tooltip title
bltext="" for setting the anchor text that users click
blicon="" for configuring an icon for the link

If you provide no attributes, the shortcode returns a link to a user’s profile page with the anchor text “your profile”, no tool-tip title and no icon.
blicon="" can be used to display a custom icon or an icon from the plugin's default icon set. Accepted values are activity, friends, messages, profile, edit-profile, avatar and settings or any URL to an image.

For example,
To link to a logged in user’s activity page:
[buddylink bmlink=”activity” bltext=”your activity page”]
To link to a logged in user’s message inbox:
[buddylink bmlink=”messages/inbox” bltext=”view your inbox”]
To link to a logged in user’s message inbox with an icon accompanying the link:
[buddylink bmlink=”messages/inbox” bltext=”view your inbox” blicon=”messages”]
There are three options for controlling what non logged in users see:

blolink="" for setting the link
blotitle="" for setting the title
blotext="" for setting the anchor text

By default, a non logged in user will see a link to your site’s login/registration page. To change that destination you could do something like this:
[buddylink bmlink=”messages/inbox” bltext=”view your inbox” blolink=”http://example.com/reasons-to-register” blotext=”reasons to register”]
QuickLinks
BuddyLinks has quicklinks built into it to facilitate quick placement of links to common BuddyPress areas.
Used with the [buddylink] shortcode, the options are:

blq="act" to link to ‘activity’
blq="for" to link to ‘forums’
blq="fri" to link to ‘friends’
blq="msg" to link to ‘messages’
blq="pro" to link to ‘profile’
blq="edpro" to link to ‘edit profile’
blq="chav" to link to ‘change avatar’
blq="set" to link to ‘settings’

Quicklinks can be used in conjuction with the blicon=”” attribute.
For example,
To link to a user’s activity page:
[buddylink blq=”act”]
To link to a user’s activity page and print a custom message to non logged in users:
[buddylink blq=”act” blotext=”You can’t go here because you’re not logged in!”]
QuickLinks do not accept custom title and link attributes except for those intended for non logged in users.
Contact
[General support]http://journalxtra.com/websiteadvice/wordpress/use-buddypress-dynamic-links-in-your-network-with-buddymenu-buddylinks/
and
[Commercial support]http://vizred.com/
Supported Languages

English

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「BuddyMenu BuddyLinks」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.5.8 | 2.0.0 | 2.1.0 | 2.1.1 | 2.2.0 | trunk |

延伸相關外掛(你可能也想知道)

暫無相關外掛推薦。

文章
Filter
Apply Filters
Mastodon