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)

Codeman05 09-18-2006 09:08 PM

Thanks, I'll play with the script a bit and see what I can come up with.

As far as the remote goes, the "imbedded java upload client" isn't working as well. I'll double check the paths but I think they were correct.

Thanks for the help!

Akagi 09-19-2006 10:37 AM

Quote:

Originally Posted by SilVert
he speaks the troof! ;)

the integration script HAS TO BE VISITED for VBB/Gallery to integrate. how it works is basically as 2 totaly seperate islands with a small bridge. so when you cross the brodge you get an account. if you do not cross the bridge, you dont get an account.

hows that for a beach like explination ;)

thanks for the clarification guys!
it's working great now cheers!

GrandAmGuru 09-21-2006 07:50 PM

I posted this up over on the menalto forums too in hopes of a resolution for a funky problem.

I'm integrating Gallery2 into my vBulletin script (which is essentially done). The problem I have is the folder navigation within the Gallery. Say I have a folder called Jeremy under the main Gallery. If I'm in the Jeremy folder and want to navigate back to Gallery (by clicking the breadcrumb link under the Gallery logo) it does a random google search on 'forum'. The same holds true for any nested folders. If you try to go up the breadcrumb trail it's doing that random search.

Codeman05 09-23-2006 02:13 AM

Quote:

Originally Posted by Codeman05
Thanks, I'll play with the script a bit and see what I can come up with.

As far as the remote goes, the "imbedded java upload client" isn't working as well. I'll double check the paths but I think they were correct.

Thanks for the help!

Still no luck, this is what I'm getting with the java upload...
"Upload error: Upload failed: 'user id: 5 doesn't have permission: core.addDataItem for item id: 22'."

Any suggestions?

GrandAmGuru 09-25-2006 02:33 PM

1 Attachment(s)
Ok, disregard my previous post. I have the gallery working fully outside the forum. When I view it from an embedded view, something is up with the style. I don't have all the navigation links like I do when I view outside the forum.

Check the screen caps below.

I known when I was monkeying around with it before it did this same thing, and I ended up completely removing and reinstalling. Could it possibly be a corrupted style or something?

fishhub 09-28-2006 06:34 AM

My installation completed and things work fine, except the link below user within VB once click on error comes out:->

You don't have permission to access /forum/gallery2/g2data/albums/xxxxx/ on this server.

Can any kind soul help? Thanks.

xitrum 10-03-2006 04:54 PM

1 Attachment(s)
Hi all,

I follow instructions to install gallery2 on the same root folder as my forum and everything seems to work ok. I was able to upload and view images as standalone version:

http://<mydomain>/forum/gallery2/main.php

but when I switch to the embeded version:

http://<mydomain>/forum/gallery2.php

I don't see any thumbnails in my gallery? Any idea. TIA for you help.

-xitrum

PS. Gallery 2.1, VBB 3.6

Chet T16 10-04-2006 06:39 PM

Can anyone tell me what to remove from the gallery code posted so that it is a purely visual integration?

xitrum 10-04-2006 10:11 PM

OK. I tried again with a new installation on my local machine and everything seems to work (now even thumbnails displayed when i access gallery2.php) ...except when I add a new item to the album.

After uploaded a new photo, the browser refresh with this URL:

http://<mydomain>/gallery2.php?g2_view=core.ItemAdmin&g2_subView=cor e.ItemAddConfirmation&g2_itemI d=7&g2_statusId=x5a383bbd&g2_navId=x58f76c22

It should have been:

http://<mydomain>/forum/gallery2.php?g2_view=core.ItemAdmin&g2_subView=cor e.ItemAddConfirmation&g2_itemI d=7&g2_statusId=x5a383bbd&g2_navId=x58f76c22

So the script actually pickup only the basename of the domain name. If I insert /forum to the URL and refresh then it works!

Can someone please help showing me how to fix this problem? TIA.

-xitrum
================================================== =================
I think I found the problem now. It was with these 2 lines in gallery2.php file

$ret = GalleryEmbed::init(array('embedUri' => '/forum/gallery2.php',
'g2Uri' => 'http://<full domain name>/forum/gallery2/',

The first line must have full path from the root of httpd. The second line should have the full domain name.

Everything works now. Thanks. Great mod.

xitrum
================================================== ============================
Man... I am having a headache with this and almost giving up now.. Wonder if anyone with the same problem or anyone can help out with this.

My standalone gallery2 works fine with:

http://<mydomainurl>/forum/gallery2/main.php

but when I tried the embeded version, I lost the theme and only the text display so it take up a lot of screen real estate:

http://<mydomainurl>/forum/gallery2.php

I have gallery2 installed as:

$htdocs/forum/gallery2

On my local test machine, the embeded version display correct theme. Only the production env it doesn't display correctly. Don't know what the differences are. There must be a very simple explanation to this! PLEASE HELP. TIA

xitrum

xitrum 10-05-2006 04:35 PM

1 Attachment(s)
================================================== ==
I found out that the path to images directory is not correct when using the
embeded gallery link. Images link shown:

http://<domainurl>/forum/images/galleryLogo_sm.gif

instead of:

http://<domainurl>/forum/gallery2/images/galleryLogo_sm.gif

where:

Forum installed at: http://<domainurl>/forum

Gallery2 installed at: http://<domainurl>/forum/gallery2

Can someone please shed some light on this issue? TIA.

-xitrum


All times are GMT. The time now is 12:22 PM.

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.01543 seconds
  • Memory Usage 1,744KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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