These widgets were originally developed for the Towermix Network at Belmont University’s Curb College of Entertainment and Music Business. The BP Profile Widgets allow BuddyPress users to embed a music player, video player, photo gallery, and/or a custom text widget on the sidebar of the user’s profile page using custom profile fields from their profile form. This plugin requires that BuddyPress be installed and activated. This plugin will create all the custom profile fields needed, based on which widgets are selected for use.
- Users can embed one of the following music players: Bandcamp, Tunecore, Reverbnation, Noisetrade, Mixcloud, or SoundCloud.
- Users can embed one of the following slideshow galleries: Flickr, Picasa, Photobucket, Fotki, Smugmug, or dotPhoto.
- Users can embed one of the following video players: YouTube, Vimeo, Veoh, DailyMotion, Facebook, Flickr, Blip.tv, funnyordie.com, Hulu, Revision3.com, Viddler, Qik, and uStream
- Users can display a customizable text message, including HTML, in the Text Box widget
- Users can display a RSS feed on their profile in the RSS widget
- A description field is included for each media widget allowing the user to explain their involvement.
- Widget options for width and height of the slideshow.
- Widget options for width and aspect ratio of the video player.
- Widget options for item quantity for the RSS feed display.
- Uses WordPress functions to fetch the oEmbed media players.
- Uses WordPress transients to speed up loading players
- Widgets only appear on Profile pages
- Widgets can be hidden if they don’t contain data
- Install and activate BuddyPress
- Upload the BP Profile Widgets folder to the
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Select how many copies of each widget(s) you want to use on the BP Profile Widgets page under the ‘Settings’ menu
- Drag one of the BP Profile widgets to a sidebar on the ‘Widgets’ page under the ‘Appearance’ menu
- If you opted to create more than one instance of a widget, select the instance number on each widget used.
- What will I need to do if I’m switching over from the previous versions of the BP Profile Widgets?
This is a ground-up rewrite of each of the following plugins:
* BP Profile Music Widget
* BP Profile Video Widget
* BP Profile Text Widget
* BP Profile Gallery Widget
This plugin is mutually exclusive from those and will require your members to enter the proper URLs to make these players work. Fortunately, this new information is much simpler to find than digging through code to find obscure codes and IDs.
- Do I need to create any custom profile fields to make these widgets work?
No. The plugin will create the “Profile Widgets” field group and any fields needed for the widget(s) you select on the plugin settings page.
- How do my users use these widgets?
They will have two fields to fill out for each widget (except the Text Box widget): URL and Role.
The URL field will contain the URL for whatever relates to that widget.
The Role field is just a description of how the person relates to the content being shown. For example, on the Video Player widget, if they display a video, the Role field would explain what they did in/for the video: actor, writer, producer, etc.
- What players are available for the Music Player widget?
Bandcamp, SoundCloud, Tunecore, Reverbnation, Mixcloud, or Noisetrade. The user will need to enter the correct URL to make it work properly:
- Bandcamp album: http://thevibedials.bandcamp.com/album/the-vibe-dials
- SoundCloud set: http://soundcloud.com/christopher-joel/sets/fantasy-world-1/
- Noisetrade public profile: http://noisetrade.com/thevibedials
- Reverbnation public profile: http://www.reverbnation.com/thevibedials
- Tunecore public profile: http://www.tunecore.com/music/thevibedials
- Mixcloud: http://www.mixcloud.com/MarvinHumes/marvins-jls-mixtape/
- What players are available for the Video Player widget?
YouTube, Vimeo, Veoh, DailyMotion, Facebook, Flickr, Blip.tv, funnyordie.com, Hulu, Revision3.com, Viddler, Qik, WordPress.tv, and uStream. The user will need to enter the correct URL to make it work properly:
- YouTube long: http://www.youtube.com/watch?v=YYYJTlOYdm0
- Youtube short: http://youtu.be/YYYJTlOYdm0
- Vimeo: https://vimeo.com/37708663
- Veoh: http://www.veoh.com/watch/v21024172CTxdMmR4
- DailyMotion: http://www.dailymotion.com/video/xull3h_monster-roll_shortfilms
- Facebook: https://www.facebook.com/photo.php?v=10151182922174245
- Flickr: http://www.flickr.com/photos/riotking/2550468661
- Blip.tv: http://blip.tv/juliansmithtv/julian-smith-lottery-6362952
- uStream highlight: http://www.ustream.tv/recorded/26382325/highlight/299813
- uStream channel: http://www.ustream.tv/channel/3777978
- uStream: http://www.ustream.tv/recorded/32219761
- funnyordie.com: http://www.funnyordie.com/videos/5764ccf637/daft-punk-andrew-the-pizza-guy?playlist=featured_videos
- Hulu: http://www.hulu.com/watch/486928
- Revision3: http://revision3.com/destructoid/bl2-dlc-leak-tiny-tinas-assault-on-dragon-keep
- Viddler: http://www.viddler.com/v/bdce8c7
- Qik: http://qik.com/video/38782012
- WordPress.tv: http://wordpress.tv/2013/10/26/chris-wilcoxson-how-to-build-your-first-widget/
- Wistia: http://home.wistia.com/medias/e4a27b971d
- Vine: https://vine.co/v/bjHh0zHdgZT
- What galleries are available for the Photo Gallery widget?
Flickr, Picasa, Photobucket, Fotki, Smugmug, and dotPhoto. The user will need to enter the correct URL to make it work properly:
- Flickr set: http://www.flickr.com/photos/christopherjoel/sets/72157617395267762
- Picasa gallery: https://picasaweb.google.com/114838808449834204603/Fender72ThinlineRI?authuser=0&feat=directlink
- Photobucket album: http://s262.beta.photobucket.com/user/mandy_surfergirl91/library/CARS
- Fotki public gallery: http://public.fotki.com/sandylferguson/eagle-scout-project/
- dotPhoto album link: http://www.dotphoto.com/go.asp?l=hubble&SID=245780&Show=Y&p=
- Smugmug: http://belmontphoto.smugmug.com/BelmontStockPhotos/Campus/Construction-Belmont-Heights/17820170_drJWcW
- Can people use HTML in the Text Box Widget?
- Could I use the Text Widget for another player of some kind?
Unfortunately not. The santization for the text field removes embed codes and the like. Simple HTML (like links) still works.
- How do I hide these custom profile fields so they don’t show on people’s profile pages?
The profile fields created by this plugin are set to only be seen by the user and admin’s only. People looking at a user’s profile page shouldn’t see any of these fields.
- How do I make one or all of the widgets appear only on the user’s profile page?
This has changed as of version 0.2. Now, the widgets will only appear on the profile pages.
Contributors & Developers
“BP Profile Widgets” is oopbron sagteware. Die volgende mense het bygedra tot die ontwikkeling van hierdie uitbreiding:Contributors
Interested in development?
- BUG FIX: Resolved the weird issues with upgrades. Eliminated many notices for new array items that aren’t filled yet.
- BUG FIX: Text widget display error fixed. Field name was incorrect from previous versions.
- Added more items to be translated.
- BUG FIX: the text widget was calling the bppw_get_profile_data() function, but didn’t have the global $slushman_bp_profile_widgets declared at the top of the function. I fixed that issue on each widget now.
- Multiple Instances are possible now! You can have up to 5 of each widget on a profile.
- Added files and formatting for i18n.
- Fixed “hide if empty” option on all widgets.
- Added bppw_get_profile_data(), which returns profile field data. For the first instance of a widget, it uses the field name without numbers and then begins using numbers based on the results of the first query.
- Music Widget: removed all functions related to fetching data from DOM. Doesn’t work on every server.
- Music Widget: removed find_service_from_url(), it was replaced in the last version and there’s no reason to keep it.
- Music Widget: simplified find_service() to make it DRY.
- Music Widget: simplified find_id() to go straight to finding the ID on page.
- Music Widget: resolved bug that caused some players to display as “page cannot be found”
- Music Widget: added albumortrack() to figure out if the URL is for an album, track, or is invalid
- Music Widget: removed $args from widget_output() call
- Video Widget: added WordPress.tv, Vine, and Wistia.
- BUG FIX: Changed find_service_on_page() to actually work.
- BUG FIX: Added PHP config checking to resolve server errors with fetching service and IDs from URLs
- Separated find_ID_on_page into three separate functions to allow for PHP config differences
- Added RSS feed widget to display an RSS feed on a profile page
- Changed Music Player widget to support custom URLs (like for Bandcamp)
- Added find_service() function to expand options for determining the service
- Added find_service_from_url() function to music player widget
- Added find_service_on_page() function to music player widget
- Added find_ID_on_page() function to music player widget
- Made wp_remote_get() a separate variable in the toolkit function find_on_page()
- Music player service and ID are stored in a transients to make page reloading faster
- BUG FIX: Removed URL echo from video widget – oops.
- BUG FIX: Updated the album ID search parameters for the version 2 player.
- BUG FIX: Profile fields were leaving data in the database when widgets were unchecked. This has now been resolved, all databases entries related to a profile field are removed when a widget is unchecked.
- Each widget can now be hidden if the data for that widget is empty instead of displaying the empty message.
- Widgets now only appear on profile pages.
- Added config.php.
- Plugin created.