Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter cavey85

    (@cavey85)

    Hi,

    Could you help me or somebody else?

    Thread Starter cavey85

    (@cavey85)

    It is very important for me!

    Thread Starter cavey85

    (@cavey85)

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

    Thread Starter cavey85

    (@cavey85)

    Why does not the error message appear inner the website?

    Thread Starter cavey85

    (@cavey85)

    Ok, I have solved this problem! ??

    Hi Cavey

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

    Mike

    Thread Starter cavey85

    (@cavey85)

    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 = 'https://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

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘?wpr-optin=1 ???’ is closed to new replies.