The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vBulletin PhpFoX Integration Details »» | |||||||||||||||||||||||||||
This modification was brought to you by KXDesign http://www.kxdesign.com/ ~Modification name vBulletin PhpFoX Integration ~Modification description This plugin allows you to integrate your PhpFoX site with vBulletin! Original thread: http://forums.phpfox.com/showthread.php?t=22717 ~Modification options
~Modification info File uploads: 12 File edits: 0 Templates: 4 Template edits: 1 Plugins: 12 SQL Queries: 0 Phrases: 13 Settings: 6 Hooks: 0 Install time: 1 minute Install level: Easy ~Modification installation Step 1: Modify .htaccess file This step is for those that installed phpFoX Konsort with the Rewrite mode enabled. With your FTP client or hosts file manager navigate to your phpFoX websites root directory. Open the file .htaccess. It should look something like this (Note: The example below is not an exact replica of how your .htaccess file will look like, we are mainly focusing on the RewriteCond): Code:
RewriteEngine On RewriteCond %{REQUEST_URI} !^/file/.* RewriteCond %{REQUEST_URI} !^/install/.* RewriteCond %{REQUEST_URI} !^/design/.* RewriteCond %{REQUEST_URI} !^/plugins/.* RewriteRule ^index.php(/.*)$ /index.php?do=$1 [L] RewriteCond %{REQUEST_URI} !^/file/.* RewriteCond %{REQUEST_URI} !^/install/.* RewriteCond %{REQUEST_URI} !^/design/.* RewriteCond %{REQUEST_URI} !^/plugins/.* RewriteCond %{REQUEST_URI} !^/index.php RewriteCond %{REQUEST_URI} !^/robots.txt RewriteCond %{REQUEST_URI} !^/favicon.ico RewriteRule ^(.*)$ /index.php?do=/$1 [L] Code:
RewriteCond %{REQUEST_URI} !^/forums/.* Code:
RewriteEngine On RewriteCond %{REQUEST_URI} !^/file/.* RewriteCond %{REQUEST_URI} !^/install/.* RewriteCond %{REQUEST_URI} !^/design/.* RewriteCond %{REQUEST_URI} !^/plugins/.* RewriteCond %{REQUEST_URI} !^/forums/.* RewriteRule ^index.php(/.*)$ /index.php?do=$1 [L] RewriteCond %{REQUEST_URI} !^/file/.* RewriteCond %{REQUEST_URI} !^/install/.* RewriteCond %{REQUEST_URI} !^/design/.* RewriteCond %{REQUEST_URI} !^/plugins/.* RewriteCond %{REQUEST_URI} !^/index.php RewriteCond %{REQUEST_URI} !^/robots.txt RewriteCond %{REQUEST_URI} !^/favicon.ico RewriteCond %{REQUEST_URI} !^/forums/.* RewriteRule ^(.*)$ /index.php?do=/$1 [L] Our first step will be to install vBulletin. We can not go into great detail on how to install vBulletin, however you can check out their great documentation here.Before you attempt to install vBulletin there are some factors you will need to take note of: * When you upload their product it must be placed in a folder and the name of the folder must be forums. This folder must be placed in your phpFoX websites root directory. Proper layout would be: http:///www.yoursite.com/forums/ * The vBulletin tables must be placed in the same database as phpFoX. * phpFoX should be installed with a database table prefix. By default this prefix is phpfox_. If you did not install phpFoX with a table prefix you will have to install vBulletin with a table prefix. * This plug-in was not developed to work under a sub-domain environment yet,for that you have to wait for v3. (Example: http://forums.yoursite.com/) * During the install of vBulletin you will be asked to add an Admin User. This user will shortly be deleted by our integration and replaced with your main phpFoX Admin account. Step 3: Edit config.php file. Edit the config.php file in the vbulletin folder and change the name from forums to whatever the vBulletin subfolder is called in the PhpFoX directory. Step 4: File uploads Upload the whole vbulletin folder to the phpFoX plugins folder. Step 5: Importing Notice: Read this step thoroughly before attempting to import any data. For those that already have phpFoX running and just installed vBulletin you will have to do the step Import phpFoX Users. For those that already have vBulletin running and just installed phpFoX you will have to do the step Import vBulletin Users. Import phpFoX Users Run the import file through your web browser by entering the URL into your browser address bar (if you have followed our example, type in http://www.domain.com/plugins/vbulle...all/import.php, naturally substituting 'domain.com' for your web address.) Import vBulletin Users Run the import file through your web browser by entering the URL into your browser address bar (if you have followed our example, type in http://www.domain.com/plugins/vbulle.../vb_import.php, naturally substituting 'domain.com' for your web address.) Step 6: Integration and edits Now lets log into your vBulletin Admin control panel. Note that it will not work to log into your site using the phpFoX login forum. You will have to use the vBulletin login form. (Example: http://www.yoursite.com/forums/index.php). Note that you will need to log into vBulletin with your phpFoX Admin account, which is the same account you log into your phpFoX site. Follow the next steps below: Update Forums Cache Go to: Forums & Moderators >> Forum Manager >> Then edit the forum called Main Category. Save that forum without making any changes. Update Forums Counters Go to: Maintenance >> Update Counters Then rebuild the following: Rebuild Thread Information and Rebuild Forum Information Enable Plug-In System Go to: vBulletin Options >> vBulletin Options >> Plugin/Hook System Change the setting: Enable Plugin/Hook System To Yes Importing the plugin Go to: Plugins & Products >> Manage Products >> Add/Import Product Look for the block Import Product and then for EITHER upload the XML file from your computer browse for the XML file product-konsort.xml which was part of the package you downloaded from phpFoX. Then click on the import button. Template edit (Optional) Go to: Styles & Templates >> Style Manager >> Edit Template (on all your styles) >> Open template header Remove the part of code between the logo comments. ~Modification changelog
~Modification copyright This may not be distributed,released or claimed as your work without author's permission. Download Now
Show Your Support
|
Comments |
#22
|
||||
|
||||
It's the plugin in vBulletin you recently enabled
|
#23
|
|||
|
|||
Sorry, I still don't quite understand. Do I paste this code into one of the files that I downloaded in the plugin pack & upload it to the site, or do I finds this code somewhere in the VB or phpfox admin panel?
Thanks |
#25
|
||||
|
||||
Quote:
Quote:
|
#26
|
||||
|
||||
2.5.1 released
|
#27
|
|||
|
|||
Thanks Ziki, all done. The users are up to date now, but still I have the problems as explained in post #9 of this thread with threads/posts not being marked as read unless I view them by first going to the fotum, then opening the thread.
|
#28
|
|||
|
|||
Hello,
I'm about to integrate this and want to be sure I understand correctly: Step 2 says to install vBulletin in yourwebsite.com/forums (which I've done), but then Step 4 says, "Upload the whole vbulletin folder to the phpFoX plugins folder." Does this mean to upload the original vBulletin source files from my computer, or to "move" the vbulletin folder from the yourwebsite.com/forums directory to the phpfox plugins folder? Thanks! |
#29
|
|||
|
|||
You upload the vbulletin files to the /forums folder on your server and upload the vbulletin integration files from here to the phpfox plugins folder.
|
#30
|
|||
|
|||
Thank you Ziki for this mod! It's up and working on my board here.
The only minor nuisance I have is some of the text on the pagebg areas being white against a white background. I've checked the style option settings in vBulletin and it doesn't update. I think it's being overwritten by phpFoX. The other is when you accidentally use the vB login box it's sometimes quirky for me staying logged in. Other than that, A+ mate. :up: |
#31
|
|||
|
|||
I've got a custom theme installed on my phpfox site (not just a theme you can switch to, but hard-coded), so my header and footer is off.
Where is vBulletin pulling the CSS, footer, header, etc. from with this integration? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|