vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - Joomla for vBulletin (IMPORTANT UPDATE) - Bridge to the World's Most Popular CMS (https://vborg.vbsupport.ru/showthread.php?t=145781)

Michael Morris 04-27-2007 05:08 PM

Quote:

Originally Posted by kartik786 (Post 1236544)
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

Quote:

Originally Posted by JimmDaBimm (Post 1236567)
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.

Quote:

Originally Posted by TheHeartSmasher (Post 1236592)
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

Quote:

Originally Posted by Reeve of shinra (Post 1236658)
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

Quote:

Originally Posted by juanchi (Post 1236926)
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.

Quote:

Originally Posted by Luky (Post 1237045)
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.

Quote:

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

Quote:

Originally Posted by ams3521 (Post 1237735)
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.

Quote:

Originally Posted by pete_brady (Post 1237832)
Will this bridge enable joomla / vb search integration?

Not initially.

pete_brady 04-29-2007 10:19 PM

Quote:

Originally Posted by Michael Morris (Post 1237848)
Not initially.

Sounds promising!

ERuiz 04-30-2007 04:16 AM

Quote:

Originally Posted by Michael Morris (Post 1235891)
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

Quote:

Originally Posted by Michael Morris (Post 1237609)
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.

Quote:

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

Quote:

Originally Posted by Ignicoccus (Post 1238882)
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 ?

PHP Code:

$all_constants get_defined_constantstrue ); 


acegames 05-01-2007 01:45 PM

Quote:

Originally Posted by Ignicoccus (Post 1238909)
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 ?

PHP Code:

$all_constants get_defined_constantstrue ); 


Same error here

Michael Morris 05-01-2007 03:05 PM

PHP version numbers please.

Ignicoccus 05-01-2007 04:18 PM

Quote:

Originally Posted by Michael Morris (Post 1238965)
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

Quote:

Originally Posted by Michael Morris (Post 1238965)
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

Quote:

Originally Posted by Michael Morris (Post 1237609)
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 [i have unpublished all the modules] but it's still showing, how can I remove it?

Edit: Nevermind, fixed it.

Michael Morris 05-03-2007 04:12 AM

Quote:

Originally Posted by cheesegrits (Post 1240291)
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?


All times are GMT. The time now is 04:10 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01501 seconds
  • Memory Usage 1,852KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete