Add Config Toggle to Show Confirmations in Visitor Map#3428
Add Config Toggle to Show Confirmations in Visitor Map#3428PhillipHunter wants to merge 4 commits intomagicbug:masterfrom
Conversation
|
Pulling to draft and making this configurable, as I just noticed the comments regarding it being set to false, so I assume there was some intent there... |
…s' into fix/visitor-gridmap-confirmations # Conflicts: # application/controllers/Visitor.php
|
Added config setting for this, though I'm not sure why one would ever want that off. I'm not very familiar with the details of GDPR and such though. |
|
Nice idea, I am trying to avoid putting anything in config.php anymore and instead using the Global Options in Cloudlog, where the options are storeNice idea, I am trying to avoid putting anything in config.php anymore and instead using the Global Options in Cloudlog, where the options are stored in the database This is using the OptionsLib library // Example: set/update a global option $optionName = 'my_feature_enabled'; if ($this->Options_model->item($optionName) === null) { Usually I create a migration to make the new option automatically exist |
On the public visitor gridsquare and confirmations maps at
/visitor/gridmap/<callsign>, I noticed that grids that the station operator has confirmed (via LoTW, eQSL, paper QSL, or QRZ.com) never appear as "confirmed" on the map, and stayed their red color.It appears that the calls to the function for this did not have any of these services enabled for confirmation when called from the visitor page, causing this erroneous behavior.
I have since changed it to be true for these fields, allowing it to properly propagate those confirmations to the public page.