Andrey Bogomazov

Add new...
 
Added a discussion 

Hello everyone!

My site is in Russian. In Polyglot, Russian is selected as the main language. But the dates and location in the events are displayed in English (everything is ok in the calendar). How to fix it?

pzwdnxsiprysncbhg89avdyejlf3xcyd.png

erfvr2zwmhjnwpl9efrrrca6hjqdcurs.png

5evai4plvxdixacccp728cq4yffy6mkz.png

  • 252
    • So what should I do about it? 🙂

      💓0 😆0 😲0 😥0 😠0 0
      • Hello Andrey Bogomazov !

        You may wait for the next UNA release and this trouble will be solved via Apps Market. Or you may apply those fixes from the mentioned ticket:

        https://github.com/unaio/una/commit/7d21e895b9c32bfcf8aaca450ae31520072c349d

        and

        https://github.com/unaio/una/commit/d0bbad9192b233f8b8fa11e7dd794e3c102e75ab

        💓0 😆0 😲0 😥0 😠0 0
        • 💓0 😆0 😲0 😥0 😠0 0
          Not logged in users can't 'Comments Post'.
          Added a discussion 

          Hi everyone!

          I want to customize email templates. For example, the letter about registering new accounts contains little information. I have added custom fields and want the selected values to be displayed in the email.

          As far as I understand, this is done using macro values. For example, {site_name}, {email_header} & etc. Where can I find a list of all the macros, or how can I create and use my own macros in email templates? For example, {job_titile}, {personal_status} or {field_of_activity}.

          • 217
            • Yes, I understand what do you mean. As you may see in the inc/classes/BxDolEmailTemplates.php file the replacement keys are defined in the PHP code as an example here:

              * @section example Example of usage

               *

               * Send an email using email templates:

               *

               * @code

               *

               *     // define custom template variables

               *     $aPlus = array();

               *     $aPlus['email'] = 'ktoto@example.com';

               *     $aPlus['conf_code'] = '123456';

               *     $aPlus['conf_link'] = BX_DOL_URL_ROOT . 'page.php?i=confirm-email&code=123456';

               *     $aPlus['conf_form_link'] = BX_DOL_URL_ROOT . 'page.php?i=confirm-email';

               *

               *     $aTemplate = BxDolEmailTemplates::getInstance()->parseTemplate('t_Confirmation', $aPlus); // get class instance and parse template

               *

               *     if ($aTemplate && sendMail('ktoto@example.com', $aTemplate['Subject'], $aTemplate['Body'])) // send email if template exists

               *         echo 'email was successfully sent';

               *     else

               *         echo 'email send failed';

               *

               * @endcode

               So new "terms" like your new field should be added in the PHP code only.

              💓0 😆0 😲0 😥0 😠0 0
              • Thank you, LeonidS.

                So what's the point of adding individual (custom) fields to forms if information from them does not get anywhere?

                💓0 😆0 😲0 😥0 😠0 0
                • Find the place where the sendMail function is called and add there the necessary parameters. For example, in what email do you want to add more fields?

                  💓0 😆0 😲0 😥0 😠0 0
                  Not logged in users can't 'Comments Post'.
                  Added a discussion 

                  Hello!

                  Can't view photos from albums. Although the photos for the events are opening.

                  Event is OK

                  image_transcoder.php?o=bx_froala_image&h=5112&dpx=2&t=1621508566

                  Album not OK (I waited a very long time. Are not loaded)

                  image_transcoder.php?o=bx_froala_image&h=5113&dpx=2&t=1621508596

                  • 232
                  Added a discussion 

                  Hello everyone. Unable to upload any image. Photos are not loaded in publications, in events. I can't replace the logo.

                  • 288
                    • I wrote in support of my hosting. Here's what they answered.

                      Некорректное отображение загруженных картинок связано с ошибками в работе скрипта image_transcoder.php или скриптов, которые с ним взаимодействуют:

                      GET https://wuomr.ru/image_transcoder.php?o=sys_custom_images&h=23&dpx=1&t=1621516998&x=260&y=48

                      Состояние 404

                      Not Found

                      Судя по тематическим ресурсам по UNA.IO, это распространенная ошибка. Рекомендуем обратиться на эти ресурсы или к разработчикам сайта, чтобы найти решение.

                      С нашей стороны это сделать не получилось.

                      💓0 😆0 😲0 😥0 😠0 0
                      • It turns out there is problem with the certificate:

                        https://www.ssllabs.com/ssltest/analyze.html?d=wuomr.ru&s=141.8.192.26

                        Particularly:

                        💓0 😆0 😲0 😥0 😠0 0
                        • Thank you! Solved!

                          💓0 😆0 😲0 😥0 😠0 0
                          Not logged in users can't 'Comments Post'.
                          changed a profile cover 
                          • 366
                          Achievements

                          Jedi

                          Total points: 467

                          633.2 point(s) to reach
                          Info
                          Location:
                          Sochi, Krasnodar Krai, Russia
                          Gender:
                          Man
                          Friends count:
                          Followers count:
                          Full Name:
                          Andrey Bogomazov
                          Membership
                          Premium
                          Andrey Bogomazov Discussions
                          •  ·  252
                          •  · 
                          Hello everyone!My site is in Russian. In Polyglot, Russian is selected as the main language. But the…
                          •  · 
                          •  · 
                          •  · Hello! Not working :(Described the problem on GitHub https://github.com/unaio/una/commit/d0bbad9192b…
                          •  ·  217
                          •  · 
                          Hi everyone!I want to customize email templates. For example, the letter about registering new accou…
                          •  · 
                          •  · 
                          •  · Find the place where the sendMail function is called and add there the necessary parameters. For exa…
                          •  ·  232
                          Hello!Can't view photos from albums. Although the photos for the events are opening.Event is OKAlbum…
                          •  ·  288
                          •  · 
                          Hello everyone. Unable to upload any image. Photos are not loaded in publications, in events. I can'…

                          UNA - Network Infrastructure for Communities

                          Close