{"id":828,"date":"2010-11-05T15:07:51","date_gmt":"2010-11-05T19:07:51","guid":{"rendered":"http:\/\/www.digitalaccesspass.com\/doc\/?p=828"},"modified":"2014-03-01T22:35:33","modified_gmt":"2014-03-02T06:35:33","slug":"vbulletin-setup","status":"publish","type":"post","link":"http:\/\/digitalaccesspass.com\/doc\/vbulletin-setup\/","title":{"rendered":"vBulletin Setup"},"content":{"rendered":"<p>Starting DAP v3.9, DAP supports full fledged integration with vBulletin forum. You can limit access to specific forums based on the users membership level.<\/p>\n<p>We also offer full vBulletin installation and DAP-&gt;vBulletin integration services. <a href=\"http:\/\/www.digitalaccesspass.com\/contactus.php\" target=\"_blank\">Contact Us <\/a> for more details<\/p>\n<p>You can download DAP 3.9 from your membership area.<\/p>\n<p><a href=\"http:\/\/digitalaccesspass.com\/dap\" target=\"_blank\">Click here to download latest version of DAP<\/a><\/p>\n<p>Here&#8217;s how you can enable DAP-&gt;vBulletin integration:<\/p>\n<p>1. Install vB on your site per this <a href=\"https:\/\/www.vbulletin.com\/docs\/html\/install\" target=\"_blank\"> documentation <\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Note:<\/strong> vBulletin 4.0 and higher requires PHP 5.2.0 or greater and MySQL 4.1.0 or greater<\/p>\n<p>2. You can install VB in a completely new database, or it can be installed in your existing WP\/DAP database.<\/p>\n<p>3. Login to your VB admin panel<\/p>\n<p>For Ex &#8211; http:\/\/www.yoursite.com\/forum\/admincp\/index.php<\/p>\n<p>Update the cookie domain setting under Setting Options =&gt; Cookie and HTTP Header Options<\/p>\n<p>Use Custom setting and update the cookie domain to yoursite.com.<\/p>\n<p>For ex &#8211; if the name of the site is contentresponder.com, then the cookie domain should be set to contentresponder.com<\/p>\n<p><a href=\"http:\/\/www.digitalaccesspass.com\/doc\/wp-content\/uploads\/2010\/11\/VB_Cookies_and_Header_Options.png\"><img loading=\"lazy\" class=\"alignnone size-thumbnail wp-image-899\" title=\"VB_Cookies_and_Header_Options\" src=\"http:\/\/www.digitalaccesspass.com\/doc\/wp-content\/uploads\/2010\/11\/VB_Cookies_and_Header_Options-150x150.png\" alt=\"Cookie Domain Setting\" width=\"150\" height=\"150\" \/><\/a><\/p>\n<p>4. Update dap-config.php under the dap folder<\/p>\n<p>Run the following command &#8211; http:\/\/www.yoursite.com\/dap\/getpath.php (replace yoursite.com with the name of your site)<\/p>\n<p>Say that it returns &#8211; \/home\/crespond\/contentresponder.com\/dap<\/p>\n<p>Just get rid of \/dap and instead append your forum folder name &#8211; \/home\/crespond\/contentresponder.com\/forum<\/p>\n<p>Now add the following lines to \/dap\/dap-config.php file<\/p>\n<p>define(&#8216;VBFORUMPATH&#8217;, &#8216;\/home\/crespond\/contentresponder.com\/forum&#8217;); \/\/ path to your forum<\/p>\n<p>define (&#8216;TABLE_PREFIX&#8217;, &#8216;vb_&#8217;); \/\/ vb table prefix in your database.<\/p>\n<p>define (&#8216;AUTO_CREATE_VB_ACCOUNT_UPON_DAP_REG&#8217;, &#8216;N&#8217;); \/\/set value to &#8216;Y&#8217; if you want DAP to auto-create user account in VB using firstname.lastname during DAP registration<\/p>\n<p><strong>Note<\/strong>:<\/p>\n<p>1)\u00a0 add the VBFORUMPATH and TABLE_PREFIX just above this line require_once(&#8220;dap-settings.php&#8221;); That&#8217;s it.<\/p>\n<p>2) In the TABLE_PREFIX above, use the VB table prefix that you set in your VB config file (\/includes\/config.php in your forum folder).<\/p>\n<p>If you set it to &#8221;, then set it to &#8221; in dap-config.php above.<\/p>\n<p>define (&#8216;TABLE_PREFIX&#8217;, &#8221;);<\/p>\n<p>It you set it to &#8216;vb&#8217; in config.php during VB installation, then set it to &#8216;vb&#8217; in dap-config.php as well.<\/p>\n<p>define (&#8216;TABLE_PREFIX&#8217;, &#8216;vb&#8217;);<\/p>\n<p><strong>VERY IMPORTANT: <\/strong><\/p>\n<p>Also, replace all occurrences of backticks (`) with single quote (&#8216;) in all the define statements above. Even when we save this doc with single quote, wordpress converts it to backticks(`). So pls make sure\u00a0 when you add the above define statements to dap-config.php, replace all ` with &#8216;.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Now go back to your DAP admin panel. You will find the vB forum option under Products\/Levels.<\/p>\n<p>BTW, there is a known vB issue that affects the running of command line cron stuff. Workaround for that is described <a href=\"http:\/\/tracker.vbulletin.com\/browse\/VBIV-5405?page=com.atlassian.streams.streams-jira-plugin%3Aactivity-stream-issue-tab\" target=\"_blank\">here<\/a><\/p>\n<p>Hope this helps.<\/p>\n<p>For more details on vB, <a href=\"http:\/\/www.digitalaccesspass.com\/doc\/coming-soon-dap-v3-9\/\">click here <\/a> to see the video<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Starting DAP v3.9, DAP supports full fledged integration with vBulletin forum. You can limit access to specific forums based on the users membership level. We also offer full vBulletin installation and DAP-&gt;vBulletin integration services. Contact Us for more details You can download DAP 3.9 from your membership area. Click here to download latest version of [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[20],"tags":[],"_links":{"self":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/828"}],"collection":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/comments?post=828"}],"version-history":[{"count":29,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/828\/revisions"}],"predecessor-version":[{"id":4282,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/828\/revisions\/4282"}],"wp:attachment":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/media?parent=828"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/categories?post=828"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/tags?post=828"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}