{"id":18754,"date":"2012-06-26T07:08:22","date_gmt":"2012-06-26T07:08:22","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/buddypress-hovercards\/"},"modified":"2013-01-24T19:33:40","modified_gmt":"2013-01-24T19:33:40","slug":"buddypress-hovercards","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/buddypress-hovercards\/","author":8926287,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.3","stable_tag":"1.1.3","tested":"","requires":"","requires_php":"","requires_plugins":"","header_name":"BuddyPress Hovercards","header_author":"Mike Martel","header_description":"","assets_banners_color":"b6675b","last_updated":"2013-01-24 19:33:40","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/trenvo.nl\/","header_plugin_uri":"https:\/\/github.com\/mgmartel\/BuddyPress-Hovercards\/","header_author_uri":"http:\/\/trenvo.nl","rating":4.5,"author_block_rating":0,"active_installs":10,"downloads":6925,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":"1","5":"1"},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"698109","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.9","0.9.5","0.9.6","1.0","1.1","1.1.1","1.1.2","1.1.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1539136","resolution":"1","location":"plugin"}},"screenshots":{"1":"Example hovercard using the template included in the plugin."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[204,7870],"plugin_category":[44],"plugin_contributors":[79425],"plugin_business_model":[],"class_list":["post-18754","plugin","type-plugin","status-publish","hentry","plugin_tags-buddypress","plugin_tags-hovercards","plugin_category-discussion-and-community","plugin_contributors-mike_cowobo","plugin_committers-mike_cowobo"],"banners":{"banner":"https:\/\/ps.w.org\/buddypress-hovercards\/assets\/banner-772x250.png?rev=698109","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/buddypress-hovercards_b6675b.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/buddypress-hovercards\/trunk\/screenshot-1.png?rev=1539136","caption":"Example hovercard using the template included in the plugin."}],"raw_content":"<!--section=description-->\n<p>This plugin adds hovercards (like on WordPress,com (Gravatar), Twitter, Facebook, Google+, etc.) to BuddyPress. Whenever a user hovers over a user avatar, the hovercard shows up.<\/p>\n\n<p>Hovercards are completely themable by adding a <code>hovercard.php<\/code> template to your (child) theme.<\/p>\n\n<p>Based on imath's blogpost <a href=\"http:\/\/imath.owni.fr\/2010\/11\/23\/buddypress-xprofile-hovercard\/\">on BuddyPress xprofile hovercards<\/a> and uses the jQuery <a href=\"http:\/\/onehackoranother.com\/projects\/jquery\/tipsy\/\">Tipsy<\/a> library and <a href=\"https:\/\/github.com\/rrrene\/tipsy.hovercard\">Rrrene's hovercards<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>You can download and install BuddyPress hovercards using the built in WordPress plugin installer. If you download BuddyPress Hovercards manually, upload the whole folder to \"\/wp-content\/plugins\/\".<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<p>If you want to add a custom hovercard, or change the displayed fields, copy '\/bp-hovercards\/templates\/hovercard.php' to the root of your (child) theme and edit it there to prevent it being overwritten at an update.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>How can I disable hovercards for certain avatars?<\/dt>\n<dd><p>Hovercards are disabled for some avatars already, namely the profile badge and the profile header. To add more disabled elements, you can use the folowing filters:<\/p>\n\n<p>'bphc_parent_filter' to disable hovercards for all children of a certain element id or class, e.g.:<\/p>\n\n<pre><code>function disable_bphc_by_parent( $filter ) {\n    return $filter . ', .children-of-this-class';\n}\nadd_filter('bphc_parent_filter', 'disable_bphc_by_parent');\n<\/code><\/pre>\n\n<p>'bphc_element_filter' to disable hovercards for avatar img tag with this class\/id, e.g.:<\/p>\n\n<pre><code>function disable_bphc_for_elements ( $filter ) {\n    return $filter . ', .avatars-with-this-class, #avatar-with-this-id'\n}\nadd_filter('bphc_parent_filter', 'disable_bphc_by_parent');\n<\/code><\/pre><\/dd>\n<dt>Can I make my own hovercard?<\/dt>\n<dd><p>Yes. If you want to add a custom hovercard, or change the displayed fields, copy '\/bp-hovercards\/templates\/hovercard.php' to the root of your (child) theme and edit it there to prevent it being overwritten at an update.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.3<\/h4>\n\n<ul>\n<li>Fix that avatars would show the hovercard as an alt-text in certain cases<\/li>\n<\/ul>\n\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>Better compatibility with BP Social Theme<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Disable hovercards for profile badge and profile header (thanks Sandy)<\/li>\n<li>Added filters 'bphc_parent_filter' and 'bphc_element_filter' to disable hovercards for certain avatars<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Hovercards are now not reloaded when they're still visible<\/li>\n<li>Never show two hovercards at the same time<\/li>\n<li>Hovercards were loaded during AJAX calls (when the mouse was no longer on)<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Fixed that non-logged in users got a stylish '0' instead of the hovercard<\/li>\n<li>Hovercards are now reloaded on <em>all<\/em> AJAX request (except BP Live Notifications)<\/li>\n<\/ul>\n\n<h4>0.9.6<\/h4>\n\n<ul>\n<li>Hovercards now refresh anytime something is loaded in with AJAX<\/li>\n<li>BP 1.6 Beta 1 &amp; 2 compatibility<\/li>\n<\/ul>\n\n<h4>0.95<\/h4>\n\n<ul>\n<li>Fixed 'Load More'-bug. Users of the WP admin bar would not get hovercards on posts loaded in using the 'Load More' button.<\/li>\n<\/ul>\n\n<h4>0.9<\/h4>\n\n<ul>\n<li>Initial upload<\/li>\n<\/ul>","raw_excerpt":"Add themable hovercards to your BuddyPress installation.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/18754","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=18754"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mike_cowobo"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=18754"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=18754"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=18754"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=18754"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=18754"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=18754"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}