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

User Registration Solution Pack

Thread began 3/04/2010 10:22 pm by Gizza372666 | Last modified 4/05/2010 3:39 pm by Gizza372666 | 2919 views | 25 replies

Eric Mittman

I edited your last post to remove the links to the text files, it can be very dangerous to expose the source code that is used on your site like this.

When I checked both of the pages that were linked I was not able to find the following code:

php:
<?php if(!WA_Auth_RulePasses("Email Confirmed")){ ?>



You will need to have this in place on the pages, you did have a logged in user rule on the pages, you can just add in the rule with the code example I gave you in my last post. If you put this code on the page and have the header call inside of the curly braces it will ensure that users are verified before they can view the page.

For example on your profile page you have the logged in user rule starting near line 10, just after this block of php code you can add in another like this:

php:
<?php if(!WA_Auth_RulePasses("Email Confirmed")){ ?> 

WA_Auth_RestrictAccess("USERS_LogIn.php");
<?php  ?>



If you put the code in this place like this it would ensure that the user had a verified email address or it would send them to the login page. You should not try to put this code on your login page, it would make it so no one could login.

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...