meeting-room-booking-system / mrbs-code

MRBS application code
Other
124 stars 61 forks source link

Configuration panel #3556

Open lagethomas opened 11 months ago

lagethomas commented 11 months ago

Is there the possibility of creating a screen to configure the system? A screen to easily configure LDAP, SMTP and other types of connections? I've been struggling for several hours to get these settings to work and they don't work.

campbell-m commented 11 months ago

I've noted your request for a configuration screen.

Can you raise your issues with getting LDAP and SMTP to work as two new tickets please?

pmonstad commented 11 months ago

I second this request. A config screen for superadmin to setup/configure the system is very much welcome.

lagethomas commented 11 months ago

Anotei sua solicitação de uma tela de configuração.

Você pode levantar seus problemas para fazer com que LDAP e SMTP funcionem como dois novos tickets, por favor?

After a lot of struggle, I managed to get SMTP and LDAP to work. Both are 100% now. Now we just suggest a configuration screen to make the process easier.

jberanek commented 11 months ago

Although...it wouldn't simplify LDAP or email config, which are implicitly complex.

lagethomas commented 11 months ago

One idea would be to save the information in the database in a configuration table and retrieve all the values ​​for variables in the config.

lagethomas commented 11 months ago

Although...it wouldn't simplify LDAP or email config, which are implicitly complex.

The interesting thing is that once you get the configuration right, it becomes something simple. Most errors can be caused by the provider itself.

lagethomas commented 11 months ago

I've noted your request for a configuration screen.

Can you raise your issues with getting LDAP and SMTP to work as two new tickets please?

Where can I put the settings I made to help others? Do I make a topic for each configuration?

campbell-m commented 11 months ago

Where can I put the settings I made to help others? Do I make a topic for each configuration?

Yes, you could raise two new topics.

newtonpal commented 11 months ago

I've noted your request for a configuration screen. Can you raise your issues with getting LDAP and SMTP to work as two new tickets please?

Where can I put the settings I made to help others? Do I make a topic for each configuration?

@lagethomas Can you share your settings for SMTP? Thanks in advance

lagethomas commented 11 months ago

Anotei sua solicitação de uma tela de configuração. Você pode levantar seus problemas para fazer com que LDAP e SMTP funcionem como dois novos tickets, por favor?

Onde posso colocar as configurações que fiz para ajudar outras pessoas? Faço um tópico para cada configuração?

@lagethomasVocê pode compartilhar suas configurações de SMTP? desde já, obrigado

My config here:

$mail_settings['admin_lang'] = 'pt';
$mail_settings['admin_backend'] = 'smtp';
$mail_settings['details'] = true;
$mail_settings['html'] = true;
$mail_settings['from'] = 'your_email@gmail.com';
$mail_settings['recipients'] = '';
$mail_settings['organizer'] = ' ';
$mail_settings['use_from_for_all_mail'] = false;

$mail_settings['admin_on_bookings']      = true;  // the addresses defined by $mail_settings['recipients'] below
$mail_settings['area_admin_on_bookings'] = true;  // the area administrator
$mail_settings['room_admin_on_bookings'] = true;  // the room administrator
$mail_settings['booker']                 = true;  // the person making the booking
$mail_settings['book_admin_on_approval'] = true;
$mail_settings['on_new']    = true;   // when an entry is created
$mail_settings['on_change'] = false;  // when an entry is changed
$mail_settings['on_delete'] = false;
// Configurações para conexão SMTP
$smtp_settings['host'] = '**smtp.your.server**';
$smtp_settings['port'] = 587;
$smtp_settings['secure'] = '';
$smtp_settings['auth'] = true;
$smtp_settings['username'] = '**you_email@gmail.com**';
$smtp_settings['password'] = '**YOUR_PASSWORD**';
newtonpal commented 11 months ago

Anotei sua solicitação de uma tela de configuração. Você pode levantar seus problemas para fazer com que LDAP e SMTP funcionem como dois novos tickets, por favor?

Onde posso colocar as configurações que fiz para ajudar outras pessoas? Faço um tópico para cada configuração?

@lagethomasVocê pode compartilhar suas configurações de SMTP? desde já, obrigado

My config here:

$mail_settings['admin_lang'] = 'pt';
$mail_settings['admin_backend'] = 'smtp';
$mail_settings['details'] = true;
$mail_settings['html'] = true;
$mail_settings['from'] = 'your_email@gmail.com';
$mail_settings['recipients'] = '';
$mail_settings['organizer'] = ' ';
$mail_settings['use_from_for_all_mail'] = false;

$mail_settings['admin_on_bookings']      = true;  // the addresses defined by $mail_settings['recipients'] below
$mail_settings['area_admin_on_bookings'] = true;  // the area administrator
$mail_settings['room_admin_on_bookings'] = true;  // the room administrator
$mail_settings['booker']                 = true;  // the person making the booking
$mail_settings['book_admin_on_approval'] = true;
$mail_settings['on_new']    = true;   // when an entry is created
$mail_settings['on_change'] = false;  // when an entry is changed
$mail_settings['on_delete'] = false;
// Configurações para conexão SMTP
$smtp_settings['host'] = '**smtp.your.server**';
$smtp_settings['port'] = 587;
$smtp_settings['secure'] = '';
$smtp_settings['auth'] = true;
$smtp_settings['username'] = '**you_email@gmail.com**';
$smtp_settings['password'] = '**YOUR_PASSWORD**';

@lagethomas Obrigado pela partilha! Thanks for the share!

20dec commented 6 months ago

Anotei sua solicitação de uma tela de configuração. Você pode levantar seus problemas para fazer com que LDAP e SMTP funcionem como dois novos tickets, por favor?

Onde posso colocar as configurações que fiz para ajudar outras pessoas? Faço um tópico para cada configuração?

@lagethomasVocê pode compartilhar suas configurações de SMTP? desde já, obrigado

My config here:

$mail_settings['admin_lang'] = 'pt';
$mail_settings['admin_backend'] = 'smtp';
$mail_settings['details'] = true;
$mail_settings['html'] = true;
$mail_settings['from'] = 'your_email@gmail.com';
$mail_settings['recipients'] = '';
$mail_settings['organizer'] = ' ';
$mail_settings['use_from_for_all_mail'] = false;

$mail_settings['admin_on_bookings']      = true;  // the addresses defined by $mail_settings['recipients'] below
$mail_settings['area_admin_on_bookings'] = true;  // the area administrator
$mail_settings['room_admin_on_bookings'] = true;  // the room administrator
$mail_settings['booker']                 = true;  // the person making the booking
$mail_settings['book_admin_on_approval'] = true;
$mail_settings['on_new']    = true;   // when an entry is created
$mail_settings['on_change'] = false;  // when an entry is changed
$mail_settings['on_delete'] = false;
// Configurações para conexão SMTP
$smtp_settings['host'] = '**smtp.your.server**';
$smtp_settings['port'] = 587;
$smtp_settings['secure'] = '';
$smtp_settings['auth'] = true;
$smtp_settings['username'] = '**you_email@gmail.com**';
$smtp_settings['password'] = '**YOUR_PASSWORD**';

hi, where can i put those config lines to?

campbell-m commented 6 months ago

They go in the file config.inc.php.