Gallery 2 Integration
I’m working on a Plug-in to embed Gallery2, and gallery pictures. To that effort, I’m trying to integrate WordPress users into Gallery.
The Gallery side I’m ok on. Its WordPress thatâ€™s giving me trouble.
I can’t find all the hooks I need so I’m using the admin_head hook (a hook not in Skippy’s List BTW).
I’ve looked at the following:
But what I need is when a User changes their username, full name, or password, I update gallery. So what I’m now doing without user_edit hooks, is I’m using admin_head and watching for $_POST[action] == update, and then the pages profile.php and user-edit.php. If an update is made to those pages, I can get the post arguments. I need to do this because both of those updates redirect to the edit page by changing the header, and I loose any arguments before another hook is run.
Is this the right thing to do?
Anyone want to help?
- The topic ‘Gallery 2 Integration’ is closed to new replies.