Quote:
Originally Posted by johnmont
I saw your post on the gallery site...it was a bit cryptic but one of the devs answered your question earlier in the thread:
http://gallery.menalto.com/node/35249
Basically -- when you delete an emebedded user in gallery (from the site admin page) it doesn't delete all of the information related to the user. One user reference still exists in the externalIdMap table....this is the table that links a userid from VB to a userid in gallery. And when you're trying to recreate the user, the userid exists in externalIdMap already -- so it fails. Embedded gallery is designed to have all user functions controlled by the embedding app (VB). So what you get when you delete a user from within Gallery and not the embedding app is to be expected...or explained at least. Its not really robust, imho...but since you should really be creating a Gallery user when a user is created in VB -- it makes a bit of sense.
That being said, that's why I created the plugins for VB....so that you can control the users from VB. And why i'm working on the group thing.
|
yea he "anwsered" the question. but the problem is that i only want users in group X to be able to upload to the gallery. so i dont want to create a user account out of the box.
i already have an IF statement in place to create for ONLY user in group x. but say one of the users does nto want gallery anymore(its a paying service on my site), so i remove his account(or whatever). then he wants the ability back. i cant simply add the user into teh correct VBB group and the user be happy.
im just looking for the most seamless integration possible
there was some code that i found on the G2 forum that attempted to reolve the issue. but i aquired a bunch of errors once i put the code in place.