close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

User Login fail due to credentials

Thread began 6/22/2010 8:15 pm by zanimul379168 | Last modified 6/24/2010 1:18 pm by Jason Byrnes | 1691 views | 8 replies |

zanimul379168

User Login fail due to credentials

Hi All,

Sorry, the title and tags may be a bit misleading. What I want to do is set up a page that when a user, who is no longer a member in good standing, attempts to login - they are sent to a "Sorry you are no longer a member and must renew" page.

I'm having difficulty figuring where to put the code in place to do that and I'm wondering if I'm missing something in the configuration of the URSP package. Has anyone done this?

Jeff

Sign in to reply to this post

Jason ByrnesWebAssist

how are you determining if they are in good standing or not?

Sign in to reply to this post

zanimul379168

In a very in-elegant way, since the community is small (less than 100) I'm resetting the "UserEmailVerified" to "0".

I do have plans on making it easier to maintain from an admin's perspective as the community could double in size. But in the name of expedience, I choose the brute force method.

Sign in to reply to this post

Jason ByrnesWebAssist

when a user logs in, there is a show region on the profile page that will display if the email is not varified:

php:
<?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 ?>




you could change the messaging here.

Sign in to reply to this post

zanimul379168

OK, makes sense. However an unverified user currently gets a 404 error, so I'm suspecting that there's an issue with the profile page.

Sign in to reply to this post

Jason ByrnesWebAssist

what is the full URL to the Login page?

What is the URL in the address bar when you get the 404 page not found error?

In the WA_Globals/WA_Globas.php file, what have you set the $WAGLOBAL_Root_URL to?

Sign in to reply to this post

zanimul379168

login.php

contracts.php

$WAGLOBAL_Root_URL = "http://www.stop-them.org" ;

Sign in to reply to this post

zanimul379168

Well, the root_url is most certainly a clue to part of the problem. I suspect I need to move the login page to directory that contains the users_profile.php file - or at least verify that all the links are pointing to the correct files.

Sign in to reply to this post

Jason ByrnesWebAssist

yes, the login page should be in the same directory as the profile page.


the root URL should point to that directory as well.

if the profile page is at:
users_profile.php


then the root URL must be set to:
userReg/

Sign in to reply to this post

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