OneEagle

  • 154
Add new...
 
Added a discussion 

Hello,

I have been trying to create a new language module and automate the step of copying all english xml files to one place, but without any success.

I am running an Apache serve and I have managed to install Phing with all its dependencies using the following commands:

pear channel-discover pear.phing.info

pear install --alldeps phing/phing

Phing 2.16.4 (the lastest stable verion) was installed successfully.

With the following command, I've found the Phing Directory:

pear config-get php_dir

Phing is installed here:

/opt/cpanel/ea-php73/root/usr/share/pear

Now the problem is the command phing package_all_langs doesn't work.

My test site is installed on a subdomain. I copied the build.xml file from https://github.com/unaio/una and pasted it in UNA root folder (the subdomain). From the root of that UNA site (xxxx.yyyyy.com) whenever I run phing package_all_langs It returns this error:

-bash: phing: command not found

Did I miss something? Please help.

Thanks

  • 164
    • There are various methods of installing phing - https://www.phing.info/

      I think the easiest one is to just download phar binary and run it like this:

      php phing.phar package_all_langs
      0 0 0 0 0 0
      • Hi Alex T⚜️,

        I want to thank you for taking the time to answer my question. I got it to work now!

        First of all, I have uninstalled the Phing I've installed using the pear command.

        Then I run the command you provided but i slightly changed it because the file I downloaded from https://www.phing.info/  was phing-latest.phar

        So the final command I run was:

        php phing-latest.phar package_all_langs

        and it works perfectly. Once again, thanks for the support!

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

        Hello UNA team,

        From time to time, the notification counter goes crazy showing hundreds of nonexistent notifications. I assume if it's happening here on una.io, it will happen on any other UNA website. Is there any fix to this problem?

        Thanks

        • 176
          • Yes, the problem occured on the home page after you applied the fix and i had to refresh it (the home page). I didn't open the popup with the notifications preview or the notification page. I have just refreshed the home page and the counter was back to normal, od notifications disappeared from the counter. Since then, the counter seems to work fine. If the problem happens again. I will let you know. Thanks

            0 0 0 0 0 0
            • Hello. Notifications are Marked as Read (it changes the counter's value) when Notifications popup or Notifications page are opened. If you refreshed the home page and it changed the counter's value then it may be a browser's cach.
              We are still watching the problem. Thank you for helping.

              0 0 0 0 0 0
              • Hi Anton L , Yeah I've thought about the broswer cache too. Well, let us keep on watching the problem. So far so good! Thanks for the support.

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

                Hello,

                I haven't looked into the UNA translation yet but since UNA is almost a Dolphin's big sister, I would like to know if all the Dolphin language strings were ported to UNA?

                I already have some Dolphin translations and I am trying to see if I can use the already translated words and phrases and put them into UNA to save time when translating.

                Thanks


                • 176
                  • It has different language translation from dolphin I don't think you can use it.

                    0 0 0 0 0 0
                    • Hello OneEagle !

                      Yes, dear Expertzkris is right - there are too many differences between lang keys.

                      0 0 0 0 0 0
                      • Thanks


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

                        Hello UNA Team,

                        For a fresh installation, is it safe to use the Lastest DEV build for a production site (Live site) instead of the Latest UNA release? What will be the difference?

                        Does the Lastest DEV build bring bug fixes to issues found on the latest UNA release?

                        Thanks

                        • 186
                          • Hello OneEagle !

                            The latest available UNA release is processed with more check steps. The current dev version may contain the unfinished/unchecked things in any present moment. And it can't be updated automatically.

                            0 0 0 0 0 0
                            • Got it. Thank you!

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

                              Hello,

                              Please, can someone tell me what is the best approach to create a country-specific website (localized site) using UNA, with country-specific members, searches, contents, services, products etc, everything targeting a particular country or region?

                              Is there any geo-detection technique or feature packed with UNA to restrict creation of new accounts (registration / sign up) to a particular country or region?

                              Anyone else around the world can use the site, read/view its content etc, but only people from a particualr country or region can create an account.

                              Was UNA really built with this aspect in mind, to also serve as a local community or country-specific website?

                              Thanks

                              • 222
                                • Hello OneEagle !

                                  The simplest solution would be to open the page/create-account and page/create-persons-profile pages via .htaccess rules for certain territories like:

                                  Order deny,allow
                                  Deny from all
                                  Allow from [example of IPs or IP range]

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

                                  Ninja

                                  Total points: 313

                                  137.1 point(s) to reach
                                  Info
                                  Gender:
                                  Man
                                  Friends count:
                                  Followers count:
                                  Full Name:
                                  OneEagle
                                  Membership
                                  Premium
                                  OneEagle Discussions
                                  •  ·  164
                                  •  · 
                                  Hello,I have been trying to create a new language module and automate the step of copying all englis…
                                  •  · 
                                  •  · 
                                  •  · Hi Alex T⚜️,I want to thank you for taking the time to answer my question. I got it to work now!Firs…
                                  •  ·  176
                                  •  · 
                                  Hello UNA team,From time to time, the notification counter goes crazy showing hundreds of nonexisten…
                                  •  · 
                                  •  · 
                                  •  · Hi Anton L , Yeah I've thought about the broswer cache too. Well, let us keep on watching the proble…
                                  •  ·  176
                                  •  · 
                                  Hello,I haven't looked into the UNA translation yet but since UNA is almost a Dolphin's big sister, …
                                  •  · 
                                  •  · 
                                  •  · Thanks
                                  •  ·  186
                                  •  · 
                                  Hello UNA Team,For a fresh installation, is it safe to use the Lastest DEV build for a production si…
                                  •  · 
                                  •  · 
                                  •  · Got it. Thank you!
                                  •  ·  222
                                  •  · 
                                  Hello,Please, can someone tell me what is the best approach to create a country-specific website (lo…
                                  •  · 
                                  •  · 
                                  •  · Hello OneEagle !The simplest solution would be to open the page/create-account and page/cr…
                                  My Followed Channels

                                  UNA - Network Infrastructure for Communities

                                  Close