Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 Re: Backlight 2 Customization » Can tokens in LR be nested? » 2020-04-30 06:57:05

I did something similar to what you want to do using this code in the caption tokens field:

{Title} {LUA=if Title ~= "" and Caption ~=  "" then return " - " end} {Caption}

It puts a "-" between both the title and caption if the caption exist.

#2 Re: Backlight 2 Support » Error in Lightroom Publisher » 2019-12-29 13:42:37

Hi, Ben,

I ran a couple of tests and everything looks good!

Thanks,

Paul

#3 Re: Backlight 2 Support » Error in Lightroom Publisher » 2019-12-29 10:28:09

Sorry to say it didn't fix it for me.

Paul

#5 Re: Backlight 2 Support » Error in Lightroom Publisher » 2019-12-16 02:51:19

Mike -

It's been my experience that multiple concurrent publish tasks has never worked right.  It would run without error, but I found that often times there would be missing metadata.  That would show up as photos without titles in the album grid or photos out of order because the timestamp didn't make it into the database.  Once I found that I could publish an album set, I gave up on the concurrent publish tasks.

Anyway, I'm sure Ben will come up with fixed 'cause, well, he always does if it's at all possible!

Paul

#6 Backlight 2 Support » Error in Lightroom Publisher » 2019-12-15 12:05:22

kolohe280
Replies: 14

First off, I'm current on everything smile

I am in the process of implementing the metadata display code (or my variant of it) that Daniel Leu published.  I updated my CSS and PHPlugins files and everything worked fine on my test album.

When I attempted to update the rest of the albums (500+, 47,000+ images), I ran into a problem.  In the past when I've changed or added large numbers of photos, I've been able to click on Publish from the Album Set level, and the publisher steps through all the included albums and sets.  When I set the option to only update metadata and tried to do that, it updated the first album and when starting on the second album displayed this error:

An internal error has occurred:  TTGPublishServiceProvider:792 attempt to concatenate local 'minimizeEmbeddedMetadata' (A boolean value).

Help!

Paul

#7 Re: Backlight 2 Support » Formatting of Metadata (markdown?) on Single Image Pages? » 2019-09-30 04:04:45

Daniel,

Thanks for posting that excellent example of something I've wanted to do with Backlight for a while (and might at some point get around to actually doing smile).

It does show one of my frustrations with trying to write customizations like this.  In your code, you make a call to the getMetadata function.  I have been trying to figure out for a long time how I would know what functions like this are available to me.  As much as I hate to use the "d word", is this stuff documented anywhere?  I'm not adverse to the idea of looking at the Backlight code, but I can't figure out where to look!

Thanks,

Paul

#8 Re: Backlight Support » Backlight Settings Advanced Settings » 2019-05-22 15:41:00

Daniel - Right. I assumed this post was about BL1 given which forum it's in.  BL2 has made this so much easier.

Rod - To be more accurate, I should have said it needs to be done it both places to catch the pages you mention.

Paul

#9 Re: Backlight Support » Backlight Settings Advanced Settings » 2019-05-22 11:44:05

I seem to remember when I was running Backlight 1 that I had to put the https rewrite rule into the album folder .htaccess.  Otherwise, if you enter the site by a direct link to a folder it didn't force https.

#10 Re: Backlight 2 Support » Link to album in Pangolin single page wrong » 2019-04-25 23:58:13

Just a quick post on this to make sure it's still on someone's radar smile

#11 Re: Backlight 2 Support » Problem with activate search option (button) » 2019-04-25 23:56:28

I have 37,000+ images on my Backlight site, and will probably get to Peter's level after our upcoming vacation.  I ran into the execution time problem on my testing server and had to modify the PHP max execution time parameter.  My testing server isn't that fast.  I haven't run into this issue on my live site on 1and1, but I'm fairly sure the time limit for my package is 60 seconds, so I might hit that some day.  Perhaps your host will let you raise that limit.

#12 Re: Backlight 2 Support » Link to album in Pangolin single page wrong » 2019-04-17 11:23:54

I'm using Chrome on Windows (should have mentioned that), and it's very consistent everywhere I try it on the site.  Glad you were able to duplicate it.

#13 Backlight 2 Support » Link to album in Pangolin single page wrong » 2019-04-17 03:50:38

kolohe280
Replies: 6

I noticed today while I was looking through a couple of albums that the link from an individual image page back to the album page was wrong.  If I'm on page 2 (or further in) and click on an individual image, the link back to the album will end in ?page=x (where x is the page number).  If I then click on the next image link and go to another photo, the link back to the album ends in ?page and I end up back on the first page of the album.

I am current on Backlight as of yesterday.

You can see the behavior by starting here https://maka-kaina.info/galleries/2019/bandon/?page=2

Paul

#14 Re: Backlight 2 Support » sudden death » 2019-04-14 08:21:39

If you Google something along the lines of "php mail log", you'll find that somewhere in a php.ini file your hosting people have enabled mail logging to a location that they won't allow you to write to (smart).    You might try searching in your hosting company's help to see what they say about php.ini.  On my host (1and1 or ionos or whatever they're calling themselves these days), I can create a php.ini and override some of their settings.  Perhaps you can do that and shut off the mail logging or point the log file to somewhere you can write.

#15 Re: Backlight 2 Support » Updating documentation » 2019-04-02 23:27:25

I second mad's comment about PHPlugins.  I have always wondered just what data is available to me in the plugins, but was never sure where to look.

#16 Re: Backlight 2 Support » Maps? » 2019-02-25 07:10:57

I made one change for maps on my site.  The map icon used in Backlight doesn't look like a map to me.  So, I put in a little CSS to change it to the map pin icon that a lot of mapping sites/software use.  (If I was really good, I'd be able to figure out how to display that icon in this message!)

ul.single_icons a.button.googlemaps::before {
	content: "\f041";
	font-size: 20px;
}

#17 Re: Backlight 2 Support » Publisher question » 2019-01-29 00:51:59

I was talking about the number of images in the pulldown for selecting a cover photo in the Publisher in BL Admin.  In any event, the env.php setting did the trick.  Thanks.

#18 Re: Backlight 2 Support » Publisher question » 2019-01-28 15:28:51

Thanks, Ben.  That's good information.  Will that up the limit in the Backlight publisher as well?  That's where I discovered the issue.  Due to the way LR handles "scrolling" through that list, I estimate it could take weeks to scroll all the way through it.

Paul

#19 Re: Backlight 2 Support » Publisher question » 2019-01-28 06:30:50

Daniel, You may have misunderstood me.  I have no trouble scrolling the list - for the album set the list is incomplete. Say that I have an image located in /gallery/2018/a/b/c/d/e/f.  I am trying to set the cover image for 2018, but in the pulldown only goes down as far as a/b/c/.

Paul

#20 Backlight 2 Support » Publisher question » 2019-01-28 04:47:08

kolohe280
Replies: 6

I'll be the first to admit that this is a somewhat obscure, why would you care kind of question smile

In the Backlight Publisher album set editor, there is a pulldown for cover image.  It appears to me that when that pulldown is constructed there is a limit as to how far down the directory tree it goes.  I have a few album sets go down 5 or 6 levels deep for various reasons, and if I want to set the cover image to something in one of those lower levels, it doesn't show up in the pulldown.

I know that I can put something in the custom-thumbnails directory and get at it that way, but I'd prefer not to have that redundancy if possible.

I don't view this as a problem necessarily, I'd just like to understand if this is intentional.

Paul

#21 Re: Backlight 2 Support » Footer 2018 » 2019-01-07 00:58:45

I noticed the same thing on my site yesterday.  Clearing the template cache did the trick for me.

#22 Re: Backlight 2 Support » Album set editing » 2019-01-05 15:36:00

Hmmmm.

Must have been some sort of weird transient glitch (as much as I hate using that word when describing software).  I just tried it again and this time it worked as expected.

Paul

#23 Backlight 2 Support » Album set editing » 2019-01-05 05:20:24

kolohe280
Replies: 3

I have been using the Backlight Publisher to update the page content for my album sets.  The main reason I'm doing this is that the Backlight publisher allows me to enter blank lines in the text whereas Lightroom just clicks the edit button if I hit enter.

Today, I noticed an oddity.  The changes that I made to the album set page text in Backlight didn't get passed back to Lightroom.  I feel certain that I've done this before and it worked, but that may have been before the LR8 update.

As an experiment, I updated the text in an album with Backlight and that information did make it back to LR.

Paul

#24 Re: Backlight Support » Spam, spam, spam... » 2019-01-02 09:25:48

FWIW, I got those exact same repeated spams on my Backlight site starting on 12/30.  I looked at the server logs and all the requests were coming from one IP in (according to the log analyzer I use) Luxembourg.  It look like someone has written a program that can fill in and submit the contact form.  I wrote something like that a long time ago to test a web site, and it isn't really that hard to do.

Like your site, mine is also a family and friends affair.

Adding the Captcha in Backlight 2 was pretty easy.  OK, it was extremely easy!

Paul

#25 Re: Backlight 2 Support » Change email username » 2018-12-31 09:23:03

OK, I think Rob answered my question.  When I change it in SMTP settings, those setting are used by the Mail version of things.  I forgot about that.

I have been using "mail".  I've started getting a bunch of spam on that address, which is only used in Backlight.  As much as I hate to, I'm going to turn on Re-Captcha on that page.

I'm using PHP 7.3 on 1and1 or whatever they're calling themselves these days!

And I agree completely with your comment about updating the database directly to change settings.  I backed up the database file before I tried that.

Board footer

Powered by FluxBB