Claudio Acosta

  • 1236
Add new...
 
Added a discussion 

Hi all

In the create person form I added a multiple selection field that gets the information from the "Areas de trabajo" data list.

image_transcoder.php?o=bx_froala_image&h=5176&dpx=1&t=1623670728 image_transcoder.php?o=bx_froala_image&h=5178&dpx=1&t=1623670824 image_transcoder.php?o=bx_froala_image&h=5179&dpx=1&t=1623670841

In order to do this, I added a column to the bx_persons_data table, I created the field "Areas_de_trabajo" type bigint (20). I honestly don't know why I created the field with that type.

image_transcoder.php?o=bx_froala_image&h=5180&dpx=1&t=1623670858

The issue is, the selection that a person makes is saved iin DB as a number, for example 33554432 or 195, etc. My question is how does the software (UNA) to translate that number to one or more specific workspaces from the list of "Areas de trabajo" created ?

I hope someone can guide me.

Thank you.

  • 227
    • Thanks LeonidS, I understand now.

      Anyway the query is the same. That is, the UNA platform works correctly, I can correctly view the information selected by the person in the form. No problem with this.

      My question is how I have to do (running my own software) to translate that value saved in the bigint field to the values selected by a person, that is, how does UNA do it?

      Thanks.

      0 0 0 0 0 0
      • The values are stored in the database field as a binary number. In inc/classes/BxDolForm.php, you will find the passSet function that takes the array of values and creates the number that is stored. There is also the displaySet function that takes the stored database value and translates it into the original array of values. 

        0 0 0 0 0 0
        • Thank you Jerome Mingo 
          It's what I needed to know.

          0 0 0 0 0 0
          Not logged in users can't 'Comments Post'.
          Added a discussion 

          Hi UNA team

          What is the programmer profile that is needed to understand the code of the UNA platform and to develop modules that interact with it? what skills are necessary?

          Thanks.

          • 356
            • Alex T⚜️ LeonidS When you can, I would appreciate if you could answer this question, thank you.

              0 0 0 0 0 0
              • For sure PHP and MySQL for the backend, JavaScript, HTML and CSS for frontend.

                Architecture

                UNA is build using PHP and MySQL as backend, for the frontend we used HTML, CSS and Javascript, you can find more information about UNA architecture here.

                https://una.io/page/Start-Guide-General#Architecture 

                0 0 0 0 0 0
                • Thanks Jose Sadel
                  I thought that other technologies were used in addition to those mentioned.
                  Regards.

                  0 0 0 0 0 0
                  Not logged in users can't 'Comments Post'.
                  Added a discussion 

                  Hello UNA team

                  I share this in case it helps you.

                  From one moment to another my page stopped working, gave an error: "HTTP ERROR 500".

                  I contacted my hosting (TMD Hosting), they enabled debug to investigate and then this message appeared when entering the web page:

                  "Parse error: syntax error, unexpected 't_family' (T_STRING), expecting ')' in /home/hypatiac/tnoa.com.ar/cache/db_sys_options_2a0923ba3a7029876fc838cad4616393.php on line 534

                  Fatal error: Exception thrown without a stack frame in Unknown on line 0 "

                  Finally, they solved the problem by modifying a line of code. Here is the change they made:

                  "We would like to inform you that we have changed the code in the file /home/hypatiac/tnoa.com.ar/cache/db_sys_options_2a0923ba3a7029876fc838cad4616393.php:

                  from

                  'bx_protean_menu_page_font_family(t_family)' => 'Arial, sans-serif',

                  to

                  'bx_protean_menu_page_font_family' => 'Arial, sans-serif',"

                  Regards

                  • 434
                    • Hello Claudio Acosta !

                      Please remember this fix and try to clear the cache. Provide us plz what will you get.

                      0 0 0 0 0 0
                      • LeonidS
                        I'm not understanding what you want me to do.
                        Could you clarify?

                        0 0 0 0 0 0
                        Not logged in users can't 'Comments Post'.
                        Added a discussion 

                        Hi all

                        When I paste text with icons in an update, when I publish it appears empty. However, if I publish the same text and icons in an update in a.io, the publication is done, sometimes without the icons and other times with them.

                        I share video.

                        Can this happen because I don't have Froala installed?

                        Thanks.


                        • 446
                          • Hi Claudio Acosta !

                            Yes, better to check every table.

                            0 0 0 0 0 0
                            • It's better to check all database table and fields, but for this particular case it's `bx_timeline_events` table and `content` field

                              0 0 0 0 0 0
                              • Thanks Alex T⚜️ 

                                0 0 0 0 0 0
                                Not logged in users can't 'Comments Post'.
                                Added a discussion 

                                To the UNA team.

                                The update does not work correctly when sharing an Instagram link.

                                I share video.

                                It also does not work on the 2 web pages I have with UNA 11.0.4

                                Thanks



                                • 467
                                  • Hi Alex T⚜️

                                    I have any link to a publication on Instagram, this for example: https://www.instagram.com/p/CKpQAMCph6T/?utm_source=ig_web_copy_link

                                    In una.io I go to "update", I click the link icon and paste the above link.

                                    Doing so does not display a preview of the publication. Also not after clicking "POST".

                                    I attach another video.

                                    Regards.

                                    0 0 0 0 0 0
                                    • Thank you for the detailed explanation, after some checking it looks like embedly isn't working for instagram links, so maybe embedly is blocked by instagram, on una.io we use embedly and it cause instagram links aren't converting to embeds.

                                      Also I've checked - iframely is working fine for instagram links, so you can try to switch to iframely instead.

                                      0 0 0 0 0 0
                                      • Thanks Alex T⚜️
                                        I switched to Iframely but nothing was working so I reconfigured Embedly.
                                        I found this on Embedly, from last November: http://status.embed.ly/
                                        Regards.

                                        0 0 0 0 0 0
                                        Not logged in users can't 'Comments Post'.
                                        Achievements

                                        Grand Master

                                        Total points: 1293.5

                                        6906.7 point(s) to reach
                                        Info
                                        Location:
                                        Corrientes, Corrientes, Argentina
                                        Gender:
                                        Man
                                        Friends count:
                                        Followers count:
                                        Full Name:
                                        Claudio Acosta
                                        Membership
                                        Premium
                                        Claudio Acosta Discussions
                                        •  ·  227
                                        •  · 
                                        Hi allIn the create person form I added a multiple selection field that gets the information from th…
                                        •  · 
                                        •  · 
                                        •  · Thank you Jerome Mingo It's what I needed to know.
                                        •  ·  356
                                        •  · 
                                        Hi UNA teamWhat is the programmer profile that is needed to understand the code of the UNA platform …
                                        •  · 
                                        •  · 
                                        •  · Thanks Jose SadelI thought that other technologies were used in addition to those mentioned.Regards.
                                        •  ·  434
                                        •  · 
                                        Hello UNA teamI share this in case it helps you.From one moment to another my page stopped working, …
                                        •  · 
                                        •  · 
                                        •  · LeonidSI'm not understanding what you want me to do.Could you clarify?
                                        •  ·  446
                                        •  · 
                                        Hi allWhen I paste text with icons in an update, when I publish it appears empty. However, if I publ…
                                        •  · 
                                        •  · 
                                        •  · Thanks Alex T⚜️ 
                                        •  ·  467
                                        •  · 
                                        To the UNA team.The update does not work correctly when sharing an Instagram link.I share video.It a…
                                        •  · 
                                        •  · 
                                        •  · Thanks Alex T⚜️ I switched to Iframely but nothing was working so I reconfigured Embedly.I found thi…
                                        •  ·  438
                                        •  · 
                                        Hi allIs it possible to set a different logo size for mobile displaying?Could it be done with CSS?Th…
                                        •  · 
                                        •  · 
                                        •  · Hello LeonidS !Having same problem, need to make mobile logo small in order to display ok the logo a…

                                        UNA - Network Infrastructure for Communities

                                        Close