4images Forum & Community
4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: Gwydion on February 14, 2008, 01:02:51 AM
-
Is there a mod or way to move several categories in one go?
Example:
magazines
--- 2007
--- 2007-name1
--- 2007-name2
If I want to move both 2007-name categories into the category 2007 I now must edit each one.
No problem with 2 but tiresome with several categories.
Is there a way round like there is for images with the batch copy/move/edit/delete mod?
-
Use this:
http://www.4homepages.de/forum/index.php?topic=6759.0
Please use search - I find first result in search page for request ...
-
With all due respect but I searched.
And I know this mod, use it and it is NOT what I need.
I need to batch move categories.
-
No way to do that? Pity. :(
-
hi....
-magazines
-- 2007
-- 2007-name1
-- 2007-name2
2007-name1 and 2007-name2 should be subcategories of 2007
-magazines
-- 2007
--- 2007-name1
--- 2007-name2
correct?
-
i hope this is what you searching for...
1st) PLEASE test it AFTER you did a BACKUP from your MySQL DataBase!
mysql query for phpmyadmin >>
example:
UPDATE PREFIX_categories SET cat_parent_id = '5' where cat_parent_id = '4' and cat_id not in ('5')
example description:
PREFIX_ = your 4images prefix in mysql database (see config.php under $table_prefix = "xxxxx_";)
SET cat_parent_id = '5' = here set your cat_id from category 2007
where cat_parent_id = '4' = here set your cat_id from category magazines
and cat_id not in ('5') = here set again your cat_id from category 2007 :arrow: means this one should be not changed.
quick and no need for a mod :)
maybe some1 will do it one day...
gruss aus wien
-
i also need this... i have 645 categories and i need to edit their permissions... errr...
is there a way to auto approve uploaded images?
-
can sum1 make this please... batch edit permissions and move Categories.....
like SMF categories... you just select the categories and move/add the settings u like
-
hi,
if you want to auto approve uploaded images and change this for all your categories
run this mysql query within your SQL admin
only for registered users:
UPDATE PREFIX_categories SET auth_upload = 2, auth_directupload = 2
or for ALL(guests included):
UPDATE PREFIX_categories SET auth_upload = 0, auth_directupload = 0
change PREFIX_ to match yours.