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)

VivaLaPinkowitz 06-07-2007 04:49 PM

I've noticed the poll issue on normal installs of Joomla, not just vJoomla. This is a problem that I'd like to find a solution to however.

imported_hbs 06-07-2007 06:46 PM

reposting my problem - anyone know what can cause/solve it

Trying to install it I am getting a message box saying "The site has not been provided" followed by another message "Forum not found". I am getting this error at Step 4 of the install.
The installer find my forum @ step 1 then it finish the joomla DB settings, I leave the usergroup configuration defults and click NEXT then I receive the 2 message boxes.
I checked to see that the Path to Save Cookies is /

What did I do wrong

thanks in advance

Luky 06-07-2007 06:51 PM

Quote:

Originally Posted by imported_hbs (Post 1263493)
reposting my problem - anyone know what can cause/solve it

Trying to install it I am getting a message box saying "The site has not been provided" followed by another message "Forum not found". I am getting this error at Step 4 of the install.
The installer find my forum @ step 1 then it finish the joomla DB settings, I leave the usergroup configuration defults and click NEXT then I receive the 2 message boxes.
I checked to see that the Path to Save Cookies is /

What did I do wrong

thanks in advance

http://www.alchemist-team.net/vjoomla.html

Invalid ID 06-08-2007 02:22 AM

Anyone has a demo?

4x4 Mecca 06-08-2007 03:32 AM

Error during product import. Could this be because I didn't stop my forums?
Code:

Database error in vBulletin 3.6.4:

Invalid SQL:
ALTER TABLE user ADD joomla_registered TINYINT( 1 ) UNSIGNED DEFAULT '0' NOT NULL;

MySQL Error  : Duplicate column name 'joomla_registered'
Error Number : 1060
Date        : Thursday, June 7th 2007 @ 09:32:31 PM
Script      : http://www.4x4mecca.com/forum/admincp/plugin.php?do=productimport
Referrer    : http://www.4x4mecca.com/forum/admincp/plugin.php?do=productadd
IP Address  : ***
Username    : ****
Classname    : vb_database


4x4 Mecca 06-08-2007 03:52 AM

I tried with the boards turned off, same problem.

imported_hbs 06-08-2007 06:36 AM

Quote:

Originally Posted by 4x4 Mecca (Post 1263861)
Error during product import. Could this be because I didn't stop my forums?
Code:

Database error in vBulletin 3.6.4:
 
Invalid SQL:
ALTER TABLE user ADD joomla_registered TINYINT( 1 ) UNSIGNED DEFAULT '0' NOT NULL;
 
MySQL Error  : Duplicate column name 'joomla_registered'
Error Number : 1060
Date        : Thursday, June 7th 2007 @ 09:32:31 PM
Script      : http://www.4x4mecca.com/forum/admincp/plugin.php?do=productimport
Referrer    : http://www.4x4mecca.com/forum/admincp/plugin.php?do=productadd
IP Address  : ***
Username    : ****
Classname    : vb_database


you have to drop the 'joomla_registered' (without the single quotes) from the user table before continuing.

Luky 06-08-2007 10:56 AM

Quote:

Originally Posted by Invalid ID (Post 1263833)
Anyone has a demo?

sig

AK47 Nemesis 06-08-2007 05:14 PM

Quote:

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

Will this work with other CMS too? Because we are building our own atm and we would love to have vBulletin integrated.

4x4 Mecca 06-08-2007 06:56 PM

Quote:

Originally Posted by imported_hbs (Post 1263918)
you have to drop the 'joomla_registered' (without the single quotes) from the user table before continuing.

I did that, then there was another table that had an error, so I deleted them both, (Both joomla_)
Then I got an error saying there was no jos_menu table, so I created it, then I got this error
Code:

Database error in vBulletin 3.6.4:

Invalid SQL:
INSERT INTO jos_menu (menutype, name, link, type, ordering)
                        VALUES (
                        'vbmenu',
                        'forumhome',
                        'index.php',
                        'url',
                        0);

MySQL Error  : Unknown column 'menutype' in 'field list'
Error Number : 1054
Date        : Friday, June 8th 2007 @ 12:54:55 PM
Script      : http://www.4x4mecca.com/forum/admincp/plugin.php?do=productimport
Referrer    : http://www.4x4mecca.com/forum/admincp/plugin.php?do=productadd
IP Address  : *
Username    : *
Classname    : vb_database


Luky 06-08-2007 07:16 PM

Quote:

Originally Posted by 4x4 Mecca (Post 1264317)
I did that, then there was another table that had an error, so I deleted them both, (Both joomla_)
Then I got an error saying there was no jos_menu table, so I created it, then I got this error
Code:

Database error in vBulletin 3.6.4:

Invalid SQL:
INSERT INTO jos_menu (menutype, name, link, type, ordering)
                        VALUES (
                        'vbmenu',
                        'forumhome',
                        'index.php',
                        'url',
                        0);

MySQL Error  : Unknown column 'menutype' in 'field list'
Error Number : 1054
Date        : Friday, June 8th 2007 @ 12:54:55 PM
Script      : http://www.4x4mecca.com/forum/admincp/plugin.php?do=productimport
Referrer    : http://www.4x4mecca.com/forum/admincp/plugin.php?do=productadd
IP Address  : *
Username    : *
Classname    : vb_database


You cant just create the table, you need to correct data into the table.

VivaLaPinkowitz 06-08-2007 07:29 PM

I have also noticed that the "Most Users Online" continually resets and does not display the accurate number of most users.

SkyCatcher 06-08-2007 11:50 PM

I'm sorry but this integration is pissing me off beyond belief. First the install.php just kept redirecting me to my forum's index.php, so I had to type in /install1.php and start from there.

Then the error with the no site defined and cannot connect to forum etc... I had to edit the install file and manually insert 'mysite' since it wasn't pulling it from the config file.

Then the who's_online module couldn't find functions_users.php although I softlinked the directories to where they should be so I deleted the module with phpmyadmin.

so FINALLY after all that BS of getting this to work, I fix the images, the paths, and install the product.

I go to the admincp, click administrator and it brings up the joomla admin page.

When I click on Edit Frontpage I get a "You are not authorised to view this resource"....

On a side note, the jos_gid table has myself set to 25 (I selected super-admin)... but it doesn't seem to do anything.

This has been frustrating for me because it was like going in and doing the integration myself with all the work associated in getting this to work and it STILL doesn't work the way it's supposed to.

Any help would be appreciated.

4x4 Mecca 06-09-2007 01:36 AM

I'm also having all kinds of trouble installing it. I can't import the product with out errors, and when I run install1.php because install.php doesn't work, I get this long error.

WarLion 06-09-2007 02:29 PM

Quote:

Originally Posted by 4x4 Mecca (Post 1264511)
I'm also having all kinds of trouble installing it. I can't import the product with out errors, and when I run install1.php because install.php doesn't work, I get this long error.

ok you need to start again
firt you need to drop from your phpmyadmin this tablles all the jom_ tables
and you need to go to usergroup and drop the jom_ one
this is my demo
i already puut some complements buut i have problem with some mambots
www.warlionhosting.com
user: test
pass:test

4x4 Mecca 06-09-2007 02:35 PM

I've removed all the jos tables, and the jom ones too.. but I've done that a couple times, what would make it different now?

Luky 06-09-2007 03:06 PM

Quote:

Originally Posted by WarLion (Post 1264821)
ok you need to start again
firt you need to drop from your phpmyadmin this tablles all the jom_ tables
and you need to go to usergroup and drop the jom_ one
this is my demo
i already puut some complements buut i have problem with some mambots
www.warlionhosting.com
user: test
pass:test

Its a component not a compliment :D

Dont know why you all get errors, do as i did at www.alchemist-team.net and you shouldnt get any errors, im on the last BETA.

Replicators 06-09-2007 06:39 PM

This mod needs more decisive instructions, otherwise people are gonna be having alot of problems. All it says is install joomla, but there's like 2 different install methods to use. It no doubt works good, but the instructions lack in detail, and thats what is needed, you expect everybody to be 100% knowledgeable on how to do this!

Mikhailtech 06-09-2007 06:42 PM

After installing it, playing around with it, and running into a lot of the same problems the people in here are running into, I've decided to scratch it and just do a clean install of normal Joomla 1.0.1.2.

Here's my take on it:

It's a great idea, but it's a bit ambitious for 1 person to take on, ESPECIALLY in so short a time. There are just too many intricacies that need to be worked out between Joomla and VB that an end-user (publisher) shouldn't have to worry about correcting manually. If you take a look at the Joomla development team and all the work that goes into making a stable release there, you'll understand what I'm saying.

Michael I think it's great what you're doing, but I have a feeling you may need to recruit some outside help if you really want to take this project beyond "mod with some assembly required" status. That said, I have a pretty large website and I'd much rather do the extra work of creating identical templates than messing with somewhat unstable releases. Personally I don't think this is RC1/2. Anyway, good luck and I hope you stick with it.

Luky 06-09-2007 08:03 PM

Quote:

Originally Posted by Replicators (Post 1264955)
This mod needs more decisive instructions, otherwise people are gonna be having alot of problems. All it says is install joomla, but there's like 2 different install methods to use. It no doubt works good, but the instructions lack in detail, and thats what is needed, you expect everybody to be 100% knowledgeable on how to do this!

For christs sake, this is like the 5th time, www.alchemist-team.net/vjoomla.html

Wulfnoth 06-10-2007 08:36 AM

Does this modification works when Zoints SEO is installed?

imported_hbs 06-10-2007 08:54 AM

Quote:

Originally Posted by Luky (Post 1264990)
For christs sake, this is like the 5th time, www.alchemist-team.net/vjoomla.html

I tried it at least 5 times and still getting the same error on stage 4 "The site has not been provided" followed by another message "Forum not found"

Luky 06-10-2007 08:56 AM

It would do, it wont be seo'd but.

SkyCatcher 06-10-2007 06:24 PM

Quote:

Originally Posted by imported_hbs (Post 1265357)
I tried it at least 5 times and still getting the same error on stage 4 "The site has not been provided" followed by another message "Forum not found"

Find in install4.php

Code:

if (get_magic_quotes_gpc()) {
        $configArray['absolutePath'] = stripslashes(stripslashes($configArray['absolutePath']));

the line right below it I had to modify and I added my site manually (Probetreff) as such:

Code:

        $sitename = stripslashes(stripslashes('Probetreff'));

and that fixed the site not found error.

Give that a try and see if it works for you.

imported_hbs 06-11-2007 05:35 AM

Thanks SkyCatcher
It worked

Michael Morris 06-13-2007 08:02 PM

Hello. The server which hosts the vJoomla package - has been ssh tunnel attacked multiple times in the last week. The entry point appears to be in one of the Joomla directories. Whether this is due to a problem in Joomla or the mods made for vJoomla I do not know. As a precaution I will be taking the mod down for the present.

I need to do a complete reinstall of the server OS as soon as possible and upgrade all packages on the machine. Only once these vulnerabilities have been closed up can the mod be retested to see if it is the vector by which the attack was launched. I am not sure if this is the case. Until I am certain the product is safe to use however I will not make it available. I am sorry for any inconvenience this will no doubt cause.

Paul M 06-13-2007 09:25 PM

Moved to Graveyard, please contact a member of Staff to move it back when you are ready to reattach the modification.


All times are GMT. The time now is 02:29 PM.

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.01647 seconds
  • Memory Usage 1,829KB
  • 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
  • (6)bbcode_code_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (27)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