Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 07, 2008 01:18 AM by zowens
Feb 06, 2008 05:23 AM|LINK
I'm working in the CSK 3.1 and I want to hide all the members info from the membership page, for some reason unknown to me (I'm a big nooby at ASP.NET) the email address still show even if the checkbox is marked, so I decided that all the info must be hidden
from view from now on, but I don't know how to do that, can someone please direct me to the page and code where I do that? Please? Any help will be greatly appreciated. P.S. If someone did it already or post it "How" can you place a link please?
Feb 06, 2008 08:25 AM|LINK
you can create one more boolean field in your web config e.g
<add name="ShowEmail" type="bool"/>
if check box is checked mark it true else false.
later you can decided on this value if email should be shown or not.
Feb 06, 2008 10:39 AM|LINK
Can you paste in the code from the Member/Details.aspx file? All you have to do is delete a few lines from that.
Feb 06, 2008 08:28 PM|LINK
Well, thanks for the answers but, last night I couldn't go to sleep so I started doing some trial and error stuff in the members files, and actually it works, I dont know if this is the correct way but, I did some changes in the Member/List.aspx files and
is working fine but if this is not the correct way Zack then I'll post the file you mentioned and do the changes according to you, see the thing is that I needed for the membership page just to show the username NOT the full name of the members and their email
address, so anyway here is what i did in the Members/List.aspx:
MemDataSource.SelectParameters(0).DefaultValue = Filter
and here are the results:
Feb 06, 2008 08:39 PM|LINK
Sorry I wanted to upload or copy a pic of the results but, as I said I'm a noob and suck at this, anyway what I did was added a public function to show the username and deleted the references for
the other info items. If I figure it out how to paste a pic of the results I will otherwise when is finished I place a link to the site. Thanks
I got it, ok ok it wasn't me it was my daughter, anyway here is the result:
Feb 07, 2008 01:18 AM|LINK
Take out this line: