צריך לפתוח מחדש את כל הנושאים!

סיכום מבוסס בינה מלאכותית

A user, rahulMasal, asks how to reopen all closed topics in bulk using the console and seeks guidance on preventing automatic topic closure. omarfilip directs them to a guide on administrative bulk operations and explains that leaving the Auto-close setting blank prevents topics from being automatically closed. rahulMasal confirms that they successfully reopened all old closed topics using a provided Ruby script.

Dear Support,

how to Reopen All Closed Topic in bulk!
i have access of console! so please share me the command!

and what is value i need to set to prevent auto close the topic!

image

Have a look at this:

To keep topics open, leave the Auto-close setting blank.

Dear Support,
Thanks :slight_smile:

i am just opened all old topics which are closed !

Topic.where(closed: true).where("created_at < '2015-01-01'").find_each do |topic|
  topic.update_status('closed', false, Discourse.system_user)
end