Quote:
forum is in racersden.net/forum
gallery is in racersden.net/gallery
template name is gallery
integration name is gallery.php
|
silvert my forums is in vampirecommunity.com/forums
gallery is vampirecommunity.com/gallery2
template name is gallery2
integrations name is gallery2.php
that's why I can't figure out why it won't work. here's the snippets in gallery2.php where I have to set the paths and as far as I know it's the only places I"m supposed to edit anything.
Code:
// Full path to vBulletin
define('CWD', '/home/vampirec/public_html/forums');
// Call global.php
require_once(CWD . '/global.php');
Code:
function runGallery() {
global $vbulletin, $userinfo;
require_once('/home/vampirec/public_html/gallery2/embed.php');
Code:
$ret = GalleryEmbed::init(array('embedUri' => '/gallery2.php',
'g2Uri' => 'http://www.vampirecommunity.com/gallery2/',