FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » General » FUDforum in eGroupWare » Deleting Users in ewg
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Deleting Users in ewg [message #26990] Wed, 24 August 2005 07:08 Go to next message
Kagex is currently offline  Kagex   Singapore
Messages: 4
Registered: August 2005
Location: Singapore
Karma: 0
Junior Member
Deleting users in egroupware doesn't remove the forum user. When i tried to add in another user with the same name, a sql error occurred. Any way to work around this problem?

thanks.
Re: Deleting Users in ewg [message #26992 is a reply to message #26990] Wed, 24 August 2005 08:47 Go to previous messageGo to next message
Kagex is currently offline  Kagex   Singapore
Messages: 4
Registered: August 2005
Location: Singapore
Karma: 0
Junior Member
Added the following line before "ExecMethod('admin.uiaccounts.list_users');" in \admin\inc\class.boaccounts.inc.php
$db->query("delete FROM phpgw_fud_users where egw_id = '". $account_id. "'",__LINE__,__FILE__);

Now whenever egw deletes a user, it deletes the fudforum user as well.

[Updated on: Wed, 24 August 2005 08:48]

Report message to a moderator

Re: Deleting Users in ewg [message #27002 is a reply to message #26992] Wed, 24 August 2005 13:27 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
FUDforum registers a delete user hook, but I am guessing eGW forgets to call it, so it'd be an eGW bug.
You can see the hook registration code inside egroupware/fudforum/setup/setup.inc.php


FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Fatal SQL error when posting
Next Topic: Private Messages Counter Not Working
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Dec 11 21:00:49 GMT 2024

Total time taken to generate the page: 0.04780 seconds