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! |
#132
|
|||
|
|||
That sounds really confusing, so I think I'll just make a gallery on photommunity.com and say meh with the vB intergration until I can afford photopost or something i dunno.
|
#133
|
|||
|
|||
i am not 100% on the multi site either. but if you install it to a location that BOTH sites can hit(say /public_html. not web viewable, but shared). then all that is required is a few files(to start with) on each site and they will have a referance back to the shared install location. i am not sure what has to be viewable to a internet browser for gallery to work.
i assume all would be fine with a integrated gallery with VBB on one site and a standalone on the other side. to my knowledge they would not be aware of eachother. but that is just a guess on my part let me know if you have any other questions, i can see if i have any insight for you |
#134
|
|||
|
|||
Quote:
It is actually very easy. The install wizard does all of the work for you. |
#135
|
|||
|
|||
Quote:
thats what i was attempting to get at |
#136
|
|||
|
|||
Quote:
Here's my setup. httpdocs/forums httpdocs/gallery2 httpdocs/forums/gallery2.php when i go to gallery2.php it's embeded into VB but it's like the users are viewing as a guest. They can't upload or do any of the normal gallery user functions. I did put 1 user into the admin group through the standalone gallery2 and it can upload but something's still doesn't seem right. I looked in the DB and the VB users are being created as they use the gallery2.php but i'm thinking there's some permission problem or something. I've been trying to get a gallery/photo Album on my site for awhile and have tried them all and I like G2 the best if i could only get it to work. Any Ideas?? Thanks |
#137
|
|||
|
|||
Keith
Instead of this: httpdocs/forums httpdocs/gallery2 httpdocs/forums/gallery2.php Use this: httpdocs/forums httpdocs/forums/gallery2 httpdocs/forums/gallery2.php I tried the same thing as you did - and never got it working. Once I put the gallery folder in the forums folder, everything started working. |
#138
|
|||
|
|||
Quote:
try disabling all of the URL Rewrite modules.... if that does not work, post up your gallery2.php and i can give it a once over to see if anythign jumps out. i have my board/gallery setup the same way /gallery/ /forum/ /forum/gallery.php |
#139
|
|||
|
|||
I'd like to upgrade the forum but don't want to break the gallery...
Thanks, Sean |
#140
|
|||
|
|||
i am not on 3.6, probobly wont be for some time
plus its in beta, not good for me. |
#141
|
||||
|
||||
actually RC2 now
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|