Hi,
I successfully installed gallery into mambo (though uploading has to happen outside mambo).
What I would need now, is access levels for users, i.e. what gallery has already builtin, just with mambo users.
I've set up a test user (user test, pass tattoo) that is able to see a specific album under http://www.tattoo-lars.de/gallery, but when I log with the mambo user "test" into mambo http://www.tattoo-lars.de I don't see that album.
The user seems to get through, since when I am not logged in at gallery itself, then log into mambo, and refresh the gallery page, I'm logged in with that user in gallery and see the album.
Any ideas?
Lars
Posts: 12
Ok, nevermind, I got it. Within gallery, I went to permissions of the album as admin, and added the user there again (it wasn't there, though I had added it from within gallery).
Now it works, dreams come true, Full User permissions for gallery within mambo ;)
Posts: 22
Should not have to add users 2x! What is the workaround for this? :o :cry:
Posts: 28
This is exactly the problem I have. I have embedded the latest version of Gallery into the latest version of Mambo and when I create a new user in Mambo (or the user creates an account for themselves), it is not replicated to the Gallery. I would really like to get this working as the only other alternative is the Ako Gallery for Mambo and I'm more of a fan of Gallery.
Posts: 22
Crap! There is an aswer and I did it but I cannot remember what I did? [img]http://www.emotipad.com/newemoticons/Idea.gif[/img]
Please seach here and at Mambo...it might have been newer versions?
Posts: 14
you're not talking 'bout the same!
if you ADD the user twice it works, but callahan want's to add JUST in mambo, not in gallery, the problem is mambo stores in mysql and gallery stores in a file on disk (.users remember?)
so either, use the prelim. gallery2 (which does have mysql users) or 'replicate' to the .users file of gallery somehow ...
Posts: 2322
compa, that's completely incorrect.
If Gallery has been correctly configured for embedding, it uses the Mambo users, not its own.
You need to ensure that you not only did the mambo-side integration, but that you also have Gallery configured so that it knows it's inside Mambo.
Posts: 14
signe
apologies, thats correct, but if you 'just' configure gallery and install it in mambo it won't and i've seen other people on mambo doing exact the same thing, if you don't do the gallery side other than 'uploading' it to mambo it wont, or am i mistaking twice in a row?
Posts: 5
signe,
Is there a note on how to correctly configure Gallery for embedding in Mambo? I'm trying to do exactly the same thing.
Posts: 2322
alei, you set Gallery to be embedded in the config wizard - just select Mambo from the dropdown.
Once you have done that, read the instructions in the gallery/contrib/mambo/HowTo.txt file for details on how to set it up inside Mambo.
Posts: 5
signe,
I've just figured out why I'm having problems, I have set the admin level too high.
Thanks for your help.
alei
Posts: 5
signe,
I just realized that if I drop the admin level to all registered users, then anyone with that access can delete ANY album.
I'm not sure if the standalone verison of gallery have different level of access (i.e. Allow access to add and delete your own album only)
can you comment on that?
Thanks
Posts: 5
Has anyone had a chance to have a look at this issue? I'm reluctant to give registered users admin access if this is the way Gallery is going to intergrate with Mambo.
Thanks again.
Alex
Posts: 3
I have this same question too.
How can you make it so normal users can add photos? I don't want everyone to have admin access.
Is there anyway to do this without having two sets of accounts?
Posts: 2322
You need to edit the album permissions and GIVE people the rights to add photos.
Posts: 3
Thank you, and yes I fell stupid now ;)
ok, I'll paypal you for you time
Posts: 23
I've succeeded in installing Mambo 4.5.1 and Gallery 1.4.4 pl2 on a FreeBSD webserver. The gallery folder was installed at the same folder level as all of the other mambo folders. Gallery was then configured to be embedded in Mambo and the "Gallery Component For MOS 4.5 or newer" by Beckett Madden-Woods has been installed. The Mambo Gallery component was then configured in Mambo Admin by pointing to the gallery.xml file, as directed.
The instructions in gallery/contrib/mambo/HowTo.txt are easy to follow, up to this point. But what does the instruction below mean? What is the component/gallery backend? Is that in Mambo or in Gallery, and where? And where should the location mentioned be "filled in?"
"- Go into the component/gallery backend and fill in the location of the gallery component (eg. /home/mysite/public_html/gallery)"
A URL link from the Mambo main menu on my site to my new gallery does load the new Gallery (no photos yet) as I'd expect, but it does not appear to be embedded (wrapped) in Mambo. It has only the default Gallery appearance, not the Mambo template powered appearance.
Thanks for any help with this!
Posts: 2322
The Gallery configuration in the components section of the mambo admin.
Gallery and Mambo won't work correctly until that's filled out.
1.4.4 still has a bunch of bugs with Mambo in general. I've spent a LOT of time fixing things for 1.4.5 (in development) which should make Gallery and Mambo a complete working unit.
Posts: 23
So component/gallery backend is referring to my site's Mambo Administration, the Components/Gallery screen where the Full Server Path to Gallery is filled in? If that's the case then, okay, I've done that.
And now maybe the one missing link is to know what is the correct URL to bring up the Gallery.
If I use a standard static URL, in my case "http://mambo.twinoaks.org/gallery" to link to the new Gallery, then in fact I do reach the Gallery for this development subdomain address but the Gallery is not integrated/embedded. I did configure Gallery as Embedded in Mambo, by the way. Instead Gallery has the default Gallery wrappers. Is this the wrong URL? How do I point the link to the to the mambo Gallery component?
Great to hear that 1.4.5 will have the two working together well!
Posts: 2322
You don't use a URL. Just create a Component entry in the menu. It will prompt you which component you want to link to.
Posts: 23
Thanks again Signe! I'm getting closer to the goal. There is one remaining hurdle it appears.
In trying to create a new Menu / Main Menu item and link to the Gallery Component. The item can be created and added to the menu, but on clicking the link I'm getting an error message saying a file is missing.
/gallery/contrib/mambo/index.php
This file indeed is missing from the folder named. Not only that, I don't find that file in either the zip or tar.gz distributions of 1.4.4-pl2 available on the Gallery site. I just downloaded the zip archive to check it.
I only find the following files and folders, but no index.php :
/gallery/contrib/mambo/classes
/gallery/contrib/mambo/images
/gallery/contrib/mambo/includes
/gallery/contrib/mambo/admin.gallery.html.php
/gallery/contrib/mambo/admin.gallery.php
/gallery/contrib/mambo/gallery.php
/gallery/contrib/mambo/gallery.xml
/gallery/contrib/mambo/gallery_popup.tpl.php
/gallery/contrib/mambo/HowTo.txt
/gallery/contrib/mambo/toolbar.gallery.php
Any idea where the missing file can be found, or what is a good workaround for that?
Posts: 2322
I'm really not sure what you're doing. There is no such file and there never was.
When you create the link to Gallery, this is all you need to do:
Menu
New Item
Component
Gallery
You're not typing a URL...
Posts: 347
jmccunep
In the Gallery component in the Backend of Mambo you have to enter the full server path to your Gallery : /home/twinoaks.org/mambo/gallery/
I think you have entered the path to the Component: /home/twinoaks.org/mambo/gallery/contrib/mambo/
Regards
Kai
Posts: 23
Gallery has been installed as a component in the Mambo Administration with the full server path entered as follows.
/home/twinoaks.org/mambo/gallery/contrib/mambo/
kai_tom, I tried to do as you suggested and changed the path in the Mambo Admin Component configuration to this one
/home/twinoaks.org/mambo/gallery/
That was the needed fix. The integration has finally succeeded!
Thank you thank you signe and kai_tom for sticking with me on this.
Posts: 23
Now that Gallery appears in my Mambo powered site frontend I have a further question. Should the Gallery admin log-in link appear on the upper right of the embedded Gallery in its usual location or do I have to separately visit the Gallery's URL to get to the Gallery log-in?
I've tried changing the Mambo Gallery component permissions but that seems to make no difference.
I have the current stable versions of Mambo 4.5.1 and Gallery 1.4.4-pl2.
Posts: 347
When Gallery is embedded in Mambo, Gallery is using the Mambousers.
You have to login as admin in the Frontend of Mambo, then you could administrate the Gallery as usual.
Regards
Kai
Posts: 23
OK, my Gallery is embedded and I can see it from the Mambo frontend of my testsite mambo.twinoaks.org.
I then log in as admin to Mambo by clicking on the Administrator link from my site's Mambo front end.
Then when I view the site using Site / Site Preview, clicking the Gallery link brings up the Gallery, and it looks as I would expect at this crude testing stage, but there is no Gallery log in link on top right of Gallery.
Any clues?
Posts: 347
Hi,
you have to use the Login Form on your Frontpage (Home).
or
http://mambo.twinoaks.org/index.php?option=com_login&Itemid=25
Regards
Kai
Posts: 23
Thanks Kai. I appreciate your patient help.
It's obvious, as a possible choice anyway, now that you point to it. That's what is meant by loggin in on the front end...
Posts: 1
is there a way to set the permissions (mambo+gallery) so that registered users can create a new album that only they control (other than the superAdmin)?
It seems to be either you create an album as the superAdmin, and set permissions for everyone to be able to add photos, etc. But that limits the flexibility. Or you give the rights to everyone to create and delete albums.
I am creating a family website and I want each member to be able to create their own album, and give their own rights to those albums, but not be able to interfere accidently with others albums.
Posts: 1
I am having the same issue, I think.
I've succeeded in installing Mambo 4.5.1 and Gallery 1.4.4 pl2 separately
Now I log in to mambo and try to install a new component and in the second field I point to the directory "I renamed the unzipped folder from "gallery" to "portfolio" so type in /usr/shared/web/xxx/portfolio/ but I keep getting an "upload new component -Error (installation file not found and help here?
Posts: 23
I appreciate all the help I've gotten from users in this forum, particularly kai tom and signe.
I'm stuck on one last problem (uh, hope it's the last). I've got a working integrated installation now of Mambo 4.5.1a Stable and Gallery v1.4.4-pl2, with Gallery as a component (using the component version provide by Jim Garrett at glasgowsports.) I've even got a copy of Gallery working perfectly in every way in another area of my site, viewable here http://www.twinoaks.org/gallery .
The problem: uploaded images are not displaying in the mambo integrated gallery in my rough development site http://mambo.twinoaks.org .
More exactly, when I upload a photo an image placeholder appears, with a broken image icon in the placeholder. Logging in to the site by FTP or shell login I can see that the original photo files have in fact been uploaded and the resized and thumbnail versions are all present as they should be in the album where they should be and the file sizes seem to be correct. Every other attribute of the album created can be edited without any problems. But the images are not showing. I get the same results trying to upload using Firefox 1, Opera 7, or IE 6.
The Gallery debug messages don't reveal much either. Below is a sample debug message (with the Gallery configured to use netPBM)(I also tried Image Magick for the image processor and had same result, with different debug messages).
jpegtopnm: WRITING PPM FILE
Status: 0 (expected 0)
- Resizing ezramala_001
Executing:
'/usr/bin/jpegtopnm' '/home/twinoaks.org/mambo/gallery/albums/test1/ezramala_001.jpg' | '/usr/bin/pnmscale' -xysize 640 640 | '/usr/bin/ppmtojpeg' --quality=90 > '/home/twinoaks.org/mambo/gallery/albums/test1/ezramala_001.sized.jpg'
Results:
none
Debug messages::
jpegtopnm: WRITING PPM FILE
Status: 0 (expected 0)
No email sent as no valid email addresses were found
Posts: 2322
jmccunep, your albumDirURL is wrong.
http://mambo.twinoaks.org/albums/test1/members_yearbookphoto.jpg
.. that displays your index page.
Posts: 10
I'm having a problem here. I'm using mambo 4.5.1a and gallery 1.4.4. I followed the instructions to install gallery in mambo:
*first setting up mambo,
*then gallery with the 'mambo' selection for embedding
*then using the 1.5 contrib/mambo directory (copied to gallery/contrib/mambo) to allow the mambo to install gallery....
BUT I'm not seening any 'integration' at all between mambo and gallery. When I click on the URL link I created (as told to do in the howto.txt file in contrib/mambo) i get what looks like a standalone gallery.... when I try to login using a newly registered user from mambo i get an invalid user/bad pwd message from gallery....
it looks like I've done everything right... what am I missing?
TIA.
Posts: 2322
e1v!$, how did you create the link?
You need to edit the menu, add a new Component, and select Gallery. You never type a URL by hand... Mambo should do all of the work for you.
Posts: 10
What's in bold is what I was thinking.. I just needed a little push. It works now.. THANKS!!!
It's the directions in HowTo.txt that aren't clear, they talk about typing in the url.
"- Then add the Gallery component as URL at the place you want."
Should be changed to
- Add a Component menu item that points to Gallery
Who would I mention this to?
Posts: 10
here's the site
http://elvisx.com
Gallery shows the thumbs just fine, but when I click a thumb, the enlarged image isn't there. In-fact, looking @ the page source.. I don't even see an IMG tag for the larger image.
The gallery.php file
The line.. include(MOS_GALLERY_PARAMS_PATH . 'index.php');
produces no output. Here's a sample link
http://elvisx.com/index.php?set_albumName=album01&id=CIMG1272&option=com_gallery&Itemid=41&include=view_photo.php
Gallery code has alot too it. I need HELP!!!
Thoughts?
TIA
Posts: 10
I may be having a similar issue....
I've set the admin level in Gallery to "Administrator" but ANY registered user still has the ability to edit ANY album. (menus next to albums appear and all that)
How do I lock down permissions to registered users?
I want them to be able to
A. do anything with their own gallerys
B. not to ANYTHING to other peoples galleries (unless they're an admin)
Where do I start?
for an example check out elvisx.com, register & you'll see what I mean.
Posts: 1
I am also wanting to set up a family gallery, with multiple albums, based out of a Mambo site. I think I have it figured out how to do it without having two user databases. I am using Mambo 4.5.1a, and Gallery 1.4.4. I installed gallery in the web server's root folder alongside Mambo, ran the setup wizard, installed it as a Component a-la the instructions (with the modified XML file).
I set the Minimum authority level needed for admin privileges in Gallery to SuperAdministrator, put a link to the gallery component in my main menu, and Voila! - I can access the setup wizard from within Mambo when I'm logged in to Mambo's frontend as a SuperAdmin.
Even though in the Wizard I set the ability of logged-in users to create albums, the option does not appear in the gallery when a registered user views it in Mambo. In order to have each user have their own album(s), an admin has to create it, and set the owner to that Mambo user, in the Permissions. Then, when that user views the gallery while logged in to Mambo, the admin option links show up beside their album(s). That user has complete control over only that album and can add nested albums ad nauseum.
Since the site will not allow self-registration and will have a small group of users, this is a small inconvenience. Hopefully the system will be more fully integrated in future releases, so that pop-ups and such don't go end-around to the gallery directory, and you can fully prevent access to the gallery from outside Mambo. This is one sweet piece of software!
KD