View Full Version : option to allow users to associate albums to categories: how?

June 12th, 2004, 09:56 AM
option to allow users to associate albums to categories (permissions set by usergroup)

Can someone please explain me how this is done?
In my edit usergroups admin page, I've set "assign albums to cats" to "yes" on the desired usergroups. Checked the edit categories page but nothing related to it there. Tried to edit my existing albuns and create new ones and nothing there either...


June 19th, 2004, 01:20 PM
I have it working on our site.
- Edit Usergroups and change Assign Albums to Cats to yes for each group you want to have the capability.
- As an Admin, you can go to Manage Album, find user and album, edit album, the bottom field is Assign as a subcatagory. That will do it.
- As a User, they can go to Album Admin, edit album, and change the catagory in the bottom field "Assign to a subcatagory"

Once assigned, you will find the album near the bottom of the page. It took me a bit to see it because I expected it at the top.

June 19th, 2004, 01:34 PM
I don't have that bottom field =(
My admin settings are fine, templates are complete but no visible means of doing it.

Did you install 4.8c or did you upgrade from 4.7x?

June 19th, 2004, 04:04 PM
We upgraded from an earlier version. I think it was 4.7.

June 25th, 2004, 10:14 PM
Thanks Marta!

August 25th, 2004, 05:49 AM
I'm using version 4.8.2 and when I click Edit next to my album, all i get is "Album Name, Album Description, Default Sort Order, Thumbnail for Album, Is Album Private?". No assign to category. I have that option turned on in admin.

As an Admin I am not getting this option either.

Michael P
August 25th, 2004, 11:05 AM
When you say you have it turned on - are you talking about the Usergroup permissions?

August 25th, 2004, 12:45 PM
Yes, for the column that says "Assign albums to cats", I have it set to "Yes" for all member groups.

When you say you have it turned on - are you talking about the Usergroup permissions?

Michael P
August 25th, 2004, 01:10 PM
Did you upload the updated templates from the upgrade (assuming you upgraded?

August 25th, 2004, 01:13 PM
Actually I upgraded to 4.8.2 yesterday and I haven't uploaded the templates. I'll do that and give it a try. Thank you.

EDIT: I just upgraded all the templates from 4.8.1 to 4.8.2 and still no luck. I'm not getting any category options for albums.

BTW, the galleries are at http://www.tmpforums.com/gallery (if that helps)

December 1st, 2004, 07:30 PM
I have updated templates and set "Assign Albums to Cats?" to yes, but I dont have this option.

Michael P
December 3rd, 2004, 11:25 AM
When you EDIT an album, you'd see a drop down allowing you to assign that album to a category.

December 3rd, 2004, 11:38 AM
Like some other folks, I hope Flat is not one of them, I never had this option in my site, no matter how many times I run the upgradexxx.php file, replaced templates, etc, until recently when upgrading from 4.8c to 4.8.5b1 and integrating with vB and not IPB. Maybe it's a coincidence, maybe not...

Michael P
December 3rd, 2004, 12:18 PM
If there is a "bug" with the integrations, then it would be best to post in the Errors area so it can be addressed as such. If we're just discussing how to use it, this is fine.

I wasn't aware this might be an issue with different forums, but if that is the case, I can take a closer look.

December 3rd, 2004, 12:54 PM
It just occurred to me after seeing Flat's signature.
Anyway, I've posted about this months ago and it never got an answer and since it wasn't anything particularly important to me, I never pursued a solution.

December 3rd, 2004, 01:47 PM
That's it! $User['assign'] is never set in ib.php :eek:
Search and replace line
$query = "SELECT cpaccess,modaccess,diskspace,uploadsize,uploads,comments,editpho,editposts,useralbums,reqmod FROM {$Globals['pp_db_prefix']}usergroups WHERE groupid=$usergroup LIMIT 1"; with $query = "SELECT cpaccess,modaccess,diskspace,uploadsize,uploads,comments,editpho,editposts,useralbums,reqmod,canassign FROM {$Globals['pp_db_prefix']}usergroups WHERE groupid=$usergroup LIMIT 1";
And list( $User['adminedit'],$User['moderator'],$disk_k,$up_k,$useruploads,$usercomment,$ueditpho,$ueditposts,$User['albums'],$User['usemod'] ) = mysql_fetch_row($resulta); with list( $User['adminedit'],$User['moderator'],$disk_k,$up_k,$useruploads,$usercomment,$ueditpho,$ueditposts,$User['albums'],$User['usemod'],$User['assign'] ) = mysql_fetch_row($resulta);

Chuck S
December 3rd, 2004, 02:58 PM
Confirmed both ib forum integrations need canassign added in.

Michael P
December 3rd, 2004, 03:32 PM
Thanks, actually, its that way in several - dcf.php, smf.php, photopost.php, ib.php, ib2.php and vb2.php; I will update the BETA so the next release is fixed.

Thank you for your help.