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 |
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 |
Quote:
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:
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 :) |
Quote:
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 |
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: 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. |
Quote:
|
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:
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:
Quote:
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 ;) |
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" |
Quote:
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..... |
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! |
Quote:
it's working great now cheers! |
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. |
Quote:
"Upload error: Upload failed: 'user id: 5 doesn't have permission: core.addDataItem for item id: 22'." Any suggestions? |
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? |
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. |
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 |
Can anyone tell me what to remove from the gallery code posted so that it is a purely visual integration?
|
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 |
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 |
I am having the issue of having created a user with the userid of 1 bumping with the one that VB has for me as an admin.
I am not clear on how to fix this even though I have been reading this thread all day :( Could someone please give me a hand? |
wow, i go away for a month and i haev 500 questions ;)
Quote:
Quote:
Quote:
give me this info: webadress: forum lacation: gallery location: where the integration file is: Quote:
right now, i bet that if you look at where the links point it is saying something like <site name> gallery/v/xxxx/xxxx. the key is that v. that is from the url rewrite. and the embed mode does not understand that very well... Quote:
Quote:
i really hate to say this again.. but looks like URL rewrite... try disabling all of the rewrite and see if it works fine... |
Quote:
|
Quote:
Since posting this question i have managed to get it working the way i wanted, even tho accounts are being created the users can't add or edit to the gallery. Originally i was importing users from phpBB and that was leading to admin conflicts etc |
Thanks Silvert. I got my gallery working ok now. I think it's the path that's not correct. My only problem is that when the user access gallery2.php the first time. The embeded script create a user in the gallery2 database but the password isn't correct. Using the same password, user can't login to the standalone gallery. This is not a big deal since user can access the gallery after login to the forum.
Another note, is there a mod to display the most recent added albums or most view images, etc... I thought I saw it somewhere but couldn't find it. That would be a nice feature especially when you have a lot of nested albums. Great mod and great work. Thanks a million. -xitrum |
Quote:
Quote:
the standalone password is explained somewhere. when VBB assignes the password it injevts "salt(<password>)" or something like that into the password. so it will work fine embed, but when you goto the standalone version, you would have to enter salt(insertpasswordhere). im 99% sure that is the right "frase" but i cant remember EXACLTY what it is. it has been documented somewhere. it might be in the gallery integration script for versions prior to 3.5(aka 3.0) thereis somethign inside of gallery called ?imageblock? i think that allows you to view a random image etc. there is also a way to point to a gallery image or gallery via an external site. i have not messed with this at all, but i knwo it exists. now if it wil do the most recent images etc, i do not know. sorry, i dont have all the anwsers :( ;) |
Just to jump in because I didn't see it noted elsewhere in the thread...
I installed everything and it is functioning just fine, images and all work, users are created in the gallery2 database, however the users dont seem to have any rights in gallery2. I can't figure out what group they are a part of in g2 as they dont seem to be listed as members of any of the groups that exist. I have a barebones g2 install so I'm wondering if its some config options, some modules I didn't install or if I'm missing something. The users viewing the embeded gallery get logged in as it shows their usernames in the view, but they just dont have access to upload or do anything beyond view the gallery. |
I believe they are in "Registered User" group by default.
|
Quote:
PHP Code:
Upload error: Upload failed: 'user id: 5 doesn't have permission: core.addDataItem for item id: 1007'. I get the same error when trying to upload on 2 different user accounts well, I don't know what I did, but it works now lol. I do have another question though if anyone can help. I have a couple of "premium usergroups" on our forum and I would like to be able to give them a larger quota in the gallery. Any suggestions on how to modify the creation/update scripts to get it to translate a forum groupID into the gallery group? |
This is not longer working or not working as intended.
When I am not logged as administrator, the page appears in blank. And when I am logged in as administrator, I get several errors. Quote:
|
Quote:
not what i meant... i just went into /gallery/modules/core/admineditgroupuser.inc and found the code THEY USE. i have not attempted to make this work.... I think this is the right code "$ret = GalleryCoreApi::addUserToGroup($user->getId(), $groupId);". but there is a check right above this code in that file to make sure the users is not already in that group. i am no coding guru so i wont be able to make thiw work without alot of time invested. i have the knowledge of how it shoudl be done, but i dont know how to impliment somethign like this. sorry guys.. but you can easily look into what each page does if you look in the folder where this file reside. maybe it will help you out. if anybody does figure it out, plese post up the code. i would love to us it. right now my code is working, but it is the wrong way IMO... so, Codeman05, i can give you the code that i have to create users and not create users, but i do not have anythign inplace RIGHT NOW that would allow for what you want... sorry. wish i did. Quote:
you have to go into the gallery DB and manipulate the ExtID's table to point user #1 in gallery to #1 in VBB... i have said this a bunch of times... PLEASE SEACH PEOPLE. |
is there a demo of this?
arn |
Quote:
Http://www.racersden.net/forum/gallery.php |
I've done everything as stated, changed the necessary items, but now I get this error when viewing my gallery.php (what i named it)
Quote:
|
Quote:
Ok is working at the moment, but unfortunately is not showing up some of the images that it should show up, like the blackjack image, etc.. http://www.veguild.org/forums/gallery2.php |
Alright, I have a question dealing with this, so lets see if I can make sense.
I decided to make the gallery stand alone because of problems with embedding, and I wanted to use the url rewrite. Anyway, what I need to figure out is how to still have the gallery recognize when a user is logged in, so they don't have to register in the gallery as well, like how the embedded gallery worked, where if they were logged into the forum, they were logged into the gallery... any ideas on how to do this? btw I am using vb 3.6.3 |
Howdy
Just installed this yesterday and must have spent a hour reading over this thread. My issue has been mentioned before but im unclear as how to fix it. Basically everything works, when users view the gallery it automatically makes them a account however they are just a guest and cannot add pictures etc. I manually changed my account to admin so it works for me,. Is it the forum structure? I have my forum installed into the main directory and not under /forum. mine is as follows /gallery2 /forum here in root /gallery.php any help would be appreciated. |
Quote:
Now you can integrate with other packages without clashing :) I'm not sure why this best practice is not in the manual but it should be as your first post install step. |
No one has any help for me?
|
Quote:
Quote:
Quote:
Quote:
Quote:
work has been so busy that i get home and dont feel like looking online AT ALL... my computer is off most of the time anyway nowadays :) |
All times are GMT. The time now is 08:42 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 | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|