close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Encountered validation conflict

Thread began 2/23/2011 3:34 pm by troyd | Last modified 2/25/2011 3:02 pm by troyd | 1813 views | 9 replies

troyd

No, the rule is the same. I haven't changed anything. And it's different visits to the same page.

I'm having trouble getting my head around some of the rules since Page Access and Show Region use the same rules but differently. So I know that some of my problem is user error on my part.

For example, the users_Profile.php page has the Show region wrapped around a Show region.

php:
<?php if(!WA_Auth_RulePasses("email sent")){ // Begin Show Region ?>

    <?php if(!WA_Auth_RulePasses("Email Confirmed")){ // Begin Show Region ?>
      <p>Your email address has not been verified.</p>
      <form name="form1" method="post"  action="">
        <input type="submit" name="verify_button" id="verify_button" value="verify">
      </form>
      <?php // End Show Region ?>
    <?php // End Show Region ?>



So the first rule there would be a URL variable that applies only immediately after a registration. But a later visit would not provide the information as to if the email had been sent. And, the rule is not showing that line if they still need to verify their email.

Plus, in the "email confirmed" rule, there is a second line for UserID <> so I wondered if that might be my problem. I'm not sure I understand that one since <> mean not equal to, and the compare is blank. So it would pass no matter what, right?

The full "Email Confirmed" rule is this;

Allow if echo $_SESSION['UserEmailVerified']; = 1
Allow if echo $_SESSION['UserID']; <>

Thanks,
TroyD

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...