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

Home » General » FUDforum in eGroupWare » Deleting Users in ewg
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Deleting Users in ewg [message #26990] Wed, 24 August 2005 03:08 Go to next message
Kagex is currently offline  Kagex   Singapore
Messages: 4
Registered: August 2005
Location: Singapore
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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 04: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
add to buddy list
ignore all messages by this user
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 04:48]

Report message to a moderator

Re: Deleting Users in ewg [message #27002 is a reply to message #26992] Wed, 24 August 2005 09:27 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
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
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
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: Mon Sep 01 09:38:23 EDT 2014

Total time taken to generate the page: 0.00608 seconds