Greetings,
Is there a way to assign a home category to a user and have their home link go to that category top instead of the default home?
Thanks!
you need to modify theme.php ,
what do you realy want?
- a link to one category for all users?
- or a link to one category for each user?
A link to one category per user group really. Group 1 has a home in category A, Group 2 has a home in category B... etc.
I know I can set everyone's home to a category by messing with the config, but I need them different.
Thanks
it's need some php experience
let's face it :
- first you need to find user's group:
query xxx_session for user_id then query xxx_users with that id for user_group okey now you have group number of user
- now you should bind the category to that user:
I think you need a new table here to define which group goes for wich category , so you have group number just query this new table for category with that group number
- and finaly you need to deal with theme.php functions to show the thumbnails
sorry at this time I don't have much time to give you clear view
Actualy Paver are specialist in this issue ;)
Thanks. I know PHP and SQL... just have to figure out the table structure here. Hmm..
Ok, it seemed like an interesting project, so here's a plugin (http://forum.coppermine-gallery.net/index.php?topic=32775.0) to set the home category for each group.
Great
You see Paver is the man :)
nothing can stop him
Karma ++
Thanks :) I appreciate that.
Issue solved then?
Yes, thank you. I installed the update and it works perfectly.
(Sorry for taking so long to reply, I was out of town.)