Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Deleted member n/a to Former Member
 New Topic  Reply to Topic
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 16 May 2008 :  14:10:35  Show Profile  Visit MaD2ko0l's Homepage  Reply with Quote
try this.

added parts in red

function profileLink(fName, fID)
if instr(fName,"img src=") > 0 then
strExtraStuff = ""
else
strExtraStuff = " title=""View " & fName & "'s Profile""" & dWStatus("View " & fName & "'s Profile")
end if
if fName = "n/a" then
fName = "Former Member"
profileLink = fName
else
if strUseExtendedProfile then
strReturn = "<a href=""pop_profile.asp?mode=display&id=" & fID & """" & strExtraStuff & ">"
else
strReturn = "<a href=""JavaScript:openWindow3('pop_profile.asp?mode=display&id=" & fID & "')""" & strExtraStuff & ">"
end if
end if
profileLink = strReturn & fName & "</a>"
end function
<

© 1999-2010 MaD2ko0l

Edited by - MaD2ko0l on 16 May 2008 14:11:04
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 16 May 2008 :  17:20:27  Show Profile  Reply with Quote
Thanks MaD2ko0l<
Go to Top of Page

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 16 May 2008 :  20:17:34  Show Profile  Visit MaD2ko0l's Homepage  Reply with Quote
your welcome<

© 1999-2010 MaD2ko0l
Go to Top of Page

texanman
Junior Member

United States
410 Posts

Posted - 09 July 2008 :  08:17:50  Show Profile  Reply with Quote
What kind of issues one should expect when deleting a member with replies? I have seen somewhere this is not recommended, but there was no further explanation as to what happens.
Thanks<
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 09 July 2008 :  08:21:10  Show Profile  Visit AnonJr's Homepage  Reply with Quote
Mostly you lose the context for the post. If you have a topic with two deleted members contributing, how do you know who said what and if there were 1, 2, or 3 people talking?

Really it comes down to why are you deleting the member? If you don't want them around then lock them. If they are not around just let it be. You're not going to get a significant percentage of your space back by deleting them.<
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 09 July 2008 :  08:31:12  Show Profile  Send ruirib a Yahoo! Message  Reply with Quote
The posts are retrieved with an INNER JOIN. If there is no author member, the posts will not be retrieved! It's that simple!<


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

texanman
Junior Member

United States
410 Posts

Posted - 09 July 2008 :  10:26:14  Show Profile  Reply with Quote
Thanks guys
I usually don't delete a member with topics or replies. One of admins today deleted a member and that is why I was wondering.
So, what I did for now was to comment out the portion of the code that shows the delete icon in members.asp.
Regards<
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 09 July 2008 :  10:35:14  Show Profile  Send ruirib a Yahoo! Message  Reply with Quote
quote:
Originally posted by texanman

Thanks guys
I usually don't delete a member with topics or replies. One of admins today deleted a member and that is why I was wondering.
So, what I did for now was to comment out the portion of the code that shows the delete icon in members.asp.
Regards


Using the icon raises no issues, because the member is not deleted from the DB. Some data is removed and his name is changed to 'n/a', but there is a database record to be retrieved, so no data loss occurs.
The problems occur if you delete a member directly in the database, or using mod setup, for example.<


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

texanman
Junior Member

United States
410 Posts

Posted - 09 July 2008 :  14:15:30  Show Profile  Reply with Quote
Gotcha!
Thanks<
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.21 seconds. Powered By: Snitz Forums 2000 Version 3.4.07