Okay
  Public Ticket #1855883
PHP7 compatibility
Closed

Comments

  •  1
    David Hyland started the conversation

    Hi there, 

    I purchased UniteGallery through themeforest a while back and I see that the version I have (1.7.44) hasn't been updated in some time. What are the differences between this version and the version you now sell via your website? 

    My main reason for asking is that 1.7.44 fails a PHP 7 compatibility scan:

    Name: Unite Gallery

    FILE: /html/wp-content/plugins/unitegallery/inc_php/framework/provider/functions_wordpress.class.php
    -----------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    -----------------------------------------------------------------------------------------------
     244 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
    -----------------------------------------------------------------------------------------------

    Many thanks

    David

  •   Max replied privately
  •   Max replied privately
  •  1
    David Hyland replied

    Hi Max, thanks for letting me know about the PHP7 code. Good to know that it won't break when I upgrade my servers.

    The gallery catalog is a great idea but there's one additional item that would I would love to have. A way to list galleries on the front end with a title and a cover image that then links through to a page with the gallery or in a lightbox. 

    Thanks again for your work in creating this great gallery.

    David

  •   Max replied privately
  • Tomas Mayer replied

    Hi David,

    Did you somehow manage to have both lightbox and external links in one gallery on your site?
    I seem to have a similar issue with my gallery.

    Grateful for any helpful information on that,

    Tomas

  •  1
    David Hyland replied

    Hi Tomas, I ended up creating custom links to each gallery in a different lightbox:
    https://wildtipi.co.uk/gallery/

  • Tomas Mayer replied

    Thanks for your quick answer David!

    Neat! You solved it in another way. Nice page.

    In my case however I would like to go around the lightbox-OR-custom-link and have whatever I choose per thumbnail. 
    Still waiting for Max's answer though – maybe he can come up with something. Hope it's not just wishful thinking...

    I just don't get why it doesn't become a custom link whenever it is inside a <a> tag?

  •  1
    David Hyland replied

    Tomas, I'd come up with another solution as you might be waiting some time :)