PDA

View Full Version : Major Additions - Joomla for vBulletin (IMPORTANT UPDATE) - Bridge to the World's Most Popular CMS


Pages : [1] 2

Michael Morris
04-25-2007, 10:00 PM
Warning!!! An potential exploit has been found in this modification. The server that hosts vjoomla.com has been attacked several times. It is known to already be severely comprimised so at this time it is unclear whether the vulnerability lies in vJoomla, Joomla itself or the server. Until this is resolved to my satisfaction I am removing this modification. My apologies.


The modification WILL be re-released once this issue is resolved!

vJoomla is an offshoot of Joomla 1.0 that is designed to run in tandem with vbulletin. Unlike the main release it will not run without vbulletin - if you desire a CMS without a forum then use Joomla! instead. vJoomla is identical in most all regards to Joomla!

What vJoomla Does

Provide a single session, single login interface to Joomla and vbulletin.
Allows Joomla pages to be skinned by vbulletin's template engine.
Maps Joomla usergroups to vbulletin usergroups.


What vJoomla Does Not Do

It does not rewrite your templates for you - so you will need to go in currently and change relative links to images and pages to absolute links. This is most important in the style sheets and in the navbar template. This is something you need to do yourself rather than programmatically since no two sites are likely to be using the same style sheet and the same setup for these links.


Install Instructions

Log into your admincp
Close your forum
If your forums are at the root of your site move them elsewhere - the best location is probably /forum
Upload the files from the zip packages to their respective locations. There should be no overwrites.
Navigate to the root of your site and run the Joomla installer.
Go back to the admincp and install the Joomla product file
Now either copy the ./cpstyles, ./clientscript and ./images directory of the forum into the Joomla directory OR create symbolic links to those directories. The contents of the ./images directory of Joomla and vbulletin will need to be merged.


This is release candidate 2.

Michael Morris
04-26-2007, 02:41 AM
Ok, for the technically inclined, and especially for those considering writing components or modules for this variant of Joomla, here in brief is how this works.

Joomla's global file calls vbulletin's global.php - either the forum or the admincp version as needed. If the forum version is used it caches it's 20 templates. The rest of the hacks are in the Joomla mainframe. Rather than allow the Joomla database object to connect itself the resource id of the Master connection is passed to it from the vbulletin database object. Both database classes are therefore available. So if you like you can do

$database->setQuery("-- some query");
$database->loadObjectList();

or you can use vbulletin's way.

$db->query_read(" -- some query ");

Each system has it's advantages and disadvantages. Typically I use the joomla object to handle joomla tables if, for no other reason, the table prefix in the queries is automatically parsed. But I digress.

Joomla doesn't do it's own login in this hack. Instead, at the line where Joomla WOULD verify the password it instead checks the vbulletin registry object ($vbulletin) to see if there is a user. If there is the hack lies to Joomla and cuts it loose with a session without independent verification. Therefore, in this hack all logins and user manipulations go through vbulletin (which has a far more robust user system anyway so in my opinion, no loss).

This will cause problems if you install a Joomla component that extends on the Joomla user object. These components probably will not work.

vJoomla, for the most part, doesn't need a complete user list. The first time a vbulletin user moves to a joomla page though part of their registration is copied into the joomla user table. This should help certain components function and is also necessary for the Joomla backend to work. I may write some stricter syncing code if necessary -- vJoomla itself doesn't need it to work but some components might.

The admin side is a little tricker. I had to disable joomla timing out - I swear this took longer than any other part but it works now. Again, Joomla is dependent on vbulletin to get the security right in this hack. Since admincp global throws a login interface automatically if you time out on it there's no reason for Joomla to maintain a seperate check. If you return from vbulletin global.php in the Joomla admin files you're golden.

Final notes are on templates. Once Joomla is ready to call it's template engine a hack steps in and iterates over the Joomla module positions, reading them all into an array. Each module position is then wrapped in a template file (though in this base distribution there are no elaborations on these templates). After this is done Joomla's output passes through vbulletin's template engine and vbulletin completes the page output.

In all it took 2 months on and off to figure this all out. But though it's incomplete, it's working very smoothly at the moment. Questions and comments welcome.

Quantnet
04-26-2007, 02:59 AM
Been on the fence for so long. Would love to see a demo of how vjoomla use the vb template

Michael Morris
04-26-2007, 03:02 AM
I don't have a live test demo site up as of yet and won't for another couple weeks. Also things are still in flux at the moment.

Ntfu2
04-26-2007, 03:15 AM
Awesome job here it looks like a solid start and may have just get another vBulletin license for up coming project now :)

dizzy100
04-26-2007, 10:46 AM
I tried the beta on test and it works very well indeed.

However installing some components showed issues with paths i guess ? Sorry i didn't write down the error messages. Removing the mod and the components all worked as expected.

Its a great start though.

UncoderMom
04-26-2007, 11:44 AM
If you need a licensed board that is inactive to test on let me know! I have one you can use lol! PM me!

I would love to have this on my live site!!

The plug in I have now requires me to turn off my VB registration and use the Joomla only. I dont want that as I use the referral system.. A LOT.

Also, Im not sure I read this right... Are you saying that this modification will allow Joomla to be skinned with your vb templates? :eek:

beduino
04-26-2007, 11:58 AM
Very interesting!
tks for your work - and really the add-ons will be very useful.
All the best
Joao Barroca
aka beduino

dizzy100
04-26-2007, 12:52 PM
Also, Im not sure I read this right... Are you saying that this modification will allow Joomla to be skinned with your vb templates? :eek:

When i tried it on my testbed the vbulletin skins is used for joomla which looked great :) Navbar links will need to be encoded with full paths though or they won't work.

Michael Morris
04-26-2007, 12:59 PM
Also, Im not sure I read this right... Are you saying that this modification will allow Joomla to be skinned with your vb templates? :eek:

Yes. It does.

StuntFactoryX
04-26-2007, 01:14 PM
very interesting. there is some very cool stuff out there for joomla. few questions. i have read on here that there is huge security holes in joomla. the coder made it sound like it was common knowledge. was that a opinion or do you disagree or agree?

next thing is do you anticipate alot of problems or changes to make this work as vbulletin upgrades?

RedGTiVR6
04-26-2007, 02:55 PM
Can you compare this to the bbPixel bridge that I literally just purchased YESTERDAY!

Why does that always happen...lol

gothicuser
04-26-2007, 03:09 PM
Thankyou for a very useful hack :D
Digressing, it is just so pleasant and refreshing to see a full detailed description (as in the second post), Mr. Morris, a million thanks.

Michael Morris
04-26-2007, 03:22 PM
very interesting. there is some very cool stuff out there for joomla. few questions. i have read on here that there is huge security holes in joomla. the coder made it sound like it was common knowledge. was that a opinion or do you disagree or agree?
Whatever security holes Joomla has, they are irrelevant to this mod since it does user authentication using vbulletin.
next thing is do you anticipate alot of problems or changes to make this work as vbulletin upgrades?
I anticipate no problems. The vbulletin code isn't hacked in any way so unless Jelsoft changes the structure of the vbulletin registry in a major fashion this mod will continue to work. I would imagine that any change in vbulletin sufficient to break this mod would also break every mod on this site - in other words the type of change you might see in version 4.0, but not in version 3.6 forward.

Speaking of which, although I haven't tested it with 3.5 I *think* it will work there - this installs templates only and runs an alter table query - it doesn't have any plugins so it should work in 3.5

Michael Morris
04-26-2007, 03:32 PM
Can you compare this to the bbPixel bridge that I literally just purchased YESTERDAY!

Why does that always happen...lol
bbpixel hacks both Joomla and vbulletin. It merges then mirrors the user database and allows logins from both sides. This hacking means that every single time either product updates you have to reinstall the hack.

bbpixel doesn't bridge the template engines - therefore if you want a site to have a unified look and feel you have no choice but to skin the thing TWICE. vJoomla uses vbulletin's template engine and throws away Joomla's master template engine (modules can however still call and use patTemplate to build their content).

bbpixel is more mature than vJoomla having been around for a couple years. I'm working to get most of the same functionality in place as quickly as possible. The main obstacle - getting the bridge itself to work, has been accomplished.

These are the main differences. For the record I purchased bbpixel and was vastly disappointed in their customer service and how they implemented the bridge, so I wrote my own.

Michael Morris
04-26-2007, 03:34 PM
When i tried it on my testbed the vbulletin skins is used for joomla which looked great :) Navbar links will need to be encoded with full paths though or they won't work.
By the final version I hope to use a modRewrite schema to work around this.

C_P
04-26-2007, 03:49 PM
Check your PM Michael Morris (https://vborg.vbsupport.ru/member.php?u=44649). I may be able to assist.

RedefiningFate
04-26-2007, 03:53 PM
I'm a novice to this. But find it great that you are creating this for us. As I was turned on to Joomla! the other day and I like the way it functions.

I don't understand what you mean by this, and feel free to make fun of me for it...

Either create a symbolic link for images, clientscript and cpstyles in the site root, or copy the contents of those folders to the site root.

What exactly does it take to create either one of those?

J.T.

Jack Black
04-26-2007, 04:14 PM
I run my forum on a sub-domain.....forum.mywebsite.com....and i really do not want to move it.

Anyway this mod will work on my setup?

Michael Morris
04-26-2007, 04:29 PM
Check your PM Michael Morris (https://vborg.vbsupport.ru/member.php?u=44649). I may be able to assist.

I'm a novice to this. But find it great that you are creating this for us. As I was turned on to Joomla! the other day and I like the way it functions.

I don't understand what you mean by this, and feel free to make fun of me for it...



What exactly does it take to create either one of those?

J.T.

A symbolic link is exactly like a windows shortcut icon on the desktop that points to a file or folder elsewhere. The command is

ln -s /absolute/path/to/directory ./link

For my dev site the command to link the cpstyles was

ln -s /www/circvsmaximvs.com/dev/htdocs/cpstyles ./cpstyles



I run my forum on a sub-domain.....forum.mywebsite.com....and i really do not want to move it.

Anyway this mod will work on my setup?

The final release version will - part of the installer will be the setup of the paths between Joomla and vbulletin. Expect to see that within 3 weeks or so.

Quantnet
04-26-2007, 06:00 PM
When i tried it on my testbed the vbulletin skins is used for joomla which looked great :) Navbar links will need to be encoded with full paths though or they won't work.
Would you be able to provide me with the link ? I like to see how the front page layout look using the vb templates. Thanks

dizzy100
04-26-2007, 07:16 PM
Would you be able to provide me with the link ? I like to see how the front page layout look using the vb templates. Thanks

Sorry it was on a local host. It skinned Joomla perfectly with my vbulletin skin but there are a few problems i feel still with the bridge.

My default Joomla had a login module on the front page that wouldn't take with my vbulletin username and password. However using the vbulletin one logs me into both systems (minor but worth remembering how the bridge is working).

Also i found some components just error out. MosDirectory for instance installed fine but mysql error'd when trying to add an entry (although removing the bridge it then performed as expected).

Seems a great start and will certainly bring a great deal to the vbulletin community. Not a huge fan of Joomla myself as i find the interface confusing but its certainly an extremely powerful system that could add huge benefits to vbulletin boards.

Kudos to the developer with his beta bridge and the clear instructions he laid down to install. I'll be keeping a close eye on this one.

StuntFactoryX
04-26-2007, 08:05 PM
exciting. looking forward to this developing. would nominate mod of the century and click a donate button if this develops into somthing simple that us everyday board owners could use and maintain.

i would also like a sneek peak once sombody gets 1 running. :)

cygy2k
04-26-2007, 09:19 PM
I have to tell you, I love Joomla and have learned to love vBulletin over the past year. You ROCK for making this mod as it's one of the most needed and useful in my opinion. If you really put some time into this, you could easily make some money off of it and/or build some awesome communities around it.

pete_brady
04-26-2007, 10:15 PM
looking forward to this... been working on joomla-ing up my site & having access to vb stuff would be a big plus....

nanaimobar
04-26-2007, 10:18 PM
Looks very promising, Michael. Congratulations.

I use Joomla, with iJoomla Magazine mod, as my main web site face and use vBulletin for all the grunt and security work so I am quite interested in seeing a demo site running using your bridge.

Combining the two as you have is quite a gift to the vBulletin community. Thanks.:up:

Will definitely download your bridge when it is ready for production environments.

Michael Morris
04-26-2007, 11:27 PM
Just noticed the following and am posting notice in the original post.

Warning: Joomla complains about register globals emulation being on (this is the default setting). It is cited as a security risk. You MUST leave this setting on for this hack to work - however the "security risk" is non-existent as vbulletin will clean out the globals array during it's initialization.

This also means that any component or module for Joomla that requires Register Globals emulation to be turned on WILL NOT WORK! (most do not though - developers have been moving away from register globals for awhile now).

Tonight's task list is to tighten the template integration with Joomla and make some progress on mod_vJoomlaRecentThreads.

mclark2112
04-26-2007, 11:56 PM
Wow, can't wait until this is fully released...

WHat about a module for having new articles create threads in vB?

tuanluu
04-27-2007, 01:37 AM
Me too I will give it a try

dvsDave
04-27-2007, 01:52 AM
Everytime I have to work in joomla template, I wish it was the joomla template system. Please let us know if you need funds or a test platform or anything, I really want to see this thru to fruition.

Michael Morris
04-27-2007, 02:01 AM
Beta 0.0.2 introduces a major change in how Joomla handles modules. Traditionally Joomla wraps module content in one of 4 wrappers - div, 3 div, table or raw. The code of frontend.php and frontend.html.php has been rewritten so that now Joomla calls the vbulletin template engine to perform the wrapping process. The exact wrap used depends on which module position was used. The tradeoff (for the moment) is the moduleclass suffix is ignored. However this allows for much more powerful templating of the module blocks than CSS can hope to offer. It also moves the control of the module appearance fully into the vbulletin template engine which I'll wager will be more familiar to users than Joomla's engine anyway.

Tomorrow night I will do the same thing to Joomla's com_content component. Most Joomla content goes through this component so that should complete the skinning process - just keep in mind that 3rd party modules may use wildly different schema for populating their content block.

Also progress is being made on the module to view recent threads out of the vbulletin database. For those familiar with vbAdvanced you'll find most of the same options in the Joomla version of the latest topics module - but one major difference is the Joomla version will have a caching system so that instead of loading the recent threads on each view of the thread list at set intervals. This is for large boards like ENWorld where such queries can slow down the system noticeably.

Quantnet
04-27-2007, 04:37 AM
Keep very close watch on this.
I had joomla for a year or so before i got too tired of it. Integration is the worst. Template is another problem.

Now, look forward to seeing this to fruition.

Robru
04-27-2007, 08:51 AM
Thanks for this super job :)

project-Buckfas
04-27-2007, 09:31 AM
Very interested in this. I haven't been able to find a decent bridge so far. This looks promising!

memomemo
04-27-2007, 11:29 AM
Hello my setup this vJoomla beta 0 0 2 but dont work home page.

http://www.forumsitesi.info/index.php

Adminpage working only homepage dont work.
Please help

Thank you

kartik786
04-27-2007, 02:38 PM
Does ths work with 3.6.4 ?

Reeve of shinra
04-27-2007, 02:39 PM
Anyone have a good example of using joomla (integrated or not) as a "____ of the month" type thing?

RedGTiVR6
04-27-2007, 03:50 PM
bbpixel hacks both Joomla and vbulletin. It merges then mirrors the user database and allows logins from both sides. This hacking means that every single time either product updates you have to reinstall the hack.

bbpixel doesn't bridge the template engines - therefore if you want a site to have a unified look and feel you have no choice but to skin the thing TWICE. vJoomla uses vbulletin's template engine and throws away Joomla's master template engine (modules can however still call and use patTemplate to build their content).

bbpixel is more mature than vJoomla having been around for a couple years. I'm working to get most of the same functionality in place as quickly as possible. The main obstacle - getting the bridge itself to work, has been accomplished.

These are the main differences. For the record I purchased bbpixel and was vastly disappointed in their customer service and how they implemented the bridge, so I wrote my own.


Thank you very much for your explination!

It's a good thing the bbpixel bridge only cost $20.

From my research, it seemed as if it was the only viable option out there.

I'll be keeping an eye on this thread religiously!

RedGTiVR6
04-27-2007, 03:52 PM
Wow, can't wait until this is fully released...

WHat about a module for having new articles create threads in vB?

this would be the pot at the end of the rainbow!

kartik786
04-27-2007, 04:54 PM
can someone tell me if it works on 3.6.4 , so that i can have the pleasure of using this mod on my board

Michael Morris
04-27-2007, 05:08 PM
can someone tell me if it works on 3.6.4 , so that i can have the pleasure of using this mod on my board
Development of this began on 3.6.4 and I upgraded 3.6.5 midway during development without incident, so I believe it's safe to answer yes to that question.

akulion
04-27-2007, 05:24 PM
I dont use joomla but just wanted to give a few words of thanks and encouragement :)

Keep up the great work )

JimmDaBimm
04-27-2007, 05:30 PM
Thaaank you so much for working on this hack! ive ben waiting for a free bridge over month -.- and it was so close that i pay for bbpixel. Now i will watch it growing. I dont test it yet but is it posible to bridge joomla and vb without bridge the template engines?

I will test it later local. I hope this is what i have waiting for ;D.

p.s. sorry for my bad english ^^"

TheHeartSmasher
04-27-2007, 06:21 PM
Would it be possible to have the option of having this work without having to install joomla into the vbulletin database. So the two can have seperate databases, in case a problem happens with joomla or vb one or the other will still work.

RedGTiVR6
04-27-2007, 06:54 PM
What he said!

That would be ideal!

Michael Morris
04-27-2007, 07:12 PM
Thaaank you so much for working on this hack! ive ben waiting for a free bridge over month -.- and it was so close that i pay for bbpixel. Now i will watch it growing. I dont test it yet but is it posible to bridge joomla and vb without bridge the template engines?

I will test it later local. I hope this is what i have waiting for ;D.

p.s. sorry for my bad english ^^"

The point of this particular bridge is to append Joomla onto vbulletin, part of which involves replacing it's master template engine. If you want or need full independent templates for both sides bbpixel remains your best bet. Personally I don't want to have to manage two template libraries.

Would it be possible to have the option of having this work without having to install joomla into the vbulletin database. So the two can have seperate databases, in case a problem happens with joomla or vb one or the other will still work.

No - the two are working off a single connection resource. This means each time the database is changed a change database command would have to be sent. Getting this to work correctly would require hacking both vbulletin and joomla's database classes and in my opinion would introduce more problems than it could solve.

Reeve of shinra
04-27-2007, 08:33 PM
Also, if the user table is in the VB database adn that crashed, you would still be SOL as your joomla db wouldnt be able to find the data it needs to run. Keep backups, plenty of them.

Michael Morris
04-27-2007, 09:07 PM
Also, if the user table is in the VB database adn that crashed, you would still be SOL as your joomla db wouldnt be able to find the data it needs to run. Keep backups, plenty of them.
Reeve is right - in this particular hack the joomla user table does not contain the information necessary for validating the logins. Even though a partial copy is made, the password hash isn't copied over so if the vb user database goes the whole thing goes down anyway.

juanchi
04-28-2007, 09:33 AM
This mod is great, the only thing that I don't like is the way it handles the templates, and please don't get me wrong but I will prefer to use some of the templates available for joomla to skin the CMS. Michael if there could be a possibility to implement this please give it a chance, thanks.

TheBlackPoet
04-28-2007, 10:04 AM
I am hoping this bridge works out because i want to intergrate joomla into my forum as well.. i am putting this thread on instant notification and wait excitedly for it to come through the other side...

when i loaded it.. it did something funky to my login.php.. but no worries...

good work though..

Luky
04-28-2007, 02:08 PM
Its very nice for you to release a free bridge, its about time someone ran them people asking for money out of buisness! But may i ask, why not use on a live board? I mean if all you did was change the sql query's and abit of code, not much security issues can arise can it?

TheAllusionist
04-29-2007, 02:19 AM
Darn, I use Mambo! LOL This has been on a lot of peoples wish list for some time, thank you for taking it on.

Michael Morris
04-29-2007, 02:43 PM
This mod is great, the only thing that I don't like is the way it handles the templates, and please don't get me wrong but I will prefer to use some of the templates available for joomla to skin the CMS. Michael if there could be a possibility to implement this please give it a chance, thanks.

I don't have the time to develop two different bridges. I'm undergoing this massive bit of hacking how Joomla displays content because a constant bugbear I've had at work is my clients, several design firms, hate tables as markup with a purple passion. Joomla uses tables extensively in content.html.php and frontend.html.php. Rather than continuing bickering with them I'm branching off Joomla to allow templates to drive the content pages -- the vbulletin template engine in the case of vJoomla and the patTemplate engine in the case of my contract work (The only difference between these two is the line that calls the template). If you want to integrate Joomla and retain the ability to use Joomla templates then I strongly recommend you look into bbpixel's bridge which has that functionality. $20 is not a lot to ask for a piece of software these days.

Its very nice for you to release a free bridge, its about time someone ran them people asking for money out of buisness!

That isn't my intent. By the time it is completed this bridge will be quite different from bbpixel in several notable ways. The reason I am working on it is I need a unified template engine - something that bbpixel's bridge doesn't offer.

But may i ask, why not use on a live board? I mean if all you did was change the sql query's and abit of code, not much security issues can arise can it?

I have a live board that will be going up with this in two weeks if all goes well. There will be a vast difference between this early beta and the finished product between now and then.

ams3521
04-29-2007, 06:46 PM
Hi and thanks for a great mod, would this work with the Joomla component community builder?

pete_brady
04-29-2007, 09:59 PM
Will this bridge enable joomla / vb search integration?

Michael Morris
04-29-2007, 10:13 PM
Hi and thanks for a great mod, would this work with the Joomla component community builder?

Almost certainly not. Community Builder builds on the Joomla user table, and vJoomla disables that table in favor of using the vbulletin one.

Will this bridge enable joomla / vb search integration?

Not initially.

pete_brady
04-29-2007, 10:19 PM
Not initially.

Sounds promising!

ERuiz
04-30-2007, 04:16 AM
For the record I purchased bbpixel and was vastly disappointed in their customer service and how they implemented the bridge, so I wrote my own.

I concur 100%. Their support is almost null after you make the purchase. Too bad my current website is so heavily hacked and using the BBpixel solution, because if not, I would be willing to help you out with beta testing on my site.

I will keep an eye on this thread though. It looks extremely promising and probably in the future, I would make the move from BBPixel to this hack. Keep up the excellent work! :up:

Billspaintball
04-30-2007, 04:20 AM
Im keeping a real close eye on this one.
Ive looked at Joomla several times in the past but couldant find any acceptable way to intergrate it into a vB based site.

Very Interested. :)

aloha
04-30-2007, 06:10 AM
I love it when there are hacks that I will actually use.

Many thanks to all coders, and all those who continously make these scripts on a day to day basis just to help us unify for something better. :)

Downloading and going to test it out tomorrow.

PATIENTLY WAITING FOR V1... did I shout that?

oopsies...

Luky
04-30-2007, 07:08 AM
I don't have the time to develop two different bridges. I'm undergoing this massive bit of hacking how Joomla displays content because a constant bugbear I've had at work is my clients, several design firms, hate tables as markup with a purple passion. Joomla uses tables extensively in content.html.php and frontend.html.php. Rather than continuing bickering with them I'm branching off Joomla to allow templates to drive the content pages -- the vbulletin template engine in the case of vJoomla and the patTemplate engine in the case of my contract work (The only difference between these two is the line that calls the template). If you want to integrate Joomla and retain the ability to use Joomla templates then I strongly recommend you look into bbpixel's bridge which has that functionality. $20 is not a lot to ask for a piece of software these days.



That isn't my intent. By the time it is completed this bridge will be quite different from bbpixel in several notable ways. The reason I am working on it is I need a unified template engine - something that bbpixel's bridge doesn't offer.



I have a live board that will be going up with this in two weeks if all goes well. There will be a vast difference between this early beta and the finished product between now and then.
I know its not your intent, but it if works good and is free, it will happen and you will be a hero welded in many hearts <3

Michael Morris
04-30-2007, 10:39 PM
There will be an update tonight - I've uncovered two display bugs in the module templating system and am testing the changes now.

b65ran
05-01-2007, 02:03 AM
After update to beta-0-0-2 i got this error.

Warning: Division by zero in C:\wamp\www\includes\frontend.html.php on line 129

Warning: Division by zero in C:\wamp\www\includes\frontend.html.php on line 129

Warning: Division by zero in C:\wamp\www\includes\frontend.html.php on line 129

Warning: Division by zero in C:\wamp\www\includes\frontend.html.php on line 129

Warning: Division by zero in C:\wamp\www\includes\frontend.html.php on line 129

Warning: Division by zero in C:\wamp\www\includes\frontend.html.php on line 129

Warning: Division by zero in C:\wamp\www\includes\frontend.html.php on line 129

Warning: Division by zero in C:\wamp\www\includes\frontend.html.php on line 129

Michael Morris
05-01-2007, 02:49 AM
Got the source of that. The content.html.php is taking longer than I anticipated to rework. It will probably be tomorrow before I can get the next upgrade up (I could put what I have out now - but nightly builds usually aren't worth the hassle to install).

Nevermind again - it seems to be in a stable place so I'll go ahead and release this build. It'll be about a half hour.

EDIT: We are now on Version 0.0.3 beta

Quantnet
05-01-2007, 03:21 AM
waiting impatiently for stable version ;)

Ignicoccus
05-01-2007, 09:17 AM
Very impressing MOD !!!!

I am playing around with vBulletin and Joomla for quiet some time, but this one really rocks ! I installed it on a test site today and the integration of the template is really cool.

I encounter some errors, each page starts with this error :

Warnung: Wrong parameter count for get_defined_constants() in /kunden/mydomain/vbtest/index.php (Zeile 229)

Root path of Joomla installation

If I want to access joomlas admin panel, I get these :

Warning: chdir(): No such file or directory (errno 2) in /kunden/mydomain/vbtest/globals.php on line 35

Warning: main(global.php): failed to open stream: No such file or directory in /kunden/mydomain/vbtest/globals.php on line 36

Fatal error: main(): Failed opening required 'global.php' (include_path='.:/usr/local/lib/php') in /kunden/mydomain/vbtest/globals.php on line 36

Installation is Joomla 1.0.12, vBulletin 3.6.5, directories made with symlinks.

Any Ideas ?

Ignicoccus
05-01-2007, 11:43 AM
Ok, this was an easy one :D

You hardcoded the path to the admincp in globals.php (line 35). My admincp has another path, so I changed this and now everything works fine :up:. Maybe there is a posibility to draw this path from the vbulletin settings table.

Michael Morris
05-01-2007, 12:08 PM
Ok, this was an easy one :D

You hardcoded the path to the admincp in globals.php (line 35). My admincp has another path, so I changed this and now everything works fine :up:. Maybe there is a posibility to draw this path from the vbulletin settings table.
I intend to draw it from the Joomla config file and set it up by creating a custom version of the installer. However, the installer is one of the last things I will be writing.

Ignicoccus
05-01-2007, 12:24 PM
But still I get this error on top of every page :

Warnung: Wrong parameter count for get_defined_constants() in /kunden/mysite/vbtest/index.php (Zeile 229)


This is the row that gives the error, any idea ?

$all_constants = get_defined_constants( true );

acegames
05-01-2007, 01:45 PM
But still I get this error on top of every page :

Warnung: Wrong parameter count for get_defined_constants() in /kunden/mysite/vbtest/index.php (Zeile 229)


This is the row that gives the error, any idea ?

$all_constants = get_defined_constants( true );

Same error here

Michael Morris
05-01-2007, 03:05 PM
PHP version numbers please.

Ignicoccus
05-01-2007, 04:18 PM
PHP version numbers please.

PHP 4.4.1

TheMusicMan
05-01-2007, 06:38 PM
Michael - is there anywhere we can see this in action...? Am very intrigued...

Michael Morris
05-01-2007, 06:53 PM
I hope to have my demo site up within the next week or so. But don't expect to see it until I release the first Release Candidate. The beta is an advanced preview if you will.

acegames
05-01-2007, 07:00 PM
PHP version numbers please.

Php 4.4.4

tuanluu
05-03-2007, 01:48 AM
looking very promise

cheesegrits
05-03-2007, 02:24 AM
Rather than continuing bickering with them I'm branching off Joomla to allow templates to drive the content pages -- the vbulletin template engine in the case of vJoomla and the patTemplate engine in the case of my contract work (The only difference between these two is the line that calls the template).

Fine piece of work. I've been doing a fair amount of vB/Joomla integration and mod writing recently (for other people), and I'm even considering re-adopting Joomla for myself when vJoomla stablizes. I had exactly the same frustrations you did with the two template systems (and lack of support from BBpixel), only I didn't have the patience to do what you are doing!

My only concern is, as you say above, "I'm branching off Joomla". Are you literally working on core Joomla files, or is it plugin based? How likely are you to implement this in 1.5? Much as I like the look of what you are doing, i don't want to paint myself into a corner with an "old" version of Joomla I then can't upgrade. 1.5 seems to address a lot of the XSS vulnerabilities in Joomla, which were another large part of why I abandoned it in the first place.

-- hugh

blackgem
05-03-2007, 02:37 AM
This might be a simple question and more related to the Joomla admin side of things, but on my Joomla pages that are using the VB templates, my right hand column is empty but it's still showing, how can I remove it?

[I]Edit: Nevermind, fixed it.

Michael Morris
05-03-2007, 04:12 AM
Fine piece of work. I've been doing a fair amount of vB/Joomla integration and mod writing recently (for other people), and I'm even considering re-adopting Joomla for myself when vJoomla stablizes. I had exactly the same frustrations you did with the two template systems (and lack of support from BBpixel), only I didn't have the patience to do what you are doing!

My only concern is, as you say above, "I'm branching off Joomla". Are you literally working on core Joomla files, or is it plugin based? How likely are you to implement this in 1.5? Much as I like the look of what you are doing, i don't want to paint myself into a corner with an "old" version of Joomla I then can't upgrade. 1.5 seems to address a lot of the XSS vulnerabilities in Joomla, which were another large part of why I abandoned it in the first place.

-- hugh
Joomla 1.5 can be bridged in quite a different manner since it is able to directly authenticate off foreign user tables and more fully implements it's native template engine. I've been watching it too - the one thing that has me worried about it is their 'php 5 emulation under php 4' -- this seems to be a severely unnecessary complication to the product.

vJoomla modifies core joomla files - it has to in order to accomplish what it does. I'm trying to keep the changes to a minimum, but they are significant. So far they have not proven significant enough to stop any module I've tried to run on it from working.

BTW, for a XSS attack to work against vJoomla it would first need to defeat vbulletin's xss precautions in addition to Joomla's native ones.

TheMusicMan
05-03-2007, 04:18 AM
Hi Michael - am watching this thread and eagerly await the release of your version.

Qn if I may: skinning and templates... does your bridge do anything with these and make it easier to use a Joomla template on vB or a vB template on Joomla...? I appreciate matching the two is way out of scope of a Joomla/vB bridge, but are there any presentation layers considered?

Michael Morris
05-03-2007, 04:27 AM
Beta 0.0.4 is out. The next branch will be 0.1.0 to mark the first milestone - the completion of the default skinning. Code wise version 0.0.4 has this in place already, but it is using the Joomla tables and classes at the moment and they haven't been rewritten to use vbulletin class elements. This is the last step before going to .1

The next component I will be working on is the Installer. This should aid more people into getting this component up and running. The completion of the installer will mark beta .2 completion.

As of now vJoomla has all but completely replaced Joomla's template system. This means Joomla templates *will not work* on it. However, all vbulletin templates will work, though occassionally they'll need minor adjustments or additions.

Hi Michael - am watching this thread and eagerly await the release of your version.

Qn if I may: skinning and templates... does your bridge do anything with these and make it easier to use a Joomla template on vB or a vB template on Joomla...? I appreciate matching the two is way out of scope of a Joomla/vB bridge, but are there any presentation layers considered?

I'm not sure what you mean by presentation layers. I have ditched the Joomla skinning system (though patTemplate still works within vJoomla for those modules that require it). Modules written for vJoomla will have the option of using patTemplate or vbulletin's template engine at the author's choice.

Quantnet
05-03-2007, 04:35 AM
If someone has a test board with some custom style and vjoomla installed for a demo, that would be great. i can't install this on my production board yet....not until this go to .2 at least.
Thanks Michael, you got me intererested in joomla again.

muratmunich
05-03-2007, 07:39 AM
Thx for this amazing mod.

Here?s my DEMO. (http://www.s7v7n.com/index.php)

maxicep
05-03-2007, 09:38 AM
Thx for this amazing mod.

Here?s my DEMO. (http://www.s7v7n.com/index.php)
your demo looks great but giving error on your page with this linked:
http://www.s7v7n.com/index.php?option=com_content&task=section&id=1&Itemid=2

Luky
05-03-2007, 11:19 AM
I want the opposite, i want vbulletin to use joomla's template xD

pxd
05-03-2007, 11:48 AM
Need some help, please. Followed the steps correctly, I think. But getting this error message when trying to access the joomla index: Warning: array_keys() [function.array-keys]: The first argument should be an array in \includes\functions.php on line 4840

Warning: preg_replace() [function.preg-replace]: Empty regular expression in \includes\functions.php on line 4840

Am I doing something wrong?

Using vb 3.6.5 & Joomla 1.0.12

pxd
05-03-2007, 03:56 PM
No update? Is there a problem with the latest beta release? Could someone please post older versions which are working so I can compare and possibly fix the issue if no sign from the developer. Are you around, Michael? Standing by, thanks a lot...

Michael Morris
05-03-2007, 05:07 PM
I haven't observed that error myself. Try turning off all your plugins and see if it works (vJoomla has no plugins to turn off at this time). The error is coming from a file that I haven't touched and I can't imagine why it would malfunction - so my first guess is there is a compatibility issue with another plugin.

paul_c
05-03-2007, 05:32 PM
Can Joomla modules be targeted to individual vBulletin forums? If so, is this handled through the Joomla menu system using link URL?

pxd
05-03-2007, 05:37 PM
I haven't observed that error myself. Try turning off all your plugins and see if it works (vJoomla has no plugins to turn off at this time). The error is coming from a file that I haven't touched and I can't imagine why it would malfunction - so my first guess is there is a compatibility issue with another plugin.

That's what I first thought when I got the error so I went ahead and installed a clean joomla + a clean vBulletin on my localhost, same error popping up. What else can I do to help track this down, please?

Michael Morris
05-03-2007, 06:43 PM
Can Joomla modules be targeted to individual vBulletin forums? If so, is this handled through the Joomla menu system using link URL?

I'm not sure what you're asking here. It would depend on the modules - but any module that worked with the vbulletin forums would have to be custom written.

That's what I first thought when I got the error so I went ahead and installed a clean joomla + a clean vBulletin on my localhost, same error popping up. What else can I do to help track this down, please?

At this point I don't know what could be triggering it unless...

Did you remember to install the vJoomla product file? If you don't the joomla templates wouldn't be loaded in and you'd get an error when they are called.

pxd
05-03-2007, 06:55 PM
At this point I don't know what could be triggering it unless...

Did you remember to install the vJoomla product file? If you don't the joomla templates wouldn't be loaded in and you'd get an error when they are called.

Yes, I did.
- Installed Joomla 1.0.12
- Installed vBulletin, inside /forum, using the same database, different table prefix though (not sure if that matters)
- Installed the vJoomla plugin using the xml file
- Overwritten the joomla files
- Copied the required vb folders to joomla directory as per your instructions

Anything missing?

Your help is so much appreciated, Michael. I am keen to use this on my production site that will go live soon, and your mod does exactly what I need, too sad I can't get it installed. Hopefully you can help me out, thanks!

P.S. Do you mind putting up an older version of the beta for me to make a quick test? Also, could filepath be an issue here? I'm running the scritpts on XAMPP server locally.

Michael Morris
05-03-2007, 07:19 PM
I'll look into it further when I get the chance but it might be a couple days.

imported_hbs
05-03-2007, 07:42 PM
I had version 0.0.2 working just great and just updated to 0.0.4 and getting
Warning: Wrong parameter count for get_defined_constants() in /home/hbscoi/public_html/new/index.php on line 229

on the top of my pages. was I missing anything?

paul_c
05-03-2007, 11:29 PM
I'm not sure what you're asking here. It would depend on the modules - but any module that worked with the vbulletin forums would have to be custom written.



Allow me to clarify. I've been using Mambo/Joomla a long time so I'll see if I can explain:

In Joomla you can create modules that can be placed based on their Module Position using code like - <?php mosLoadModules ( 'user7', 'true' ); ?> - placed in a template.

You can then assign a Joomla module to this position and also assign it to show only for certain pages. These pages are determined by the menu structure that is set up. So even though many pages follow the same template that all have the "user7" module position, the only pages that will actually show the module are those that have been selected to display it (this is done when configuring the module).

I assume even though your plugin is using the vBulletin templating system that I will still be able to assign Joomla modules (as noted above). If so, then back to my original question, can I assign Joomla modules to a specfic Forum so that for example in Forum1 I can show a specific Joomla module (e.g., in "user7" position) and in Forum2 not show the module.

blackgem
05-04-2007, 12:43 AM
Are you able to place Joomla modules on forum pages at all, even with this bridge?

Michael Morris
05-04-2007, 03:00 AM
Not yet - Hadn't actually thought of doing that. Hmmm...

Michael Morris
05-04-2007, 04:19 AM
Ok, it only took about 5 minutes to write the plugin to allow joomla modules to be called from vbulletin templates. I agree that this should be part of the final bridge but since it's something I just tossed in and haven't tested I'm keeping the xml plugin separate from the rest of the download for the moment.

To get a module to show up on a forum template with this plugin you'll need to place $module[position] at the spot the module contents should display. I did this to get my joomla main menu to show up on the forum pages.

It appears to work, but again I just tossed this in. I'm currently working on the templates and trying to find the source of the two bugs noted in the thread.

Completing this aspect of the bridge will need to be a little trickier. The approach I'm considering is this - the installer program will read over the list of forums vbulletin has and create a menu that holds all the vbulletin forums. These menu id's will be the keys off which the modules work. This particular menu will need to be updated via plugin any time vbulletin adds or subtracts a module. The advantage of this approach is it will incidentally create a forum menu that can be displayed on joomla pages with a minimum of fuss.

Michael Morris
05-04-2007, 05:42 AM
your demo looks great but giving error on your page with this linked:
http://www.s7v7n.com/index.php?option=com_content&task=section&id=1&Itemid=2

Spotted source of error - will be fixed next version.

Michael Morris
05-04-2007, 05:43 AM
I had version 0.0.2 working just great and just updated to 0.0.4 and getting

on the top of my pages. was I missing anything?
Found a workaround. Apparently that function can't take an argument in versions of PHP prior to 4.4.2. Will be fixed next version.

blackgem
05-04-2007, 06:15 AM
Kudos for all the great work you've done so far. I'm sure the Joomla Modules plugin will come in handy.

Michael Morris
05-04-2007, 06:27 AM
Version .1 has been released. Please check the privacy policy that has been added. I set up an email specifically for the purpose of monitoring these bug reports - I suspect I'll have a couple hundred messages in there by the time I check again tomorrow.

Quantnet
05-04-2007, 06:34 AM
You are moving at a very fast pace, Michael.
I'm sure we will have version 1 or 2 by the end of this month.

I have joomla installed but will need to see a couple more working demo with various components, plugins before I join.

Thanks for all the hard work.

MOTM

pxd
05-04-2007, 09:02 AM
Thanks for the update, Michael!

No matter what I try however, still getting this error, even with the 0.1 beta :( Warning: array_keys() [function.array-keys]: The first argument should be an array in \includes\functions.php on line 4840

Warning: preg_replace() [function.preg-replace]: Empty regular expression in \includes\functions.php on line 4840

Any setting that I'm missing, really? I am not using any mods, standard joomla and standard vb files, uploading vjoomla product and overwriting the joomla files, copying images cpstyles and clientscripts to joomla root, yet nothing. Any other setting inside vB admin?

Really want to be able to use this hack, eh...

paul_c
05-04-2007, 10:25 AM
Thanks for your quick work on this. I'll see if I can get you some feedback over the weekend.

Michael Morris
05-04-2007, 02:36 PM
Thanks for the update, Michael!

No matter what I try however, still getting this error, even with the 0.1 beta :( Warning: array_keys() [function.array-keys]: The first argument should be an array in \includes\functions.php on line 4840

Warning: preg_replace() [function.preg-replace]: Empty regular expression in \includes\functions.php on line 4840

Any setting that I'm missing, really? I am not using any mods, standard joomla and standard vb files, uploading vjoomla product and overwriting the joomla files, copying images cpstyles and clientscripts to joomla root, yet nothing. Any other setting inside vB admin?

Really want to be able to use this hack, eh...
PM me your absolute forum path on the server side - I have a few error reports and need to figure out which one is yours

RedefiningFate
05-04-2007, 09:24 PM
Getting the following errors:

Running MySQL version: 4.0.27
Running PHP version: 4.4.4

Warning: main(/homepages/6/d94334881/htdocs/administrator/includes/compat.php50x.php) [function.main]: failed to open stream: No such file or directory in /homepages/6/d94334881/htdocs/administrator/includes/joomla.php on line 60

Fatal error: main() [function.require]: Failed opening required '/homepages/6/d94334881/htdocs/administrator/includes/compat.php50x.php' (include_path='.:/usr/local/lib/php') in /homepages/6/d94334881/htdocs/administrator/includes/joomla.php on line 60

Not sure exactly what is going on, appreciate the help though.

J.T.

Mr_Bob
05-04-2007, 10:57 PM
Great job :). Although I will not be using the modification as I no longer use Joomla instead using a commercial CMS, I must say this is a very large contribution to both communities. The reason why I no longer use Joomla is do to the fact that no coder could ever sustain some form of true integration, and the bbpixel module would destroy the database and contained illegal Vbulletin files. I'm very happy to see someone finally take the initiative to integrate these two brilliant products and seem to be in it for the long run.

kudos :)

TheMusicMan
05-05-2007, 07:38 AM
Hi Michael: Database Layer, Functional Layer, Presentation Layer i.e. templates, themes, styles etc.

I see you have coded vJoomla to utilise the vB template system - not the way around I would have wanted as I believe there are many more effectove CSM type styles out there for Joomla/Mambo than vB (vB is not a CMS, Jomla and Mambo are more close to it) - so for me I guess that's a shame. I would say people who would want this bridge would want it to add CMS functionality to their forum and NOT forum functionality to their CMS.

Super work though... as Mr Bob said above... kudos.

pxd
05-05-2007, 08:10 AM
I would say people who would want this bridge would want it to add CMS functionality to their forum and NOT forum functionality to their CMS.

Not necessarily, John. My main goal is to add CMS functionality to the forum, yes but it is limited to sharing joomla extensions functionality on a common userbase platform. And, partly because it didn't work for me, I switched the templating thing off and now I'm able to share user authentification and keep joomla templating functionality the way it is. Afterall, I guess this is best option for me at this point.

Great job, Michael :)

TheMusicMan
05-05-2007, 08:34 AM
Sure thing pxd, I respect your requirements absolutely. If that's what you are interested in using vJoomla for, then thats brilliant and I wish you the very best of luck so doing and I would be interested in seeing what you come up with.

As with all applications and software development, it is about what works best for you after all.

On a personal level this is in fact exactly what I have done (mainly because there was no CMS module/app available that I could use effectively for my site). On a business level though, for my clients... it is a different matter alltogether. They'd would be looking to use a CMS based application on/for their site first, and then if required, add forum functionality to it - not the other way around.

Michael Morris
05-05-2007, 04:48 PM
Hi Michael: Database Layer, Functional Layer, Presentation Layer i.e. templates, themes, styles etc.

I see you have coded vJoomla to utilise the vB template system - not the way around I would have wanted as I believe there are many more effectove CSM type styles out there for Joomla/Mambo than vB (vB is not a CMS, Jomla and Mambo are more close to it) - so for me I guess that's a shame. I would say people who would want this bridge would want it to add CMS functionality to their forum and NOT forum functionality to their CMS.

Super work though... as Mr Bob said above... kudos.
Until a stable release of Joomla 1.5 what you desire isn't possible. We won't have a stable release of that platform for at least another year and I need to revise vbulletin site still stuck on 3.0 NOW. I use Joomla at work and I really don't want to work any longer with the portal systems available for vbulletin. While I appreciate the hard work that has gone into them, they are ultimately insufficient for my needs.

Your defense of Joomla's "template" engine doesn't impress me. Joomla! templates SUCK. They aren't proper CSS, yet they require CSS to attempt to style them (good luck considering most Joomla components as written are table cities). They suck so bad that I use a modified version of Joomla commericially that rewrites key files to use the patTemplate engine to draw the html, instead of the asinine default Joomla! approach of putting html output into class files that are nigh unreadable (Could be worse though - could be OS Commerce). Considering they will be DEAD ANYWAY once Joomla 1.5 is released I'm not going to cry for them.

So yes, vJoomla grafts Joomla! onto vbulletin - it doesn't allow the reverse at present. I can't conceive of a reverse either - I'm never seen a pure CMS system with more than a handful of users (though I'm sure they are out there) though any vbulletin board worth it's salt has at least a couple hundred (or in my case a couple hundred thousand) user accounts to worry about if you were ever to merge them.

You also completely missed one final point. When it comes down to it - bbpixel is illegal. vJoomla is not. I put all the hacks in the Joomla code because, in the end, I will be re-releasing it under the GPL as a seperate package. The beautiful part of Open Source and the GPL license is you can do this under it. If I where to modify and distribute any part of the vbulletin code (as bbpixel does) this would be a violation of Jelsoft's commerical license.

I plan for vJoomla to be around for the next couple years as a branch off the Joomla 1.0 trunk, development of which has ceased in favor of 1.5. (So there should be a minimum of problems with 1.0 compliant components and modules). When 1.5 is released I will then develop a version for 1.5 which - if all the hype around 1.5 is true - should be possible without executing any code hacks in 1.5.

adhari_com
05-05-2007, 05:17 PM
Fully loaded, up and running on test server.
Beleieve me this is a dream come true, imagine the possibilities!

TheMusicMan
05-05-2007, 05:28 PM
Woah there.... I am not criticising you, and I haven't missed any point at all. My compliments to you for taking this project on and sticking to it, but don't come all angry at me - I have done nothing. I have never looked at bbpixel let alone used it.

I appreciate you are defending your work, which is admirable... but I am not attacking it so really there's no need.

What defense of Joomla's template engine!!?? All I said was that people want sites first, forums after that's all. Unless you are wanting to run thegreenperilfromhellclan dot com!!

Take a look at large business' www sites... CMS and quality content all over the place... forums, well... these are nowhere to be seen really are they - hence the CMS first then forums if required.

Michael Morris
05-05-2007, 06:23 PM
I'm sorry - pre morning coffee post, or something like that. Anyway, I prepare large business CMS sites for a living. One of the reasons I want to move to Joomla as a CMS for my vbulletin boards is to unify my component work load and get more reuse out of me code. Every CMS I've built for a company though has always been with a custom style designed for them by a design firm. At the end of the day I found it was easier to replace Joomla's "template" engine with patTemplate (a move Joomla itself is doing in version 1.5). Translating templates from patTemplate to vbulletin is about 2 minutes work or less / template -- in other words it's a piece of cake.

Grafting vbulletin to an existing Joomla site would be a pain since there is no user import feature at present. Most companies though don't need a forum package as full featured as vbulletin so Simpleboard or Fireboard for Joomla will probably serve them well enough.

Again, this is primarily meant as "joomla as an addon for vbulletin" rather than the other way around. I could write it the other way, but I believe that waiting for 1.5 for such a product release is probably more realistic.

Cheertobi
05-05-2007, 06:27 PM
Will it, later on, be possible to have joomla into i a subdirectory instead of vb?

Michael Morris
05-05-2007, 06:43 PM
The installer program will make an attempt to find the forum path. It will look in same root, then ./forum, then ./forums. If it cannot find it then it will ask you to provide the absolute path to the forum library. It will then test to make sure it can parse vbulletin. If it succeeds then it will install joomla and add the forum path to the joomla configuration vars as well as copying the appropriate elements from the vb config to it's own.

So the answer is that in the final version you will be able to put the forum on any path you wish so long as PHP's open_base_dir directive doesn't block joomla from executing forum scripts.

Cheertobi
05-05-2007, 06:59 PM
Wow, that really sounds great!

Just another question, my users use a lot of special characteres in their usernames. All other bridges, that "just" sync usertables got problems with charecters like '#*~, because joomla does not support them! Will this also be a problem with vJoomla?

Regards,

Tobi

Michael Morris
05-05-2007, 07:21 PM
Wow, that really sounds great!

Just another question, my users use a lot of special characteres in their usernames. All other bridges, that "just" sync usertables got problems with charecters like '#*~, because joomla does not support them! Will this also be a problem with vJoomla?

Regards,

Tobi
vJoomla allows vbulletin to handle all aspects of user management - it doesn't manage users itself so this shouldn't be a problem.

TheMusicMan
05-05-2007, 09:12 PM
I'm sorry - pre morning coffee post, or something like that. Anyway, I prepare large business CMS sites for a living. One of the reasons I want to move to Joomla as a CMS for my vbulletin boards is to unify my component work load and get more reuse out of me code. Every CMS I've built for a company though has always been with a custom style designed for them by a design firm. At the end of the day I found it was easier to replace Joomla's "template" engine with patTemplate (a move Joomla itself is doing in version 1.5). Translating templates from patTemplate to vbulletin is about 2 minutes work or less / template -- in other words it's a piece of cake.

Grafting vbulletin to an existing Joomla site would be a pain since there is no user import feature at present. Most companies though don't need a forum package as full featured as vbulletin so Simpleboard or Fireboard for Joomla will probably serve them well enough.

Again, this is primarily meant as "joomla as an addon for vbulletin" rather than the other way around. I could write it the other way, but I believe that waiting for 1.5 for such a product release is probably more realistic.No probs Michael... none at all mate.

I admire what you are doing here, and I may very well use it at some point. Appreciate the response.

This is sure going to be of significant benefit to the vB community. Keep up the great work.

Michael Morris
05-05-2007, 09:59 PM
Located a bug on my own - vJoomla needs to re-eval the header and footer after it parses the modules in case you have a module in those positions. This correction will be included on the next revision. If you wish to apply it now open vJoomla's index file and find these lines


// And we're done.
eval('$navbar = "' . fetch_template('navbar') . '";');


Add above


// Reparse header and footer to display modules they hold
eval('$header = "' . fetch_template('header') . '";');
eval('$footer = "' . fetch_template('footer') . '";');

pxd
05-05-2007, 11:37 PM
Could anybody confirm that he has successfully installed this mod on a localhost server? I suspect there is a server config issue stopping me from setting this up...

Michael Morris
05-05-2007, 11:46 PM
Could anybody confirm that he has successfully installed this mod on a localhost server? I suspect there is a server config issue stopping me from setting this up...
If your doing a testbed install try installing vbulletin without a bb prefix. If it works it means the problem is I forgot to put TABLE_PREFIX in front of one of my vbulletin queries.

pxd
05-06-2007, 12:05 AM
Thanks for looking into this. Unfortunately that's not the case, I have installed another fresh forum + joomla. Going to move the files to a live server and see how it goes there...

Michael Morris
05-06-2007, 06:26 AM
Joomla 1.5 beta 2 is out. It seems the template system didn't come to pass from a glance at the code. I'll have to read some docs though. Whatever the case, it won't be stable till I'm guessing October, so that means this project will continue. Still, it is worth a look.

thunder_sti
05-07-2007, 01:27 AM
Hey Micheal, Im am getting this error after I installed version 1 clean install.
PHP has encountered an unrecoverable error and script execution has halted.

Warning:main(/home/inc001/public_html/forum/includes/init.php) [function.main]: failed to open stream: No such file or directory
at Line:20
in File:/home/inc001/public_html/global.php
Begin Stack trace:



Level: 1
Line: 20
File: /home/inc001/public_html/global.php
Function: require_once
Function Arguments:
Class:
Object:
Call Type:

Level: 2
Line: 189
File: /home/inc001/public_html/globals.php
Function: require_once
Function Arguments: Array ( [0] => /home/inc001/public_html/global.php )
Class:
Object:
Call Type:

Level: 3
Line: 24
File: /home/inc001/public_html/index.php
Function: require
Function Arguments: Array ( [0] => /home/inc001/public_html/globals.php )
Class:
Object:
Call Type:

Level: 4
Line: 906
File: /home/inc001/public_html/vbseo.php
Function: require
Function Arguments: Array ( [0] => /home/inc001/public_html/index.php )
Class:
Object:
Call Type:

Rukas
05-07-2007, 03:01 PM
Two questions.

1. Does the forum HAVE to be located in /forum or can it be a different subfolder?

2. Can the joomla vbulletin skinning be turned off? Id like to use the current Joomla Template and a different forum template.

Thanks.

RedefiningFate
05-07-2007, 06:11 PM
Michael-

I know you're a very busy person. My issue I think was overlooked on page 8 towards the top. If you have time please look at it.

Thanks

paul_c
05-08-2007, 10:29 AM
Just a quick FYI:
If you add both vB and Joomla to the same database you may want to avoid giving the tables the same extension. The problem is that both products have a table named Session.

Also, be careful not to rename the admincp (and maybe the modcp) folders as is often recommended as the Joomla Control Panel link to the vB backend will not work.

Michael - been fooling around with this and seems pretty interesting though I'm running into a few issues which I think I can resolve.

drex
05-08-2007, 03:16 PM
michael-

you rock. waiting patiently for a more stable version.

Boy, do I have plans for this!

imported_hbs
05-11-2007, 06:38 PM
Will this work under the new ver 3.6.6 ?

RedGTiVR6
05-11-2007, 06:41 PM
considering it hasn't even been released for a day....

since it's still very much in beta I'm hoping you're not asking to implement it on a live site. as such, why don't you download it, install it, and let us all know.

;)

Michael Morris
05-12-2007, 05:20 PM
Sorry about the delay folks. Had a pair of major flash projects erupt for the week so wasn't able to do any work through the week. I am continuing work through this weekend. I'll be upgrading my test server to 3.6.6. I may have a patch out by tomorrow, but it won't be the installer.

Michael Morris
05-12-2007, 05:24 PM
Hey Micheal, Im am getting this error after I installed version 1 clean install.
That's a compatibility issue between this hack and vbseo caused by a failed include. Since vJoomla will eventually use it's own rewrite schema I do not think these products will ever be compatible.

Michael Morris
05-12-2007, 05:29 PM
Two questions.

1. Does the forum HAVE to be located in /forum or can it be a different subfolder?

2. Can the joomla vbulletin skinning be turned off? Id like to use the current Joomla Template and a different forum template.

Thanks.

When the installer is done it will be possible to put them anywhere in relationship to each other. HOWEVER, for now the path is hardcoded in several spots. If you're feeling adventurous it's in joomla's global.php and in the plug in.

Michael-

I know you're a very busy person. My issue I think was overlooked on page 8 towards the top. If you have time please look at it.

Thanks

Looks like a require failure but beyond that I'm not sure.

Just a quick FYI:
If you add both vB and Joomla to the same database you may want to avoid giving the tables the same extension. The problem is that both products have a table named Session.


A very good point. Personally I recommend letting joomla use it's default table prefix of jos_

Also, be careful not to rename the admincp (and maybe the modcp) folders as is often recommended as the Joomla Control Panel link to the vB backend will not work.


Correct - for now. The installer will fix this.

michael-

you rock. waiting patiently for a more stable version.

Boy, do I have plans for this!

Thanks, I'll keep on it.

Will this work under the new ver 3.6.6 ?

I'll know in about 20 minutes.

InfoNirvana
05-16-2007, 07:13 PM
This isn't small news for either vB or Joomla!

vB has been MORE than negligent in not getting around to a CMS. I know now for sure I'll never understand why they couldn't come up with something a long time ago. When I say CMS, I mean anything other than just a forum ! /end rant.

Why people have actually stuck with vBulletin when it really is just forum software kind of perplexes me as well.

I have followed vB integration with Joomla! for years. This is a big step forward. If alot of Joomla!'s plugins work, this will be a MASSIVE step forward.

Joomla! is a great CMS. Makes darn functional sites with minimal effort. There are a plethora of modules and components. Very active userbase and a very bright future, 1.5 sounds like a platform for the future.

I "think" FireBoard (released last month) is a frankly reasonable forum for Joomla! which has been missing for a long time. Certainly Fireboard is not vBulletin (but watch out vB!).

People on the Mambo and Joomla forums have been harping for years to get a good forum to integrate into Joomla!.

Michael's uber skills really come to the forefront here - many great coders have failed to bridge Joomla! and vB. To up the ante (especially for vB types) he's added template integration. To ice the cake, there is no vBulletin hacking. Incredible !

MOTM ? uh ... MOT(Year) !

Congrats Michael on some fine work. I am going to try this on my site very soon. Should be interesting to see how a newbie does with it !

InfoNirvana
05-16-2007, 07:40 PM
Quickie Q: http://www.enworld.org/reviews.php?do=product <-- is this reviewpost ? :)

Mrdby
05-16-2007, 08:50 PM
Demo?????

Alfa1
05-16-2007, 10:56 PM
Will this bridge enable joomla / vb search integration?
Not initially.
I hope this is high on your list.

D2S05
05-16-2007, 11:41 PM
Wow, God bless you!!

LockeAG
05-17-2007, 01:05 AM
What if my main site is on www.site.com/v1 (http://www.site.com/v1) and my forum on www.site.com/Forum? (http://www.site.com/Forum?)

Can you make this possible....?

I'm not a coder or else , but I think the patch must be the compleate root of the location of the forum:

like:

root/local/home/website/site.com/Forum

well this on a Linux Server

see'a

InfoNirvana
05-17-2007, 11:10 AM
I hope [joomla / vb search integration] is high on your list.
Certainly would be nice, but difficult to do.
I feel that Joomla information and vBulletin forum information is easily differentiated by users and searching them would likely be for distinctly different purposes.

If it was easy to search for one or the other that would cover alot of enduser needs.

Michael Morris
05-17-2007, 04:14 PM
Hello again all. My day job has been interfering with this project with 12 hour days, so the release time is being pushed back farther than I'd like. I have somethings done, though not in a releaseable package, and this is what I'm working on at present.


I'm currently studying how joomla calls edit bots for a feasability study of replacing Joomla's inbuilt tinyMCE editor with the vbulletin editor. I'm not holding out too much hope for this as the vb editor seems to want to run as one instance of the editor per page - whereas joomla uses multiple instances.
I have written a vbcode mambot that calls up the vbulletin parser library and parses bbcode on joomla posts.
I have also written a mapping routine that runs at install time to map the vbulletin forums to a joomla menu. I'm working on the support libraries for this in vbulletin to keep that menu current, then I need to hack the joomla admin code to prevent that particular menu from being edited in Joomla aside from publishing and unpublishing the entries. This menu exists to allow joomla modules to be assigned on a per forum basis in vbulletin, so you can display one set modules in forum Y and another set in forum B
I'm thinking on a way in joomla to assign vbulletin templates to specific pages. Database side I can just place a styleid code on the jos_menu table then have a vbulletin plugin load that styleid based on the current itemid on joomla pages. The trick is how to get that id there in a user friendly manner - a dropdown with a list of current vbulletin styles would be idea and there is code to build it in the vbadmincp somewhere since it exists in the forum editor, placement is what I'm pondering.
General planned schema of the installer is as follows. I will hack the joomla installer and at the step where it requests db information I will replace that code with an attempt to find the forum in it's three most likely locations (one level lower in /forum, one level higher or same level). If it fails to find the forum then it will ask the user to locate the forum. It will at no point re-request the db info - instead this is pulled from the vbulletin config.php file.

After it finds the forum db it should auto install it's product xml package into the vb plugin system, run the installer code, then ask how the user wants to map the usergroups in vbulletin to the joomla groups (this can be later changed). The system will also ask which user groups it should go ahead and map into joomla's user table (by default the admin and super admins are the only ones mapped over). Note that vJoomla only normally syncs up the user which have actually visited a joomla page while logged into vbulletin and it works just fine - it doesn't need to keep a perfect copy of the vbulletin user table and doing so (as well as maintaining it) would be a major hassle anyway.

Once the user map is set vJoomla will conclude as normal Joomla does asking you to delete the install directory.
With the above in place the only other part remaining are components, modules and mambots for joomla that will tighten it's integration with vbulletin. I have these planned:
Commenting mambot: This will allow you to map a joomla section, category or content item to a specific thread or a forum. If a forum then a new thread will be created when the first comment is made. On the vbulletin side the "comments" forum can be left visible or hidden.
recent threads module - to display recent threads. This will be similar to the ones most portal packages out there use. I will be adding the wrinkle of caching the results to a file on set intervals for big boards
hot threads module - as above
Who's online - module to show who's online overall, not just who's online in joomla. When I have the time I'll write a companion plugin for vbulletin to trace where the user is online in joomla instead of returning 'unknown location'
Search - Joomla has search, as does vbulletin, but long term a search module capacle of searching both simualtaneously is desireable.



Long list - very long. Still working on it. Hope to have an update soon.

RedGTiVR6
05-17-2007, 04:19 PM
i would like to thank you for your hard work on this. It is greatly appreciated! Work comes first, no doubt.

Thanks again!

Vegetrunks
05-17-2007, 05:36 PM
I want to thank you with a little donation, Michael... paypal? :)

Michael Morris
05-17-2007, 05:38 PM
I don't have a paypal account at present. I hope to set up a site for vJoomla sometime this summer though with a donation gateway of some sort.

Taios
05-18-2007, 08:29 AM
I want to thank you with a little donation, Michael... paypal? :)

Yea, i think a lot of us would like to donate as a thankyou for all your hard work :).

By the way. Is it possible to have a different VB template to the Joomla one? Just i like a different Joomla tempalte and do not want it to inherit the VB one and vice virsa.

O and you should just set up a paypal account since you can still recieve money without verification. Then ste up properly later if need be ;) :)

Michael Morris
05-19-2007, 08:02 AM
Version 0.1.2 has been released. The most notable addition is the ubiquitous Recent Threads module without which no CMS tied to vbulletin can be considered complete. Unlike most recent thread modules this one doesn't show user specific details such as threads based off permissions and subscribed threads - instead the module has the ability to cache the results of the query on regular intervals. For large forums this is a critical improvement since recent threads module queries can take forever to resolve on a big board.

Modules can also now be assigned to individual forums so you can customize which modules go where.

EDIT: Also forgot to mention - this is working fine on 3.6.6 (haven't upgraded to 3.6.7 on the dev board because it isn't exposed to the public and so a XSS problem shouldn't be an issue).

RvG2
05-19-2007, 09:07 AM
great! thank you for this update :)

Vegetrunks
05-19-2007, 10:32 AM
I don't have a paypal account at present. I hope to set up a site for vJoomla sometime this summer though with a donation gateway of some sort.Ok, I'm waiting for that. :up:

ThreeD
05-19-2007, 11:11 AM
Michael, I hope you know that you will become a legend in the joomla/vbulletin communities when this is final! :)

AK47 Nemesis
05-20-2007, 04:11 PM
Hi, great hack! Probably one of the most wanted ever. I have one problem however so far (Installing this at the moment).

"Either create a symbolic link for images, clientscript and cpstyles in the site root, or copy the contents of those folders to the site root."

How do i create a symbolic link? Where do i place it? What does it do?
As for the other option: My site is www.teamqg.com, so if i place the images content in the root, will it look like this: www.teamqg.com/misc and www.teamqg.com/smilies, since i'm using a skin where the images folder consists out of multiple folders, where one is the default vbulletin one, with misc, buttons, etc.

And will the clientscript content be placed between the other files? Or: www.teamqg.com/clientscript?

One last thing: Does it have to be www.teamqg.com/forum? Since my vBulletin is located at www.teamqg.com/qg...

Thanks in advance,

Hans.

PS: Sorry for all the asking, but i'm kinda noob...

Tanabe
05-20-2007, 05:01 PM
I'm willing to beta test it but still to cautious about the error handeling.


PRIVACY NOTICE: This module contains an error handler that will attempt to email vjoomla@gmail.com with a stack trace of the error. The purpose of this is to gather as much information as possible for debugging - a complete stack trace often includes far more information than the error lines that PHP normally displays. When this handler is triggered it also prints out the information it mailed to me on the screen. Any Information that is included as arguments could be passed as part of this stack trace, this can include potentially sensitive information such as database passwords if a database handling class encounters an error. If you wish to test this module and do not wish to have it emailing me with this data comment out line 106 in the file globals.php in the zip package.

This error handler will be removed when the product reaches final.

AK47 Nemesis
05-20-2007, 05:58 PM
I did everything it said, replaced all the 'forum' in the files with 'qg', but i get this error:

Database error in vBulletin 3.6.7:

Invalid SQL:
UPDATE user SET joomla_registered = 1 WHERE userid = 1;

MySQL Error : Unknown column 'joomla_registered' in 'field list'
Error Number : 1054
Date : Sunday, May 20th 2007 @ 08:57:36 PM
Script : http://www.teamqg.com/index.php
Classname : vb_database

Tanabe
05-20-2007, 06:08 PM
I did everything it said, replaced all the 'forum' in the files with 'qg', but i get this error:

Database error in vBulletin 3.6.7:

Invalid SQL:
UPDATE user SET joomla_registered = 1 WHERE userid = 1;

MySQL Error : Unknown column 'joomla_registered' in 'field list'
Error Number : 1054
Date : Sunday, May 20th 2007 @ 08:57:36 PM
Script : http://www.teamqg.com/index.php
Classname : vb_database


Probably because in your config.php file you have the userid number 1 non changeable

AK47 Nemesis
05-20-2007, 06:55 PM
That didn't work :(

Some more details of my setup:
www.teamqg.com = Joomla
www.teamqg.com/qg = vBulletin
vBulletin is in the same database as Joomla, but vBulletin doesn't have a prefix, while Joomla has.
vBulletin had to be located at /forum, which is /qg for me, so i changed all the files which contained /forum to /qg. It might be the vBulletin product which causes the error.

Michael Morris
05-21-2007, 12:07 PM
Odd that it would miss that query. In the query manager run (off the top of my head)

ALTER TABLE user ADD 'joomla_registered' tinyint(1)

What this field is for joomla to keep track of which users it has copied (it saves a query on each page load) from vbulletin's user table.

AK47 Nemesis
05-21-2007, 04:37 PM
Error:

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''joomla_registered' tinyint(1)' at line 1

Michael Morris
05-21-2007, 09:03 PM
Try
ALTER TABLE `user` ADD `joomla_registered` TINYINT( 1 ) NOT NULL

Mrdby
05-22-2007, 02:37 AM
lets see a demo

AK47 Nemesis
05-22-2007, 05:31 AM
Try
ALTER TABLE `user` ADD `joomla_registered` TINYINT( 1 ) NOT NULL

That works, but now if i go to my forums homepage it doesn't show anything (vBAdvanced). When i disable the product it shows everything again.

Michael Morris
05-22-2007, 10:14 AM
That's odd.

Anyway, I'll be purchasing my own vbulletin license and launching vjoomla.com this weekend to both demo this addon and give more comprehensive support than can be done in a single thread. (I can post code here since I'm listed as technical advisor for 4 different licensed vb sites - but they aren't mine own ).

scotch12
05-23-2007, 03:48 PM
Just to let you know that this will be a very good package, keep up the good work. Can't believe no one did that before. Thanks Michael for the time invest in this project :)

BTW, any plan to make it compatible with the Joomla CB ?

Michael Morris
05-23-2007, 08:35 PM
I have rechristened this project "Joomla for vBulletin" which is more descriptive and added the logo, however the shorter "vJoomla" nickname will continue to be used. This product has moved beyond being a mere bridge and though it is largely compatible with Joomla it needs to be regarded, for the most part as it's own branch.

The goal however is as Joomla 1.5 allows for more powerful manipulation of the core functionality without hacking the code (and therefore the diversion) from standard Joomla can be reduced. The goal of this project will remain staying as close to Joomla as possible without compromising vBulletin code at all and only compromising Joomla code when absolutely necessary.

Over the weekend I will be launching the vJoomla website. In addition to providing support for vJoomla I will be providing some crossover help for coders interested in coding modules and components for Joomla in general and vJoomla in particular. This includes a detailed mapping out of exactly what I did to Joomla's standard code and why.

This project will be managed and licensed subject to the same terms of it's parent - the Gnu Public License.

RedGTiVR6
05-23-2007, 08:47 PM
This is really good news.

It seems that bbPixel has dissapeared.

Their page is down now, which is entirely dissapointing considering we've just paid the $20 for the product about a month ago...

I'm very interested in this, even more so now...

If I had the ability to install a test board for our page (I'm not the admin with the say-so powers) I'd help test this...perhaps I can work on getting that done...

Michael Morris
05-23-2007, 11:54 PM
Tonight's project goals --

1. Get the vJoomla site up and running. I'll continue to watch this site, but the forum will provide a working example of the module. For now the site will be my online dev example.
2. If I have enough time after that I'll be releasing version .1.3. It will include the login module among other fixes.

zincpony
05-24-2007, 01:20 AM
would the joomla user database and the vbulletin user database be cross used as you logg into the site you can use it and the mods and admin will have extra privileges in the joombla article / news post

Michael Morris
05-24-2007, 01:53 AM
Sort of. vJoomla doesn't use the Joomla table for authentication at all - it authenticates off the vbulletin object. This means only one list of users with one set of log ins are all that are needed for both sides of a site.

Now I'm still cleaning things up, but for those of you that have been holding out for a demo of this product, here we go ;)

http://www.joomla.com

Michael Morris
05-24-2007, 02:48 AM
Version 0.1.3 is out. The debug code has been removed (it was generating more mail than I can hope to sort through - luckily I linked it to a throwaway email account). Those worried about security though can rest easier. A minor bug in the product_jos.xml has also been removed.

InfoNirvana
05-24-2007, 02:59 AM
Re: bbpixel.

BBpixel transfer to new hosting
Posted by koudanshi - 05-23-07 04:05 - 0 comments - Read 5 times - make a comment
Hello all,

We're please to inform all of you that we will transfer BBpixel to new hosting provider. The current one can not handle the resource and we switch to another provider.

The time to do will be in range 23-May - 26-May.

Please go back again if you have any problem access our site.

Michael has clearly stated that bbpixel and vJoomla are different solutions with different goals. Some vB users might want to use bbpixel.

vJoomla.com looks good. So very cool to see the native Joomla! install with vB templates.

:)

AK47 Nemesis
05-24-2007, 06:33 AM
Hmm, strange, just installed the newest version of vBAdvanced, and if i enable the hack now, some modules work (at the vBAdvanced homepage), not all, but most of them. My news module isn't working though. I wonder what the problem could be... It might be the PHP-files?

EDIT: @Micheal: You might want to try installing vBAdvanced CMPS (at www.vbadvanced.com), it's free and alot of people are using this. Maybe you can see what's wrong.

Michael Morris
05-24-2007, 11:53 AM
I wouldn't know. I'm familiar with vbAdvanced, this is the system the sites I admin currently run. I haven't investigated any of the problems between them - the two products aren't really meant to go together at all.

AK47 Nemesis
05-24-2007, 12:14 PM
I wouldn't know. I'm familiar with vbAdvanced, this is the system the sites I admin currently run. I haven't investigated any of the problems between them - the two products aren't really meant to go together at all.

Yeah, that's the strange part. Only the News and Who's Online modules aren't working... Hope i can figure it out, since i could really use this.

Michael Morris
05-24-2007, 12:21 PM
Well, my next tool I'm working on will move news posts out of the forum you designated for them in vbAdvanced and put them in the Joomla content table where they really belong, and also allow for commenting. Once vJoomla is ready to go there shouldn't be a NEED to run vbAdvanced alongside it.

zincpony
05-24-2007, 05:33 PM
noo what my question was and you pretty much cleared it up already, would the use the same user database and would the admins and mods get special privileges on the joomla end

mescalin
05-24-2007, 11:42 PM
its probably the most exciting mod i've ever seen in vb. Thats just what i need as hundreds of other vbulletin&joomla users.

Thank you for devoloping and sharing that mod. Im looking forward to see the stable version. I think it will be a very popular mod in the future..;)

RvG2
05-25-2007, 06:27 AM
HI Michael,

Got this error while registering in www.vjoomla.com

Fatal error: Only variables can be passed by reference in /www/vjoomla.com/production/htdocs/forum/register.php on line 384

RvG2
05-25-2007, 06:28 AM
its probably the most exciting mod i've ever seen in vb. Thats just what i need as hundreds of other vbulletin&joomla users.

Thank you for devoloping and sharing that mod. Im looking forward to see the stable version. I think it will be a very popular mod in the future..;)

yap... probably could be nominated to be listed in the "premuim modifications"

RvG2
05-25-2007, 08:33 AM
HI Michael,

Got this error while registering in www.vjoomla.com

Fatal error: Only variables can be passed by reference in /www/vjoomla.com/production/htdocs/forum/register.php on line 384

it works now... :)

Michael Morris
05-25-2007, 02:15 PM
it works now... :)
That's an intermittent PHP 5 error - I need to upgrade my version of PHP on that server.

Sam1985
05-26-2007, 10:41 PM
Hey,

I love this.
Thanks. Joomla is the best!!

I just would like to know how to make the forum like part of the whole layout.

For example the SMF board that is here is seamlessly part of the whole site.
http://forum.joomla.org/

How can i take whole header or footer and wrapp it around the forum?

what do I need?

Drix
05-26-2007, 11:06 PM
This is some fantastic work you are doing here.. Can't wait for this to go stable!
What is a possible time frame to look at? I know it's too soon to say, but roughly?

InfoNirvana
05-27-2007, 02:56 AM
Hey,

I love this.
Thanks. Joomla is the best!!

I just would like to know how to make the forum like part of the whole layout.

For example the SMF board that is here is seamlessly part of the whole site.
http://forum.joomla.org/

How can i take whole header or footer and wrapp it around the forum?

what do I need?

vJoomla is automatically seamless as it will have the same templates as vBulletin.

If you like Joomla! but don't want vB .. use Joomla! and Fireboard.

SMF are good forums, the only reason http://forum.joomla.org/ looks integrated is because someone matched the templates well (between joomla and SMF). Not an easy task.

TheHeartSmasher
05-27-2007, 04:38 AM
This is working great for me, my only question is how would I get the navbar locations set to go to the forums as currently they are pointing to:

http://localhost/vjoomlatest/usercp.phpinstead of

http://localhost/vjoomlatest/forums/usercp.phpin the vJoomla CMS section at:

http://localhost/vjoomlatestAlong with the images for the Joomla CMS

as I have put the direct path in and some of the images are still not showing.

InfoNirvana
05-27-2007, 05:56 PM
This is working great for me

Q: what Joomla! core and non-core components and modules have you verified that work ?

Michael Morris
05-28-2007, 01:23 AM
Ironically this will probably go stable a month or two before Joomla 1.5 does. I'll begin work on the Joomla 1.5 version right after this is complete.

Michael Morris
05-28-2007, 01:27 AM
Hey,

I love this.
Thanks. Joomla is the best!!

I just would like to know how to make the forum like part of the whole layout.

For example the SMF board that is here is seamlessly part of the whole site.
http://forum.joomla.org/

How can i take whole header or footer and wrapp it around the forum?

what do I need?
vJoomla uses vBulletin's template engine so a wrapping of module positions around the forum body requires you to modify the header and footer template in the vbulletin admincp. (Styles and templates -> Edit Templates)

This isn't too difficult - you do the header stuff and the left column and module positions in the header. You can call any joomla module by including $modules[POSITION] in the template, where POSITION is the position you want at that point in the flow. End the header template with an open div or td tag, then close that tag in the footer template. Put the right column materials in this template.

While you're in there you can see the templates that define how Joomla lays out it's content and modules. (They all start with jos_ ) You can change these from the default tables to div's if you wish, just be careful - modifying those templates is NOT for the faint of heart. However it does give you a degree of control over the output of vJoomla not possible with standard Joomla (at least until version 1.5 goes final).

Another word of caution - by default vJoomla provides no styling definitions for Joomla's default css elements. This will probably be the last thing I add before going gold but it might affect some of the modules.

Michael Morris
05-28-2007, 01:35 AM
If you are on Linux go to the Joomla root and run these commands as the user with write permissions to the directory.

ln -s /path/to/your/forums/clientscript clientscript
ln -s /path/to/your/forums/cpstyles cpstyles

Copy all the Joomla images to the vbulletin /images folder then delete the Joomla images folder and run

ln -s /path/to/your/forums/images images

Finally rename the htacces.txt file that came with Joomla to .htaccess
Among other things, this will allow the Apache client to follow the "symlinks" created above.

nix
05-29-2007, 10:21 AM
Is it possible to use Joomla template system instead?

Blue Fusion
05-29-2007, 11:07 AM
Is it possible to use Joomla template system instead?
well with the vb system it does save the big effort in trying to convert it and what not ;D

Michael Morris
05-29-2007, 11:07 AM
Is it possible to use Joomla template system instead?
No. This has been requested enough to warrant looking into - but it would require a different version of the files (I think. It might be possible to do by simply not uploading a few of the modified files).

Blue Fusion
05-29-2007, 11:08 AM
This is working great for me, my only question is how would I get the navbar locations set to go to the forums as currently they are pointing to:

http://localhost/vjoomlatest/usercp.phpinstead of

http://localhost/vjoomlatest/forums/usercp.phpin the vJoomla CMS section at:

http://localhost/vjoomlatestAlong with the images for the Joomla CMS

as I have put the direct path in and some of the images are still not showing.
and im getting that same issue i think its with the url path base i will see about figureing that out =)

nix
05-29-2007, 11:11 AM
No. This has been requested enough to warrant looking into - but it would require a different version of the files (I think. It might be possible to do by simply not uploading a few of the modified files).

I was thinking that also. I'll give it a try. A future option would be fantastic though.

Michael Morris
05-31-2007, 04:42 AM
BETA 0.2.0 IS DONE

That wasn't as hard as I thought it was going to be. Next version (0.2.1) will complete the usergroup configuration and I think I'll be able to relatively quickly place in a toggle that will allow you to choose which template engine to use (vbulletin or Joomla) for Joomla pages (why anyone would want to use two separate template engines eludes me - but it's been requested enough to warrant inclusion).

ngocha85
05-31-2007, 04:46 AM
You are my hero! ^^

Blue Fusion
05-31-2007, 06:04 AM
does this update also include the urls fixes ;3

Michael Morris
05-31-2007, 10:26 AM
No, sorry.

Blue Fusion
05-31-2007, 10:57 AM
ya its a big issue for alot of forum users and what not :( it save alot of time editing stuff manually

Michael Morris
05-31-2007, 11:14 AM
It's something I do intend to address. It is near to the bottom of the list of things to do though.

Luky
05-31-2007, 01:44 PM
I found my first bug :D In login.php, line 4, you still have the ./forum instead of our custom thingo

Michael Morris
05-31-2007, 02:27 PM
That will be easy to fix. I'll address it next version.

Luky
05-31-2007, 03:17 PM
I already fixed it :P

Mikhailtech
05-31-2007, 05:11 PM
If I decide to install and run this now, how easy is it to upgrade to future versions? Will it require any "reworking" on my part?

Michael Morris
05-31-2007, 05:21 PM
Once this goes gold upgrades will be uploading the code and installing the vbulletin product-jos.xml -- the joomla installer should never need to be ran more than once.

During beta though I will make no promises about how easy or difficult an upgrade path is.

That said, I am hoping to see a final now within a couple weeks. We're getting very close to done.

Mikhailtech
05-31-2007, 05:28 PM
This couldn't have come at a better time. I've been dying (slowly for several years) for a CMS that integrates with VB and has its own article system.

I've never used Joomla before though, so let me get this straight: all of the site content is stored in one database (the Joomla db) and all of the forum content in another (the VB db), right?

What about news? Is that stored in the Joomla db or does it pull threads from a specific forum (a la VBA style)?

From what I understand this is basically Joomla but using VB users and VB skins?

Michael Morris
05-31-2007, 05:52 PM
Joomla's tables are in the same database. It's content is its own in the initial release. I will be writing a component that will be able to transfer content between vbulletin and Joomla - I'm not sure whether I'm going to make that component available for free or for a nominal charge though.

Mikhailtech
05-31-2007, 06:03 PM
Joomla's tables are in the same database. It's content is its own in the initial release. I will be writing a component that will be able to transfer content between vbulletin and Joomla - I'm not sure whether I'm going to make that component available for free or for a nominal charge though.

Am I missing something or is that contradictory?

I guess what I'm asking is if there's a way to store all of the news/articles/comments/whatever posted in Joomla in the VB database - so I don't have to do multiple restores or worry about security issues.

And is this ^ what you'll be charging for?

Michael Morris
05-31-2007, 06:13 PM
You're confusing databases with tables. A database is a collection of tables. When Joomla and vbulletin are installed together in one database they have a total of some 149 tables (88 or so for vbulletin, the rest are Joomla's).

Most content of vbulletin is stored on it's post table. Most content in Joomla is stored on its content table. Moving content between the two tables (Between being an 'article' and being a 'post') isn't going to be in the initial release. In most installations it won't be necessary.

Mikhailtech
05-31-2007, 06:18 PM
I see. Thank you for the explanation. My reason for asking was due to the search mechanics that (I assume) are different for both vb and joomla? Or will a search in either be able to search information found in all tables?

<- not a coder

Also, I realize this is a beta version, but I need to get my site back up and running stat (message board is already active). Would you recommend waiting until the gold release comes out or is it safe (from a database information storing perspective) to go ahead and install/run it now? As you can tell I'm pretty anxious to get started.

mhmd1983
05-31-2007, 09:07 PM
an error message cannot find global.php file error :(

Grunt
06-01-2007, 05:49 AM
A quick thanks for your work Michael. MOTY without question. :up:

Luky
06-01-2007, 06:50 AM
Mhmd, yoursite.com/installation/install.php

Michael Morris
06-01-2007, 07:39 AM
an error message cannot find global.php file error :(
Make sure the forum path is correct. vJoomla will guess at it - but if you're seeing that error it's likely that it is guessing wrong.

Eagle Creek
06-01-2007, 10:05 AM
I think I'm going to love it but are there any live demo's or screenshots available?

Michael Morris
06-01-2007, 10:12 AM
The vJoomla site is running it

http://www.vjoomla.com

mhmd1983
06-01-2007, 09:04 PM
Lucky , Michael Morris thanks for replying, do anyone knows how to remove the left column of Joomla i already removed all moudels using it !!

ahmednadir
06-02-2007, 05:51 AM
hey, thanks again for the updates

What if I've already got Joomla installed on my server, and am still going to upload and install vbulletin
do I just upload the files that u have marked to be uploaded where the forum is after I install my board and then install the plugin, or will that mess up the whole site??

Wais
06-02-2007, 06:05 PM
Aloha,
I only get:

Warning: chdir(): Unable to access in /srv/www/htdocs/web7/html/globals.php on line 102

Warning: main(global.php): failed to open stream: No such file or directory in /srv/www/htdocs/web7/html/globals.php on line 103

Fatal error: main(): Failed opening required 'global.php' (include_path='.') in /srv/www/htdocs/web7/html/globals.php on line 103

Joomla is in my root and vB ist in /vB/ can someone help me please?

Michael Morris
06-03-2007, 06:58 PM
Aloha,
I only get:

Warning: chdir(): Unable to access in /srv/www/htdocs/web7/html/globals.php on line 102

Warning: main(global.php): failed to open stream: No such file or directory in /srv/www/htdocs/web7/html/globals.php on line 103

Fatal error: main(): Failed opening required 'global.php' (include_path='.') in /srv/www/htdocs/web7/html/globals.php on line 103

Joomla is in my root and vB ist in /vB/ can someone help me please?
That would appear to be a server read permissions error. Check the chmod settings for the files.

Michael Morris
06-03-2007, 08:03 PM
Correction - this is a bug in the installer. I have written and tested a fix for this problem. I'm now going to write some additional product code for the next revision.

Michael Morris
06-03-2007, 08:06 PM
Lucky , Michael Morris thanks for replying, do anyone knows how to remove the left column of Joomla i already removed all moudels using it !!
Overall page layout is controlled by template jos_main. You will need to remove $module[left] where it appears in the template.

Michael Morris
06-03-2007, 11:56 PM
Productive night so far. Who's Online is done and Login nearly so.

Michael Morris
06-04-2007, 03:25 AM
Well, we've arrived - Release Candidate 1. There are still a couple of *wants* missing from this product, but all the *needs* are covered. Specifically

Unified login between Joomla and vBulletin
Single Sessions between Joomla and vBulletin
You may choose between the Joomla and vBulletin template engine (the setting for this is in the vbulletin admincp.
You may configure which usergroups in vbulletin match up to joomla. Using this permission masking you can then limit content by usergroup in Joomla.
Recent threads and Who's Online is displayed in Joomla.


There are other wants I will address in the next few months - but I have two sites I'm developing more specific code for. One of the first addon's will be aimed at one of those boards - the recent blog entries for vBlogetin.

Enjoy - and please report any bugs found either here or at www.vjoomla.com

Mikhailtech
06-04-2007, 03:37 AM
First. Good to know. When you say you can choose which template system to use, does that mean Joomla templates will skin your VB board accordingly? I thought you said you couldn't use any Joomla-only templates with this product?

mhmd1983
06-04-2007, 03:52 AM
Overall page layout is controlled by template jos_main. You will need to remove $module[left] where it appears in the template.

thanks , i did that already and it works fine

First. Good to know. When you say you can choose which template system to use, does that mean Joomla templates will skin your VB board accordingly? I thought you said you couldn't use any Joomla-only templates with this product?

i think we should thank the guy and test it and see how things will turn ..

Michael Morris
06-04-2007, 03:52 AM
First. Good to know. When you say you can choose which template system to use, does that mean Joomla templates will skin your VB board accordingly? I thought you said you couldn't use any Joomla-only templates with this product?
Joomla will NOT skin vbulletin. This last minute addition is to allow Joomla's template engine to control the Joomla pages as normal. It might also come in handy with certain modules and components.

Luky
06-04-2007, 06:10 AM
That would appear to be a server read permissions error. Check the chmod settings for the files.
No, that is the problem i asked you about. Alot of people have been getting it! What you have to do is go straight to www.yoursite.com/installation/install.php

Also another thing, if you cannot login for step 2 or 3 for adminCP, go into your adminCP on your forums, go into options and for your cookie and session settings, dont have stuff like "/forum" make sure you have the entire path, "home/myname/public_html/forum" and it will let you login to websites in another path of your domain. You may wish to include this somewhere in a faq michael morris, it fixed my problem and im certain it will fix others.

Luky
06-04-2007, 06:28 AM
How to upgrade?

Wais
06-04-2007, 09:15 AM
Datenbankfehler in vBulletin 3.6.7:

Invalid SQL:
UPDATE vBuser SET joomla_registered = 1 WHERE userid = 1;

MySQL-Fehler : Unknown column 'joomla_registered' in 'field list'
Fehler-Nr. : 1054
Datum : Monday, June 4th 2007 @ 12:14:41 PM
Skript : http://ariana-community.de/vB/vJ/
Referrer :
IP-Adresse : 85.180.63.223
Benutzername : Malik
Klassenname : vb_database


i get this error :confused:

AK47 Nemesis
06-04-2007, 10:00 AM
Nice, it works, i have one final small problem however. The Who's online module doesn't include the forum in it's link. So it's supposed to go to http://www.teamqg.com/qg/member.php?etcetc. But now it goes to http://www.teamqg.com/member.php?etcetc. Is there a easy way to fix that?

AK47 Nemesis
06-04-2007, 10:16 AM
One more error:

Warning: Unknown(./includes/class_bbcode.php): failed to open stream: No such file or directory in /member.php(817) : eval()'d code on line 292

Fatal error: (null)() [function.require]: Failed opening required './includes/class_bbcode.php' (include_path='.:/usr/local/lib/php') in /home/gsclan/domains/teamqg.com/public_html/qg/member.php(817) : eval()'d code on line 292

Happens when i visit a forum profile...

Michael Morris
06-04-2007, 01:44 PM
Datenbankfehler in vBulletin 3.6.7:

Invalid SQL:
UPDATE vBuser SET joomla_registered = 1 WHERE userid = 1;

MySQL-Fehler : Unknown column 'joomla_registered' in 'field list'
Fehler-Nr. : 1054
Datum : Monday, June 4th 2007 @ 12:14:41 PM
Skript : http://ariana-community.de/vB/vJ/
Referrer :
IP-Adresse : 85.180.63.223
Benutzername : Malik
Klassenname : vb_database


i get this error :confused:
You'll get that error if you don't install the product-jos.xml in the vbulletin admincp! ;)

Michael Morris
06-04-2007, 01:45 PM
How to upgrade?
From which beta?

Mikhailtech
06-04-2007, 02:31 PM
Now that we're in RC1, do you recommend installing it in a production setting?

Michael Morris
06-04-2007, 03:22 PM
Yes - but proceed with caution.

digitalhome
06-04-2007, 03:25 PM
Keep up the great work! I'm keenly interested in this mod and wish you the best of luck.

ams3521
06-04-2007, 04:47 PM
Hello. I've been pondering over this for a while now and can't get my head around it. Basically i'm wanting all the frontendness of Joomla and also the powerfull forum qualities of VB. I suppose im stuck on how to move on with from memory (im doing something else for 2 weeks while i think about the above)

Using Joomla wraps really slows things down so i was looking at not wrapping. Bah i don't know anymore. I think im gonna have to just wait till the day that you can export all my threads and posts on VB forum to Fireboard or something which is more intergrated. Am i right in thinking that using vb and joomla will always be a problem and it's just like sticking them both together with glue in a shoddy fashion?

I was getting navigation difficulties too with the forum navigation top left showing in a wrap and then folks still using it and the wrap size all going to pot. I dont think i ever did suss out how to just present the forum as a forum with no 'other bits'

Actually there must be room for improvement in my thinking. Can anyone tell me what i'm missing here or can advise the best way? Sorry iff this is not the time nor place to discuss this so feel free to move it mr moderator. I really would love to put this to bed. It's killing me truth be told. I don't even know what i'm doing anymore. It's all just a big mess :(

Thanks

Wais
06-04-2007, 05:55 PM
You'll get that error if you don't install the product-jos.xml in the vbulletin admincp! ;)

Cant be because i install it.This error comes only if i log in:(

ixian
06-04-2007, 05:57 PM
Well, you can look at my site if you want to see a non-wrapped vb that's integrated with Joomla to a degree - just took a lot of work customizing the vbulletin skin to match the Joomla one. Add in the bbpixel bridge for $20 and you have a pretty well integrated site on the front end, just two with different admin areas on the back to worry about.

I wasn't looking at using this hack because originally it just used Vbulletins template system for Joomla pages - that might have worked out for some, but for those like me who already have a lot of work in to nice looking Joomla templates it was a no-go - but now that there is an option to use Joomla templates for Joomla pages I may try it out.

You could wait for a converter, and for Fireboard to become more stable, but frankly Fireboard doesn't have half the features vbulletin does and it's not all that integrated either - it's skins and templates are also separate, so if you are looking for a fully integrated "look" you still have a lot of work to do.

Michael Morris
06-04-2007, 06:10 PM
Cant be because i install it.This error comes only if i log in:(
Uninstall then reinstall - this field is supposed to be added by the product-jos.xml. If it doesn't add it then I'll check the XML.

Also make sure the plugin system is enabled - if I recall correctly install code will not execute if you have the plug in system turned off.

Michael Morris
06-04-2007, 06:11 PM
One more error:


Warning: Unknown(./includes/class_bbcode.php): failed to open stream: No such file or directory in /member.php(817) : eval()'d code on line 292

Fatal error: (null)() [function.require]: Failed opening required './includes/class_bbcode.php' (include_path='.:/usr/local/lib/php') in /home/gsclan/domains/teamqg.com/public_html/qg/member.php(817) : eval()'d code on line 292

Happens when i visit a forum profile...
vJoomla has no plugins in member.php. Do you have any other plugins running?

Wais
06-04-2007, 06:13 PM
Yes but the Problem is that i cant Login so i cant uninstall anything.

Wais
06-04-2007, 06:34 PM
Okay ive made it xDI only add the field "joomla_registered"to my MySQL Database in the Table vBUser

imported_hbs
06-04-2007, 08:50 PM
If I allready have joomla & vbulletin installed on the same db what do I have to do to integrate vjoomla?
Do I just need to import the XML or do I have to change some joomla files as well?

Michael Morris
06-04-2007, 09:58 PM
If I allready have joomla & vbulletin installed on the same db what do I have to do to integrate vjoomla?
Do I just need to import the XML or do I have to change some joomla files as well?
vJoomla modifies around 11 Joomla files, but beyond that it also does some setup work of modifying vbulletin tables while installing Joomla (it maps the Joomla usergroups to the vbulletin usergroups). If you're comfortable getting under the hood I can provide a changeover path - but you will need to test this before doing it to your production machine, ok?

SecTa
06-04-2007, 10:00 PM
trying to install it on localhost, getting error during installation (step 1):

Fatal error: Call to undefined function: str_split() in C:\wamp\www\forum\joomla\installation\install2.php on line 29

forum path i've set is C:\wamp\www\forum
tried also http://localhost/forum/

Michael Morris
06-04-2007, 10:29 PM
Ack - str_split is PHP 5 >

Ok, here's a patch file that creates a str_split function for PHP 4 servers. Upload it to the /installation directory overwriting the current common.php file there. I will include it in RC2.

Mikhailtech
06-04-2007, 10:49 PM
Can't seem to install it. Stuck on step 1. Getting these errors soon as I give joomla a path to the forums (if I use the one already written there it says forums not found) :


Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/xxx/public_html/installation/install2.php on line 60

Warning: main(./global.php) [function.main]: failed to open stream: No such file or directory in /home/xxx/public_html/installation/install2.php on line 62

Fatal error: main() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxx/public_html/installation/install2.php on line 62

BTW I'm doing this with RC1 using the updated common.php file.

Michael Morris
06-04-2007, 11:00 PM
Can't seem to install it. Stuck on step 1. Getting these errors soon as I give joomla a path to the forums (if I use the one already written there it says forums not found) :


Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/xxx/public_html/installation/install2.php on line 60

Warning: main(./global.php) [function.main]: failed to open stream: No such file or directory in /home/xxx/public_html/installation/install2.php on line 62

Fatal error: main() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxx/public_html/installation/install2.php on line 62

BTW I'm doing this with RC1 using the updated common.php file.
What is the exact path you are entering? Are you including a trailing slash? (You shouldn't).

Mikhailtech
06-04-2007, 11:02 PM
This is the path that joomla automatically puts for me:

/home/xxx/public_html/forum/includes/config.php