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)
 Remove age in pop_profile
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

laubry
Starting Member

Canada
11 Posts

Posted - 24 January 2004 :  12:00:27  Show Profile
How do I prevent a members age from showing up in pop_profile.asp. Or is there a way I can comment out the age portion in the code in case I want to use it later. Thanks. BTW I have searched all the forums for the last couple of days without any luck.

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 24 January 2004 :  12:07:00  Show Profile  Visit HuwR's Homepage
just turn it off in the admin section under 'Member Details Configuration'
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 24 January 2004 :  12:30:37  Show Profile
both Age & Birthdate would need to be turned off.
Go to Top of Page

laubry
Starting Member

Canada
11 Posts

Posted - 24 January 2004 :  23:53:15  Show Profile
But I do not want to turn off their birth day. Just do not want others to see their age when they click on profile.
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 24 January 2004 :  23:57:49  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
Find the following code in pop_profile.asp (approx. lines 547-560) and remove it:
			if (strAge = "1" and Trim(rs("M_AGE")) <> "") then
				Response.Write	"                    <tr>" & vbNewLine & _
						"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" nowrap valign=""top""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Age: </font></b></td>" & vbNewLine & _
						"                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & ChkString(rs("M_AGE"), "display") & "</font></td>" & vbNewLine & _
						"                    </tr>" & vbNewLine
			end if
			strDOB = rs("M_DOB")
			if (strAgeDOB = "1" and Trim(strDOB) <> "") then
			strDOB = DOBToDate(strDOB)
				Response.Write	"                    <tr>" & vbNewLine & _
						"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" nowrap valign=""top""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Age: </font></b></td>" & vbNewLine & _
						"                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & DisplayUsersAge(strDOB) & "</font></td>" & vbNewLine & _
						"                    </tr>" & vbNewLine
			end if

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

laubry
Starting Member

Canada
11 Posts

Posted - 25 January 2004 :  11:58:42  Show Profile
Thanks that did the trick. I do hope though that when it is their birthday that it will still show on sitenews under Upcoming Birthdays. Thanks again.
Larry
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 25 January 2004 :  12:27:17  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
Yes, the removal of the above code does not affect other pages.

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 25 January 2004 :  15:06:06  Show Profile
quote:
Originally posted by laubry

But I do not want to turn off their birth day. Just do not want others to see their age when they click on profile.


OK, so the others are not allowed to know someone's age. But you are displaying a birth date - I think I get it
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.26 seconds. Powered By: Snitz Forums 2000 Version 3.4.07