confirmation

Adding confirmable module to an existing site using Devise

Hi all, I'm using devise for a web app and wanted to add the confirmable module to the site. However, since a confirmation_token isn't generated users can't sign in. When clicking the 'Didn't receive confirmation instructions?' link the token still isn't generated. Confirmation email just generates this link (notice the lack of token i...

Confirm Box from within Silverlight 4

Hello, I am having trouble getting the following code to work in FireFox (3.6.4), however, it works perfect in Chrome (5.0.375.70) and IE (8.0.7600.16385). Operating system is Windows 7 32 Bit. Silverlight Version(4.0.50401.0) System.Windows.Browser.HtmlPage.Window.Confirm("Are you sure you would like to Remove this?") As a matter...

In Bash, how to add "Are you sure [Y/n]" to any command or alias?

In this particular case, I'd like to add a confirm in Bash for Are you sure? [Y/n] for Mercurial's hg push ssh://[email protected]//somepath/morepath, which is actually an alias. Is there a standard command that can be added to the alias to achieve it? The reason is that hg push and hg out can sound similar and sometimes when...

Check if user agreed to terms , set cookie

I'm a Drupal nub. I would like to check on every page if user (anonymouse) agreed to somekind of terms. I suppose i should write small custom module ? Where will this condition be written if(!$_COOKIE('confirm')){ //jQuery show confirmation form //Set cookie for 1hour } maybee in page.tpl.php ? Please, give me some tips .. ...

jQuery, Using .remove() , but I would like a confirmation box to appear.

I am using jQuery's .remove() to get rid of divs of content, but I would like to be able to have a confirmation or dialog box appear before it is removed. I am just not sure of the context of how I would write such a dialog. $(".remove").click(function () { $('div').remove('#item1'); }); Upon clicking the link with class remove I wo...

Best approach for confirmation page...

I just finished the basic design structure for my contact page without flash; it's located here. Can anyone suggest the best approach for making a confirmation script (inside a DIV) without reloading the page (preferably with jQuery). I want to replace the content in the main WRAP with new content (just text) confirming the email was ...

show dialog for option submit data.

dear all.. i have one submit form. i want if someone submit same data can show jquery dialog "This data already exists! Are you sure to input?" Then select OK or CANCEL. can you tell me the step that must i do?thanks. ...

Ruby on Rail's Authlogic gem - password confirmation only for password reset and the edit page

I followed the Authlogic example tutorial at github and have everything set up and running. But I would like to make a change concerning password confirmation. Following the tutorial, you must enter a password confirmation when registering. I don't want that to be necessary, so I put c.require_password_confirmation = false in the acts_a...

jQuery modal dialog and jqGrid

How can I use the Jquery modal confirmation with jqGrid? Say when I will submit my entries it will pop up a modal dialog and display the names with the message for sending to server.. My approach $("#dialog-confirm").dialog({ autoOpen:false, resizable:false, height:180, modal:true, ...

JavaScript Preloading Images

Hello! Can you tell me if the function I wrote below is enough to preload images in most if not all browsers commonly used today? function preloadImage(url) { var img=new Image(); img.src=url; } I have an array of imageURLs that I loop and call the preloadImage function for each URL. Thank you. ...

JFileChooser with confirmation dialog.

Hello: I am working on a program that loads and saves data from text files, and I am asking the user a file name with JFileChooser on load and save. This question is about the save dialog: new JFileChooser().showSaveDialog();. The user then could overwrite an existing file without any warning, and that would be a problem. Any suggest...

Ruby on Rails Authlogic gem - Password confirmation

Following the http://github.com/binarylogic/authlogic_example how would I change it so that password confirmation is required for everything (such as for the edit user, and password reset pages) except for the registration page? I'd like the registration page to only require an email, a password and a captcha. I only want password confi...

How can I recieive confirmation for delivered email with JavaMail API?

I'm writing a program, that sends email messages and want to know when the receiver receives the email message I've sent to him. How can I do this using JavaMail API? If I use SMTPMessage, how exactly to deal with the result after I've set the notify options? SMTPMessage smtpMsg = new SMTPMessage(msg); smtpMsg.setNotifyOptions(SMTPMess...

Display form confirmation message in the same page: best practice

Hi all, I've seen this behaviour in many websites and web applications but I'm not able to find a "clean and standard" way to reproduce it: the user fills in the form, submits it and then, after a successful validation, the form is reloaded with a message on top saying something like "The item has been saved". No problems so far, what I ...

Creative account confirmation without the use of emails

I employ email validation to grant people full use of the site. The trouble is, sometimes these emails get spam-boxed, or never arrive, so I get many people complaining that they cannot confirm their account. Was wondering if there are other (creative) ways to offer secondary validation option to users who didnt get the validation. Its ...

Place Name from Form Results in thank you page?

I designed a form that emails the results when submitted. The PHP script will show a thank you page upon success. Is it possible to place the the "name" field in a separate thank you page? Here is my code for the form: <?php $name = $_REQUEST['name'] ; $carenumber= $_REQUEST['carenumber'] ; $email = $_REQUEST['email'] ; $topic = $_RE...

How to confirm change of email in Wordpress

I need to confirm change of user email adress in Wordpress. For me it's a big problem in security of site. I searched for a while but haven't found anything. Can someone help ? ...

jQuery: how to use dialog-modal confirmation before deleting?

This is the 1st time i'm use jQuery dialog_modal confirmation. i want to use this before deleting data inside ajax function. i'm still confuse how to put this script correctly. Before use this dialog i have some script like: $('#delete').click(function() { var params = $('#deletedata').serialize(); $.ajax({ ...