Chrome
Safari
Edge
Firefox
Chrome (Android)
Tap the lock icon next to the address bar. Tap Permissions → Notifications . Adjust your preference.
Chrome (Desktop)
Click the padlock icon in the address bar. Select Site settings . Find Notifications and adjust your preference.
Safari (iOS 16.4+)
Ensure the site is installed via Add to Home Screen . Open Settings App → Notifications . Find your app name and adjust your preference.
Safari (macOS)
Go to Safari → Preferences . Click the Websites tab. Select Notifications in the sidebar. Find this website and adjust your preference.
Edge (Android)
Tap the lock icon next to the address bar. Tap Permissions .
Find Notifications and adjust your preference.
Edge (Desktop)
Click the padlock icon in the address bar. Click Permissions for this site . Find Notifications and adjust your preference.
Firefox (Android)
Go to Settings → Site permissions . Tap Notifications . Find this site in the list and adjust your preference.
Firefox (Desktop)
Open Firefox Settings. Search for Notifications . Find this site in the list and adjust your preference.
Здравствуйте!
Возникла потребность отправки только сообщений в существующую тему через API (именно одна конкретная тема с результатами работы стороннего скрипта).
Версия IPB 3.4.6, показать не могу, ибо - в закрытой частной сети.
В поиске про это ничего не нашел....
Попробовал использовать addTopic():
$member_id = 1;
$member = IPSMember::Load($member_id, 'members');
$member['member_group_id'] = 4;
$member['g_post_new_topics'] = 0;
$postClass = new classPost($registry);
$postClass->setForumID($forumID);
$postClass->setTopicTitle($mytitle);
$postClass->setPostContent($mytext);
$postClass->setAuthor($member);
$postClass->addTopic()
Все работает, НО... создается новая тема, а мне это не нужно.
Подскажите пожалуйста, как отправлять ТОЛЬКО сами посты и без создания темы, ибо она уже есть.
Огромное спасибо! За любой ответ....
ЗЫ: конечно, возможно тупо сторонним скриптом писать напрямую в БД... Но не хотелось бы - не зря же API для IPB делали )))
Edited by Andy123