How to programmatically add new groups to Organic Groups in Drupal Commons 6.25? I have to do that for approximately 3000 groups. A preliminary test cycle that generates 50 will be the first step.
Which methods are preferable?
By the way, the images are stored in sites/default/files/imagecache/group_images_medium/group_images.
Questions that arise
- Are the images, and the corresponding paths referenced in the database somewhere?
- How can I do the mass-upload of the image and besides that, the mass-creation of groups?
- Which tables of the tables of OG are necessary?
- Is it enough to take the "og" table itself?
PS: An ongoing attempt with comments for Drupal 6 can be seen here: http://drupal.org/node/79874.