Hello,
In first sorry for my english ^^
So, I'll try to crate gallery2's users with an adminsitration page. But i didn't understand how the soft does to create the g_id user s because in the database isn't auto-increment.
Thanks for your help.
Krikrizzz.
Posts: 32509
- the G2 database schema isn't very easy to understand. you'll probably break things by doing any manual changes.
- don't interact with the database directly. there is API that provides functions for most things you'll want to do.
that having said, g2 is using a sequence all ids. g2_SequenceId.
--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 4
ok i understand but so is it possible to use just he page of user creation in other page ? may be with a frame but it isn't very beautyful.
Thanks for your help
Posts: 32509
why not use site admin -> users?
also note that your visitors can register an account on their own. just install the user registration module.
--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 4
Because i use an page administration which permit to create an user for lot of soft like forum, wikki etc...
Posts: 32509
i dont't understand.
site admin -> user is the administration panel of g2. why not use that?
if your g2 is embedded, all users created in your forum / wiki / whatever should automatically be created in g2 as well (through GalleryEmbed::createUser).
--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 4
hum thanks for your help i am a novice in developpement i go to try... :s