Copied to clipboard

Flag this post as spam?

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


  • Swathi 87 posts 281 karma points
    Apr 27, 2015 @ 08:26
    Swathi
    1

    Can we replace security question with captcha or Recaptcha, or add propr security questions?

    Hi,

    i have installed your package, Im using Umbraco 7.1.4, i also tried it on 7.2.x the latest that comes and Smart blog 2.0.9

    Is there any other way to insert Captcha or Recaptcha?

    Thanks,

    Swati

  • Luke Alderton 192 posts 509 karma points
    Apr 27, 2015 @ 14:51
    Luke Alderton
    1

    Unfortunately not easily. It would require editing the dll. I could provide you with the source code for the form controller, you could edit as required then.

  • Swathi 87 posts 281 karma points
    Apr 27, 2015 @ 14:59
    Swathi
    0

    Hi Luke,

    That would be great if you could provide me the code.

    Thanks

    Swati

  • Luke Alderton 192 posts 509 karma points
    Apr 27, 2015 @ 15:08
    Luke Alderton
    101

    The controller is here: http://pastebin.com/Gg8L2jFY - It has no real input on the form, but is used as a fallback if js fails. The model is here: http://pastebin.com/ippugyKH - It handles storing the data and page validation.

  • Swathi 87 posts 281 karma points
    Apr 27, 2015 @ 15:52
    Swathi
    0

    Thanks Luke!

    Thats's a saviour!

  • Pali Tudor 4 posts 74 karma points
    Mar 14, 2018 @ 12:44
    Pali Tudor
    0

    Hi Luke,

    As i saw into your controller at https://pastebin.com/Gg8L2jFY . (version 2.1.0)

    // Add message to the page
    TempData.Add("SubmissionMessage", "Your comment was successfully added.");
    

    I have the latest version of the blog (2.2.0) and i try to get that TempData when the post reload but i get nothing.

    @TempData["SubmissionMessage"].ToString()

    In the latest version (2.2.0) how the submission message works?

  • Luke Alderton 192 posts 509 karma points
    Mar 14, 2018 @ 13:38
    Luke Alderton
    0

    Are you reading the data elsewhere or redirecting? It's possible that the tempdata has been cleared.

  • Pali Tudor 4 posts 74 karma points
    Mar 15, 2018 @ 06:39
    Pali Tudor
    0

    Can you please post the controller and the model for version 2.2.0 on pastebin.com ? I get an empty TempData right after comment submit and i do not know why.

  • Pali Tudor 4 posts 74 karma points
    Mar 14, 2018 @ 14:04
    Pali Tudor
    0

    I just install your blog plugin and use it normally. After pressing the Submit button the comment is submitted and the page remains at the blog post but i want to display also a message for the user to know that his comment is sent.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies