Jump to content

Копирование форумов


dikiy221

Recommended Posts

Здравствуйте. Возник такой вопрос. При копировании форумов, появляются новые форумы с такими же названиями + Копия. Возможно вырезать слово копия не вручную? Очень много разделов и форумов).

481623349_1234.png.ed65116df3fbf9e3dfd5e9d34fa29fe0.png

В БД лазил, нашел таблицу forums_forum. Там форумы с названием без слова копия. 
1520019711_5.thumb.png.4660e4abf278ec626edd1ebfa6366242.png

Link to comment
Share on other sites

В таблице forums_forums нет названий форумов, они в core_sys_lang_words. Ключи forums_forum_<forum_ID>

Там и редактируйте.

Edited by Desti
Link to comment
Share on other sites

31 минуту назад, Desti сказал:

В таблице forums_forums нет названий форумов, они в core_sys_lang_words. Ключи forums_forum_<forum_ID>

Там и редактируйте.

Спасибо за информацию. Помогли сэкономили мне много времени):D

Link to comment
Share on other sites

Новая проблемка) При копировании форумов выдает ошибку: К сожалению, у вас нет разрешения на это! 1S111/1
 

17.10.2022 19:04multiredirectUnderflowException (0)
#0 /var/www/u1742521/data/www/сайт/system/Node/Model.php(3092): IPS\Db\_Select->first()
#1 /var/www/u1742521/data/www/сайт.ru/applications/forums/sources/Forum/Forum.php(1461): IPS\Node\_Model->__clone()
#2 /var/www/u1742521/data/www/сайт.ru/system/Node/Controller.php(848): IPS\forums\_Forum->__clone()
#3 /var/www/u1742521/data/www/сайт.ru/system/Helpers/MultipleRedirect/MultipleRedirect.php(93): IPS\Node\_Controller->IPS\Node\{closure}(Array)
#4 /var/www/u1742521/data/www/сайт.ru/system/Node/Controller.php(889): IPS\Helpers\_MultipleRedirect->__construct(Object(IPS\Http\Url\Internal), Object(Closure), Object(Closure))
#5 /var/www/u1742521/data/www/сайт.ru/system/Dispatcher/Controller.php(107): IPS\Node\_Controller->copy()
#6 /var/www/u1742521/data/www/сайт.ru/system/Node/Controller.php(69): IPS\Dispatcher\_Controller->execute()
#7 /var/www/u1742521/data/www/сайт.ru/applications/forums/modules/admin/forums/forums.php(44): IPS\Node\_Controller->execute()
#8 /var/www/u1742521/data/www/сайт.ru/system/Dispatcher/Dispatcher.php(153): IPS\forums\modules\admin\forums\_forums->execute()
#9 /var/www/u1742521/data/www/сайт.ru/admin/index.php(13): IPS\_Dispatcher->run()
#10 {main}

Но при этом какую то часть он все таки скопировал....

Edited by dikiy221
Link to comment
Share on other sites

ручками все же лучше поработать будет. чем в базу лезть. ИМХО

Спойлер

43.thumb.png.4ccbeee81c29ff2ec9f2965134bb43be.png

 

Link to comment
Share on other sites

2 минуты назад, SlawkA сказал:

ручками все же лучше поработать будет. чем в базу лезть. ИМХО

  Скрыть контент

43.thumb.png.4ccbeee81c29ff2ec9f2965134bb43be.png

 

Очень много категорий и разделов) 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Ваша ссылка была автоматически строена.   Отображать как обычную ссылку

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...