{"id":1299,"date":"2021-08-05T23:37:46","date_gmt":"2021-08-05T17:37:46","guid":{"rendered":"https:\/\/directorist.com\/documentation\/?post_type=wpwax_extensions&#038;p=1299"},"modified":"2021-08-05T23:38:23","modified_gmt":"2021-08-05T17:38:23","slug":"how-to-use-bp-message-with-directorist","status":"publish","type":"wpwax_extensions","link":"https:\/\/directorist.com\/documentation\/extensions\/buddypress-integration\/how-to-use-bp-message-with-directorist\/","title":{"rendered":"How to use the BuddyPress Private Messaging in Directorist"},"content":{"rendered":"\n<p>Directorist-BuddyPress Integration lets you use the BuddyPress Private Messaging within the All Listing card and Single Listings page. Now, users can easily message the listings owner from the listing card or the single listing page. <\/p>\n\n\n\n<p>To use the feature, you must enable the <em><strong>Private Messaging<\/strong><\/em> component in <strong><em><strong>WP-Admin Dashboard \u2192 Settings\u00a0<em><strong>\u2192<\/strong><\/em>\u00a0BuddyPress \u2192 Components<\/strong><\/em> <strong><em><strong>\u2192<\/strong><\/em><\/strong><\/strong> <strong>Private Messaging<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/M0fG3o6.png\" alt=\"\" \/><\/figure>\n\n\n\n<p>Then, go to <strong>Directory Listings \u2192 Directory Builder \u2192 All Listing Layout \u2192<\/strong> add the &#8220;BuddyPress Message&#8221; element in the footer likewise the image below, and click <strong>update<\/strong>. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/eksQPPr.png\" alt=\"\" \/><\/figure>\n\n\n\n<p>This will add a button on the listing card. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/3Hy3D8V.png\" alt=\"\" \/><\/figure>\n\n\n\n<p>To change the text and icon of the button, hover over the BuddyPress Message element click on the settings icon. <strong>Do not forget to update after making changes. <\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/dgUc2Eh.png\" alt=\"\" \/><\/figure>\n\n\n\n<p style=\"font-size:24px\">Displaying the message button on the single listing page<\/p>\n\n\n\n<p>To add the message button on the single listing page go to <strong>Directory Listings \u2192 Directory Builder \u2192 Single Page Layout \u2192<\/strong> <strong>Contents<\/strong> <strong>\u2192<\/strong> drag the &#8220;BuddyPress Message&#8221; element from the <strong><em>Other Fields<\/em><\/strong> section to the <strong><em>Active Fields <\/em><\/strong>section likewise the image below and click update.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/aHquZYy.png\" alt=\"\" \/><\/figure>\n\n\n\n<p>To change the Button text and the icon click on the arrow down icon next to the field title. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/cBKDvyv.png\" alt=\"\" \/><\/figure>\n\n\n\n<p>After adding the field, a new button will be added on single listing page that will take the user to the messaging interface. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"458\" src=\"https:\/\/directorist.com\/documentation\/wp-content\/uploads\/sites\/5\/2021\/08\/final_610c20376e29360085875f64_791613-1024x458.png\" alt=\"\" class=\"wp-image-1301\" srcset=\"https:\/\/directorist.com\/documentation\/wp-content\/uploads\/sites\/5\/2021\/08\/final_610c20376e29360085875f64_791613-1024x458.png 1024w, https:\/\/directorist.com\/documentation\/wp-content\/uploads\/sites\/5\/2021\/08\/final_610c20376e29360085875f64_791613-300x134.png 300w, https:\/\/directorist.com\/documentation\/wp-content\/uploads\/sites\/5\/2021\/08\/final_610c20376e29360085875f64_791613-768x343.png 768w, https:\/\/directorist.com\/documentation\/wp-content\/uploads\/sites\/5\/2021\/08\/final_610c20376e29360085875f64_791613.png 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The listing owner will receive the message in the BuddyPress inbox.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/BKcyUBy.png\" alt=\"\" \/><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"author":2537,"parent":0,"menu_order":0,"template":"","class_list":["post-1299","wpwax_extensions","type-wpwax_extensions","status-publish","hentry","wpwax_extensions_category-buddypress-integration"],"acf":[],"_links":{"self":[{"href":"https:\/\/directorist.com\/documentation\/wp-json\/wp\/v2\/wpwax_extensions\/1299","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/directorist.com\/documentation\/wp-json\/wp\/v2\/wpwax_extensions"}],"about":[{"href":"https:\/\/directorist.com\/documentation\/wp-json\/wp\/v2\/types\/wpwax_extensions"}],"author":[{"embeddable":true,"href":"https:\/\/directorist.com\/documentation\/wp-json\/wp\/v2\/users\/2537"}],"wp:attachment":[{"href":"https:\/\/directorist.com\/documentation\/wp-json\/wp\/v2\/media?parent=1299"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}