EnlargeIt! (AJAX user interface for CPG 1.4.x) - Page 9 EnlargeIt! (AJAX user interface for CPG 1.4.x) - Page 9
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

EnlargeIt! (AJAX user interface for CPG 1.4.x)

Started by Timos-Welt, June 16, 2008, 06:19:13 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

jdsmith

Well, that fixed that - when I add a comment it says it added it and if I refresh the thumbnail page, it ups the comment count.  However, it doesn't seem to show any but the initial comment if you go back and view the comments thru the enlargeit interface.  Is it supposed to show all comments yet?  I'll add the test user back just in case...

jManuel

 Previous beta versions showed no Spanish language errors, problems now with the letter "ñ" and accents, why?
jManuel - Comunidad de fotografos aficionados

Timos-Welt

Quote from: jdsmith on September 17, 2008, 10:53:48 PM
Well, that fixed that - when I add a comment it says it added it and if I refresh the thumbnail page, it ups the comment count.  However, it doesn't seem to show any but the initial comment if you go back and view the comments thru the enlargeit interface.  Is it supposed to show all comments yet?  I'll add the test user back just in case...

A caching problem - works fine with firefox, IE will present the old page (although the comment has been added).

Timos-Welt

Quote from: jManuel on September 17, 2008, 11:22:33 PM
Previous beta versions showed no Spanish language errors, problems now with the letter "ñ" and accents, why?

Don't know - the codebase didn't change. Only the files enl_styles.css, enl_comment.php and enl_addcomment.php have been modified.

jManuel

hi,

QuoteDon't know - the codebase didn't change. Only the files enl_styles.css, enl_comment.php and enl_addcomment.php have been modified.

Moved enl_comment.php and enl_addcomment.php since the beta version-12 to beta-15.
(Now perfect Spanish language).
jManuel - Comunidad de fotografos aficionados

jdsmith

Quote from: Timos-Welt on September 17, 2008, 11:23:47 PM
A caching problem - works fine with firefox, IE will present the old page (although the comment has been added).

Does that mean thats just the way its gonna work or is there something you're trying to make it act differently?  The only way I've been able to make the added comment display is to exit the browser completely - refreshing the page, switching images doesn't seem to get it to show.  Thanks for doing all this work and fielding questions too.

Timos-Welt

Just released v2.0 beta 16.

Changes since beta 15:
---------------------

- fixed: IE would present cached AJAX snippets (should fix the jdsmith issue)
- fixed: URL encoding would disturb page encoding in certain cases (hope this fixes the spanish language issue posted by jManuel)
- improved layout of comment snippet
- fixed: a possible reason for double postings

Please make sure to correctly uninstall any previous version before installing this beta, and empty your browser cache when done!

Have fun!
Timo

jManuel

This beta-16 works perfectly with the letters "ñ" and accents for Spanish language.

A great help for users of Spain.

Thank you Timos from spain.
jManuel - Comunidad de fotografos aficionados

merlin6666

Hi Timo,

the comment function did not work in my galeries and also in your galerie. (with v2.0 beta 16 in FF and IE)
After typing some text and pushing "OK", only a white page appears with "Du musst Deinen Namen und einen Kommentar eingeben" in the middle and "Back"-Button which does not work....:-(

Timos-Welt

Just released v2.0 beta 17.

Changes since beta 16:
---------------------

- fixed: Javascript bug that broke the AJAX chain / comment feature
- new: delete button now available on comment snippet

Please make sure to correctly uninstall any previous version before installing this beta, and empty your browser cache when done!

Have fun!
Timo

Timos-Welt

Quote from: merlin6666 on September 18, 2008, 07:36:12 PM
Hi Timo,

the comment function did not work in my galeries and also in your galerie. (with v2.0 beta 16 in FF and IE)
After typing some text and pushing "OK", only a white page appears with "Du musst Deinen Namen und einen Kommentar eingeben" in the middle and "Back"-Button which does not work....:-(

I'm sorry, a typo in the Javascript part killed the AJAX chain. Please download beta 17.

jdsmith

Delete "X" doesn't seem to do anything...  Also, when I try to add a comment now I get the "add comment and name" message like before.  Registered user issue again?  I left the "test" "test" login if you need it - www.jerrysmithphoto.com/cpg.

Joachim Müller

Timo, I admire your hard work. Your speed of releases is amazing.

Lolik is right though with his remark
Quote from: Lolik on September 15, 2008, 09:49:27 PM
in codebase.php you use
$enl_path = 'albums/'.
number of times, which assumes standard location of images.

Correct way would be
$enl_path = $CONFIG['fullpath'].
You should use the config var instead of the hard-coded "albums".

Timos-Welt

Quote from: jdsmith on September 18, 2008, 08:41:02 PM
Delete "X" doesn't seem to do anything...  Also, when I try to add a comment now I get the "add comment and name" message like before.  Registered user issue again?  I left the "test" "test" login if you need it - www.jerrysmithphoto.com/cpg.

I just visited your gallery (made a comment in firefox, deleted a comment in firefox, made a comment in ie, deleted a comment in ie). Works fine.

Timos-Welt

Quote from: Joachim Müller on September 18, 2008, 08:47:05 PM
Lolik is right though with his remarkYou should use the config var instead of the hard-coded "albums".

Hi Joachim,

done since beta 12, see http://forum.coppermine-gallery.net/index.php/topic,53290.msg269233.html#msg269233

regards
Timo

jdsmith

Tried it again - works great now.  Don't know what was happening before.  Anyway, many,many thanks.  If you're ever in Mississippi I'll buy you a beer!

tpr

Quote from: tpr on September 17, 2008, 06:32:55 PM
Got another question though - any chance for a cpmfetch integration ? currently it redirects me to the intermediate picture and then open the full size regularly (as im guessing the plugin does not deal with the intermediate view).
I don't mind going to the intermediate view, i just want the full size to open nicely ^^

sorry to be bumping this, but is there any way i can make your plugin work from the intermediate page view ?

Timos-Welt

EnlargeIt! is the intermediate page view, so: No, sorry.

Hein Traag

Pay more attention to the first post in this thead: This plugin replaces the intermediate page with an AJAX gui

Timos-Welt

Just released v2.0.

Changes from last release version v0.881:
----------------------------------------
v2.0 (2008/09/18)
-----------------
- new: option for info button to directly go to intermediate page ('Highslide mode')
- new: key listener - you can use arrow keys for navigation now and Esc key to close
- new: mouse wheel navigation (IE and Mozilla only)
- new: option for maximize button to use popup window instead of max to viewport
- new: darkening fade, new option darkening steps on config page
- new: optimized mouse cursors in browsers that support it
- new: drag & drop can be deactivated on config page
- new: option for using textured border
- new: comment AJAX snippet
- new: experimental swf (flash) support - no buttons, but view is counted
- added: italian translation (user contribution)
- added to imageflow plugin: french langauge file (user contrib)
- fixed: imageflow plugin - invalid html if not enough pics in a category
- fixed: changed the way pic views are counted
- fixed: plugin didn't work without title bar
- fixed: pic views are not counted in admin mode anymore
- fixed: plugin didn't work if config setting 'Use thumb dimension' was not 'Max Aspect'
- fixed: plugin didn't work if config setting 'thumbnail prefix' that was not 'thumb_'
- fixed: plugin didn't work if config setting 'album directory' was not set to 'albums/'
- fixed: plugin didn't work if config setting 'prefix for intermediate' was not set to 'normal_'
  (please note: the maximize button will still not be available if it's not 'normal_')

Changes from last beta v2.0beta17:
----------------------------------
- fixed: back to previous layout for comment snippet - IE didn't like the new one (missing scroll bars if many comments existed)
- fixed: plugin didn't work if config setting 'Use thumb dimension' was set to 'Exact' (only possible with Stramm's mod pack, should fix the Farnsi issue)
- new: config option for mouse wheel navigation support (can now be turned off)

Thanks to everyone who took part during the beta test phase.

regards
Timo