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)

Akagi 08-29-2006 09:58 AM

thanks SilVert!!! it's finally working fine now!

One question, i installed the plugin on the first page..apparently, it deletes gallery users and update the vb users to gallery..why is it that it doesn't really mirror the vb users in gallery? still see the same default gallery users on my gallery site admin

Svobi 08-29-2006 10:26 AM

Hiyas!
I got a gallery2 with about 180 Users and I'm interested in using them together with or within vBull. How do these scripts / hacks work exactely? Is this possible what I want?

Cheers! :D

SilVert 08-30-2006 06:23 PM

Quote:

Originally Posted by Akagi
thanks SilVert!!! it's finally working fine now!

One question, i installed the plugin on the first page..apparently, it deletes gallery users and update the vb users to gallery..why is it that it doesn't really mirror the vb users in gallery? still see the same default gallery users on my gallery site admin

glad i could help. i know i focused a TON of time into getting the script to work when i had that error :)

can you be a bitmore specific with your question? they are two seperate Databases, they both track users differently. if you look at the database table ?externalid's? it mapps the VBB userid to the gallery userid. that table is there for the sole purpose of integration.

is that the anwser you were looking for?

Quote:

Originally Posted by Svobi
Hiyas!
I got a gallery2 with about 180 Users and I'm interested in using them together with or within vBull. How do these scripts / hacks work exactely? Is this possible what I want?

Cheers! :D

so you already have Gallery installed and VBB installed but as 2 seperate entities all together correct?

without creating a SQL script, manualy manipulating the table in gallery, or getting the plugin to work, i dont really see an easyer way to do it.

as far as i know there is no automated script out there already to do what you are looking for. now i can help you with what i know about the gallery and vbb ID's to track ID's and groups :)

Svobi 08-30-2006 07:59 PM

Quote:

Originally Posted by SilVert
so you already have Gallery installed and VBB installed but as 2 seperate entities all together correct?

without creating a SQL script, manualy manipulating the table in gallery, or getting the plugin to work, i dont really see an easyer way to do it.

as far as i know there is no automated script out there already to do what you are looking for. now i can help you with what i know about the gallery and vbb ID's to track ID's and groups :)

Hiyas!

No, atm I only got a gallery2 installed but I'm looking for a board solution to add! I already know vBull so of course this is my first idea if it'd work to bring the gallery users into vBull - syncing or whatever. If this works flawless I'd prefer it more then seeking fore phpBB solution.... :D

Jon. 09-06-2006 04:05 PM

Having problems :(

I'm running 3.6, and when i visit the gallery2.php logged in as me (member #1) it gives me the error that m0nde gets. When i log out completely, or log in as someone else, i just get a blank screen with no source code. Any ideas?

EDIT

I wasn't using the skin that i'd put the template in :blush:

Now, though, there's this php error at the top:
Code:

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 154 (gallerycoreapi::error)
    * in modules/core/classes/GalleryEmbed.class at line 360 (galleryuser::create)
    * in /home/jonf/public_html/forum/gallery2.php at line 95 (galleryembed::createuser)
    * in /home/jonf/public_html/forum/gallery2.php at line 50

and my forum below with nothing under the "Gallery" header.

Screenies:
http://img347.imageshack.us/my.php?i...6191204wz8.jpg
http://img347.imageshack.us/my.php?i...6191231xz2.jpg

EDIT2
Only happens when logged in as me. Everyone else gets a working page, but no images in the gallery section...
http://img347.imageshack.us/my.php?i...6191554uh5.jpg

EDIT3

Ok, plan B. Could somebody alter the gallery2.php file so that it just creates the user accounts for the gallery? I can then add a redirect or link to the main gallery. I understand this isn't really the place to ask, but i wondered if anyone else had done the same.

Akagi 09-07-2006 07:53 AM

Quote:

Originally Posted by SilVert
glad i could help. i know i focused a TON of time into getting the script to work when i had that error :)

can you be a bitmore specific with your question? they are two seperate Databases, they both track users differently. if you look at the database table ?externalid's? it mapps the VBB userid to the gallery userid. that table is there for the sole purpose of integration.

is that the anwser you were looking for?

actually, the problem that i'm having is that the VBB users ain't mapped on my gallery user database. VBB has 6k users and gallery has only 2. Any idea?

Jon. 09-09-2006 06:10 PM

Are you getting your users to visit the gallery2.php file? To my knowledge, it won't auto-create them until you visit that page.

SilVert 09-13-2006 08:04 PM

Quote:

Originally Posted by Jon.
Having problems :(

I'm running 3.6, and when i visit the gallery2.php logged in as me (member #1) it gives me the error that m0nde gets. When i log out completely, or log in as someone else, i just get a blank screen with no source code. Any ideas?

EDIT

I wasn't using the skin that i'd put the template in :blush:

Now, though, there's this php error at the top:
Code:

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 154 (gallerycoreapi::error)
    * in modules/core/classes/GalleryEmbed.class at line 360 (galleryuser::create)
    * in /home/jonf/public_html/forum/gallery2.php at line 95 (galleryembed::createuser)
    * in /home/jonf/public_html/forum/gallery2.php at line 50

and my forum below with nothing under the "Gallery" header.

Screenies:
http://img347.imageshack.us/my.php?i...6191204wz8.jpg
http://img347.imageshack.us/my.php?i...6191231xz2.jpg

EDIT2
Only happens when logged in as me. Everyone else gets a working page, but no images in the gallery section...
http://img347.imageshack.us/my.php?i...6191554uh5.jpg

EDIT3

Ok, plan B. Could somebody alter the gallery2.php file so that it just creates the user accounts for the gallery? I can then add a redirect or link to the main gallery. I understand this isn't really the place to ask, but i wondered if anyone else had done the same.

the problem is that you are using ID #1 in VBB, in gallery #1 is already assigned so you are getting a collision of sorts.... i know i have mentioned how to fix this previously so i dotn truthfully remember EXACTLY how to resolve this. but here is somewhat what i remember:

there is a table in the gallery 2 database called ?extIDs?(external ID's). this table houses the VBB user ID and then maps it to the Gallery 2 user ID. so if you find the gallery users ID 1, map it to VBB's userID 1. i THINK that will do it. if not it is something along those lines.

Quote:

Originally Posted by Jon.
Are you getting your users to visit the gallery2.php file? To my knowledge, it won't auto-create them until you visit that page.

Quote:

Originally Posted by Akagi
actually, the problem that i'm having is that the VBB users ain't mapped on my gallery user database. VBB has 6k users and gallery has only 2. Any idea?

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 ;)

Codeman05 09-17-2006 11:57 AM

Hi SilVert,

Quick question that maybe you can help me with. I have a few different usergroups on my board and I would like to have different quotas for them in the gallery 2 integration.

I've already setup corresponding usergroups in Gallery 2 with the same usergroup names and IDs as those on the forum.

Should the Update/Integration script be reading my members usergroup ID off of the forum and setting that same ID into Gallery (because it is not).....or do I need to modify the script?

Everything else is working great however

Edit
One other issue I have noticed is that users trying to use Gallery remote are unable to authenticate. Not a huge deal, I just wanted to make sure this was "normal"

SilVert 09-18-2006 01:00 PM

Quote:

Originally Posted by Codeman05
Hi SilVert,

Quick question that maybe you can help me with. I have a few different usergroups on my board and I would like to have different quotas for them in the gallery 2 integration.

I've already setup corresponding usergroups in Gallery 2 with the same usergroup names and IDs as those on the forum.

Should the Update/Integration script be reading my members usergroup ID off of the forum and setting that same ID into Gallery (because it is not).....or do I need to modify the script?

Everything else is working great however


Edit
One other issue I have noticed is that users trying to use Gallery remote are unable to authenticate. Not a huge deal, I just wanted to make sure this was "normal"


i was experimenting with the group memberships a while ago, and never made much headway. it was mostly due to not haveing the script work originaly. but i think it is possible.... basically you would haev the create user part go through, then insert some code saying if in this VBB group ID put them in the Gallery group.

it is doable, but i dont haev the code infront of me :)

Gallery remote, i belive that problem has to do with pointing to the wrogn location. if your deisgn is:
root\gallery
root\forum
root\forum\gallery.php

you would have to point the Remote to root/gallery to get it to work... i dont think the remote understands embed'd sites.....


All times are GMT. The time now is 01:44 AM.

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01991 seconds
  • Memory Usage 1,782KB
  • 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_code_printable
  • (8)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