Reçu ! - François GUÉRIN D.I.T -- Service développement Mairie de Tourcoing Poste : 3848 Tél : (0)3 20 23 38 48
Le mercredi 01 avril 2009 à 16:35 +0300, Mindaugas a écrit : > I'm sending this e-mail again, I still cannot get it to work.. > Please reply anyone I'd like to know if someone recieves this e-mail. If > you have already replied to this e-mail please send your reply directly > to my e-mail also as it is possible that my filter drops incoming mails > hell knows where :) Thanks > > ***** > Hi, I'm writing a different GUI for GLPI. It's mainly becouse I want to > use GLPI as a base for my userlist and I need several extra fields in > glpi_users table. I've added them in the end of the table. > I've created queries for inserting a new user and disabling a user, but > I get 2 glitches I would like to resolve. > > After creating a user via my interface it appears in GLPI user list, it > shows everything correct in user list but in user details there is no > location select box. > After disabling a user everything is showne right in user list, but in > user details active select box still shows that user is active. If I try > to set it to active=no it does nothing, so kind of it understand that > user is inactive, but does not show it :( > > See attachments for details. > > Also here is MySQL log for my add user and disable: > New User: > INSERT INTO glpi_users (Title, firstname, realname, ReqBy, name, > active, location, email, Inet, MM, RAS, SAP, Basis, 1C, SD) > VALUES ('Super Administrator', 'Opa', 'Olia', '26', 'LT209731', '1', > '4', 'opa.o...@cchellenic.com', '1', '0', '0', '0', '1', '0', '1') > INSERT INTO glpi_users_groups (FK_Users, FK_Groups) > VALUES (544, 12) > > Disable user: > UPDATE glpi_users SET active = 0 WHERE ID = 100 > UPDATE glpi_users SET date_mod = '2009-03-20 21:31:52' WHERE ID = 100 > > I know I'm not inserting or updating all info like GLPI does, but I've > tried to do it more like GLPI, but I still don't see location select box > or correct active select box behavior :( > > Maybe you know which info is required that I get correct results? Or > should I mimic GLPI 100%? I'll appreciate any help you can provide. > > _______________________________________________ > Glpi-dev mailing list > Glpi-dev@gna.org > https://mail.gna.org/listinfo/glpi-dev
_______________________________________________ Glpi-dev mailing list Glpi-dev@gna.org https://mail.gna.org/listinfo/glpi-dev