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! |
#292
|
||||
|
||||
Quote:
do you have a link ? p.s.: the problem is only the display of some letters in german (umlaute - ?,?,?,? etc.) and i don't know where to fix this problem (in the gallery2.php-file) |
#293
|
|||
|
|||
Quote:
http://www.google.com <--- You'd have had the answer before I replied. http://gallery.menalto.com/ And it's not in the gallery file. It's in the language file. Go there and ask. |
#294
|
||||
|
||||
Great tutorial, thanks
|
#295
|
|||
|
|||
I know this article is old, but I am having problems with a path. For some reason my path is duplicating for images. I just cant seem to figure out why.
vb/forum/vb/forum/gallery2/images/galleryLogo_sm.gif Found it. had to edit the g2uri |
#296
|
|||
|
|||
Holls programs was he set gallery2 to be a file, not a directord.
Use PHP ifno, and the the pwd --------------- Added [DATE]1240186512[/DATE] at [TIME]1240186512[/TIME] --------------- Hollsch: Good link you gave - http://www.wollmilchsau.org/forum/gallery2/main.php Bad link you gave - http://www.wollmilchsau.org/forum/gallery2.php Correct link I gave you now - http://www.wollmilchsau.org/forum/gallery2/main.php You either didn't setup permissions (IUSR), secrity, setup .php files for the entire site or you worked another 4 nighter like me. Since you built the gallery on a subform of the forum.....You createded a headache. What I would/and do do, is make a http://gallery.wollmilchsau.org goto the dns, add the virtual domain gallery and be done. This also give you redendancy, you only need to backup the /g2data (checking with gallery.menalto.com) as we have v3 coming out soo. |
#297
|
|||
|
|||
thanks for this!
|
#298
|
|||
|
|||
Not sure if people are still reading this/keeping up with this.
I figured I'd give it a shot on my 3.8.2 vb. Works fairly well, but something's not quite right on the gallery2.php page http://www.cobraisland.com/forums/gallery2.php Anyone have any idea's/solutions on this one? Thanks in advance for any help! *Edit* Doesn't look so bad when viewing as a guest, but here's what it looks like with all the admin options pretty out of whack: Screenshot *Further Edit* For some reason it's not showing the pics I've uploaded either. |
#299
|
|||
|
|||
|
#300
|
|||
|
|||
Ah...d'oh!
Many MANY Thanks! --------------- Added [DATE]1245306369[/DATE] at [TIME]1245306369[/TIME] --------------- Okay, maybe because it's almost 2:30am, but I'm not seeing where on the page there's a /forums/forums issue. *edit again.* Okay, I see now. Now to figure out how to fix it :lol --------------- Added [DATE]1245364635[/DATE] at [TIME]1245364635[/TIME] --------------- Alright, I've tried everything I can think of, looked everywhere I can think of, and still I can't figure out why the images have the /forums/forums issue. Anyone have any idea's that can help? |
#301
|
|||
|
|||
Hey people, FYI, that Gallery 3.0 is out. I am pretty sure there is a new thread about Vbulletin Intergration on their forums. 3.0 is a whole new rewritten platform.
http://gallery.menalto.com/gallery_3.0_beta_1_released |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|