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! |
#22
|
|||
|
|||
Bottom line here is that the embed.php file can't be found.
Code:
Failed opening required '../forum/gallery2/embed.php' |
#23
|
||||
|
||||
Quote:
Code:
/home/admin2/public_html/purephat/forum/gallery2.php on line 60 Vbulletin should be installed into your Code:
public_html Code:
/forums Code:
/public_html/gallery2 Here is the answer and here is how to move you existing installations hope this helps cause it works great for me! Awesome job guys:banana: |
#24
|
|||
|
|||
Quote:
it gives me only a white screen. |
#25
|
|||
|
|||
Quote:
|
#26
|
|||
|
|||
Quote:
|
#27
|
|||
|
|||
here is what get, i donno what to do, i tried to change things to see if it fixes it but nothing works
http://www.el-halawa.net/forum/gallery2.php |
#28
|
|||
|
|||
$ret = GalleryEmbed::init(array('embedUri' => '/gallery2.php',
'g2Uri' => 'http://www.yoursite.com/gallery2/', 'loginRedirect' => 'index.php', if I edit this line the icon gallery will not show. if I 'http://www.paranormalis.com/gallery2/ it work fine but there are differnt problem For some reason when I try to upload a picture to album I will not should in the forum, but when I go direct too gallery2 it show. does anyone has this problem or just me ? |
#29
|
|||
|
|||
Quote:
also known as the Mod Rewrite module from apache. also, if your setup is like mine.... VBB: yoursite.com/forum/gallery.php Gallery: wourstie.com/gallery/ you dont need the leading / in the embedUri if your setup is like mine... g2uri should be "http://www.luuhoanggallery.com/gallery/" for you. or you can make the g2uri "/gallery/" and it will work. i just verified that on my site. so that might also help(i personaly like that better) jsut and FYI . |
#30
|
|||
|
|||
silvert, do you know what could be causeing my errors?
i looked in my php.ini it says url_rewriter.tags a=href,area=href,frame=src,form=,fieldset= |
#31
|
|||
|
|||
thank it work now thank very much... I have one more question.. do you know any smtp service that is free? I use to use yahoo but it seem like this gallery does not like yahoo stmp
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|