ElkArte Community

Extending Elk => Addons => Topic started by: live627 on February 27, 2017, 01:51:57 am

Title: LiveGallery
Post by: live627 on February 27, 2017, 01:51:57 am
My gallery addon is now up for sale at https://livemods.net/elk/index.php

Some notes:
Title: Re: LiveGallery - Open Beta
Post by: live627 on February 27, 2017, 01:56:52 am
@emanuele this has some new bug fixes since the package I sent you. No DB changes.
Title: Re: LiveGallery - Open Beta
Post by: emanuele on February 28, 2017, 03:55:46 pm
Thanks!
Title: Re: LiveGallery - Open Beta
Post by: inter on March 04, 2017, 05:12:04 am
idea: the module should be free, but add-ons can be paid (rating, comments, etc.)
Title: Re: LiveGallery - Open Beta
Post by: live627 on March 05, 2017, 06:51:27 pm
Anyone have any bug reports? 13 downloads; someone must've come up with something.
Title: Re: LiveGallery - Open Beta
Post by: live627 on March 07, 2017, 12:50:09 am
I'll assume the deafening silence means that nobody noticed anything wrong yet, which can only be a good thing, right? ;)

(defy you to prove me wrong!)
Title: Re: LiveGallery - Open Beta
Post by: Jorin on March 07, 2017, 01:10:35 am
I really would like to try the gallery, but I am not using the 1.1 right now.  ;)

Although a bit more information would be great. How much will it cost? How long do you plan to keep it alive and save? Can I change the look easily?
Title: Re: LiveGallery - Open Beta
Post by: live627 on March 07, 2017, 02:44:50 am
I'm thinking $30 and plan to support this for at least several years. When you say change the look, do you mean does it use ElkArte theme? It does...

I might have to port this to elk v1.0 if v1.1 isn't final in a month.
Title: Re: LiveGallery - Open Beta
Post by: Jorin on March 07, 2017, 03:16:59 am
I changed the colors of my Elk and the gallery should use the same css codes.
Title: Re: LiveGallery - Open Beta
Post by: live627 on March 13, 2017, 01:31:07 am
Status update: I've just finished backporting this to Elk 1.0. Now I just need to test it and put it up on my site for people to buy copies of. Hopefully it'll sell enough that I can buy a new computer - the hard drives keep losing connectivity and I have to switch out cables  (A drive is already  bricked - there goes hundreds of GBs of stuff, my archived things, and Bitcoin wallet)
Title: Re: LiveGallery - Open Beta
Post by: Jorin on March 13, 2017, 02:05:48 am
Good luck. But 30$ for an addon is a little expensive for my taste. I don't know right now wether I would buy it or not.  :-X
Title: Re: LiveGallery - Open Beta
Post by: ahrasis on March 13, 2017, 02:23:57 am
A demo site will be good. All the best @live627.
Title: Re: LiveGallery - Open Beta
Post by: Spuds on March 13, 2017, 04:14:19 pm
Good deal back porting it to 1.0.   The 1.0.10 stuff slowed down getting a 1.1 RC1 "official" for a bit.

I know that sick feeling when a drive bricks, been there and only had partial backups to prove it :P 

Look forward to the demo site.
Title: Re: LiveGallery - Open Beta
Post by: radu81 on March 14, 2017, 04:50:59 pm
I wrote a message in this topic, but I don't explain why is not here, probably I didn't publish the message... I'm getting old :) or it was deleted? Don't know... 
anyway I didn't download the first release so I did not made any tests but I am interested in a gallery addon. I look forward to see a demo first. 

P. S @live627‍ I sent you a Pm a few weeks ago, I'd be grateful to receive an answer, thank you. 
Title: Re: LiveGallery - Open Beta
Post by: live627 on April 13, 2017, 02:34:11 am
Finally got a demo up after sitting on my laurels forever https://livemods.net/elk/index.php?action=gallery

(also on SSL ;D )
Title: Re: LiveGallery - Open Beta
Post by: radu81 on April 13, 2017, 02:43:35 am
it is not available to guests.
I tried to register, but after submitting the form I get:

Fatal error: Cannot declare class Data_Validator, because the name is already in use in ...sources/subs/DataValidator.class.php on line 68
Title: Re: LiveGallery - Open Beta
Post by: live627 on April 13, 2017, 03:55:31 am
I moved some code that probably fixed it... could you try again?
Quoteit is not available to guests.
Ha! Forgot to set them pesky permissions.
Title: Re: LiveGallery - Open Beta
Post by: inter on April 14, 2017, 02:21:38 am
Quote     View Item

An Error Has Occurred
Accesss denied.
Title: Re: LiveGallery - Open Beta
Post by: radu81 on April 14, 2017, 06:44:22 am
Yep, I was going to report this too ;) 
Title: Re: LiveGallery - Open Beta
Post by: live627 on April 24, 2017, 02:33:38 pm
I fxed that. Permissions are complicated.
Title: Re: LiveGallery
Post by: live627 on April 26, 2017, 07:54:28 pm
My gallery addon is now up for sale at https://livemods.net/elk/index.php

Some notes:
Title: Re: LiveGallery
Post by: Spuds on April 26, 2017, 07:58:13 pm
Congrats on getting it completed and available :D
Title: Re: LiveGallery
Post by: ahrasis on April 27, 2017, 05:39:27 am
Just asking, will it work in php7.1?
Title: Re: LiveGallery
Post by: live627 on April 27, 2017, 06:15:25 am
demo site is currently on php 7.1.4.
Title: Re: LiveGallery
Post by: live627 on May 25, 2017, 09:48:19 pm
LiveGallery v1.0.1 released

This fixes errors that manifested themselves in the error log.

Fixed incorrect paths resulting in many stat errors
Fixed file caching
Fixed file not found errors when trying to download
the box to check all groups affected too many child boxes
Empty group selection on adding/editing an album would log an error from array_keys()
Descriptions were parsed on the edit form
Fetching EXIF metadata could sometimes throw some undefined index warnings
Title: Re: LiveGallery
Post by: live627 on May 29, 2017, 12:06:11 am
A discount of 33% will be applied during the next thirty days to celebrate my birthday on June 28. No special code is necessary.
Title: Re: LiveGallery
Post by: radu81 on May 29, 2017, 10:11:44 am
No offence, but the problem with galleries in SMF is that they don't get used by users because of the unintuitive interface. It was a problem with Aeva media and it's the same with this addon, if not worth. Don't take it as an offence, it's not my intention 

When you open a picture there is no way to close it. you need to use the back button of your browser (in random items, click on any image to see)
When you download a file the download button is almost hidden, nobody will expect to see it where it is now.
cannot access unseen images on demo site Sorry, we can't let you access this section. We can't even tell you if it exists. You're welcome to visit the main page and choose your way from there.
dcdc
- no image preview for albums?

I'm a bit hurry now, but I will install it on a test site to see how it works and let you know.

p.s. thanks for the discount  8)
Title: Re: LiveGallery
Post by: Frenzie on May 29, 2017, 11:20:06 am
I'd like to voice a semi-contrary opinion. If you're doing lightboxes and whatnot, you'd better take the utmost care not to break the back button by properly using History.pushState(). Nothing's more jarring and unintuitive than going back only to end up much further back  than you intended. I've always thought phpGraphy (you can find an example here (http://tofz.org/?display=Paris%2F_myfavorites%2Ft20070303185115_3876.jpg)) was quite good, certainly much better than most of the fancy JS junk.

What I do think to be somewhat unintuitive is that clicking on the mini-thumb takes you straight to the full picture. I'd expect it to perform the same action as when you click on the title: details view. Yet from details view you can't seem to get to full picture-only (as opposed to a fullscreen lightboxed view). And square mini-thumbs are one thing, but I'm less enthused with the cut-offs in the details view.

Btw, I don't think buttons like "Edit" and "Delete" should be shown if you don't have the relevant permissions, or is that just a demo thing?

Looks interesting. Unfortunately I'm not interested in adding a gallery. :)
Title: Re: LiveGallery
Post by: live627 on May 30, 2017, 02:43:42 am
I wrote the lightbox myself and am not using the history api. I think that is tantamount to abuse , entirely daft, and horribly degrades the user experience.

The problem with most SMF mods is that they are largely relics of the past and therefore use technology of the past. Updates are largely nil, unfortunately.

One of my goals is ultimately to overcome intuitiveness as much as possible.
Title: Re: LiveGallery
Post by: Frenzie on May 30, 2017, 04:27:54 am
I was disagreeing with @radu81 with regard to using the back button being unintuitive because breaking the back button is what's unintuitive. I hadn't even realized there was a details view or a lightbox or a details view at that point because clicking the mini-thumb does something different than clicking the image title.

Due to the nature of the gallery that lightbox one isn't nearly as jarring as, e.g., on this forum, where pressing the back button in a lightboxed image attachment view can take you completely away from where you were on a page, back to a completely different page. "I think that is tantamount to abuse , entirely daft, and horribly degrades the user experience." :P It's more of a minor fluke of course, but it does seem peculiar to call it a feature, not a bug.
Title: Re: LiveGallery
Post by: live627 on May 30, 2017, 06:35:53 am
@radu81 was referring to the full image redirect upon clicking the thumbnail.
Title: Re: LiveGallery
Post by: Frenzie on May 30, 2017, 07:19:30 am
And so was I. My "semi-contrary opinion" is that it's perfectly fine in principle.
Title: Re: LiveGallery
Post by: Spuds on May 30, 2017, 11:15:13 am
OT:
Quotepressing the back button in a lightboxed image attachment view can take you completely away from where you were on
Made a quick adjustment here for testing, may help, may remember to make a PR if it does.

ETA: reverted since it was not a bag o chips ... nothing to see here, move along :P
Title: Re: LiveGallery
Post by: Frenzie on May 30, 2017, 02:15:22 pm
We should probably split that discussion off somewhere, but I don't think that's working quite as it should yet. ;)
Title: Re: LiveGallery
Post by: live627 on May 31, 2017, 01:47:31 am
LiveGallery v1.0.2 released

QuoteThe lightbox now fetches item details correctly
Image preview more clearly denotes what happens on click
Thumbnails now redirect the user to details page
Remove "Edit" and "Delete" buttons if user lacks required permission
Quotes and other BBC block style tags would overflow their container
Unseen items page was erroneously denied user access
Image preview now goes to full width on narrow viewports
Container for featured albums is now clearly labeled
Title: Re: LiveGallery
Post by: emanuele on July 01, 2017, 05:27:49 pm
https://livemods.net/elk/index.php?action=gallery;area=albums;sa=view;album=5
as guest:
Code: [Select]
<b>Fatal error</b>:  Uncaught Error: Call to undefined method live627\LiveGallery\Models\Albums::getAlbums2() in /elk/sources/subs/LiveGallery/Controllers/Albums.php:110
Stack trace:
#0 /elk/sources/subs/LiveGallery/Controller.php(153): live627\LiveGallery\Controllers\Albums-&gt;fixNewMenuLinks()
#1 /elk/sources/subs/LiveGallery/Controllers/Albums.php(74): live627\LiveGallery\Controller-&gt;fixMenuLinks()
#2 /elk/sources/subs/LiveGallery/vendor/live627/elkarte-addon-helper/src/Dispatcher.php(145): live627\LiveGallery\Controllers\Albums-&gt;actionView()
#3 /elk/sources/subs/LiveGallery/vendor/live627/elkarte-addon-helper/src/Dispatcher.php(73): live627\AddonHelper\Dispatcher-&gt;callSubAction(Object(live627\LiveGallery\Controllers\Albums), 'view', Object(Symfony\Component\HttpFoundation\Request))
#4 /elk/sources/subs/L in <b>/elk/sources/subs/LiveGallery/Controllers/Albums.php</b> on line <b>110</b><br />