Register Chat Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
  #181  
Old 10 Oct 2006, 20:23
brvheart's Avatar
brvheart brvheart is offline
 
Join Date: Jul 2005
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?
__________________
Website: www.mmaworld.org
Reply With Quote
  #182  
Old 17 Oct 2006, 19:16
SilVert SilVert is offline
 
Join Date: Oct 2003
wow, i go away for a month and i haev 500 questions

Originally Posted by Codeman05
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?
can you post the code that you have inserted into the integration script? i will haev to look around in the code again to see if i can find the right code to pull..

Originally Posted by GrandAmGuru
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?
the issue is realted to the URL REWRITE!!!! the rewrite does not play well with "embed mode". somebody said in this thread they had it working, but i haev yet to have it all working... remove all of the check boxes and add them in 1 by one... i only have 2 or 3 things workin with the rewrite....

Originally Posted by fishhub
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.
where is your path pointing?

give me this info:
webadress:
forum lacation:
gallery location:
where the integration file is:



Originally Posted by xitrum
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
im going to blame this one on the URL rewrite again.... try to uncheck everything, validate it all works, then check things one by one till they stop working...

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...


Originally Posted by Chet T16
Can anyone tell me what to remove from the gallery code posted so that it is a purely visual integration?
can you give me more detail on what you are looking for?

Originally Posted by xitrum
====================================================
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 really hate to say this again.. but looks like URL rewrite... try disabling all of the rewrite and see if it works fine...

Last edited by SilVert : 17 Oct 2006 at 19:18. Reason: Automerged Doublepost
Reply With Quote
  #183  
Old 17 Oct 2006, 19:24
GrandAmGuru's Avatar
GrandAmGuru GrandAmGuru is offline
 
Join Date: Jan 2002
Originally Posted by SilVert
the issue is realted to the URL REWRITE!!!! the rewrite does not play well with "embed mode". somebody said in this thread they had it working, but i haev yet to have it all working... remove all of the check boxes and add them in 1 by one... i only have 2 or 3 things workin with the rewrite....
I've gone and completely uninstalled the url rewrite module and the thumbnails work. As soon as I enable any portion of it. thumbs are gone. Either way it strips the navigation stuff and replaces it with basic text
__________________
Jeremy
www.GrandAmGT.com

Last edited by GrandAmGuru : 17 Oct 2006 at 20:36.
Reply With Quote
  #184  
Old 17 Oct 2006, 19:32
Chet T16 Chet T16 is offline
 
Join Date: Oct 2005
Originally Posted by SilVert

can you give me more detail on what you are looking for?
I'm using the gallery as a database for scans from magazines and newspapers etc so i only need 1 user to be able to upload and be admin, all of the other existing vB members only need access as a guest.

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
Reply With Quote
  #185  
Old 18 Oct 2006, 05:41
xitrum's Avatar
xitrum xitrum is offline
 
Join Date: Feb 2004
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
Reply With Quote
  #186  
Old 18 Oct 2006, 14:18
SilVert SilVert is offline
 
Join Date: Oct 2003
Originally Posted by Chet T16
I'm using the gallery as a database for scans from magazines and newspapers etc so i only need 1 user to be able to upload and be admin, all of the other existing vB members only need access as a guest.

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
somewhere in this thread i put some code inplace that will only create user accounts if they are in X VBB group... if they are not in the group they will only view as guest

Originally Posted by xitrum
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
sure thing. sorry it took me so long to get back to you(been SLAMMED at work) if i even helped at all

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

Last edited by SilVert : 18 Oct 2006 at 14:24. Reason: Automerged Doublepost
Reply With Quote
  #187  
Old 20 Oct 2006, 06:08
syclone13 syclone13 is offline
 
Join Date: Mar 2005
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.
Reply With Quote
  #188  
Old 20 Oct 2006, 17:03
xitrum's Avatar
xitrum xitrum is offline
 
Join Date: Feb 2004
I believe they are in "Registered User" group by default.
Reply With Quote
  #189  
Old 22 Oct 2006, 16:21
Codeman05 Codeman05 is offline
 
Join Date: Oct 2002
Originally Posted by SilVert
can you post the code that you have inserted into the integration script? i will haev to look around in the code again to see if i can find the right code to pull..
This what you want?


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and this is the error I recieve using the java applet template:
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?

Last edited by Codeman05 : 22 Oct 2006 at 16:46. Reason: Automerged Doublepost
Reply With Quote
  #190  
Old 23 Oct 2006, 02:34
Dimitrio Dimitrio is offline
 
Join Date: Aug 2006
Not working...

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.

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/veguild/public_html/forums/gallery2.php at line 95 (galleryembed::createuser)
* in /home/veguild/public_html/forums/gallery2.php at line 50
And yes installed the plugins, but they are not working.

Last edited by Dimitrio : 23 Oct 2006 at 02:38.
Reply With Quote
  #191  
Old 30 Oct 2006, 18:53
SilVert SilVert is offline
 
Join Date: Oct 2003
Originally Posted by Codeman05
This what you want?

and this is the error I recieve using the java applet template:
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?

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.

Originally Posted by Dimitrio
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.



And yes installed the plugins, but they are not working.
this is the classic problem(which if you would read back i have stated 500 times by now) of you trying to log into Gallery with the VBB user number 1, most likley Admin.

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.

Last edited by SilVert : 30 Oct 2006 at 18:55. Reason: Automerged Doublepost
Reply With Quote
  #192  
Old 01 Nov 2006, 22:28
weeno weeno is offline
 
Join Date: Jan 2002
is there a demo of this?

arn
Reply With Quote
  #193  
Old 09 Nov 2006, 18:02
SilVert SilVert is offline
 
Join Date: Oct 2003
Originally Posted by weeno
is there a demo of this?

arn
if you want...
Http://www.racersden.net/forum/gallery.php
Reply With Quote
  #194  
Old 15 Nov 2006, 15:20
chevy01xtreme chevy01xtreme is offline
 
Join Date: Jan 2004
Real name: Joe
Re: Gallery 2.1 and vBulletin 3.5.X integration

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)

Fatal error: Call to a member function on a non-object in /home/sonezero/public_html/forum/global.php on line 241
Reply With Quote
  #195  
Old 16 Nov 2006, 16:30
Dimitrio Dimitrio is offline
 
Join Date: Aug 2006
Originally Posted by SilVert View Post
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.



this is the classic problem(which if you would read back i have stated 500 times by now) of you trying to log into Gallery with the VBB user number 1, most likley Admin.

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.
how can I do that"?

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

Last edited by Dimitrio : 17 Nov 2006 at 06:24. Reason: Automerged Doublepost
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Article Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 18:01.

Layout Options | Width: Wide Color: