Closed (outdated)
Project:
Views Bulk Operations (VBO)
Version:
6.x-1.x-dev
Component:
Actions
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Jul 2010 at 09:05 UTC
Updated:
28 Jan 2022 at 08:23 UTC
Jump to comment: Most recent
Comments
Comment #1
infojunkieVBO 6.x-1.10-beta2 and above support both Views 2.x and 3.x. VBO 6.x-3.x is discontinued.
Comment #2
Pierre_G commentedI tried to do it as well, but the function seems to not be implemented yet.
Here is a temporary solution, working directly with the database :
Use a PHP input format on a page you create, and type this for the content :
host / username / password / database_name : replace by your database connection informations
[new_uid] : the user id of the new author of the comment
[new_username] : the username of the new author (must correspond to the uid) - check in the base for previously comments or node from this user to get the right name
[old_uid] : the user id of the author you want to replace
WARNING : this will change ALL the comments made by the author with the [old_uid].
If you want more precise control, you'll need to make a better sql request ;)
(don't forget to include any prefix you may have before the table name "comments" ie. "drupal_comments")
Comment #3
janis_lv commentedthank you for the reply, I executed the mysql query part in mysql-console and comments are where they need to be.
my scenario was the simple one, from 1 user all comments to another user.
(user 1 was my account for some time :D, but then learning drupal I got to point where I understand that I need another account for daily use).
thanks again.
Comment #4
th.sigit commented@Pierre G:
Thanks, you saved my day :D
Like Janis, I executed the query in phpmyadmin and now I am good to go.
I dit it two steps, actually (still learning to this)
UPDATE comments SET uid=4 WHERE uid=0
UPDATE comments SET name='vjogja' WHERE name='devel generate'
* Arrived here from a search on google
Comment #5
tschenz commentedI'd like to add that this is a feature which I thought would be in the module.
Also ( and this may be related), if I add a filter for Comment:Author, the view disappears entirely - no hits.
Comment #6
infojunkiePeople here are welcome to submit a patch for an action that implements this. I doubt I'll do it myself.
Comment #7
infojunkieComment #8
WeRockYourWeb.com commentedSubscribing, looking for a similar feature and willing to sponsor a patch or module that accomplishes this (mass changing of author names on comments).
Comment #9
kenorb commentedComment #10
kay_v commentedfor those interested:
the contrib module change_author_action works with D9 and handles bulk NODE author changes reasonably elegantly - at least so far in a brief test drive with 3k nodes; will report back once it faces some comments (not available in the current project).
Comment #11
graber commented@kay_v, does it work with VBO?