I am experiencing issues with the functionality regarding allowing the addition of non-blue members to register for the website. Currently the radio box is not saving the value Allow non-blue members to register and reverting to "No". As we are wanting to use the website as a recruitment tool this feature would be invaluable but currently it requires that we blue the character before allowing API submission.

Comments

0mni’s picture

Fixed in latest DEV version, here is the patch.

diff --git a/eve_api.admin.inc b/eve_api.admin.inc
index 9f1510c..c23d586 100644
--- a/eve_api.admin.inc
+++ b/eve_api.admin.inc
@@ -651,7 +651,7 @@
   $access_mask = variable_get('eve_api_access_mask', 268435455);
 
   variable_set('eve_api_access_mask', $new_access_mask);
-  variable_get('eve_api_require_blue', (bool) $form_state['values']['blue']);
+  variable_set('eve_api_require_blue', (bool) $form_state['values']['blue']);
 
   if ($access_mask != $new_access_mask || round((float) variable_get('eve_api_required_standing', 0.1), 1) != round((float) $form_state['values']['standing'], 1) || (int) variable_get('eve_api_require_expires', FALSE) != (int) $form_state['values']['expires'] || (int) variable_get('eve_api_require_type', TRUE) != (int) $form_state['values']['type']) {
     variable_set('eve_api_required_standing', round((float) $form_state['values']['standing'], 1));
0mni’s picture

Status: Active » Closed (fixed)