vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   Gallery 2.1 and vBulletin 3.5.X integration (https://vborg.vbsupport.ru/showthread.php?t=111931)

defcon_420 04-19-2006 01:53 AM

i think your best off to move your exising installations as brent explained in THIS POST the problem Brent ran in to was that it expected files referenced by global.php to be located in places that they aren't...

HERE are the instruction to move your current installs

I use vbadvanced 2.1 on vbulletin 3.5.4 with gallery 2.1 and it all works great!

silkie 04-19-2006 03:06 AM

I must be having a super blonde moment because for some reason I just can't seem to catch on to this extremely simple newbie concept. are you saying you don't have your vb installed in your portal directory? don't you HAVE to have it in the portal directory? if that's the case where do you have your portal directory and how did you get around the whole forums having to be in the portal directory thing?

defcon_420 04-19-2006 04:47 AM

Quote:

Originally Posted by silkie
ie:
home/
gallery2/
portal/forums/gallery2.php

install your vbulleting into your webroot directory, install your portal into your webroot directory then install your gallery2 into /gallery2
so
vb = /
portal =/
and gallery2 = /gallery2

:banana:

silkie 04-19-2006 01:12 PM

ok I'll give that a try. I re-read the vba install file, it doesn't say it has to be in the portal directory. I'm not sure why I thought it had to be in the portal directory other than I was thinking of vbportal. thanks for the quick response defcon, hopefully I won't have to bother you anymore.

p.s. cute nanner! LOL

I don't know what I"ve done but now my css isn't working for my portal. it's working fine in my forums page though. look here maybe you can tell me what I"ve over looked (again)

portal:
www.vampirecommunity.com/forums/index.php

forums:
www.vampirecommunity.com/forums/forum.php

I renamed my forums to forum.php and put my portal in my forums directory and named it index.php still no go with my style

SilVert 04-19-2006 02:47 PM

i dont know anything about VBadvanced... so here is my .02 :)

it can work with your current structure... but you need to have the gallery.php file in your forums root(as far as i know, not the protal root). then the paths must be entered from that point... so if i am reading it correctly... it shoudl look like this:

PHP Code:

$ret GalleryEmbed::init(array('embedUri' => 'gallery2.php',
        
'g2Uri' => '/gallery2/',
        
'loginRedirect' => 'index.php',
        
'activeUserId' => $uid)); 

as long as it is in the forum directory, i think this will work for you... but you might also need to change the path for the global.php(mine is ./global.php since it is in the forum root).

silkie 04-19-2006 02:50 PM

I guess I'll get back to that as soon as I figure out why I lost my css style :(

gosh darn it! now I can't log in either

just moved my cmps_index.php (renamed to index.php) to root and it's still a no go with the style.

SilVert 04-19-2006 07:09 PM

the css on gallery will come along once you have all the paths correctly inserted. or they should.. i dont really have a test site to play with that has vbadvanced. i have plain jane VBB :)

silkie 04-19-2006 08:16 PM

I finally got my design back for the most part. I had to do a complete uninstall and then reinstall. I'm not sure why but it fixed it for the most part. there's a couple of tweaks I still have to redo but nothing major. now I can play with the gallery part.

oh and thanks for your help

I'm still getting this error on my gallery
line: 98, Failed to create G2 user with extId [1]. Here is the error message from G2:
Error (ERROR_COLLISION)
in modules/core/classes/GalleryUser.class at line 166 (gallerystatus::error)
in modules/core/classes/GalleryEmbed.class at line 300 (galleryuser::create)
in /home/vampirec/public_html/forums/gallery2.php at line 95 (galleryembed::createuser)
in /home/vampirec/public_html/forums/gallery2.php at line 50

I'm going to try the way around this like earlier posted but I have one question.

I have more members than just myself...so when I make another ID do just make a new user period or does it matter what ID I give that user?

SilVert 04-21-2006 05:04 PM

Quote:

Originally Posted by silkie
I finally got my design back for the most part. I had to do a complete uninstall and then reinstall. I'm not sure why but it fixed it for the most part. there's a couple of tweaks I still have to redo but nothing major. now I can play with the gallery part.


oh and thanks for your help

I'm still getting this error on my gallery
line: 98, Failed to create G2 user with extId [1]. Here is the error message from G2:
Error (ERROR_COLLISION)
in modules/core/classes/GalleryUser.class at line 166 (gallerystatus::error)
in modules/core/classes/GalleryEmbed.class at line 300 (galleryuser::create)
in /home/vampirec/public_html/forums/gallery2.php at line 95 (galleryembed::createuser)
in /home/vampirec/public_html/forums/gallery2.php at line 50

I'm going to try the way around this like earlier posted but I have one question.

I have more members than just myself...so when I make another ID do just make a new user period or does it matter what ID I give that user?

your error is cause you are trying to log into Gallery with the vbb admin account(aka acount #1), there is already a 1 created in gallery. that is the reason you are getting that error. or atleast in my experances :) if you jump into the gallery with another user account(created by VIA the script or not) it should work.

if you are using the plugin approach:
i belive the way it will work is that when a new user is created(VIA VBB), the plugin will be trigered and create an account in the gallery system... same idea when you delete a user account. but i am not using this method as of yet

if you are soley using the integration script:
when you hit the script for the 1st time(assumeing you have met all the pre req's) it will create your user account. once that is done the rest of the configuration is all done VIA gallery. if you delete a user out of VBB, you will have to delete the user manualy out of Gallery.

does that all make sence to you?

ztempuser 04-23-2006 03:16 AM

i have a few mod questions, how can i remove these from the bottom of my pages?
http://el-halawa.net/forum/gallery2/images/xhtml10.pnghttp://el-halawa.net/forum/gallery2/images/gallery.gifhttp://el-halawa.net/forum/gallery2/...-blackjack.pnghttp://el-halawa.net/forum/gallery2/...ata/donate.png
also i'm useing the classic theme and at the top it has like this bar that tells you where your at *ex: if im in a sub album like lets say cars, so at the top it will say gallery/cars/ and they are links as well* (lol) well for some reason they are showing up to small on the gallery page on my forum, but in the normal gallery2/main.php the text is just fine


All times are GMT. The time now is 08:18 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01533 seconds
  • Memory Usage 1,753KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete