Listing email addresses causes spam. RRS feed

  • Question

  • User1593479043 posted

    A beautiful starter kit, but....

    I find a number of real life email addresses on this site, any spammer would love it.

    The site is not able to alter a once given email address. So, if you trusted these developpers with your email address, start to look for your delete button, you are going to get some email soon...



    Wednesday, July 26, 2006 3:15 PM

All replies

  • User-1853252149 posted

    Email address on the strater kit site...?  Or do you mean in this forum?

    (Spoken by one who posts his real email here and doesn't get undue spam from it)


    Wednesday, July 26, 2006 4:00 PM
  • User502395042 posted
    This can be easily changed.  You can even make the emails private and only show up for administrators.  Give the user an option to make their mail private and then just add the conditional for it on the members page.  I've actually been thinking of doing this since I put my site up and will likely have it done over the next few days. :)
    Wednesday, July 26, 2006 5:19 PM
  • User380413204 posted


    A good idea.

    Something I would also like to change. Could you tell a little bit more on the conditional you mentioned?.

    I assume you only want to hide the e-mail address, not the whole user.

    I get it that you have to tell the repeater what to do?

    Thanks in advance,






    Thursday, July 27, 2006 1:19 AM
  • User-1853252149 posted

    You would handle this in the template for the repeater.  It could be as simple as leaving out the email and not displaying it, or checking the record for an added field "Make Address Public" or something and displaying only if that were true.  I'm not at a system where I can play with the starter kit today so I don't have any sample code, perhaps ColdSun can post a snippet once he/she has this changed for their site.


    Thursday, July 27, 2006 7:13 AM
  • User380413204 posted

    Thanks Jeff,

    If I am not mistaken the Membercard is part of a Datalist.

    I guiss the only part I am stuck with is how to read out some value for the Datalist .In another context I had the same problem.

    How do I "reach" the value of a tablefield in ItemDataBound?

    My latest try was via if e.Item.DataItem(itemname)= blah but to no avail

    Anybody got any idea on this?

    Thanks in advance,


    Thursday, July 27, 2006 7:51 AM
  • User502395042 posted

    Hi Lexy,

    Once I figure it out, I will post my findings. :)  I won't be able to do it until the weekend though.  Pretty busy at work.

    Thursday, July 27, 2006 12:07 PM
  • User380413204 posted


    I will respond to it after my vacation  :-))




    Thursday, July 27, 2006 12:24 PM
  • User502395042 posted

    I lied!  I couldn't wait because I had an idea of how to get it to work.  Keep in mind some of the "layout" code included is only for my site - you may want to change it (especially what is in the else condition):

    <% if User.IsInRole("Administrators") then %>
        <asp:HyperLink ID="emailLink" runat="server"

    NavigateUrl='<%# "mailto:" & Cstr( Eval("Email"))%>'
                                        Text='<%# Eval("Email") %>' />
                            <% Else %>
       <p>&nbsp;</P><br /><br /><br />   
       <% end if %>

    That may not be the best way of doing it but it works.

    Thursday, July 27, 2006 12:39 PM
  • User502395042 posted

    Ack!  I forgot to explain what it does. 

    It basically hides the email unless you are an admin.

    Thursday, July 27, 2006 12:43 PM
  • User380413204 posted


    Many thanks, very nice,


    It would of course even be nicer if we could evaluate a tablefield (like I desrcibed earlier)

    Then we could see if a field was true (user checked : Hide my email-address at registration)

    Then if we could evaluate that at OnItemBound (Not sure it can be done there though.) we could show or hide it per user.

    But in any case this is a good start.

    Best regards,





    Thursday, July 27, 2006 1:01 PM
  • User502395042 posted


    I will work on that solution this weekend.  It should be easy enough and almost exactly the same code. :)

    Thursday, July 27, 2006 1:03 PM
  • User380413204 posted
    I am looking forward to it. (would solve another problem for me as well)
    I am now leaving for a place where the sun does shine (no computers for 2 weeks ....  [8-|] going cold turkey)
    I'll be baak (13th aug.)
    Thursday, July 27, 2006 2:56 PM
  • User-2006636666 posted

    Did we ever get a response on the spam issue?  Is it spam from this forum or from the CSK?  I haven't see any spam yet from either.




    Wednesday, August 23, 2006 11:31 PM