Welcome, Guest. Please login or register.
Did you miss your activation email?
February 12, 2012, 04:12:16 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
149621 Posts in 21098 Topics by 7537 Members
Latest Member: lotte2
* Home Help Search Login Register
Pages: 1 2 3 [4] 5 6 ... 9   Go Down
Print
Author Topic: New Version of Gallery  (Read 66854 times)
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7660



WWW
« Reply #75 on: May 01, 2006, 09:18:10 PM »

Hallo,

ja ich sehe wodrans liegt. Die Übersetzung für vorheriges und nächstes kommt nicht aus der Sprachdatei des Gallery moduls sondern aus der Sprachdatei vn WB selbst. Wenn du das in dieser Datei änderst, änderst gleichzeitig alle Module uns WB Dateien die auf diese Übersetzung zurückgreifen. Dann passt das zwar bei dem Gallerymodul, bei allem anderen aber nicht. Da in der Sprachdatei zu der Image Gallery eh ein paar Fehler sind, überlege ich gerade, ob ich schnell mal ne neue Version schreibe, in der die Übersetzung für vorheriges und nächstes direkt im Modul liegen, dann kann man da eintragen was man will.

Schau mal die nächsten Tage (vielleicht auch nur Stunden) wieder hier vorbei.

Matthias
Logged
SaschaN

Offline Offline

Posts: 62


« Reply #76 on: May 02, 2006, 01:03:26 PM »

Hallo,

ja ich sehe wodrans liegt. Die Übersetzung für vorheriges und nächstes kommt nicht aus der Sprachdatei des Gallery moduls sondern aus der Sprachdatei vn WB selbst. Wenn du das in dieser Datei änderst, änderst gleichzeitig alle Module uns WB Dateien die auf diese Übersetzung zurückgreifen. Dann passt das zwar bei dem Gallerymodul, bei allem anderen aber nicht. Da in der Sprachdatei zu der Image Gallery eh ein paar Fehler sind, überlege ich gerade, ob ich schnell mal ne neue Version schreibe, in der die Übersetzung für vorheriges und nächstes direkt im Modul liegen, dann kann man da eintragen was man will.

Schau mal die nächsten Tage (vielleicht auch nur Stunden) wieder hier vorbei.

Matthias

Hallo.
Das wäre schön Smiley.

Ich glaube, irgendwas stimmt auch an einem der beiden Knöpfe nicht. Wenn man auf "nächste" klickt, kommt man immer zum letzten, also zum neusten Bild, egal auf welchem Bild man gerade ist Sad.
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7660



WWW
« Reply #77 on: May 02, 2006, 04:55:36 PM »

OK, here we are,

The first release candidate for the next version of the gallery modul.

Changelog:
  • Added in admin interface new option for the picture Ordering. At frontend and at backend its now possible to have the last added picture at the first place.
  • Added new Fields to the language files. Especially the text for previous and next link is now taken from the language File of the modul and not longer from the System language File of WB.
  • Fixed some issues in german language File (Thanks to kweitzel)
  • Changed all Copyright notices to 2006
  • Added to all TEXT and VARCHAR fields from install.php a DEFAULT VALUE (Idea from stefan because of better Mysql 5 compatibility)
  • Deleted at all INT fields from install.php the NOT NULL (Idea from stefan because of better Mysql 5 compatibility)
  • Added an upgrade script for to update from Version 1.7 to 1.8

ToDo-List
  • Changing the ordering in this RC doesn't work with the move up and move down arrows in admin interface
  • Changing the ordering in this RC doesn't work with the previous next links in the frontend. Try to change it in the frontend causes the issue that the previous link alwayas go to the first picture. So for now the previous link goes to the older picture and the next link to the newer picture no matter what in the options of the modul is selected.

How to update an existing version
Overwrite all files from the existing modul with the new ones from this RC and run once the update_gallery_from 17_to18.php script from modules/gallery.

!Attention!
As this is a RC it is not recommanded to use it on production sites. Please test it first.

Have fun

Matthias

Edit:
Newer version some post below
« Last Edit: May 03, 2006, 06:32:23 AM by ruebenwurzel » Logged
SaschaN

Offline Offline

Posts: 62


« Reply #78 on: May 02, 2006, 09:32:55 PM »

Yes, that's it!
Thanks!  grin
Logged
fjord

Offline Offline

Posts: 23


« Reply #79 on: May 02, 2006, 10:02:32 PM »

Hello Matthias!

Thanks a lot for your work on the Gallery modul. I use this modul because it has clean and basic structure whitout all the bells and whistles other galleries may have.  grin

Before you release a new version, I will inform you about a bug I recently discovered with the deactivate function. A picture that is deactivated, will cause a system error when browsing through the picture list at user level (not in the admin panel). The picture counter will also mess up for pictures after the deactivated picture.

Another challenge for this gallery, is to find a solution to easily move pictures around in a long picture list. When I have time, I shall try to figure out a simple method.

Fjord
Logged
centran

Offline Offline

Posts: 76


« Reply #80 on: May 03, 2006, 12:12:17 AM »

Another challenge for this gallery, is to find a solution to easily move pictures around in a long picture list. When I have time, I shall try to figure out a simple method.

maybe this module holds the key.
http://forum.websitebaker.org/index.php/topic,3029.0.html
can anyone say drag-and-drop!
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7660



WWW
« Reply #81 on: May 03, 2006, 06:29:58 AM »

OK, and here is the RC2 of gallery modul v1.8

Quote
ToDo-List
    * Changing the ordering in this RC doesn't work with the move up and move down arrows in admin interface
    * Changing the ordering in this RC doesn't work with the previous next links in the frontend.

Many many many thanks to Rob Smith who solved this very quick last night. so here the

Changelog
     + Move down and move up in admin interface works now for both orderings (ASC and DESC)
     + Previous an next links in Frontend works now for both orderings (ASC and DESC)

ToDo-List
Solve this bug:
Quote
a bug I recently discovered with the deactivate function. A picture that is deactivated, will cause a system error when browsing through the picture list at user level (not in the admin panel). The picture counter will also mess up for pictures after the deactivated picture.

How to update
From v1.8RC1 to v1.8RC2 only overwrite the files (modify.php and view.php are changed)
From v1.7 to v 1.8RC2 like i described some posts above

Have fun

Matthias

Edit:
newer version in the next post
« Last Edit: May 03, 2006, 11:07:34 AM by ruebenwurzel » Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7660



WWW
« Reply #82 on: May 03, 2006, 11:05:07 AM »

Rob is the hero  wink  wink

Attached you find RC3 with the bugfix for deactivated pictures.

Changelog
     + Bugfix : deactivate pictures causes no more system errors and the picture counter works correct

How to update
From v1.8RC1 or v1.8RC2 to v1.8RC3 only overwrite the files (again only modify.php and view.php are changed)
From v1.7 to v1.8RC3 like i described some posts above

So please test it and if there are no more wishes or bugs i think we will release the RC3 as the new version.

Have fun

Matthias

Edit:
See newer version below
« Last Edit: May 10, 2006, 05:29:29 AM by ruebenwurzel » Logged
rsmith

Offline Offline

Posts: 194


« Reply #83 on: May 10, 2006, 02:12:59 AM »

 smiley Got one more before the Release Smiley

Attached, Gallery 1.8RC4 with a Few more features

Change Log
    +Ability to sort by Title
    +Ability to sort by Modified Date - (date uploaded/or edited)
    +Additional Language File entries (DE.php will need translation for the new entries )
    +Move Up/Down only available when order is by Admin Position
    +Auto Remove of empty records

How to update
From v1.8x update modified files, modify.php, view.php, modify_settings.php, save_settings.php and both Language Files
From v1.7 as described a few posts ago

Please try it, and hopefully the full release can be released soon Smiley

Rob
« Last Edit: May 12, 2006, 10:42:40 PM by rsmith » Logged
digital_brain

Offline Offline

Posts: 4


« Reply #84 on: May 10, 2006, 11:08:09 PM »

Hi,
I have this kind of error report every time I try to install a module and also similar errors with the dawnoad files manager:
 Fatal error: main(): Failed opening required '/membri2/digitalbrain/websitebaker/temp/unzip/info.php' (include_path='.:') in /membri2/digitalbrain/websitebaker/admin/modules/install.php on line 61

What is it??

Thanks!
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6819


WWW
« Reply #85 on: May 10, 2006, 11:19:42 PM »

2 possible things:

1) File permissions - please check them
2) Zip-File is not packed right (Folder in the root instead of the files) - download from Add-On Repository, or repack them, if they are packed wrong ...

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

rsmith

Offline Offline

Posts: 194


« Reply #86 on: May 12, 2006, 10:42:19 PM »

Gallery v1.8 rc 5


Change Log
per posting: http://forum.websitebaker.org/index.php/topic,2882.msg18059.html#msg18059

+ adjustments to files to add/edit alternate text/title tags to images and links
       + added image alt="" tag to images
       + added link title="" tag to links to images
+ text tweaks for the sort boxes

Install
overwrite info.php install.php, save_image.php, modify_image.php, view.php, add.php
run update_gallery_from 17_to18.php   (may display "field duplicate" errors if already updated to 1.8, but will work fine)

EDIT: for those with existing galleries.... within the settings, on the loop section change the link to include the title="[ALTTITLE], as see below
Code:
<a href="[LINK]" title="[ALTTITLE]">

In reality these changes are a good idea, at least here in the USA there are a number of accessablity laws requiring these types of changes in web sites to make them more friendly to the disabled.

Have fun



EDIT - New Version Below
« Last Edit: May 15, 2006, 03:26:37 PM by rsmith » Logged
rsmith

Offline Offline

Posts: 194


« Reply #87 on: May 15, 2006, 03:30:40 PM »

Hi
I missed one alt tag, so its been corrected here

Gallery Version 1.8rc5
Change Log
+Alt tag correction when viewing the iimage.

Install
-replace view.php


Rob


Edit - New version Below
« Last Edit: May 21, 2006, 11:31:48 PM by rsmith » Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7660



WWW
« Reply #88 on: May 21, 2006, 11:30:44 PM »

Hello,

--> Fixed one small issue in add.php (there was a >> after [ALTTITLE])
--> completed german language file

If there are no more issues and wishes i think its time for 1.8 Final Release.

Have fun

Matthias

Edit:
Newer version below
« Last Edit: May 26, 2006, 07:13:03 AM by ruebenwurzel » Logged
podo

Offline Offline

Posts: 2


« Reply #89 on: May 26, 2006, 12:28:02 AM »

I just installed the newest version - gallery_v1.8rc5b - & added the first image, but it doesn't display.  This is from the source file:

<center>
<a href="http://www.shewhoknows.com/pages/gallery/red-spider-dress3.php" title="Red Spider Dress">
<img src="http://www.shewhoknows.com/media/.gallery/image3.jpgalt="Red Spider Dress" "" border="0" class="thumbnail" />
<br />
Red Spider Dress
</a>
</center>


In the img tag the closing " is missing from the path and the alt attribute looks a little off.

I'm sorry if this isn't the correct place to post this.
Logged
rsmith

Offline Offline

Posts: 194


« Reply #90 on: May 26, 2006, 12:34:51 AM »

Hi

-- Fixed the alt tag location, was off by 1 "



Rob

Edit: New version below
« Last Edit: June 20, 2006, 10:37:05 PM by rsmith » Logged
podo

Offline Offline

Posts: 2


« Reply #91 on: May 26, 2006, 12:47:21 AM »

Yah, I just spent the last few minutes arguing with my FTP to upload the fix in view.php.

Ah well.  Got the new one and now it works wonderfully!  Thank you!!
Logged
des

Offline Offline

Posts: 51


« Reply #92 on: June 16, 2006, 04:21:01 PM »

I am going to start off by admitting that I have not read this thread entirely. I'm sorry if I am posting a question that has an answer already, but I am pressed for time today, and am hoping for some kindness here....
I installed the newest version of this over my existing 1.7 copy of the gallery module. Now I'm getting errors on viewing annything within the gallery:
Quote
Fatal error: Call to a member function on a non-object in /home2/website/public_html/modules/gallery/view.php on line 125
I realize I probably caused myself alot of trouble by trying to rush thru and update, so I'm already hangin my head in shame.
Some help please?
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7660



WWW
« Reply #93 on: June 17, 2006, 06:37:51 AM »

Hello,

i think you only forgot to run the update script. You find the script in the modules directory and only need to call them once in your browser.

http://www.yourdomainname.com/modules/gallery/update_gallery_from17_to18.php

Matthias
Logged
des

Offline Offline

Posts: 51


« Reply #94 on: June 17, 2006, 05:06:08 PM »

Thank you Matthias. You were correct. I do so appreciate your help. I did the update while hurrying and wasnt' paying attention closely I think. Being pressed for time, I just posted for help and ran out the door to somewhere else. Thanks!
Logged
learning

Offline Offline

Posts: 61


« Reply #95 on: June 20, 2006, 04:38:17 AM »

Hi There,

Just a quick (hopefully) question about the gallery. When the full size image is displayed, there is the option to click on it and the image will be displayed in that window, is there a way to either make it open in a new window, or remove the link function from it?

So people would click on the thumbnail, which would display the image on the page... and then from there if they click on the image again, either nothing happens or it opens in a new window.

If possible the best one would be for the image not to be clickable at all after the thumnail has been clicked, but next best is for it to open in new window.

Any clues where to look for these settings?

Cheers
« Last Edit: June 20, 2006, 05:02:17 AM by learning » Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6819


WWW
« Reply #96 on: June 20, 2006, 08:19:17 AM »

Have you checked out the settings of the module? Usually there is a loop defined in there. With this one, you can set these things.

If it doesn't work, check out the file "view(.)php", there you should find what you need.

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

learning

Offline Offline

Posts: 61


« Reply #97 on: June 20, 2006, 08:50:22 AM »


Thanks Klaus,

Yep had a look at the settings, and can see the 'loop' settings, which are currently.

Code:
<td>
<center>
<a href="[LINK]" title="[ALTTITLE]">
[THUMB]
<br />
[TITLE]
</a>
</center>
</td>

Any editing I do to this only seems to affect the thumbnails, if I put a target blank in there it just opens the image in a new window. I can't seem to find the properties/settings for the larger image.

Not sure I am explaining that very well  undecided
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6819


WWW
« Reply #98 on: June 20, 2006, 10:20:24 AM »

OK .. hten it seems to be the "view(.)php".

Around Lind 382 you find following code:
Code:
// Show image w/ link to full size pic
if(file_exists(WB_PATH.MEDIA_DIRECTORY.'/.gallery/image'.$image['image_id'].'.'.$ext)) { echo "<a href=\"" . WB_URL.MEDIA_DIRECTORY.'/.gallery/image'.$image['image_id'].'.'.$ext . "\" title=\"".$image['alttitle']."\">";
echo THUMB_PREPEND.WB_URL.MEDIA_DIRECTORY.'/.gallery/main'.$image['image_id'].'.'.$ext.'" alt="'.$image['alttitle'].'"'.THUMB_APPEND;
echo "</a>";

remove the HREF Part of the output and check again. The code should look somthing like this (bear in mind, I am not a coder, it could be wrong!):
Code:
// Show image w/ link to full size pic
if(file_exists(WB_PATH.MEDIA_DIRECTORY.'/.gallery/image'.$image['image_id'].'.'.$ext)) {
echo THUMB_PREPEND.WB_URL.MEDIA_DIRECTORY.'/.gallery/main'.$image['image_id'].'.'.$ext.'" alt="'.$image['alttitle'].'"'.THUMB_APPEND;
echo "</a>";

try it and let's hear what it does ...

@ROB - could this be made an option in the settings?

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

learning

Offline Offline

Posts: 61


« Reply #99 on: June 20, 2006, 10:28:29 AM »


*does a happy dance and kisses Klaus on the head*

A thousand thank yous!!!  grin grin

Worked perfectly. Exactly what I was after.

Thank you

Cheers  grin

Logged
Pages: 1 2 3 [4] 5 6 ... 9   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!