{"id":25364,"date":"2013-09-29T05:30:46","date_gmt":"2013-09-29T05:30:46","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/bp-direct-menus\/"},"modified":"2013-09-29T05:37:01","modified_gmt":"2013-09-29T05:37:01","slug":"bp-direct-menus","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/bp-direct-menus\/","author":13155237,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"trunk","tested":"3.6.1","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"BP Direct Menus","header_author":"mrwulf","header_description":"","assets_banners_color":"","last_updated":"2013-09-29 05:37:01","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=4ZTVEPNJC6PXJ","header_plugin_uri":"http:\/\/github.com\/mrwulf\/bp-direct-menu","header_author_uri":"http:\/\/github.com\/mrwulf","rating":4.4,"author_block_rating":0,"active_installs":20,"downloads":6631,"num_ratings":12,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"":"<p>None<\/p>"},"ratings":{"1":"1","2":0,"3":"1","4":"1","5":"9"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"779765","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"779765","resolution":"2","location":"assets"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"779765","resolution":"3","location":"assets"}},"screenshots":{"1":"<p>The meta box in nav menu admin page<\/p>","2":"<p>An example of a custom profile menu<\/p>","3":"<p>The admin view of the above profile menu<\/p>"}},"plugin_section":[],"plugin_tags":[537,3831,602,4233,1865],"plugin_category":[38,43,44],"plugin_contributors":[86498],"plugin_business_model":[],"class_list":["post-25364","plugin","type-plugin","status-closed","hentry","plugin_tags-link","plugin_tags-log-in","plugin_tags-login","plugin_tags-logout","plugin_tags-menu","plugin_category-authentication","plugin_category-customization","plugin_category-discussion-and-community","plugin_contributors-mrwulf","plugin_committers-mrwulf"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/bp-direct-menus.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/bp-direct-menus\/assets\/screenshot-1.png?rev=779765","caption":"<p>The meta box in nav menu admin page<\/p>"},{"src":"https:\/\/ps.w.org\/bp-direct-menus\/assets\/screenshot-2.png?rev=779765","caption":"<p>An example of a custom profile menu<\/p>"},{"src":"https:\/\/ps.w.org\/bp-direct-menus\/assets\/screenshot-3.png?rev=779765","caption":"<p>The admin view of the above profile menu<\/p>"}],"raw_content":"<!--section=description-->\n<p>Completely integrated with the wordpress menu system so your theme's menu menu styling is used.<\/p>\n\n<p>Basic log in\/out and register menu items that are only visible when appropriate.<\/p>\n\n<p>Awesome custom menu item type will let you link to any page that requires the username as part of the url (example.com\/members\/\/messages). Tons of tags can be used to customize the menu text:\n* User Info: username, firstname, lastname, displayname\n* BuddyPress counts: unreadmessagecount, friendcount, groupcount\n* BuddyPress counts that hide when zero: (unreadmessagecount), (friendcount), (groupcount) \n* BuddyPress\/WordPress avatar: avatar, avatar-thumb, avatar-mini<\/p>\n\n<p>This plugin works great with \"Menu Items Visibility Control\" to only show menu items to certain roles\/levels.\nAlso, try \"WP ToolBar Removal\" to totally replace the ugly unthemed wordpress\/buddypress menu.<\/p>\n\n<!--section=installation-->\n<ol>\n<li><p>Upload the <em>\"bp-direct-menu\"<\/em> folder into the <em>\"\/wp-content\/plugins\/\"<\/em> directory<\/p><\/li>\n<li><p>Activate the plugin through the <em>\"Plugins\"<\/em> menu in WordPress<\/p><\/li>\n<li><p>Go to Appearance-&gt;Menus to add menu items of type BuddyPress Direct Links<\/p><\/li>\n<li><p>See the help link for more info.<\/p><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How does this work?<\/dt>\n<dd><p>Visit your navigation admin menu page, you got a new box including 5 links: 'log in', 'logout', 'log in\/logout', 'register', 'custom'.<\/p>\n\n<p>Add the link you want, for example \"Log in|Logout\"<\/p>\n\n<ol>\n<li><p>You can change the 2 titles links, just separate them with a | (pipe)<\/p><\/li>\n<li><p>You can add a page for redirection, example #bpmdloginout#index.php This will redirect users on site index.<\/p><\/li>\n<li><p>You can add 2 pages for redirection, example #bpmdloginout#login.php|logout.php This will redirect users too.<\/p><\/li>\n<li><p>For this redirection you can use the special value %actualpage%, this will redirect the user on the actual page.<\/p><\/li>\n<\/ol><\/dd>\n<dt>What are the shortcodes?<\/dt>\n<dd><p>You can also add shortcodes in your pages\/posts. just do this :<\/p>\n\n<p>In you posts\/pages : <code>[loginout]<\/code>\nIn your theme : <code>&lt;?php echo do_shortcode( '[loginout]' ); ?&gt;<\/code><\/p>\n\n<p>The 4 basic shortcodes are \"[bpdm_login]\", \"[bpdm_logout]\" and \"[bpdm_loginout]\", \"[bpdm_register]\".<\/p>\n\n<p>You can set 2 parameters, named \"redirect\" and \"edit_tag\".<\/p>\n\n<p>Redirect: used to redirect the user after the action (log in or out) ; example : \"\/welcome\/\" or \"index.php\"<\/p>\n\n<p>Edit_tag: used to modify the <a> tag, ; example \" class='myclass'\" or \" id='myid' class='myclass' rel='friend'\" etc<\/a><\/p>\n\n<p>You can also modify the title link with [login]Click here to connect[\/login] for example<\/p><\/dd>\n<dt>How does the custom link work?<\/dt>\n<dd><ul>\n<li>Add it to a menu or using a shortcode just like the other links.<\/li>\n<li>Put in the end part of the URL after the #bpmdcustom# placeholder or in the url_part parameter. This will be appended to \".com\/members\/\" (the user's profile page), so to go to a user's messages: \"#bpmdcustom#\/messages\/\".<\/li>\n<li>Use one (or more) of the replacement tags in the menu item title or shortcode text:\n\n<ul>\n<li>\"Messages %(unreadmessagecount)%\"<\/li>\n<li>[bpdmcustom url_part=\"\/messages\/\"]Messages %(unreadmessagecount)%[\/bpdmcustom]<\/li>\n<\/ul><\/li>\n<\/ul><\/dd>\n<dt>How awesome is the custom link?<\/dt>\n<dd><p>Totally.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li><p>2013-09-21<\/p><\/li>\n<li><p>First release<\/p><\/li>\n<\/ul>","raw_excerpt":"Add real menu items that go directly to buddypress pages! Add a profile dropdown with avatar, message counts, and more- fully customizable.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/25364","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=25364"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mrwulf"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=25364"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=25364"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=25364"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=25364"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=25364"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=25364"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}