Nataliya
Коллеги, добрый вечер. Пожалуйста посоветуйте удобный плагин или расширение для работы с изображениями joomla в материала. В редакторе JCE работа с фото не удобна. Особенно когда их очень много.
Dmitry
Quantum Manager
https://hika.su/rasshireniya/quantum-manager
Nataliya
Спасибо
Sergey
Как в 4 получить корень сайта? $uri = Uri::getInstance(); $uri->base(true) - показывает текущую где файл
Vladislav
Uri::root()?
Eugene
абстрактнвый вопрос. есть сервисы с платежом в рассрочку. у тинькофф такое. интересно, если на карте недостаточно средств и проходит 3-4 попытки списания, что дальше? если речь идет об инфо продукте. срабатывает вебхук и в магазин прилетает инфа о смене статуса продукта? (отмена)
Eugene
а если оффлайн продажа - товар уже отправлен?
Sergey
а если оффлайн продажа - товар уже отправлен?
Это дела банка и покупателя. В случае рассрочки банк переводит тебе на расчётный счёт всю сумму, за вычетом процентов. А потом получает с клиента рассрочку. В случае с продажей в кредит тоже самое. Магазин получает деньги сразу, а банк постепенно.
Sergey
WT Guru YooKassa платёжный плагин для компонента продажи видео-курсов Guru - известный компонент для продажи доступа к видео-курсам для Joomla. Сервис Юкасса (YooKassa) позволяет принимать платежи для юридических лиц, ИП и самозанятых. Данный бесплатный плагин добавляет возможность принимать оплату с помощью Юкасса за ваши видеокурсы. Минимальная версия Joomla - 4. Плагин написан с учетом новой структуры Joomla 4 и будет работать и в Joomla 5. Для работы плагина требуется PHP библиотека WT YooKassa library. Это официальная PHP-библиотека Юкасса для разработчиков, "обёрнутая" в расширение Joomla. Она автоматически устанавливается при установке плагина платёжного метода. Страница расширения Демо видео
Сергей
Почему только для оплаты в/курсов?
Sergey
Почему только для оплаты в/курсов?
Потому что этот компонент создан для продажи курсов
Dmitry
Почему только для оплаты в/курсов?
Под каждый компонет пилить надо отдельно
Сергей
Что то другое им нельзя оплатить?
Сергей
Обычные товары
Dmitry
На чём сделано?
Сергей
Что сделано?
Dmitry
Товары
Dmitry
Какой компонент продаёт товары
Dmitry
Вот под него и надо пилить плагин
Сергей
Для интернет магазина нельзя его использовать? Например joomshopping
Artem
Не знаю, если правильно ему писать, плагины оплаты он пишет не плохие, понятно что компонент он не напишет.
Dmitry
Код посмотреть :))
Artem
Хоть есть один пример плагина
Сейчас нет, я только тестировал. Не сохранил. Если интересно, вечером скажу ему написать)
Dmitry
Сейчас нет, я только тестировал. Не сохранил. Если интересно, вечером скажу ему написать)
Open sidebar Create JoomShopping Payment Plugin. As an AI language model, I cannot create a JoomShopping 5 payment plugin on my own. However, I can provide you with some guidance on how to create a JoomShopping 5 payment plugin. Start by creating a new folder for your payment plugin inside the "payment" folder in the JoomShopping directory. Inside the new folder, create a PHP file with the same name as your payment plugin. In the PHP file, define the payment plugin class, which should extend the "paymentmethod" class. Define the necessary properties of the payment plugin, such as the name, description, and payment code. Implement the required methods, such as the "showPaymentForm" method, which will display the payment form to the user, and the "checkTransaction" method, which will check the status of the payment transaction. You will also need to implement the "processPayment" method, which will handle the payment processing logic. Once you have completed the implementation of your payment plugin, you can install it through the JoomShopping administration panel. You can then configure your payment plugin by setting the necessary parameters, such as the payment gateway API credentials. Test your payment plugin thoroughly to ensure that it is working as expected. Once you are satisfied with the payment plugin, you can release it to the JoomShopping community as an open-source project, or sell it as a commercial plugin. ChatGPT Feb 13 Version. Free Research Preview. Our goal is to make AI systems more natural and safe to interact with. Your feedback will help us improve.
Artem
Open sidebar Create JoomShopping Payment Plugin. As an AI language model, I cannot create a JoomShopping 5 payment plugin on my own. However, I can provide you with some guidance on how to create a JoomShopping 5 payment plugin. Start by creating a new folder for your payment plugin inside the "payment" folder in the JoomShopping directory. Inside the new folder, create a PHP file with the same name as your payment plugin. In the PHP file, define the payment plugin class, which should extend the "paymentmethod" class. Define the necessary properties of the payment plugin, such as the name, description, and payment code. Implement the required methods, such as the "showPaymentForm" method, which will display the payment form to the user, and the "checkTransaction" method, which will check the status of the payment transaction. You will also need to implement the "processPayment" method, which will handle the payment processing logic. Once you have completed the implementation of your payment plugin, you can install it through the JoomShopping administration panel. You can then configure your payment plugin by setting the necessary parameters, such as the payment gateway API credentials. Test your payment plugin thoroughly to ensure that it is working as expected. Once you are satisfied with the payment plugin, you can release it to the JoomShopping community as an open-source project, or sell it as a commercial plugin. ChatGPT Feb 13 Version. Free Research Preview. Our goal is to make AI systems more natural and safe to interact with. Your feedback will help us improve.
Ну я когда делал раз 5 ему уточнял)
Сергей
Сам не захотел, инструкцию выдал😁
Sergey
Для интернет магазина нельзя его использовать? Например joomshopping
Для joomShopping есть же платежка юкассу готовая
Den 💙💛
Open sidebar Create JoomShopping Payment Plugin. As an AI language model, I cannot create a JoomShopping 5 payment plugin on my own. However, I can provide you with some guidance on how to create a JoomShopping 5 payment plugin. Start by creating a new folder for your payment plugin inside the "payment" folder in the JoomShopping directory. Inside the new folder, create a PHP file with the same name as your payment plugin. In the PHP file, define the payment plugin class, which should extend the "paymentmethod" class. Define the necessary properties of the payment plugin, such as the name, description, and payment code. Implement the required methods, such as the "showPaymentForm" method, which will display the payment form to the user, and the "checkTransaction" method, which will check the status of the payment transaction. You will also need to implement the "processPayment" method, which will handle the payment processing logic. Once you have completed the implementation of your payment plugin, you can install it through the JoomShopping administration panel. You can then configure your payment plugin by setting the necessary parameters, such as the payment gateway API credentials. Test your payment plugin thoroughly to ensure that it is working as expected. Once you are satisfied with the payment plugin, you can release it to the JoomShopping community as an open-source project, or sell it as a commercial plugin. ChatGPT Feb 13 Version. Free Research Preview. Our goal is to make AI systems more natural and safe to interact with. Your feedback will help us improve.
Напиши мне Фейсбук, бро 😀
Sergey
Open sidebar Create JoomShopping Payment Plugin. As an AI language model, I cannot create a JoomShopping 5 payment plugin on my own. However, I can provide you with some guidance on how to create a JoomShopping 5 payment plugin. Start by creating a new folder for your payment plugin inside the "payment" folder in the JoomShopping directory. Inside the new folder, create a PHP file with the same name as your payment plugin. In the PHP file, define the payment plugin class, which should extend the "paymentmethod" class. Define the necessary properties of the payment plugin, such as the name, description, and payment code. Implement the required methods, such as the "showPaymentForm" method, which will display the payment form to the user, and the "checkTransaction" method, which will check the status of the payment transaction. You will also need to implement the "processPayment" method, which will handle the payment processing logic. Once you have completed the implementation of your payment plugin, you can install it through the JoomShopping administration panel. You can then configure your payment plugin by setting the necessary parameters, such as the payment gateway API credentials. Test your payment plugin thoroughly to ensure that it is working as expected. Once you are satisfied with the payment plugin, you can release it to the JoomShopping community as an open-source project, or sell it as a commercial plugin. ChatGPT Feb 13 Version. Free Research Preview. Our goal is to make AI systems more natural and safe to interact with. Your feedback will help us improve.
)))))
Sergey
Мы пока не лишены работы ))
Сергей
Для VS code есть плагин этого Gpt
Eugene
не знал, ч то в твиттере можно разные шрифты использовать. смотритс] ужасно...
Evgenii_Web
Для VS code есть плагин этого Gpt
Веб интерфейса не хватает?
Сергей
Чтобы никуда не выходить из вс кода. Удобно. Скачавшим 200тыс человекам наверное не хватает
Vitaly
Ребят, у кого-нибудь есть образец плагина Joomla4 для регистрации консольной команды CLI? По типу того, что описан здесь: https://docs.joomla.org/J4.x:Writing_A_CLI_Application Не хочет у меня он работать, а точнее команду регистрировать и всё тут.
Дмитрий
Там просто регистрация класса
Сергей
Просто по айпи бесплатно😉
Плагин тоже бесплатный
Vitaly
Что именно не хочет?
Не выводит через list в консоли
Дмитрий
Не выводит через list в консоли
А ты сам класс сделал который регистрируешь?
Дмитрий
Лежит в группе console?
Дмитрий
Покажи как регистрируешь
Дмитрий
Саму команду унаследовал от абстрактной команды?
Дмитрий
Джумловой
Vitaly
Кажется разобрался. Просто не добавил в начало класса плагина " Plgsystem" 🤦‍♂️
Дмитрий
Группа console
Vitaly
А она разве существует? Или свою изобретать?
Vitaly
В документации, в примере: class PlgsystemMyConsole extends CMSPlugin implements SubscriberInterface
Дмитрий
Ну ты добавь и посмотри
Dmitry
В ядре нету
Дмитрий
Короче есть, я делал уже
Дмитрий
Dmitry
Нет
Дмитрий
Нет
Ну и как у меня работает тогда?
Dmitry
https://github.com/joomla/joomla-cms/tree/4.2-dev/plugins
Dmitry
Где?
Дмитрий
Ну и что что файлов нет
Dmitry
Ну под твой плагин просто создастся папка
Дмитрий
Там идёт импорт группы
Dmitry
Ну где-то есть импорт
Дмитрий
Ну и что, что файлов нет?
Дмитрий
Они просто команды свои все добавили, они лежат в libraries вроде
Дмитрий
И почему нельзя в console, потому что у них плагинов нет? Поэтому нельзя? Я не понял
Дмитрий
Там идёт импорт группы
Sergey
$query->select($db->quoteName('a.product_parent_id', 'b.virtuemart_category_id')); $query->from($db->quoteName('#__virtuemart_products', 'a')); $query->from($db->quoteName('#__virtuemart_product_categories', 'b')); $query->where($db->quoteName('a.product_parent_id') . ' = ' . $id, "AND"); $query->where($db->quoteName('a.product_parent_id') . ' = ' . $db->quoteName('b.virtuemart_product_id')); $db->setQuery($query); $category_id = $db->loadResult(); может кто-то подскажет что нитак делаю в этом запросе?
Dmitry