The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Dynamic Joomla!VB wrapper Details »» | |||||||||||||||||||||||||||
NB: This add-on is not a single sign-on solution.
This add-on provides a means for dynamically wrapping your vbulletin in a Joomla! 1.0.15 portal implementation. This add-on does not touch the core files of either system and there is no requirement to do anything on the Joomla! side unless you've created wrappers for several templates and want to switch between those templates. At which point, you'll simply switch your Joomla! templates via in the Joomla! template manager. And finally, this add-on assumes that your forum is located directly below your joomla implementation directory and is sharing its database. The following instructions include example code snippets to (hopefully) assist in making this add-on proceed as smoothly as possible. Before attempting to install this add-on, disable your forum and back up your database!!!. This is to ensure you have a working copy in case you run into problems.. If you install this PLEASE Click Install Preparation: Step 1: Create a subdirectory in your current template directory (both locally and on your target site) called, vbulletin. For example, if you're using one of the default templates for Joomla! 1.0.15... say... madeyourweb, you would create your vbulletin directory as follows: Installation:
Demo: http://crimsonshadows.net (click on forum to see the seamless integration between the portal and vbulletin) Notes, debugging, etcetera: Excellent/Important user feedback/tips Quote:
Quote:
I will happily answer questions that are not addressed in the above instructions. Feedback is also welcomed.Addendum Please do not ask me to write and/or debug your php code! So far, all of the questions I have received are from people who (a) did not even bother to read the detailed instructions that I provided above, and/ or (b) haven't clue one wrt writing php code, much less debugging it. If you install this PLEASE Click Install Show Your Support
|
Comments |
#12
|
|||
|
|||
I wrote the initial add-on for Joomla! 1.5 however since I needed to roll back to 1.0.15 to support the numerous modules/bots, I no longer have those files.
As far as making such a wrapper? You can generate a wrapper by defining your absolute joomla path ($myjoomlapath), template name ($myjoomlatemplate), and, for say, rocket themes, style name ($myjoomlastyle). I would also add these as parameters so that you can easily change them in the vBulletin settings, should you decide to switch themes/styles. Then, it is a matter of removing the joomla calls in the add-on xml, adding the code to fetch the parameters, and replacing $this->baseurl, $this->template, and $tstyle, respectively, in your head, header, & footer php files. In addtion, you would need to replace the "menu code" with your own home-grown menu function. Since the concept of this add-on is fairly straight forward, it is simply a matter of hacking this add-on to work with Joomla! 1.5. Or otherwise put, if you are comfortable with Joomla! 1.5 and vbulletin, and have solid php coding knowledge, a 1.5 hack such as the above, while tedious, should be quite simple. Ymmv, of course. The down side is that a hacked implementation, such as the above is not dynamic. In other words, if/when you switch Joomla! styles, you would also need to change them in the vBulletin settings area. You would also need to upgrade your menu function anytime you changed the main menu. If I went this route, I would create a sharable menu include file, so that regardless the template, that menu function would always be included into the wrapper. And finally, I have no doubt there is a better approach than the aforementioned for 1.5. However, migrating to 1.5 is not on my "to do" list atm, so unless that changes, I will not have time to investigate it further. If you have other questions, feel free to pm me. |
#13
|
|||
|
|||
This is what I was exactly looking for!
Thank you so much for sharing! Does it work also if J and VB don't share the same database? Otherwise do I have to add some code to make it working? Thanks |
#14
|
|||
|
|||
In theory, it should work regardless of whether they are in separate databases or not. In reality, it depends upon how they implemented their db classes. For example, are they using a thread resource pool? If not, any real loading will likely result in some odd behavior.
That said, I would first try to ensure it works with an integrated db. Then, once things are working smoothly, repoint vb to it's original seperate db by exporting the integrated db, and loading it into the seperate db. By doing this, you limit potential sources for error during your trouble shooting phase. Ymmv, of course. |
#15
|
|||
|
|||
For those of you using Rocket Theme, I received some excellent input regarding the differing font size and alignment problem.
Quote:
|
#16
|
|||
|
|||
Quote:
Actually I have Joomla and vBulletin in different databases. I'll start doing some tests with your hack and I'll let you know. Btw...do you think the same thing could be applied to phpbb3? :erm: |
#17
|
|||
|
|||
As with anything, if you know how to code, and have the time and patience, it could be done. I admittedly do not know the state of phpbb these daze. My last tinkering was phpbb2. Even so, imho, unless the've re-architected the infrastructure and cleaned up the interfaces, and oh... idunno... tightened up some of their code, the thing leaks like a sieve. Esp when it comes to security. Then again, "secure php-[whatever]" is somewhat of an oxymoron. lolol.
|
#18
|
|||
|
|||
I have a question. Are we just copy the data in the boxes for the 3 files? Because i got a blank page after i applied the theme....
|
#19
|
|||
|
|||
Quote:
As it stands now, I am going to disable the "will support" and will not answer any further "all I am getting is a white screen" questions. If you cannot help yourself by at least reading the instructions, then I do not have the time or patience to even remotely consider helping you. |
#20
|
|||
|
|||
Ok, sorry for not having English as my primary language and sorry for being an amateur in coding and not knowing how to "buffer the html". I humbly seize my existence in order to stop bothering you. Please don't disable the "will support" because others might actually need it.
|
#21
|
|||
|
|||
anyone tested this with 3.7?
btw, thanks shadowraith for your contribution. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|