Доброго времени суток!
У меня есть задача как-то разделить возможности модуля timeline.
Я начал в это вникать и спустя несколько дней пришел к пониманию (возможно ошибочному), что с ним есть один парадокс: он слишком прост в своей конфигурации и это приводит к анархии на сайте. Как бы это странно не звучало. Настраивая его для одной задачи на одной странице, он перестает выполнять любые другие задачи на всем остальном сайте.
Допустим, я хочу на главной странице отображать только комментарии из всех публикаций и сообществ, без фида новых публикаций и записей о том, что кто-то сменил аватар профиля. Я могу это сделать. Я в настройках студии, в модуле timeline отключаю все ивенты, кроме комментариев и это работает. После этих действий в модуле сообществ, пропадает фид сообщества, т.к. там используется модуль timeline, а я для достижения одной цели выключил трекинг событий сообщества для всего сайта.
Другой вариант, поскольку только модуль timeline имеет сабменю "популярное", "новое", "каналы", я хочу разместить этот модуль на главной странице, но мне не нужно чтобы на главной странице отображались все комментарии и смены аватаров пользователей. Только публикации. Выключаем лишнее в настройках в модуле timeline и да, логично остаются только публикации, но больше ни на одной странице сайта вы не найдете ни одного комментария, потому что больше они не отслеживаются модулем timeline.
Какая у меня сейчас есть идея в голове и как я пытаюсь разложить функции timeline в разные модули:
Я включаю все, что мне нужно в студии, в настройках модуля timeline для отслеживания: и публикации и комментарии и новые посты в контекст сообществ, всю нужную мне активность на сайте. Затем, я могу добавить блок wiki на страницу и в этот блок добавить макрос какого-либо формата. Например, добавление в wiki блок записи вида
{{**~bx_timeline:get_block_view_hot~**}}
заставит wiki блок отобразить содержимое вкладки "популярное" из модуля timeline.
Так можно получить много чего: популярные публикации, новые публикации, можно обращаться и к bx_posts, bx_wiki и многое-многое другое.
Я нашел и изучил ресурс
https:**//ci**.**una**.**io/docs/
вдоль и поперек, но я так и не смог найти ни одного метода, класса или еще чего либо, что работало бы с комментариями в модуле timeline.
Как будто, вот это может решить мою проблему
bx_srv('bx_timeline', 'get_block_view_custom', [...]);
но, мне неизвестны параметры, которые можно использовать тут в качестве фильтра. Хотя там указано, что он может принимать параметры на вход.
Собственно вопрос:
Подскажите пожалуйста, можно ли как-то решить мои проблемы с timeline путем включения отслеживания всего в настройках timeline и дальнейшего использования на разных страницах "макросов" из разряда
{{**~bx_timeline:get_block_view_comments_feed~**}}
{{**~bx_timeline:get_block_view[{"author":"user_id", "mode":comments}]~**}}
Выше блок я написал выдуманные функции, но "близко к тексту", как это могло бы быть.
Какое может быть решение, в котором у меня на одной странице будет отображена хроника timeline с сабменю из "популярного" и "свежего" и будут отображены только публикации пользователей и тут же, в другом блоке будут отображаться все комментарии из всех источников на сайте: личные страницы пользователей, сообщества, комментарии к публикациям и т.д.?
Возможно я сам себя загнал куда-то не в ту сторону и сейчас копаю там, где уже есть готовое решение и я просто пытаюсь это реализовать совсем неправильно.
Спасибо большое <3
Good afternoon
When using S3 bucket , UNA defaults to using virtual-hosted-style path for the file. Is there any way to change this to a normal path-style? So that the file path is
s3"."myendpoint"."com/bucket/test"."png
and not
bucket"."s3"."myendpoint"."com/test"."png
as it is now. I have tried changing various parameters in the file:
una/plugins/akeeba/s3/src/Configuration"."php
in particular the $useLegacyPathStyle parameter from false to true. I also changed the path formation in the file:
una/inc/classes/BxDolStorageS3"."php
It was like this:
$sPath .= $this->_sBucket . '.s3"."amazonaws"."com';
return $sPath . '/' . $this->getObjectBaseDir($isPrivate);
I changed to:
$sPath .= 's3"."amazonaws"."com' . '/' . $this->_sBucket;
return $sPath . '/' . $this->getObjectBaseDir($isPrivate);
Unfortunately, all this didn't change anything and the path to the s3 bucket always remained in virtual-hosted-style format. I checked the changes in the docker container itself via docker exec -it una /bin/bash and all the file changes there were when the container was built, however this had no effect. Can someone please tell me what I need to change in the configuration to get the path-style format reference?
Thanks
- 1945
Good afternoon.
I think most people don't have the ability and purpose to do their Facebook with a huge amount of social features where they have a friend system and stuff. These are actually very large projects that are redundant at the very beginning of a small community. A large number of features and stuff will drive away new users to your community when there are not tens of thousands of people on it, but just a few dozen. This template should be simpler visually and socially. Activity feed on the homepage, interest groups for users, event feed with all comments of users in publications. As a good example of this kind of community I suggest the following: "new .dtf .ru"
No friend system. The whole emphasis of the community is not on the authors, but on the content that these authors create. It is possible to subscribe to users to follow their content.
Less of a social function and more of a focus on the content being created.
- 1896
Good afternoon
The spacenook template, when switching the storage method from local to s3, doesn't actually switch anything. Like the uploaded images path was "mysite . com/sys_img/test.png", although it should have become "s3 . myendpoint . com/sys_img/test.png" after I changed the settings to store content in the s3 bucket.
- 1911
Доброго времени суток.
Я пытаюсь настроить свой экземпляр UNA для работы со своим же экземпляром MinIO. У меня на этом хосте MinIO уже хранит свои файлы мой экземпляр Mastodon и никаких проблем с доступом не возникает. UNA же почему-то решительно отказывается это делать и я не могу понять почему. Вот примеры политик, которые используются для ведра s3:
Кастомная политика ведра:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": [
"*"
]
},
"Action": [
"s3:GetObject"
],
"Resource": [
"arn:aws:s3:::**BUCKET**NAME**/*"
]
}
]
}
Кастомная политика пользователя для чтения/записи в ведро:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:*"
],
"Resource": [
"arn:aws:s3:::**BUCKET**NAME**/*"
]
}
]
}
Ну и создан пользователь с политикой выше, с правами на чтение/запись в ведро. С этими настройками работает мой экземпляр Mastodon, однако адаптировав эти настройки под ведро для UNA, работать это отказывается.
Вопрос: нужно ли как-то по особенному настраивать политики ведра/пользователя в MinIO или что-то еще для UNA? Ошибок никаких в консоли браузера нет при любых настройках в студии UNA параметров хранения файлов для s3. Просто ничего не происходит.
Вообще, было бы неплохо иметь в документации к UNA такую же страничку с настройкой самых популярных s3 сервисов для UNA, как это реализовано у Mastodon (https://docs.joinmastodon.org/admin/optional/object-storage/), если UNA хочет что-то специфичное для своей работы.
P.S. Я уже настраивал удачно тестовое ведро s3 в UNA и оно работало хорошо, но это было ведро от поставщика cloud услуг в РФ и конечно же доступ к нему был заблокирован в некоторых странах из-за чего пользователи из этих стран не могли просматривать контент хранящийся в этом ведре. Поэтому приходится разворачивать свой экземпляр MinIO в Польше, чтобы доступ к его контенту был у всех.
Я уже посмотрел все темы на этом форуме, касающиеся хранения файлов в s3, а так же ходил по ссылке, которую давал в одной из тем один из участников команды UNA (https://github.com/unaio/una/wiki/Dev-Storage). К сожалению это все еще не помогло решить мою проблему. Возможно в этой теме я смогу найти ответ на свою проблему.
Спасибо большое
- 1948
OK - DIARY OF A NEW CUSTOMER !!
Today 2nd June. AM
Just signed up for the $50 + 50 plan (Apps & Hosting)
Impressed with the slick stripe payments. Its very good btw!
But apart from a 'Red Dot" in the Licence Field, I'm totally lost as to what to do now, or where to even look / go now !
I've so many questions now. I want to get started, i'm excited for sure, but I'm not been pointed in any specific direction.
First impressions - there are no obvious instructions to follow for a new user! At least nothing apparent to me, at first glance.
Like -
Where - do I go to "see' the back end of my potential new website?
Can - I start to experiment, build an "off-line' version, get my toes wet, see how it look and feels before going live?
What - happens now?
Today 2nd June. PM
Launching the launch window!!!!
OK - Licence Bought - Go to activate / Launch said Licence, and ran into problems with the correct naming of servers, again I feel the fact that I needed to summon Help to even activate the site was not good. Should be a case of; [ imput company name here ] & Click GO!! That said, getting help here, was super quick, through the UNA site. The new message alerts on my phone were also impressive, ditto for the UNA - device APP itself.
Overall
I feel the whole UNA "shop window' is very confusing indeed. I mean - I'm never quite sure whether I'm actually on my OWN SITE, or UNA's !!!! at any one time, it's very confusing, seriously. Suggest colour code, UNA have a different back round colour to own site.
Pricing
Probably be happy paying $100 p/m ok, (if I was actually making progress building a site) I'll talk about this in a while. In my opinion, having your 'business plan" priced at $800 a month (as it stands), when you can not tell me definitively, what exactly i will get for it!!! is plain pointless, to a small business, with a budget in mind!! Mind the Gap!! Big jump from $100 p/m to $800 p/m !!! My site could take anything from a few hours, to months to implement, and there is no apparent tangible way of telling me in advance, what it's going to cost me???, come on! and that's not workable for any business. Consider offering a "white label, ready to go template, out of the box, design and implementation for a set fee, payable per month, all I need to do is change the logo, up-load some pic's turn on/off the modules i want or need, and i'm LIVE!! A "definable feature package' memberships, forum, live chat, blog, photos etc for $xx per month, designed and implemented. That would interest me!
The Software itself
For sure, there is evidence of brilliance everywhere, Seeing how the template it looks and functions on my various devices, it's very impressive, the notifications everything, (on your own site that is! - UNA!) But the Achilles heal of the software is that it is designed by; Expert Tech geeks, for Competent Tech Geeks. If your not a programmer, your lost here. Its not for any "Idea Person" in my view. It's for a Competent Tech Geek, with an idea! In short - as it currently is - the software is not 'user-friendly" enough for the mass market your after. I've stated THIS as the standard you need to aim for ;-
http://www.vistaprint.ie/websites
The CMS is as easy to edit as a word doc, and modules and pages are simple ON/OFF options, money back guarantee, and outstanding tel support.
I feel, UNA would need to offer some form of "support" at the start in order to "be at the races" as a product. Assign each new customer of UNA, to an "angel" initially as part of the deal, supported via a "P.C anywhere" type support / with chat. Get um up and running with a revenue generating prod, and you have a good shot at retention. But after 1- DAY on this, I'm so far a little disappointed, I thought I would be able to do more for myself. I'll try again tomorrow!!
- 8420
Just wondering, if anyone actually got a site up an running on this platform yet? TEST POST as well!
- 8096
Hey,
I was never able to use the payments-module by Boonex on both platforms (Dolphin and UNA). I get the following error after a successful payment via PayPal (sandbox): TRANSACTION VERIFICATION FAILED.
In the logfile there are entries like:
05-16 16:18:26: Finalize Checkout Failed
05-16 16:18:26: array (
'r' => 'payment/finalize_checkout/paypal/2',
'payer_email' => '[...]',
'payer_id' => 'FENPWQVPCCSNN',
'payer_status' => 'VERIFIED',
'first_name' => 'test',
'last_name' => 'buyer',
'txn_id' => '6GE18003HN457640W',
'mc_currency' => 'EUR',
'mc_fee' => '0.45',
'mc_gross' => '5.00',
'protection_eligibility' => 'ELIGIBLE',
'payment_fee' => '0.45',
'payment_gross' => '5.00',
'payment_status' => 'Completed',
'payment_type' => 'instant',
'item_name1' => 'Test',
'quantity1' => '1',
'mc_gross_1' => '5.00',
'num_cart_items' => '1',
'txn_type' => 'cart',
'payment_date' => '2017-05-16T16:18:16Z',
'business' => '[...]',
'receiver_id' => 'JY8CUJ6TM2SSE',
'notify_version' => 'UNVERSIONED',
'custom' => 'MnwyNQ%3D%3D',
'verify_sign' => 'AFcWxV21C7fd0v3bYYYRCpSSRl31Au6BB2RbbA7UgkNTVOzxDv8a0ZWj',
)
Same error on different UNA and Dolphin installations. May it be a server thing?
I added a product here on UNA and created a new profile. I purchased my test product and it displayed the following message: PAYMENT IS NOT COMPLETED.
Is there something wrong or is it intended this way?
- 8187
Currently:
NOT a favorite: filled heart
In favorites: empty heart

Imo it would be better to have an empty heart for "not favorites" and a filled heart for favorites (switch them).
So, if you like something it will be filled. If you don't like it, it'll be empty.
Or is there a reason for the current state?
- 7417
