Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • hetaurhet 245 posts 267 karma points
    Mar 19, 2012 @ 10:32
    hetaurhet
    0

    ublogsy subscribe/contact form

    We dont want to keep subscribe facility of comment and also don't want email field to be mandatory. So, how can I change that?

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Mar 26, 2012 @ 00:42
    Anthony Dang
    0

    I would strongly suggest you make the email field mandatory... otherwise you'll get some massive amounts of spam.

    But if you need to do this, you'll have to modify the source for that usercontrol.

    Or a very hacky way around that is to hide do something in javascript to insert an email address on submit click.

     

     

  • hetaurhet 245 posts 267 karma points
    Mar 26, 2012 @ 05:56
    hetaurhet
    0

    yes.... we have decided to keep email field... but don't want subscribe to comment facility so for that I have to change in source code. But can you guide where to do that?

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Mar 26, 2012 @ 23:19
    Anthony Dang
    0

    The easiest thing to do if you don't want to recompile the source is to just hide the checkbox using css, or even remove it using js.

    Otherwise you'll have to modify the codebehind of the contact.ascx... the business logic layer is still expecting true or false for subscription.

     

  • hetaurhet 245 posts 267 karma points
    Mar 27, 2012 @ 12:34
    hetaurhet
    0

    Ok. let me try ...

  • hetaurhet 245 posts 267 karma points
    Mar 27, 2012 @ 12:42
    hetaurhet
    0

    yes... I did .. hide the checkbox using css

Please Sign in or register to post replies

Write your reply to:

Draft