WordPress.org

Ready to get started?Download WordPress

Forums

Javelin Email Marketing
[resolved] ?wpr-optin=1 ??? (8 posts)

  1. cavey85
    Member
    Posted 11 months ago #

    Dear rajasekharan,

    I have got a problem with the wordpress newsletter subscribing.

    Because:

    When I let empty the name and e-mail box or I add a flase name or e-mail, than the reply is mysite.com/?wpr-optin=1. The problem is that the error message appear in a new page (/?wpr-optin=1) but I would like the error to appear inner my website. How can I solve this problem?

    thx

    http://wordpress.org/plugins/wp-responder-email-autoresponder-and-newsletter-plugin/

  2. cavey85
    Member
    Posted 11 months ago #

    Hi,

    Could you help me or somebody else?

  3. cavey85
    Member
    Posted 11 months ago #

    It is very important for me!

  4. cavey85
    Member
    Posted 11 months ago #

    I try show this problem:
    like this: http://www.dabas-motel.hu/?wpr-optin=1

  5. cavey85
    Member
    Posted 11 months ago #

    Why does not the error message appear inner the website?

  6. cavey85
    Member
    Posted 11 months ago #

    Ok, I have solved this problem! :)

  7. videomike
    Member
    Posted 9 months ago #

    Hi Cavey

    Would you mind sharing your solution?
    This would be interesting for me and maybe others, too.

    Mike

  8. cavey85
    Member
    Posted 8 months ago #

    Hi Mike,

    I am sorry for replying so late.
    In optin.php file there is this sourcecode:

    function error($error)
    {
    	?>
    <div style="font-family: Arial">
      <h2 align="center">An Error Has Occured</h2>
      <div align="center">
        <div style="width: 400px; padding: 10px; text-align: left; background-color: #336699; color: #fff; font-weight:bold; font-family: Arial; border: 1px solid #ccc;"> <?php echo $error ?> </div>
        <a href="javascript:window.history.go(-1);">Click Here To Go Back</a> </div>
    </div>
    <?php
    	wp_credits();
    	exit;
    }

    This is the body in new tab.
    I change the body between <div> elements:

    function error($error)
    {
    	?>
    <?php
    
      echo $htmlHeader;
      while($stuff){
        echo $stuff;
      }
      echo "<script>window.location = 'http://www.yoursite.com/newsletter'</script>";
    ?>
    
    <?php
    	wp_credits();
    	exit;
    }

    The error message will be not in a new page, just inner your site.
    I hope my solution is understandable. :)

    bye,
    cavey85

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.