![]() |
Does this allow the VB users username and passwords to be transfered over too, so users don't need to create a new account to upload pictures?
|
Yep. The script Carbon-copies the user's account to the gallery when the navigate to the integrated gallery page.
Also, I'm trying to use this in vB3.7, but http://www.alteranlabs.co.uk/forums/gallery2.php is screwed up; None of the images are there and the formatting is out-of-whack. I've looked at the image path for the placeholders, and it's done "/forums" twice! Any way to rectify this? |
I tried this integration with Gallery 2.2 i got this error message:
Quote:
|
Alright, new to vbulletin and this is the first site that I've used it with. I decided to go the way of using gallery2 with my vB install and got this entire integration to work properly.
My setup is as follows in case you need to know: hswaves2008/forum/(forum files) hswaves2008/forum/gallery2.php hswaves2008/forum/index.php (the default file with vbulletin) hswaves2008/gallery/(gallery files) hswaves2008/index.php (the vbadvanced CMPS file) My gallery2.php code: PHP Code:
Now, the problem that I am having is this. 1) Click on the image that I uploaded t the gallery. (its the only one there) 2) If you scroll down to where it says "Photo Properties", just under that is an option to click on DETAILS. If you click this link to see more details on the image, the link is broken. Is there something that I need to do to get these links working properly. I have read this thread through several times and finally got the gallery2.php file working and searched through a couple more times for this issue and to no avail, I have found nothing that addresses this issue. Or maybe I don't know what solution I should be looking for. Any help here would be greatly appreciated. BTW... I have to say that vBulletin far surpasses any other forum/CMS that I have ever used in the past. I love it and it has been user friendly since day one. Now, tojust get this integration to work properly. Thank You. |
Quick question - does the G2 database need to be in the same database as vB?
I will be starting from scratch on this. I have an existing vB 3.6.8 installation. No Gallery2 at all currently. I am not currently convinced I need to embed. In fact I am leaning away from it for the simple fact that my forums are a fixed width right now. Letting the galleries break out will up the available width by about 250px. I do however need to unify logins for users. I'd also like to have links to user's galleries in their profiles. As for Gallery2 version, it sounds like 2.1 will be a bit less painful to get up and running with vB 3.6.8. Is this assumption correct? |
It has been a few days since I have seen a response. I have tried emailing and PMing a few of the users that responded and seemed proficient in correcting issues with this integration. I have it working and just need one little tweak to get some links working but it doesnt seem like this is supported anymore. No one checks this thread and the last few posts have seen no responses. The last support response was a month or two ago. Anyone out there that can help? Please?
BTW, I have Gallery 2.2 and IB 3.6.8 and it works just fine. The only issue that I am having is the one listed above. I am sure it can be corrected because I have seen a site in action with these two versions. Just waiting for a response from one of the users here. Hope they can help. |
I sort of gathered that.
Maybe you can answer my question about the db since yours is up and running. Did you install G2 to your vB database or are they separate? Does it matter either way? I looked at your site earlier and the details link wasn't pointing to your forum folder - it was formed as if the folder was in the doc root. I just looked again now and the details link worked for me. |
I figured it out last night and it is working for me now. I had one thing set wrong in my gallery2.php file. Looking through this thread over and overhelped me a lot even after I had already looked and looked through it man times a day until I had it right. Here is how you set it up.
install vbulletin to: domain.com/forum/ install gallery to: domain.com/gallery/ open up a text editor and insert this code: PHP Code:
Save this file and upload to: domain.com/forum/gallery2.php Create the new template like Step 4 of the initial post instructs you to do. That is all. Now you can use the gallery2.php file as the link to your gallery. You will need to edit the css file in gallery to match the colors of your vbulletin or vice-versa. What this code does is integrate the gallery and the forums when anyone visits that file. When they register for your vbulletin forum, it WILL NOT create a gallery user yet. The user must first visit the gallery2.php file in order for a user account to be created in gallery. As I understand, there are two different db's. One for vbulletin and one for gallery. The password for the gallery will not be the same as the vbulletin forum for the user due to the fact that vbulletin wants to add SALT(password) to the password. When a user visits the gallery2.php file for the second time it will look to see if the user is registered in vbulletin and if so, will look in the gallery db for a user account that matches,and if so then all will be gravy. If you have any further questions, let me know. Im not good at this stuff but if you follow my instructions, it will work now that I have it all figured out. It just sucks that someone like me has to be support for this for the fact that Im not really good at this stuff and am new to all this coding. Im a first timer to vbulletin, even if I have installed quite a few things in the past. I really would like to know what I am talking about when I help someone. What kind of code do I need to know to tweak this stuff. PHP? If I got a book on PHP, would that help me? |
Thanks man! That is all easy stuff.
I am still unsure about my original DB question though and haven't seen an answer. I ASSume it doesn't matter where the vB database is in relation to the Gallery2 database because it is looking at that globals.php file which best I can tell pulls the user info from the vB database regardless of where it is - it knows where to look. My question stems from Joomla and the fact that all of the vB integration features for it require the vB database to be installed within the Joomla database and I like to keep things separate. Chances are, if you did not specifically create a new database for your Gallery2 install, then it dumped it into the vB database. I think what I will do is just try it with Gallery2 in it's own database. If it doesn't work I am out about 20 minutes of time and it is easy to clean up. I'd rather start there and integrate them later if I need to than integrate them and then have to go back later and correct it. --------------- Added 17 Feb 2008 at 14:48 --------------- Ok all I am getting is the white screen. Install paths are as follows: /chroot/home/mazdaoca/mazdaoca.org/html/community/global.php /chroot/home/mazdaoca/mazdaoca.org/html/community/gallery/embed.php Installed in the following: vB: webroot/community/ G2: webroot/community/gallery/ URL I am using is: http://www.mazdaoca.org/community/gallery.php The direct G2 link works fine: http://www.mazdaoca.org/community/gallery/main.php VB template "gallery2" has been created and the "head" section contains the code posted in Step 4 of the instructions. gallery.php is as follows: Code:
<?php Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
The infamous white page is due to the fact that your php file is not configured properly. You installed your gallery within the forum directory. It has been specified that you need to install the gallery in the root directory of your domain. The first post f this thread is confusing. They state that you need to put the gallery in the root of your vbulletin and then go to say later that the root of your vbulletin is up a directory from the forum folder. If you wish to keep the setup you have now then I believe you need to add something here.
PHP Code:
As for your other question, sorry I didn't understand what you were asking the first time, but yeah, I have two db's one for the vbulletin and one for gallery. They are linked through the gallery2.php file. |
All times are GMT. The time now is 10:16 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|