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)
 Hiding Members List - Private Forums
 New Topic  Reply to Topic
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 3

campinmom03
Junior Member

USA
190 Posts

Posted - 02 February 2008 :  19:51:05  Show Profile  Reply with Quote
JJenson, or maybe this code I found will work?

If (mLev >= 3) or (CLng(rs("MEMBER_ID")) = MemberId) Then
... display the fields here
end if

I tried it out with no luck. Profiles wouldn't come up at all. But then again maybe I added it to the wrong line. Not sure. At least I have some stuff to go on and check out.

Let me know what you think.<

Have a great day!
Terry
Go to Top of Page

campinmom03
Junior Member

USA
190 Posts

Posted - 03 February 2008 :  17:26:06  Show Profile  Reply with Quote
JJenson,

I figured it out and it works! I'll post everthing I did to achieve this for the next member who wants this done.

The Super Bowl is gonna start soon. So I'll gather this all up and have it ready to post on this thread this week coming.

Go Giants!

<

Have a great day!
Terry
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 04 February 2008 :  08:59:37  Show Profile  Visit AnonJr's Homepage  Reply with Quote
Being a Patriots fan, last night was a heart-breaker. At least it was a hard-fought game. I'll start a different topic for that though.

Glad you figured out what you needed. Just don't forget to share... <
Go to Top of Page

campinmom03
Junior Member

USA
190 Posts

Posted - 04 February 2008 :  16:21:12  Show Profile  Reply with Quote
Here is the info I was able to get so that First, Last Name and Country was required upon registration along with *'s for those fields.

I would like to add, that I only wanted the those fields required upon registration. (If your looking for other fields to be required, do a search cause plenty of them will turn up). For those though that want what I did, go here:

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=61025&SearchTerms=adding,first,and,last,name

The above link explains exactly how to get those fields required for members when they register. (Be sure to always back up before attempting any code changes). Once this has been implemented successfully, do the following below in pop_profile.asp only! (My site is loaded with mods, so I'm not sure where you would find the following code, but for mine the line needed was found on around 541)

Look for this block of code

Response.Write	"                    <tr>" & vbNewLine & _
" <td bgColor=""" & strAltForumCellColor & """ align=""right"" nowrap valign=""top""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Real Name: </font></b></td>" & vbNewLine & _
" <td bgColor=""" & strAltForumCellColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & ChkString(rs("M_FIRSTNAME"), "display") & " " & ChkString(rs("M_LASTNAME"), "display") & "</font></td>" & vbNewLine & _
" </tr>" & vbNewLine
end if






Now add this line of code directly above the code you found.
if strFullName = "1" and mlev > 3 and (Trim(rs("M_FIRSTNAME")) <> "" or Trim(rs("M_LASTNAME")) <> "" ) then


So that it looks like this:

 if strFullName = "1" and mlev > 3 and (Trim(rs("M_FIRSTNAME")) <> "" or Trim(rs("M_LASTNAME")) <> "" ) then
Response.Write " <tr>" & vbNewLine & _
" <td bgColor=""" & strAltForumCellColor & """ align=""right"" nowrap valign=""top""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Real Name: </font></b></td>" & vbNewLine & _
" <td bgColor=""" & strAltForumCellColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & ChkString(rs("M_FIRSTNAME"), "display") & " " & ChkString(rs("M_LASTNAME"), "display") & "</font></td>" & vbNewLine & _
" </tr>" & vbNewLine
end if


This last step just above, will only make the members First and Last name private from other members when they are viewing other members profiles, as that is all I needed. Again, if your looking to make other fields private do a search and you will find what your looking for... hopefully anyway.

I surely hope this helps someone in the future. <

Have a great day!
Terry
Go to Top of Page
Page: of 3 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.07 seconds. Powered By: Snitz Forums 2000 Version 3.4.07