中文站点-网站精选 - How to change the author of 350 articles with one batch process
How to change the author of 350 articles with one batch process
Information
We have an employee who is no longer with our agency. This employee was an author of 350 articles in our install of Joomla 3.7.0. Is there a way in the Joomla Administrator to change the author of the articles to someone else with one batch process? Or does this have to be done using SQL at the database level?
Thanks,
Scott
Thanks,
Scott
AD
Advertisement
- imanickam
- Joomla! Master
- Posts: 28308
- Joined: Wed Aug 13, 2008 2:57 am
- Location: Chennai, India
Re: How to change the author of 350 articles with one batch process
You could do this using phpMyAdmin.
Try the following SQL:
where jos_ is the database/table prefix of your site, YY is the user id of the new author, and XX is the user_id of the old author.
Note:
Make a copy of the database content before attempting this
Try the following SQL:
Code: Select all
UPDATE jos_content SET created_by = YY WHERE created_by = XX;
Note:
Make a copy of the database content before attempting this
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
-
- Joomla! Explorer
- Posts: 294
- Joined: Tue Mar 06, 2007 9:39 am
Re: How to change the author of 350 articles with one batch process
Or if you do not feel comfortable with mysql language (sql novice here), you could try the free extension by RegularLabs called DB Replacer. It is very user friendly. Of course, back up you database before attempting any changes.
-
- Joomla! Apprentice
- Posts: 19
- Joined: Fri Jul 14, 2006 1:17 pm
- Contact:
Re: How to change the author of 350 articles with one batch process
Thanks! I'll do a test first with a select then perform your SQL.
Scott
Scott
评级: 0.00
票: 0
传出命中: 13
传入命中: 0
收藏 夹: 0