После таких строк
Код: Выделить всё
$data = array_merge($data, array(
'forum_id' => $forum_id,
'icon_id' => false,
Код: Выделить всё
'seo_key' => '-1',
'seo_desc' => '-1',
'topic_seo_title' => '-1',
Код: Выделить всё
$data = array_merge($data, array(
'forum_id' => $forum_id,
'icon_id' => false,
Код: Выделить всё
'seo_key' => '-1',
'seo_desc' => '-1',
'topic_seo_title' => '-1',
Обрезать нужно. Описание- это максимум 300 символов.Anvar писал(а):'seo_desc' => $content,
Спасибо. Помогло. Работает. По аналогии сделал так -Anvar писал(а):В wp-content/plugins/wp-united/cross-posting.php
Код: Выделить всё
$data = array_merge($data, array(
'forum_id' => $forum_id,
'icon_id' => false,
'seo_key' => '-1',
'seo_desc' => '-1',
'topic_seo_title' => '-1',
'topic_image_id' => true,
'seo_post_key' => '-1',
Код: Выделить всё
$data = array_merge($data, array(
'forum_id' => $forum_id,
'icon_id' => false,
'seo_key' => '',
'seo_desc' => '',
'topic_seo_title' => '',
'topic_image_id' => true,
'seo_post_key' => '',
Сам плагин ссылку для скачивания мода не предложил?As part of the connection process, WP-United will prompt you to download and install a phpBB modification package
а для чего вам связь?viliksar писал(а):Я сам лично пытаюсь связать форум и сайт на ВП
Код: Выделить всё
Модификация установлена
Вы принудительно завершили установку модификации, несмотря на то, что некоторые действия не были корректно завершены. Ваша конференция может функционировать неправильно. Просмотрите ниже те действия, которые вызывали ошибки, и исправьте их вручную.
Вернуться в AutoMOD
Дополнительные ручные инструкции
THEME CHANGES
-------------
If you need to install the template modifications for the subSilver2 template, use the subsilver2.xml file in the templates folder.
if you are using another theme based on prosilver, make the above prosilver changes to your theme now.
Remember to purge the phpBB template cache, and refresh your themes after making these changes.
IMPORTANT NEXT STEPS
--------------------
Most of the work of WP-United is done in the WordPress plugin. Please copy the plugin/wp-united folder to your wordpress plugins folder, and follow the instructions there.
REPORTING BUGS / GETTING HELP
-----------------------------
Please remember, 95% of reported bugs are user error. If you encounter any problems, re-read the above steps carefully, and make sure you have done everything as instructed, and try installing the mod using AutoMod.
Check that your phpBB server settings (especially "script path") and WordPress settings are correct, then try re-installing.
If it still fails, please:
(1) If you are getting blank pages, turn on PHP error reporting or look in your server log to find the underlying cause of the problem.
Post this information, together with full details of any error, and what you did to generate the error, on http://www.wp-united.com , after performing a search for similar issues.
/root/includes/hooks/hook_wp-united.php /includes/hooks/hook_wp-united.php Ошибка
/root/language/ /language/ Ошибка
/root/styles/ /styles/ Ошибка
/root/wp-united/ /wp-united/ Ошибка
Код: Выделить всё
Общая ошибка
Language file /home/domains/мой сайт/public_html/forum/language/ru/mods/wp-united.php couldn't be opened.
BACKTRACE
FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()
FILE: [ROOT]/includes/session.php
LINE: 2098
CALL: trigger_error()
FILE: [ROOT]/includes/session.php
LINE: 2104
CALL: user->set_lang()
FILE: [ROOT]/includes/session.php
LINE: 2057
CALL: user->set_lang()
FILE: [ROOT]/includes/session.php
LINE: 1614
CALL: user->add_lang()
FILE: /home/domains/мой сайт/public_html/wp-content/plugins/wp-united/phpbb.php
LINE: 149
CALL: user->setup()
FILE: /home/domains/мой сайт/public_html/wp-content/plugins/wp-united/plugin-main.php
LINE: 260
CALL: WPU_Phpbb->load()
FILE: /home/domains/мой сайт/public_html/wp-content/plugins/wp-united/plugin-main.php
LINE: 283
CALL: WP_United_Plugin->load_phpbb()
FILE: /home/domains/мой сайт/public_html/wp-content/plugins/wp-united/plugin-main.php
LINE: 236
CALL: WP_United_Plugin->transmit_settings()
FILE: (not given by php)
LINE: (not given by php)
CALL: WP_United_Plugin->ajax_settings_transmit()
FILE: /home/domains/мой сайт/public_html/wp-includes/plugin.php
LINE: 496
CALL: call_user_func_array()
FILE: /home/domains/мой сайт/public_html/wp-admin/admin-ajax.php
LINE: 85
CALL: do_action()
В архиве мода есть инструкцияviliksar писал(а):Что менять в файлах