The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Gallery 2.1 and vBulletin 3.5.X integration
This tutorial will outline the steps needed to integrate your vBulletin 3.5.X and Menalto Gallery 2.1 installations. The original thread located here has become a little too scattered, and since it's original focus was on the Gallery 2.0 and vBulletin 3.0 series, I think it'd be beneficial to start this new thread so that the information is more easily found for the 3.5.X and 2.1 series. Before we begin, you should be aware that this tutorial assumes that you'll be placing your gallery in the root directory for your forums. My directory structure looks a little like this: public_html/Vbulletin Files and public_html/gallery2/Gallery Files As long as your gallery folder is located within your root vBulletin directory, this should work just fine. Step 1: Install Menalto Gallery 2.1. Remember to upload the "gallery2" folder INSIDE your root vBulletin directory! Step 2: Create a new file containing the following, and save it as gallery2.php: PHP Code:
Step 3: Find and edit the following code to suit your site setup: PHP Code:
PHP Code:
Step 4: Create a new template in your style manager called gallery2 containing the following: HTML Code:
$stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head>$headinclude $data[headHtml] </head> <body> $header $navbar <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat">Gallery</td> </tr> <tr> <td class="alt1">$data[bodyHtml]</td> </tr> </table> $footer </body> </html> You can achieve further integration by using johnmont's plugins which will:
PHP Code:
Hopefully this tutorial sparks a little more interest in this area and we can get some additional people contributing solutions to achieve tighter integration :banana: As the integration progresses, I'll update this thread to keep everything together and accessable. Enjoy! |
#32
|
|||
|
|||
Quote:
what is wrong? Quote:
you can run a SMTP service on your machine, thereticaly. are you on a shared server or a dedicated one? if shared, contact your host and see what they say. if it is dedicated, im 99% sure there are some free SMTP services out there. |
#33
|
|||
|
|||
o wow silvertit workks when your im not logged in, when i am logged in it says
line: 98, Failed to create G2 user with extId [1]. Here is the error message from G2: Error (ERROR_COLLISION) * in modules/core/classes/GalleryUser.class at line 154 (gallerycoreapi::error) * in modules/core/classes/GalleryEmbed.class at line 360 (galleryuser::create) * in /home/********/public_html/forum/gallery2.php at line 95 (galleryembed::createuser) * in /home/********/public_html/forum/gallery2.php at line 50 |
#34
|
|||
|
|||
I guess I've got something going on with the plugins.
Code:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/.bluster/superjett/x-h20.com/includes/class_dm_user.php(1548) : eval()'d code on line 10 Do I need to change some usergroup permissions or other? |
#35
|
||||
|
||||
Quote:
1. Make a second ID in your own forum 2. Enter your gallery with new user and click YOUR ALBUM - top right (should have no error but no admin) then log out 3. log into gallery non embed as admin eg." www.yourdomain.com/gallery2/main.php" select groups then add the new user that you made in your forum as "Site Admin" and log out 4. Log in with Your 2nd forum ID and go to www.example.com/gallery2.php then click Users and delete your original Admin then log out 5. Go back to www.example.com/gallery2.php as Admin and click Your album then log out 6. Go back in with your 2nd forum ID then give your Admin account "Site Admin" status from within the gallery. Congratulations you can now log in as admin without error Johnmont found the reason why here hope that helps cause it worked for me |
#36
|
|||
|
|||
i think i might wait for the new codes to come out:P
Quote:
Quote:
Quote:
|
#37
|
|||
|
|||
Anyone up for helping me beta test my integration script with support of primary user group from VB?
Please PM me if you are.... |
#38
|
||||
|
||||
Blackwidow
if you turn your URL Rewrite module off in gallery 2 admin your pictures should work, they have had alot of problems with that URL Rewrite module i have read over in menatlo's gallery forums. Also you should disable your registration module as the same users will come from your existing Vbulletin database. |
#39
|
||||
|
||||
So I haven't taken the time to do this yet, because of a bunch of web site moves and stuff....
But if this little tutorial works and I can integrate the two, I will LOVE YOU FOREVER. lol |
#40
|
|||
|
|||
Quote:
Quote:
i will be out of town all next week(carribean here i come!!) so when i come back i might be down if you dont have anybody yet. yes, i know its not a PM |
#41
|
|||
|
|||
Quote:
Hopefully it will be full go and debugged by then. Enjoy the warm weather! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|