P _PkZ_ Active member Jan 11, 2018 #1 After importing data from phpbb and installed my addon i need to edit/save all posts in my forum. That is like click "Edit" then "Save". Just to trigger the save process for parsing attachments attached to each post. Any simple trick to do that?
After importing data from phpbb and installed my addon i need to edit/save all posts in my forum. That is like click "Edit" then "Save". Just to trigger the save process for parsing attachments attached to each post. Any simple trick to do that?
Mike XenForo developer Staff member Jan 12, 2018 #2 What do you mean by "parsing attachments" specifically?
P _PkZ_ Active member Jan 12, 2018 #3 I am reading the content of attachments and if they are of a specific type i extract info from them and save them in a db-table.
I am reading the content of attachments and if they are of a specific type i extract info from them and save them in a db-table.
Mike XenForo developer Staff member Jan 12, 2018 #4 I think you'd probably be better making a dedicated script to do that, rather than trying to fake an edit, which could have other side effects.
I think you'd probably be better making a dedicated script to do that, rather than trying to fake an edit, which could have other side effects.