Author Topic: V6.5 Beta  (Read 20282 times)

0 Members and 2 Guests are viewing this topic.

Offline frister

  • album.pl Donor
  • album.pl Hacker
  • ****
  • Posts: 230
  • Karma: +42/-0
  • half baked ideas are better than none
    • fristersoft travelogue
Re: V6.5 Beta
« Reply #15 on: July 02, 2004, 22:32:54 »
No reply from jp2tools.de. So, I have a couple of things for you to try in Internet Explorer:

http://protoweb.fristersoft.mine.nu/cgi-bin/album.pl uses the jp2tools.de plugin and lets you go to the next photo by clicking the little black arrow next to the current photo. The tooltip text for current and next photo appears when the cursor is on the arrow.

http://protoweb.fristersoft.mine.nu/cgi-bin/album_test.pl uses the Algovision plugin (by direct download from their site). Clicking on the current photo gets you to the next one. There is no tooltip text.

Also check out each plugin's features by right-clicking on the current photo.

Tooltip and clicking on the photo when it's a jpg, gif or bmp works same as always.

Please let me know which you prefer.

I'll merge the chosen one into the latest 6.5beta and mail it back to you.

Earlier today you replied to markc
Quote
but all on one line... The /n's aren't interpreted properly...
The same thing applies to any text when using the auto-size feature, that's why I had all those
Code: [Select]
if (!$auto_size)....else...} in there.

Thanks for fixing the vertical nav-bar problem too!

J.J.

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: V6.5 Beta
« Reply #16 on: July 03, 2004, 09:07:51 »
Well, I don't know much about either plugin, but here's what I found: The Algovision ActiveX control is signed whereas the other is not. The default for IE (at least with XP SP2) is to deny unsigned ActiveX, so that makes Algovision slightly better. I.E. users will be given the option to install it vs. being completely blocked.

Not sure if one plugin is technically better than the other or not... both rendered the image. ;)

I've also just taken a checkpoint in CVS, so the .zip file is now up to date with the latest code changes. I also nailed a couple minor bugs in album_admin.pm, so if you edit that, be sure to use the updated version.

Just had a thought... do you use CVS at all? My CVS server isn't public, but I can give you access to it if you're comfortable checking in directly. I personally hate CVS, but it's a good way to track revisions, so I use it. :)

Cheers
Mike

Offline frister

  • album.pl Donor
  • album.pl Hacker
  • ****
  • Posts: 230
  • Karma: +42/-0
  • half baked ideas are better than none
    • fristersoft travelogue
Re: V6.5 Beta
« Reply #17 on: July 04, 2004, 15:57:48 »
Just downloaded the latest album65.zip and will install it in my production site.

I've taken down the protoweb... site.

Will keep you posted as I take on the to-do list and other stuff.

Thanks again for the great project!

J.J.

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: V6.5 Beta
« Reply #18 on: July 05, 2004, 06:57:44 »
Well thanks for all your help! BTW it looks like auto resizing doesn't work for normal .jpg files for some reason... I'll take a look sometime later.

Offline frister

  • album.pl Donor
  • album.pl Hacker
  • ****
  • Posts: 230
  • Karma: +42/-0
  • half baked ideas are better than none
    • fristersoft travelogue
Re: V6.5 Beta
« Reply #19 on: July 05, 2004, 12:28:07 »
Works when NOT using jhead.

Auto-resizing doesn't like \n  -- they should be replaced by the equivalen &10 (?) -- and all " have to be replaced by ' in any text to be included in g_HTMLstring.

J.J.

Offline frister

  • album.pl Donor
  • album.pl Hacker
  • ****
  • Posts: 230
  • Karma: +42/-0
  • half baked ideas are better than none
    • fristersoft travelogue
Re: V6.5 Beta
« Reply #20 on: July 05, 2004, 14:43:59 »
Don't have jhead installed so I can't test what I said before. But,

replaced /n with space in all the titles (when auto-sizing). IE displays it with a line break anyway. Mozilla tries to put it all in one line.

Mailing you the file.

J.J.i

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: V6.5 Beta
« Reply #21 on: July 05, 2004, 17:57:58 »
Thanks... Looks like it's not quite fixed yet, but I hope to get a few minutes tonight to do some testing. Your chages are now in the zip file, along with the new ####PATH#### tag.


Cheers

Offline frister

  • album.pl Donor
  • album.pl Hacker
  • ****
  • Posts: 230
  • Karma: +42/-0
  • half baked ideas are better than none
    • fristersoft travelogue
Re: V6.5 Beta
« Reply #22 on: July 19, 2004, 01:17:07 »
I believe I figured out how to get multilevel viewing to work with the various authentication methods.

Of course, all photos can be viewed by admins.

For 1- flat file, 3- YaBB & 4- database, the possibilities are Anyone, Member, Owner
For 2- UBB, they are Anyone, Junior Member, Member, Owner
For 5- AMLite(customized), they are Anyone, Friend, Family, Owner

What else is there to do when one can't sleep.  :)
J.J.

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: V6.5 Beta
« Reply #23 on: July 19, 2004, 07:03:58 »
lol, that's awesome work (once again)!

I did a qiuck test on #4 and it showed the member types, but didn't seem to honour the viewing of them. Will check into it...


Thanks, this is an awesome feature!

Edit: I've merged in the changes I made this weekend and updated the zip file, so we're all up to date. :)

Offline frister

  • album.pl Donor
  • album.pl Hacker
  • ****
  • Posts: 230
  • Karma: +42/-0
  • half baked ideas are better than none
    • fristersoft travelogue
Re: V6.5 Beta
« Reply #24 on: July 19, 2004, 08:43:52 »
Thanks! I only tested type 5 and did a walkthrough on the others. I should test types 1 & 2 since I have the pieces needed for those. Also, I believe you can probably make the code for translateLevel() much more compact. I wonder if the levels should be numbered 1 though 4, instead of 0 through 3?

J.J.

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: V6.5 Beta
« Reply #25 on: July 19, 2004, 16:45:45 »
Level numbers shouldn't matter a whole lot, just as long as their consistent.

And as for worrying about compact code... have you not seen some of the stuff I've put in there? ;)

I'll test auth type 4, hopefully tonight.

Offline frister

  • album.pl Donor
  • album.pl Hacker
  • ****
  • Posts: 230
  • Karma: +42/-0
  • half baked ideas are better than none
    • fristersoft travelogue
Re: V6.5 Beta
« Reply #26 on: July 19, 2004, 21:00:21 »
found the bug in the level checking code. near the start of the isViewable() sub, change
Code: [Select]
if ($create_html_flag ge 1 || $authentication_type lt 5 || isAdmin()==1)
  to
Code: [Select]
if ($create_html_flag ge 1 || $authentication_type lt 1 || isAdmin()==1)
J.J.

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: V6.5 Beta
« Reply #27 on: July 20, 2004, 07:26:37 »
Cool. Fixed in the zip, and I'll test against this build. :)

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: V6.5 Beta
« Reply #28 on: July 20, 2004, 17:49:20 »
Brilliant!

Works like a charm... I *love* that feature! :D :D

Offline frister

  • album.pl Donor
  • album.pl Hacker
  • ****
  • Posts: 230
  • Karma: +42/-0
  • half baked ideas are better than none
    • fristersoft travelogue
Re: V6.5 Beta
« Reply #29 on: July 20, 2004, 19:07:45 »
Glad you do!  ;D

Still wondering how to get auto_sizing of ssi=2 url's to work in IE. Maybe it should just be disabled.

BTW, if you're using a pop-up blocker, full-screen slideshow won't run.

J.J.