No, I think were missing something here in translation
What I'd like to see is:
When the user registers, I assign a category to that user, and set the upload permissions to private. Then I edit the user and give him permission to upload to his category.
Now, when a user logs in, and the user_logininfo.html template is used, I want to place a simple text hyperlink that says:
My Gallery, that will link directly to the gallery that he has permission to upload to. If it's any help, the category, and username are always the same. But it seems that to use the category.php file, you have to have the user id, and I can't seem to get that variable anywhere.
When I place
{user_id} into the user_logininfo.html template, it always brings back the number 16, if I use {user_name} I always get the name of the first category "Showcase".
I was thinking something simple like:
/categories.php?user_name={user_name} then it could query the category database to find the category with the same username.
This seems pretty simple in concept, but Im at a total loss as to how to actually accomplish this.