Skip to Content
Register · Login
About Theme

A Letterboxing Community

Atlas Quest
Search Edit Search

Read Thread: Trouble logging an unlisted attempt

Re: Trouble logging an unlisted attempt
Board: Letterboxing Help Desk
Reply to: #969233 by YankeeChiK
Dec 9, 2018 5:06pm
Thread (disabled) Board
I've tried several times to log an unlisted traditional attempt today and each time, it records it as a find.

Sorry about that. Bug in the code, but it should be fixed now!

I'm also curious why AQ sometimes changes the capitalization of an unlisted box.

That would be because someone already recorded an unlisted find with that name and your find is attached to it. The database isn't very good at recognizing when the capitalization is different.

The easiest way around that that is to make sure you are the first person who record a certain box name. Maybe using the name of the location of where the box was located or who planted it.

If it's in the list box matching unlisted boxes--that's how it's going to show no matter how you change the capitalization. It has to be a completely new entry in the database for your capitalization to stick.

-- Ryan
Re: Trouble logging an unlisted attempt
Board: Letterboxing Help Desk
Reply to: #969235 by Green Tortuga
Dec 9, 2018 7:00pm
Thread (disabled) 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
Thread (disabled) 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
Thread (disabled) 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
Thread (disabled) Board
Thanks Ryan for taking the time to check into this and to explain how it all works! :-)