Some modification wanted

FlyFort

Joined: 2004-11-07
Posts: 145
Posted: Thu, 2004-12-30 22:21

Hello,

Want to make some adjustments on my gallery

1) If someone gives a comment by a pictures and I click the link provided in that email I receive an error

Error: Requested index [0] out of bounds [36] 
Fatal error: Call to a member function on a non-object in /home/militar/public_html/Dbase/gallery/classes/Album.php on line 1258

What happened???
This is the link http://www.militaryaircraftcollection.info/Dbase/gallery/view_photo.php?set_albumName=album28&id=H_02

2) I created a watermark for several people. Can I modify a script so it will always use bottom, and all the other options disappear???? (that allignment window) Except the box where they can choose the watermark???

3) When I have my pointer above a folder, there is always

Quote:
Highlight for album : name of highlight

Can I remove that Highlight for album???

4) When you want to upload some pics, you have 6 different tabs.
How can I make it so the people can see only 1 tab (Form)???

5) Some adjustments have to be made in the Edit photo window, after the picture is uploaden, and only for the people who log in
So you have different choices : edit text, edit thumbnail, rotate/flip photo, edit watermark, delete photo and hide photo.
Only Edit text and Edit watermark should stay (only for the people that upload pictures)

6)

Quote:
Email me when: Comments are added Other changes are made

Is there an option, so you can't see it???

That's all for now folks

Thanks in advance for the help

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2004-12-30 23:03

1. try the troubleshooting forum the link you gave looks fine to me. Was it in your email that the link is bad?

2. remove the table under <p><b><?php echo _("Alignment") ?>:</b></p> from /layout/watermarkform.inc and give the value you want like <?php $wmAlign==7; ?> you will see the different number in the table or you can give the value to a hidden form input like

    <input type="hidden" name="wmAlignX" value="100">
    <input type="hidden" name="wmAlignY" value="100">

where 100 is the value(s) you need.

3. in albums.php look for $gallery->html_wrap['imageTag'] = $gallery->album->getHighlightTag($scaleTo,'', _("Highlight for Album:"). " ". gallery_htmlentities(removeTags($gallery->album->fields["title"]))); edit as needed like $gallery->html_wrap['imageTag'] = $gallery->album->getHighlightTag($scaleTo,'', _(""). " ". gallery_htmlentities(removeTags($gallery->album->fields["title"]))); similar code in view_album.php

4. http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=24432

5. I think this will get you started:
http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&p=107163#107163

6. you want it removed or what? You want it on all the time but not able to turn off? do you want the admin only to see it or the admin and the owner?
that form is at the bottom of view_album.php and you can remove it if you like or make the fields hidden or wrap the code in a isAdmin check.

 
micki1948

Joined: 2008-07-26
Posts: 1
Posted: Sat, 2008-07-26 12:23

Hello all - I want to remove (add comment) under all my pictures. Can anyone tell me how to do this.
Thanks.