{"id":19,"date":"2019-10-26T16:00:20","date_gmt":"2019-10-26T16:00:20","guid":{"rendered":"https:\/\/oxibug.com\/kb\/docs\/envato-castle\/configure-your-server\/activate-plugin-in-wordpress-multisite\/"},"modified":"2020-01-13T13:15:36","modified_gmt":"2020-01-13T13:15:36","slug":"install-configure-plugins-properly","status":"publish","type":"docs","link":"https:\/\/oxibug.com\/kb\/docs\/keygator\/configure-your-website\/install-configure-plugins-properly\/","title":{"rendered":"Install &#038; Configure Plugins Properly"},"content":{"rendered":"\n<p class=\"has-text-color has-background has-medium-font-size has-luminous-vivid-amber-color has-very-dark-gray-background-color\">Note<strong>:<\/strong> We are using a <strong>FREE<\/strong> theme from WordPress Repository called <strong>Idyllic<\/strong>,  <em>You can use any bbPress Theme<\/em>.<\/p>\n\n\n\n<p style=\"color:#ffffff\" class=\"has-text-color has-background has-text-align-center has-vivid-red-background-color\">For WordPress Multisite, READ VERY CAREFULLY<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h4 class=\"has-text-align-center wp-block-heading\">Using WordPress Single Site (Not Multisite)?<\/h4>\n\n\n\n<ol class=\"wp-block-list\"><li>From WordPress dashboard go to <strong>Settings<\/strong> then click on <strong>General<\/strong>.<\/li><li>Check <strong>Anyone can register<\/strong>.<\/li><li>From <strong>Plugins <\/strong>item in the left pane click on <strong>Add new<\/strong>.<\/li><li><strong>(Optional)<\/strong> Search for <strong>BuddyPress<\/strong> and Install then Activate.<\/li><li>If you&#8217;ve installed <strong>BuddyPress<\/strong>, Go to <strong>Settings &gt; BuddyPress<\/strong>, Then from <strong>Options<\/strong> tab Deselect option <strong>(Allow registered members to delete their own accounts)<\/strong>.<\/li><li>Search for <strong>bbPress<\/strong> and Install then Activate. <\/li><li>Upload the <strong>envato-castle.zip<\/strong> file you found in the downloaded folder using <strong>Upload Plugin<\/strong> button at the top of <strong>Add Plugins<\/strong> page.<\/li><li>After upload complete go to <strong>Plugins &gt; Installed Plugins<\/strong> and activate <strong>Envato Castle<\/strong>.<\/li><\/ol>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h4 class=\"has-text-align-center wp-block-heading\">For Both WordPress Single and Multi Sites<\/h4>\n\n\n\n<p>Finally, You&#8217;ll see in the next steps that we&#8217;ll generate another plugin called <strong>Envato Castle Client Plugin<\/strong> to be included in your WordPres projects you develop, This plugin will be <strong>prefixed<\/strong> with your <strong>Author Name<\/strong> to be unique for each seller so the <strong>same buyer<\/strong> will be able to use multiple plugins in the same website.<\/p>\n\n\n\n<p><strong>Optional:<\/strong> It&#8217;ll be nice if you define the WordPress Constant <strong>WP_TEMP_DIR<\/strong> in your <strong>wp-config.php<\/strong> so the <strong>Envato Castle Server Plugin<\/strong> will use it as a temp directory instead of the default directory, So in case an error happened while generating your Client plugin, You&#8217;ll be able to remove the directory downloaded from the Temporary Dir. <\/p>\n\n\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\n\/** Absolute path to the WordPress directory. *\/\nif ( ! defined( 'ABSPATH' ) ) {\n\tdefine( 'ABSPATH', dirname( __FILE__ ) . '\/' );\n}\n\n\/** \n * -- Optional --\n *\n * Temp Directory using to save\n * downloaded EnvatoCastle's Clint plugin \n * *\/\nif( ! defined('WP_TEMP_DIR' ) ) {\n    define( 'WP_TEMP_DIR', ( ABSPATH . 'wp-content\/tmp' ) );\n}\n<\/pre>\n\n\n\n<p style=\"background-color:#b83b5a\" class=\"has-text-color has-background has-very-light-gray-color\">Warning: You might not be able to update your plugins after define <strong>WP_TEMP_DIR<\/strong> constant.<br><strong>Solution: <\/strong>Create the <strong>tmp<\/strong> directory inside your <strong>wp-content<\/strong> and modify the permission to <strong>0755 ( -rwxr-xr-x<\/strong> )<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h4 class=\"has-text-align-center wp-block-heading\">Using WordPress Multisite?<\/h4>\n\n\n\n<figure class=\"wp-block-gallery columns-5 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\"><ul class=\"blocks-gallery-grid\"><li class=\"blocks-gallery-item\"><figure><a href=\"https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-01-get-blog-id-method-1-1024x895.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"895\" src=\"https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-01-get-blog-id-method-1-1024x895.jpg\" alt=\"\" data-id=\"92\" data-link=\"https:\/\/oxibug.com\/kb\/docs\/envato-castle\/configure-your-server\/configure-plugins-properly-in-wordpress-single-and-multisite\/01-02-01-get-blog-id-method-1\/\" class=\"wp-image-92\" srcset=\"https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-01-get-blog-id-method-1-1024x895.jpg 1024w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-01-get-blog-id-method-1-300x262.jpg 300w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-01-get-blog-id-method-1-768x671.jpg 768w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-01-get-blog-id-method-1-1110x970.jpg 1110w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-01-get-blog-id-method-1-730x638.jpg 730w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-01-get-blog-id-method-1-340x297.jpg 340w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-01-get-blog-id-method-1-555x485.jpg 555w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-01-get-blog-id-method-1.jpg 1400w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><a href=\"https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-02-get-blog-id-method-2-1024x895.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"895\" src=\"https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-02-get-blog-id-method-2-1024x895.jpg\" alt=\"\" data-id=\"93\" data-link=\"https:\/\/oxibug.com\/kb\/docs\/envato-castle\/configure-your-server\/configure-plugins-properly-in-wordpress-single-and-multisite\/01-02-02-get-blog-id-method-2\/\" class=\"wp-image-93\" srcset=\"https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-02-get-blog-id-method-2-1024x895.jpg 1024w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-02-get-blog-id-method-2-300x262.jpg 300w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-02-get-blog-id-method-2-768x671.jpg 768w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-02-get-blog-id-method-2-1110x970.jpg 1110w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-02-get-blog-id-method-2-730x638.jpg 730w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-02-get-blog-id-method-2-340x297.jpg 340w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-02-get-blog-id-method-2-555x485.jpg 555w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-02-get-blog-id-method-2.jpg 1400w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><a href=\"https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-03-Assign-blog-ids-and-activate-1024x895.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"895\" src=\"https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-03-Assign-blog-ids-and-activate-1024x895.jpg\" alt=\"\" data-id=\"94\" data-link=\"https:\/\/oxibug.com\/kb\/docs\/envato-castle\/configure-your-server\/configure-plugins-properly-in-wordpress-single-and-multisite\/01-02-03-assign-blog-ids-and-activate\/\" class=\"wp-image-94\" srcset=\"https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-03-Assign-blog-ids-and-activate-1024x895.jpg 1024w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-03-Assign-blog-ids-and-activate-300x262.jpg 300w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-03-Assign-blog-ids-and-activate-768x671.jpg 768w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-03-Assign-blog-ids-and-activate-1110x970.jpg 1110w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-03-Assign-blog-ids-and-activate-730x638.jpg 730w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-03-Assign-blog-ids-and-activate-340x297.jpg 340w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-03-Assign-blog-ids-and-activate-555x485.jpg 555w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-03-Assign-blog-ids-and-activate.jpg 1400w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><a href=\"https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-04-buddypress-activate-1024x895.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"895\" src=\"https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-04-buddypress-activate-1024x895.jpg\" alt=\"\" data-id=\"95\" data-link=\"https:\/\/oxibug.com\/kb\/docs\/envato-castle\/configure-your-server\/configure-plugins-properly-in-wordpress-single-and-multisite\/01-02-04-buddypress-activate\/\" class=\"wp-image-95\" srcset=\"https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-04-buddypress-activate-1024x895.jpg 1024w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-04-buddypress-activate-300x262.jpg 300w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-04-buddypress-activate-768x671.jpg 768w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-04-buddypress-activate-1110x970.jpg 1110w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-04-buddypress-activate-730x638.jpg 730w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-04-buddypress-activate-340x297.jpg 340w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-04-buddypress-activate-555x485.jpg 555w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-04-buddypress-activate.jpg 1400w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><a href=\"https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-05-buddypres-account-deletion-1024x895.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"895\" src=\"https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-05-buddypres-account-deletion-1024x895.jpg\" alt=\"\" data-id=\"96\" data-link=\"https:\/\/oxibug.com\/kb\/docs\/envato-castle\/configure-your-server\/configure-plugins-properly-in-wordpress-single-and-multisite\/01-02-05-buddypres-account-deletion\/\" class=\"wp-image-96\" srcset=\"https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-05-buddypres-account-deletion-1024x895.jpg 1024w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-05-buddypres-account-deletion-300x262.jpg 300w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-05-buddypres-account-deletion-768x671.jpg 768w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-05-buddypres-account-deletion-1110x970.jpg 1110w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-05-buddypres-account-deletion-730x638.jpg 730w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-05-buddypres-account-deletion-340x297.jpg 340w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-05-buddypres-account-deletion-555x485.jpg 555w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-05-buddypres-account-deletion.jpg 1400w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><a href=\"https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-06-bbpress-activate-1024x895.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"895\" src=\"https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-06-bbpress-activate-1024x895.jpg\" alt=\"\" data-id=\"97\" data-link=\"https:\/\/oxibug.com\/kb\/docs\/envato-castle\/configure-your-server\/configure-plugins-properly-in-wordpress-single-and-multisite\/01-02-06-bbpress-activate\/\" class=\"wp-image-97\" srcset=\"https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-06-bbpress-activate-1024x895.jpg 1024w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-06-bbpress-activate-300x262.jpg 300w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-06-bbpress-activate-768x671.jpg 768w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-06-bbpress-activate-1110x970.jpg 1110w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-06-bbpress-activate-730x638.jpg 730w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-06-bbpress-activate-340x297.jpg 340w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-06-bbpress-activate-555x485.jpg 555w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-06-bbpress-activate.jpg 1400w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><a href=\"https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-07-envatocastle-activate-1024x895.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"895\" src=\"https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-07-envatocastle-activate-1024x895.jpg\" alt=\"\" data-id=\"98\" data-link=\"https:\/\/oxibug.com\/kb\/docs\/envato-castle\/configure-your-server\/configure-plugins-properly-in-wordpress-single-and-multisite\/01-02-07-envatocastle-activate\/\" class=\"wp-image-98\" srcset=\"https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-07-envatocastle-activate-1024x895.jpg 1024w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-07-envatocastle-activate-300x262.jpg 300w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-07-envatocastle-activate-768x671.jpg 768w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-07-envatocastle-activate-1110x970.jpg 1110w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-07-envatocastle-activate-730x638.jpg 730w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-07-envatocastle-activate-340x297.jpg 340w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-07-envatocastle-activate-555x485.jpg 555w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-07-envatocastle-activate.jpg 1400w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><a href=\"https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-08-visit-site-dashboard-1024x895.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"895\" src=\"https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-08-visit-site-dashboard-1024x895.jpg\" alt=\"\" data-id=\"99\" data-link=\"https:\/\/oxibug.com\/kb\/docs\/envato-castle\/configure-your-server\/configure-plugins-properly-in-wordpress-single-and-multisite\/01-02-08-visit-site-dashboard\/\" class=\"wp-image-99\" srcset=\"https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-08-visit-site-dashboard-1024x895.jpg 1024w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-08-visit-site-dashboard-300x262.jpg 300w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-08-visit-site-dashboard-768x671.jpg 768w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-08-visit-site-dashboard-1110x970.jpg 1110w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-08-visit-site-dashboard-730x638.jpg 730w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-08-visit-site-dashboard-340x297.jpg 340w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-08-visit-site-dashboard-555x485.jpg 555w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-08-visit-site-dashboard.jpg 1400w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><a href=\"https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-09-defined-site-dashboard-menu-1024x895.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"895\" src=\"https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-09-defined-site-dashboard-menu-1024x895.jpg\" alt=\"\" data-id=\"100\" data-link=\"https:\/\/oxibug.com\/kb\/docs\/envato-castle\/configure-your-server\/configure-plugins-properly-in-wordpress-single-and-multisite\/01-02-09-defined-site-dashboard-menu\/\" class=\"wp-image-100\" srcset=\"https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-09-defined-site-dashboard-menu-1024x895.jpg 1024w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-09-defined-site-dashboard-menu-300x262.jpg 300w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-09-defined-site-dashboard-menu-768x671.jpg 768w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-09-defined-site-dashboard-menu-1110x970.jpg 1110w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-09-defined-site-dashboard-menu-730x638.jpg 730w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-09-defined-site-dashboard-menu-340x297.jpg 340w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-09-defined-site-dashboard-menu-555x485.jpg 555w, https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-09-defined-site-dashboard-menu.jpg 1400w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/li><\/ul><\/figure>\n\n\n\n<p>Envato Castle WordPress Plugin is designed to work with bbPress in the same site only, so if you use WordPress Multisite you MUST determine which the support forum blog ID you use to provide support to your clients by defining a constant in your <strong>wp-config.php<\/strong> file.<\/p>\n\n\n\n<p class=\"has-text-color has-background has-very-light-gray-color has-vivid-red-background-color\">ATTENTION: Install the following plugins BUT DO NOT Activate &#8217;em, You MUST do some steps before activating plugins in the WordPress Multisite<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li> From WordPress Dashboard go to <strong>My Sites<\/strong> menu then point to <strong>Network Admin<\/strong> menu item the click <strong>Settings<\/strong>.<\/li><li>Check  <strong>User accounts may be registered <\/strong>option from <strong>Allow new registrations<\/strong>.<\/li><li>From <strong>Plugins <\/strong>menu item in the left pane click on <strong>Add new<\/strong>.<\/li><li><strong>(Optional)<\/strong> Search for <strong>BuddyPress<\/strong> and Install <strong>(DO NOT Activate Now)<\/strong>.<\/li><li><strong>(Required)<\/strong> Search for <strong>bbPress<\/strong> and Install <strong>(DO NOT Activate Now)<\/strong>. <\/li><li>Upload the <strong>envato-castle.zip<\/strong> file you found in the downloaded folder using <strong>Upload Plugin<\/strong> button at the top of <strong>Add Plugins<\/strong> page <strong>(DO NOT Activate Now)<\/strong>.<\/li><\/ol>\n\n\n\n<h5 class=\"wp-block-heading\">Get the site ID<\/h5>\n\n\n\n<ul class=\"wp-block-list\"><li>From WordPress Dashboard go to <strong>My Sites<\/strong> menu then point to <strong>Network Admin<\/strong> menu item the click on <strong>Sites<\/strong>.<\/li><li>Point to the support forum site and look down to the URL appear at the bottom of the browser to get (<strong>id=%%<\/strong>) from the URL or you can click on <strong>Edit<\/strong> and get the site id from the query string in the URL text.<\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h5 class=\"wp-block-heading\">Using BuddyPress?<\/h5>\n\n\n\n<p>We extremely recommended to define the site ID for BuddyPress using its constant <strong>BP_ROOT_BLOG<\/strong> in the same EnvatoCastle&#8217;s blog to assign your clients directly to the intended blog so the clients can see their profile and topics in BuddyPress forms.<\/p>\n\n\n\n<p class=\"has-text-color has-background has-medium-font-size has-luminous-vivid-amber-color has-very-dark-gray-background-color\"><strong>Note:<\/strong> Using BuddyPress in WordPress Multisite is a little bit complicated and generate 404 page for some bbPress Pages related so this is our recommendations.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li> Open your <strong>wp-config.php<\/strong> using your server&#8217;s UI or any FTP app and enter the following constant. <\/li><\/ul>\n\n\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\n\/** \n * BuddyPress Root Blog Constant\n * *\/\ndefine( 'BP_ROOT_BLOG', YOUR_SITE_ID );\n\/* End of Constant *\/\n<\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>From WordPress Dashboard  go to <strong>My Sites<\/strong> menu then point to <strong>Network Admin<\/strong> menu item the click on <strong>Plugins<\/strong>.<\/li><li> Look for <strong>BuddyPress<\/strong> plugin and hit <strong>Network Activate<\/strong>. <\/li><li> From WordPress Dashboard  go to <strong>My Sites<\/strong> menu then point to <strong>Network Admin<\/strong> menu item the click on <strong>Dashboard<\/strong>.<\/li><li> From the left pane point to <strong>Settings<\/strong> and click on <strong>BuddyPress<\/strong>.<\/li><li>From tabs at the top open <strong>Options<\/strong> tab and uncheck the <strong>Account Deletion<\/strong> option to prevent your client from delete their own accounts.<\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h5 class=\"wp-block-heading\">Activating bbPress<\/h5>\n\n\n\n<p>We extremely recommended to activate the bbPress WordPress plugin in the EnvatoCastle&#8217;s blog <strong>NOT AS<\/strong> a Network Plugin which means.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>From WordPress Dashboard go to <strong>My Sites<\/strong> menu then point to <strong>YOUR Support Forum Site<\/strong> menu item the click on <strong>Dashboard<\/strong>. <\/li><li>Point to <strong>Plugins<\/strong> in the left pane and click on <strong>Installed Plugins<\/strong>.<\/li><li>Activate bbPress plugin.<\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h5 class=\"wp-block-heading\">Finally, Activating Envato Castle<\/h5>\n\n\n\n<ul class=\"wp-block-list\"><li>Open your <strong>wp-config.php<\/strong> using your server&#8217;s UI or any FTP app and enter the Envato Castle constant <strong>ENVATO_CASTLE_ROOT_BLOG<\/strong> with value of your support forum site ID.<\/li><\/ul>\n\n\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\n\/** \n * Envato Castle Root Blog Constant\n * *\/\ndefine( 'ENVATO_CASTLE_ROOT_BLOG', YOUR_SITE_ID );\n\n\n\/** Absolute path to the WordPress directory. *\/\nif ( ! defined( 'ABSPATH' ) ) {\n\tdefine( 'ABSPATH', dirname( __FILE__ ) . '\/' );\n}\n\n\/** \n * Temp Directory using to save\n * downloaded EnvatoCastle's Clint plugin \n * *\/\nif( ! defined('WP_TEMP_DIR' ) ) {\n    define( 'WP_TEMP_DIR', ( ABSPATH . 'wp-content\/tmp' ) );\n}\n<\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>From WordPress Dashboard  go to <strong>My Sites<\/strong> menu then point to <strong>Network Admin<\/strong> menu item the click on <strong>Plugins<\/strong>.<\/li><li>Look for <strong>Envato Castle<\/strong> plugin and hit <strong>Network Activate<\/strong>.<\/li><\/ul>\n\n\n\n<p>Envato Castle will add two menu items in the defined site <\/p>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>Envato Castle<\/strong> menu item which has two items one for Settings and the other to generate your own <strong>WordPress Client Plugin<\/strong> which you&#8217;ll integrate in your Envato&#8217;s (Themeforest or CodeCanyon) Projects.<\/li><li><strong>Envato Castle CPTs<\/strong> which contains all Custom Post Types belongs to Envato Castle plugin to add your Envato&#8217;s app created in the <strong>Step 1<\/strong> and your items you already have in the market.<\/li><\/ol>\n","protected":false},"featured_media":0,"parent":17,"menu_order":1,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-19","docs","type-docs","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Install &amp; Configure Plugins Properly - Knowledge Base<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/oxibug.com\/kb\/docs\/keygator\/configure-your-website\/install-configure-plugins-properly\/\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:locale\" content=\"en_US\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:type\" content=\"article\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:title\" content=\"Install &amp; Configure Plugins Properly - Knowledge Base\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:description\" content=\"Note: We are using a FREE theme from WordPress Repository called Idyllic, You can use any bbPress Theme. For WordPress Multisite, READ VERY CAREFULLY Using WordPress Single Site (Not Multisite)? From WordPress dashboard go to Settings then click on General. Check Anyone can register. From Plugins item in the left pane click on Add new. [&hellip;]\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:url\" content=\"https:\/\/oxibug.com\/kb\/docs\/keygator\/configure-your-website\/install-configure-plugins-properly\/\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:site_name\" content=\"Knowledge Base\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"article:modified_time\" content=\"2020-01-13T13:15:36+00:00\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:image\" content=\"https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-01-get-blog-id-method-1-1024x895.jpg\" class=\"yoast-seo-meta-tag\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" class=\"yoast-seo-meta-tag\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" class=\"yoast-seo-meta-tag\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" class=\"yoast-seo-meta-tag\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/oxibug.com\/kb\/docs\/keygator\/configure-your-website\/install-configure-plugins-properly\/\",\"url\":\"https:\/\/oxibug.com\/kb\/docs\/keygator\/configure-your-website\/install-configure-plugins-properly\/\",\"name\":\"Install & Configure Plugins Properly - Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\/\/oxibug.com\/kb\/#website\"},\"datePublished\":\"2019-10-26T16:00:20+00:00\",\"dateModified\":\"2020-01-13T13:15:36+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/oxibug.com\/kb\/docs\/keygator\/configure-your-website\/install-configure-plugins-properly\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/oxibug.com\/kb\/docs\/keygator\/configure-your-website\/install-configure-plugins-properly\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/oxibug.com\/kb\/docs\/keygator\/configure-your-website\/install-configure-plugins-properly\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/oxibug.com\/kb\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"KeyGator\",\"item\":\"https:\/\/oxibug.com\/kb\/docs\/keygator\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"1. Configure Your Website\",\"item\":\"https:\/\/oxibug.com\/kb\/docs\/keygator\/configure-your-website\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Install &#038; Configure Plugins Properly\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/oxibug.com\/kb\/#website\",\"url\":\"https:\/\/oxibug.com\/kb\/\",\"name\":\"Knowledge Base\",\"description\":\"Projects Documentation\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/oxibug.com\/kb\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Install & Configure Plugins Properly - Knowledge Base","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/oxibug.com\/kb\/docs\/keygator\/configure-your-website\/install-configure-plugins-properly\/","og_locale":"en_US","og_type":"article","og_title":"Install & Configure Plugins Properly - Knowledge Base","og_description":"Note: We are using a FREE theme from WordPress Repository called Idyllic, You can use any bbPress Theme. For WordPress Multisite, READ VERY CAREFULLY Using WordPress Single Site (Not Multisite)? From WordPress dashboard go to Settings then click on General. Check Anyone can register. From Plugins item in the left pane click on Add new. [&hellip;]","og_url":"https:\/\/oxibug.com\/kb\/docs\/keygator\/configure-your-website\/install-configure-plugins-properly\/","og_site_name":"Knowledge Base","article_modified_time":"2020-01-13T13:15:36+00:00","og_image":[{"url":"https:\/\/oxibug.com\/kb\/wp-content\/uploads\/sites\/3\/2019\/10\/01-02-01-get-blog-id-method-1-1024x895.jpg"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/oxibug.com\/kb\/docs\/keygator\/configure-your-website\/install-configure-plugins-properly\/","url":"https:\/\/oxibug.com\/kb\/docs\/keygator\/configure-your-website\/install-configure-plugins-properly\/","name":"Install & Configure Plugins Properly - Knowledge Base","isPartOf":{"@id":"https:\/\/oxibug.com\/kb\/#website"},"datePublished":"2019-10-26T16:00:20+00:00","dateModified":"2020-01-13T13:15:36+00:00","breadcrumb":{"@id":"https:\/\/oxibug.com\/kb\/docs\/keygator\/configure-your-website\/install-configure-plugins-properly\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/oxibug.com\/kb\/docs\/keygator\/configure-your-website\/install-configure-plugins-properly\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/oxibug.com\/kb\/docs\/keygator\/configure-your-website\/install-configure-plugins-properly\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/oxibug.com\/kb\/"},{"@type":"ListItem","position":2,"name":"KeyGator","item":"https:\/\/oxibug.com\/kb\/docs\/keygator\/"},{"@type":"ListItem","position":3,"name":"1. Configure Your Website","item":"https:\/\/oxibug.com\/kb\/docs\/keygator\/configure-your-website\/"},{"@type":"ListItem","position":4,"name":"Install &#038; Configure Plugins Properly"}]},{"@type":"WebSite","@id":"https:\/\/oxibug.com\/kb\/#website","url":"https:\/\/oxibug.com\/kb\/","name":"Knowledge Base","description":"Projects Documentation","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/oxibug.com\/kb\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/oxibug.com\/kb\/wp-json\/wp\/v2\/docs\/19","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oxibug.com\/kb\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/oxibug.com\/kb\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/oxibug.com\/kb\/wp-json\/wp\/v2\/comments?post=19"}],"version-history":[{"count":44,"href":"https:\/\/oxibug.com\/kb\/wp-json\/wp\/v2\/docs\/19\/revisions"}],"predecessor-version":[{"id":513,"href":"https:\/\/oxibug.com\/kb\/wp-json\/wp\/v2\/docs\/19\/revisions\/513"}],"up":[{"embeddable":true,"href":"https:\/\/oxibug.com\/kb\/wp-json\/wp\/v2\/docs\/17"}],"next":[{"title":"Create the bbPress Forums","link":"https:\/\/oxibug.com\/kb\/docs\/keygator\/configure-your-website\/create-the-bbpress-forums\/","href":"https:\/\/oxibug.com\/kb\/wp-json\/wp\/v2\/docs\/20"}],"prev":[{"title":"Create Envato App","link":"https:\/\/oxibug.com\/kb\/docs\/keygator\/configure-your-website\/create-envato-app\/","href":"https:\/\/oxibug.com\/kb\/wp-json\/wp\/v2\/docs\/18"}],"wp:attachment":[{"href":"https:\/\/oxibug.com\/kb\/wp-json\/wp\/v2\/media?parent=19"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/oxibug.com\/kb\/wp-json\/wp\/v2\/doc_tag?post=19"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}