Skip to Content
Register · Login
About Theme

A Letterboxing Community

Search Edit Search

Read Thread: Trouble logging an unlisted attempt

Re: Trouble logging an unlisted attempt
Board: Letterboxing Help Desk
Reply to: #969235 by Green Tortuga
Dec 9, 2018 7:00pm
Board
Thanks for fixing the bug! I appreciate it.

As for the capitalization, that makes sense, but I really did think I was the first to log this particular box. I'll keep your suggestions in mind going forward! Thanks!
Re: Trouble logging an unlisted attempt
Board: Letterboxing Help Desk
Reply to: #969236 by YankeeChiK
Dec 9, 2018 9:49pm
Board
I really did think I was the first to log this particular box.

Hmm.... I took a look at the code, and you might be right. It looks like I mis-remembered how the code works where AQ automatically capitalizes the first letter of each word.

The rest of what I wrote is true--however it's stored in the database is how everyone else will see it show up in their logbook. That might actually be why I decided to have it automatically capitalize the first letter of each word. A lot of people don't type with capital letters which drives some people crazy, and if I didn't auto-capitalize them, it would likely cause a lot of annoyance for people who would prefer titles use capitalization. (You're actually the first person to ever complain about one of the words not being capitalized!)

Maybe I can make the code detect if the person used some capitalization and only capitalize the first letter of each word if they didn't use any at all? If they used it on some words but not others, that would assume that they deliberately chose not to capitalize certain words and it should be left alone. Hmm.....

-- Ryan
Re: Trouble logging an unlisted attempt
Board: Letterboxing Help Desk
Reply to: #969238 by Green Tortuga
Dec 9, 2018 10:16pm
Board
Okay.... I take back some of what I said in my last post. I was digging into the code more and this is what happens.... =)

When you click the "Create New Entry" to add new unlisted box, it'll automatically capitalize everything on the next page where you fill in and/or confirm the existing details.

At that point, you can change the capitalization to exactly how you want it and it'll stick. (But again, only if someone else hasn't already recorded the find on the unlisted box--otherwise, it uses what the first person recorded.)

So you can change how the capitalization is saved.... but only on that final confirmation page will it stick--and only if you were the first person to record the find.

-- Ryan
Re: Trouble logging an unlisted attempt
Board: Letterboxing Help Desk
Reply to: #969239 by Green Tortuga
Dec 10, 2018 5:02pm
Board
Thanks Ryan for taking the time to check into this and to explain how it all works! :-)