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! |
#282
|
||||
|
||||
Hello,
I installed - it works, but i can't see the pictures... http://www.wollmilchsau.org/forum/gallery2.php What's the problem ??? |
#283
|
|||
|
|||
It doesn't work then
|
#284
|
||||
|
||||
Is a version for 3.7 planned?
|
#285
|
|||
|
|||
That's kinda stupid seeing how it's got a built in gallery now.
|
#286
|
||||
|
||||
but menalto gallery2 is the best open source gallery - better then the bulit in one...
|
#287
|
|||
|
|||
Not aruging that, but I'd rather have one db instead of 2 on the same server. Less resources overall. I've got about 25,000 images on mine.
Sides, you have more control with the 3.7VB in my eyes for the users because you don't have to admin 2 locations unless you limit it from the getgo.... And if you don't backup stuff weekly with a highly used site, you not only loose the forums, but the gallery and rebuilding the gallery ain't fun. |
#288
|
||||
|
||||
I have displayproblems.
No pictures were displayed and the german language is damaged. How can i solve this problem? Link to my gallery/vb-site here gallery-standalone |
#289
|
|||
|
|||
I can't read German.
Not trying to sound like a turd, this is why when 3.7 came out, I stuck to the new included gallery. Or PhotoPlog Full. Now some usefull info. I use FireFox 3.0 RC blah blah. Tools > Error Console <--- That's how I did this next thing. Seems you already are running photoplog. CSS issue. So I'm guessing the formatting or something is wrong. Check the CSS. Warning: Error in parsing value for property 'filter'. Declaration dropped. Source File: http://www.wollmilchsau.org/forum/ph.../highslide.css Line: 6 Error: search_SearchBlock_init is not defined Source File: http://www.wollmilchsau.org/forum/gallery2.php Line: 1427 |
#290
|
||||
|
||||
The problem was with the pathes. Now it works.
But i have problems with the german language. (?,?,?,?, ...) are displayed wrong. What is the solution for this problem? Link to embedded gallery: http://www.wollmilchsau.org/forum/gallery2.php Standalone there is no problem... Please help me !!! |
#291
|
|||
|
|||
Don't know. Don't speak German
You are best asking on the nucleus forums because nobody is supporting this here it seems like. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|