Beginner questions (and some bugs/feedback)

Background:

I installed UNA-v.14.0.0-RC3 on ubuntu for evaluating and playing with it, and have a few newbie questions.

Some of these, I don't know if they are bugs in UNA or problems with my installation (of UNA and/or Ubuntu packages)

I have also looked at

github / nacms

 unacms wiki/Introduction    (several of the sub-pages)

Questions & Help Needed:

- When customizing/editing pages like: about, terms, privacy, and menu items in system header, how to do it

 so if I update UNA, it doesn't overwrite my changes.

- Studio, Navigation | system | footer, items listed as "Language" and "Template" do not show up (I'm logged to UNA as una admin account)

 I don't see any restriction selected. Custom action says: bx_menu_popup('sys_switch_template', window);

 What else determines if this item gets shown? 

- create profile, I upload a profile photo, it goes through as if ok, then shows a broken link where the photo should be

 Is it the "Storage" subsystem or ffmpeg or other problem?

 Back to the main page, it shows blank user image; then when I click "upload new" on the main page, it works correctly

 Then later, it doesn't show again. I refreshed the page as well, and it still doesn't show.

 - possibly related: in groups, where it shows "n members" or "n followers", there is a little broken icon link

 - similar problem when I upload image for a group; it shows up at first, then when I refresh the page, it's a broken link

 - sample from page:

   (the & may be because of the way I copy/pasted) localhost:8000/ image_transcoder.php?o=bx_persons_thumb&h=2&dpx=1&t=1739212812 

   When I put that URL into firefox, I get an UNA page that says "Page Not Found"

   (localhost:8000 is my UNA server's web address for my test/evaluation site)

- In "Groups", when I show group info, it shows group info block, and an "info" block, the "info" information is already in the group info block as "description", so it appears twice on the page and looks silly/confusing

 I can disable the "info" block by editing the page. What happens when I update the software, will I lose my changes?

 What is the best way of customizing some of these without losing my changes every time?

Bugs & suggestions

- Icons and commands show "javascript:void(0)" on bottom of my browser window when I hover over them

 Many of the icons are not self-explanatory, and a hover help text (or long-click for mobile devices)

 would be very helpful! 

 On PCs, popup text that goes away when you move the mouse and/or what shows in the browser status area on the bottom (bottom area is not as helpful for more users since they don't know to look for it; for technical people like me, it's ok.)

- Bug: I added help to a page, then when I go to display the page and press the "?",

 the popup help shows up, but if it's on the left of the screen, part of the popup balloon is missing

 and I can't read the full help text. In this case, the popup balloon should be placed more to the rights

 so the entire balloon is visible.  (Probably has same problem if it's to the right of the screen)

  • 1311
  • More
Replies (7)
    • Hello @amp834 !

      Welcome to aboard! Let's review your list. Note that most of them have been described here, on the forum or in the docs pages.

      >- When customizing/editing pages like: about, terms, privacy, and menu items in system header, how to do it.

      It is possible to do via the Polyglot app

      >so if I update UNA, it doesn't overwrite my changes.

      Yes, all your Studio changes will not be touched by the upgrade process.

      >Studio, Navigation | system | footer, items listed as "Language" and "Template" do not show up (I'm logged to UNA as una admin account)

      If you have only 1 language and 1 template / them then those menu items will not be shown.

      - create profile, I upload a profile photo, it goes through as if ok, then shows a broken link where the photo should be

      This fix may help https://unacms.com/cmts-view/z9tfe0?sys=bx_forum&cmt_id=43244

      >I can disable the "info" block by editing the page. What happens when I update the software, will I lose my changes?

      No, the upgrade doesn't affect on the Pages app settings.

      About possible bugs please PM me with your UNA studio access.

      • Thanks for the replies!

        Images not showing up, from the link you sent: To transcode an image or video UNA needs to fetch the original file, UNA tries to get it via URL from the server itself, however if your site can't be loaded from the server itself then it fails. It maybe different way to fix this, but in most cases it helps if you add the following line to /etc/hosts file:

        127.0.0.1 your-una.domain

        I have una in a docker image, with docker container port 80 mapping to external world as 8000 (docker option: -p 8000:80). (apache2 serves on port 80). I have no name for the (docker container/instance) machine, just localhost:8000 from my host computer that runs/hosts docker

        From my host (where I run Firefox), the url is (http) localhost:8000/image_transcoder.php; from within the container, it's :80 instead of :8000.

        How can I get things to work in this scenario?

        I found this in the UNA documentation: environment variable   UNA_HTTP_HOST - UNA hostname, if other than 80 port is used, then it need to be specified here, for example localhost:8000, default - localhost

        Not sure what this means for me, do I set UNA_HTTP_HOST = localhost:8000  or localhost:80? 

        How is this environment variable used by UNA, in what scenario/operations?

        Or possibly do something with iptables?

        • > Yes, all your Studio changes will not be touched by the upgrade process.

          I'm leery of this answer because of what I saw while browsing the code. I was looking at, for example, the groups module's "install/sql" directory, where the file disable.sql has lines like:

          DELETE FROM `sys_objects_page` WHERE `module` = 'bx_groups';

          and in the enable.sql where it writes items into sys_objects_page for bx_groups, and into other system tables.

          That would overwrite/clobber anything I would have customized/edited in those pages.

          So just to be safe, I'm double checking, what are the best ways to customize pages? Is it best not to try to change module pages, and only change system pages? The system pages don't get overwritten during any upgrade?

          • Your initial question was about the UNA upgrade. The mentioend commands from the install/sql/disable.sql file of every module relates to the situation when you need to "restore the basic settings" of the app. This is another case and yes, this procedure deletes all page blocks, menu items and settings of the app.

            So the best way to customize pages - do eveything via the Studio and make regular backup of the files and database, for example twice on month.

            • I resolved this situation (where a docker container is serving Una), and am posting it here in case it helps someone else.

              Edit /etc/apache2/ports.conf, add Listen 8000; and edit mysite.conf to: <VirtualHost *:80 *:8000>

              With these changes, within the docker container, localhost:8000 works as well.

              If I were to do this from scratch, I would configure apache2 to server on 8000 only, and docker map 8000->8000, so from within the container and from outside the container, localhost:8000 would be the correct address. I would not need port 80.

              • (I'm not sure if I should continue posting my beginner-questions here, or start a new discussion. Possibly here so another beginner will find all of these?)

                I installed the UNA SMTP module, entered setup info, and tried to send a test mail from there, I get "Mail send failed" when sending a test message.

                I'm on ubuntu, with postfix mailer installed, I'm running

                smtp-sink -u www-data -c -v -D emails.txt localhost:25 20

                which listens on port 25 as an smtp server, and logs any activity requests.

                When I telnet localhost 25, the smtp-link program does show log messages.

                When I send a test message from UNA SMTP module, UNA is NOT communicating with the smtp server at all, I get no log messages from smtp-sink, and get the "Mail send failed" message in UNA.

                Same results when I go to UNA as an non-email-verified user and press the "send the verification letter again", I get "Error occurred, please report error to site administrator.", and no activity/logs from the SMTP program (so UNA did not actually communicate with the SMTP server).

                I checked several posts on the discussion list, and searched the internet, and didn't find anything that worked.

                Any ideas what to check?

                • Today, under UNA studio | SMTP Mailer | settings, I changed the "SMTP server name or IP address" from 127.0.0.1 to localhost and it is working fine now, it does talk to the SMTP server and sends the email. (I have no idea why one works and the other doesn't!)

                  Login or Join to comment.