Ignore:
Timestamp:
Aug 28, 2010, 10:20:24 PM (14 years ago)
Author:
Eric
Message:

bug 1434 fixed : Bridge between Register_FluxBB and UAM for users registration control

  • Language files updated (FR and EN are OK. DE is to do)
  • Admin page small refactory
  • Database upgrade process updated for new plugin version
  • Version 2.3.0 hard coded
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Register_FluxBB/trunk/include/functions.inc.php

    r6791 r6815  
    5858  $registred = time();
    5959  $registred_ip = $_SERVER['REMOTE_ADDR'];
    60 
    61   $query = "
     60 
     61  // Check if UAM is installed and if bridge is set - Exception for admins and webmasters
     62  if (function_exists('FindAvailableConfirmMailID') and isset($conf_Register_FluxBB[6]) and $conf_Register_FluxBB[6] == 'true')
     63  {
     64    $o_default_user_group = $conf_Register_FluxBB[7];
     65  }
     66  else
     67  {
     68    $query = "
    6269SELECT conf_value
    6370FROM ".FluxBB_CONFIG_TABLE."
     
    6572;";
    6673
    67   $o_default_user_group = pwg_db_fetch_assoc(pwg_query($query));
     74    $o_default_user_group = pwg_db_fetch_assoc(pwg_query($query));
     75  }
    6876
    6977// Check for FluxBB version 1.4.x and get the correct value
Note: See TracChangeset for help on using the changeset viewer.