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! |
#42
|
|||
|
|||
Quote:
The gallery2.php gives me only a white screen:tired: |
#43
|
||||
|
||||
Quote:
anybody knows how this can be fixed?? yeah, there seems to be some bugs... A big one also is that it takes ALOT of time to load... hope it will come bug free soon |
#44
|
|||
|
|||
thank you Brent H
will take a look at this when time allows as the whole vBadvanced Gallery story has become a tad difficult |
#45
|
||||
|
||||
Quote:
If you go to AdminCP -> Plugin System -> Plugin Manager, then click Edit against the Update Gallery User, you'll see the first line being something like this: Code:
require_once('/home/xxxxxx/public_html/gallery2/embed.php''); |
#46
|
|||
|
|||
I think check your plugin there is a extra '
I think.. It work for me |
#47
|
||||
|
||||
anyone have any luck with getting the rewrite module to work embedded?
I either get my header images and no pic's in the gallery(broken links) or i get no header images (broken links) and pictures work in the gallery.. it seems to be redirecting the images outside of the gallery as well as the images inside. |
#48
|
||||
|
||||
Ive been working on this for the past week and a half and my mind has finally gone numb. I get the same issues, I get it to work embeded, the second I upload a pic, white screen and gallery2.php becomes inaccessable. I give up until a better system is worked out.
As a side note, non embed works fine even after the issues with gallery2.php |
#49
|
||||
|
||||
i would suggest you hold out a little d8tabyte, johnmont has been beta testing new plugins and intergration script. I'll let him fill you in on what it does when he is ready to put it in production.
|
#50
|
|||
|
|||
i have done some of the testing my self and i have found it to work, but now i also have a problem. i have uploaded images the my gallery2/ and my gallery2 works just fine, also i have no problems with mod normal users and super mods accessing the galler2.php page. but when they do the page comes out empty, i mean it has all the info like album names..... but no pictures are showing up what so ever just text in its place
Quote:
|
#51
|
||||
|
||||
this is because you have the URL rewrite module enabled .. go into your gallery admin then modules and disable or remove the modue
then your pictures will work |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|