Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - How to delete a member
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to delete a member

 Post Reply Post Reply Page  <1234 6>
Author
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post Posted: 25 July 2007 at 6:16pm
I run version 9 on my website and I do have that option... maybe you've modified the registeration page?
"When it gets dark enough, you can see the stars"
-Charles A. Beard
Back to Top
Gosia View Drop Down
Newbie
Newbie


Joined: 25 July 2007
Location: United States
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gosia Quote  Post ReplyReply Direct Link To This Post Posted: 25 July 2007 at 6:34pm

I have the same problem as lavalle. After we upgraded to version 9.0 the check box "delete member" is gone!

Please help!

Back to Top
javi712 View Drop Down
Senior Member
Senior Member


Joined: 22 May 2003
Location: United States
Status: Offline
Points: 488
Post Options Post Options   Thanks (0) Thanks(0)   Quote javi712 Quote  Post ReplyReply Direct Link To This Post Posted: 25 July 2007 at 6:47pm
I just checked my copy of version 9 and I also have the delete member checkbox option.

You may want to try re-uploading the file again.
Back to Top
Flyman30 View Drop Down
Groupie
Groupie
Avatar

Joined: 09 December 2004
Location: France
Status: Offline
Points: 99
Post Options Post Options   Thanks (0) Thanks(0)   Quote Flyman30 Quote  Post ReplyReply Direct Link To This Post Posted: 25 July 2007 at 7:13pm


Back to Top
Flyman30 View Drop Down
Groupie
Groupie
Avatar

Joined: 09 December 2004
Location: France
Status: Offline
Points: 99
Post Options Post Options   Thanks (0) Thanks(0)   Quote Flyman30 Quote  Post ReplyReply Direct Link To This Post Posted: 25 July 2007 at 7:22pm
I have re upload the file admin_add_members.asp it the same .... Ouch
Back to Top
macspudster View Drop Down
Newbie
Newbie
Avatar

Joined: 24 July 2007
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote macspudster Quote  Post ReplyReply Direct Link To This Post Posted: 25 July 2007 at 8:27pm
Yes, there is no delete feature in the current version 9.0; having downloaded it 3 separate times.

I decided to go in to the (SQL Server) database and DELETE all rows in all TABLEs with that Author_ID.

I am in the process of writing an SQL script to task this; may post it later on.

--- UPDATE:

Here's the SQL Script (an SQL Server stored procedure...);
Pass it either the AuthorID or UserName.


CREATEPROCEDURE [dbo].prcAuthorDelete
(
    @authorID int = 0
    ,@Username nvarchar(25) = ''
)
AS

IF (@authorID < 1 AND @userName = '')
    RETURN -1

DECLARE @count int

IF (@authorID > 0)
BEGIN
    SELECT @count = count(*)
    FROM tblAuthor
    WHERE Author_ID = @authorID

    IF (@count <> 1)
        RETURN -1
END

IF (@Username <> '')
BEGIN
    SELECT @count = count(*)
        FROM tblAuthor
        WHERE Username = @Username

    IF (@count <> 1)
        RETURN -1
    ELSE
        SELECT @authorID = Author_ID
            FROM tblAuthor
            WHERE Username = @Username
END

IF (@authorID < 1)
    RETURN -1


DELETE FROM tblThread
WHERE Author_ID = @authorID


DELETE FROM tblPollVote
WHERE Author_ID = @authorID


DELETE FROM tblPollVote
WHERE Author_ID = @authorID

DELETE FROM tblPollVote
WHERE Author_ID = @authorID


DELETE FROM tblPMMessage
WHERE Author_ID = @authorID


DELETE FROM tblPermissions
WHERE Author_ID = @authorID


DELETE FROM tblEmailNotify
WHERE Author_ID = @authorID


DELETE FROM tblBuddyList
WHERE Author_ID = @authorID


DELETE FROM tblAuthor
WHERE Author_ID = @authorID


RETURN 0
GO




Edited by macspudster - 25 July 2007 at 8:51pm
Back to Top
Nick-V View Drop Down
Senior Member
Senior Member


Joined: 26 October 2002
Location: United Kingdom
Status: Offline
Points: 319
Post Options Post Options   Thanks (0) Thanks(0)   Quote Nick-V Quote  Post ReplyReply Direct Link To This Post Posted: 25 July 2007 at 8:35pm
Sounds dangerous to me !!! It works on my database...I'd wait for a proper fix if I were you.
Back to Top
Flyman30 View Drop Down
Groupie
Groupie
Avatar

Joined: 09 December 2004
Location: France
Status: Offline
Points: 99
Post Options Post Options   Thanks (0) Thanks(0)   Quote Flyman30 Quote  Post ReplyReply Direct Link To This Post Posted: 25 July 2007 at 8:39pm
Originally posted by Nick-V Nick-V wrote:

Sounds dangerous to me !!! It works on my database...I'd wait for a proper fix if I were you.


I tell the way to do it on the first page Ermm
Back to Top
 Post Reply Post Reply Page  <1234 6>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.