Posted June 12, 20187 yr Hello, I have question about this option: As you can see there is no "copy" option to the rest of the forums. Is there any "easy" way to copy this value to other forums in few clicks❓
June 12, 20187 yr I requested before to IPS add the "copy" in editor fields but nothing so far. I would do it via query.
June 12, 20187 yr Author 16 minutes ago, Adriano Faria said: I would do it via query. You can't because there is no "empty" "forums_forum_{$this->id}_permerror" keys if no one has edit this message in the past.
June 12, 20187 yr Author Done by: foreach( \IPS\Db::i()->select( '*', 'forums_forums', 'parent_id <> -1', 'id ASC' ) as $forum ) { if ( ! \IPS\Member::loggedIn()->language()->checkKeyExists( "forums_forum_{$forum['id']}_permerror" ) ) { \IPS\Lang::saveCustom( 'forums', "forums_forum_{$forum['id']}_permerror", "" ); } }
Archived
This topic is now archived and is closed to further replies.