close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

nothing happens when I click register

Thread began 8/03/2011 8:45 am by sfurley1983390133 | Last modified 8/09/2011 11:59 am by Jason Byrnes | 3212 views | 7 replies |

sfurley1983390133

nothing happens when I click register

Hi I have uploaded the pages for the user solution pack to users_Registration.php
just to at least test it and nothing happens, I'm sure this should be straight forward any ideas What I have missed?

Thankyou in advance for your support...

Sign in to reply to this post

Jason ByrnesWebAssist

it looks like you have removed the capcha security image and the security question form elements, you also deleted the honeypots hidden form elements, the fax, and the country.

if you remove these elements, you will also need to delete the code that validates them.

make sure to delete the following lines of code:

$WAFV_Errors .= WAValidateLE(((isset($_POST["Security_code"]))?strtolower($_POST["Security_code"]):"") . "",((isset($_SESSION["captcha_1"]))?strtolower($_SESSION["captcha_1"]):"") . "",true,7);
$WAFV_Errors .= WAValidateLE(((isset($_POST["Security_question"]))?strtolower($_POST["Security_question"]):"") . "",((isset($_SESSION["random_answer"]))?strtolower($_SESSION["random_answer"]):"") . "",true,8);
$WAFV_Errors .= WAValidateRX(((isset($_POST["addblock"]))?$_POST["addblock"]:"") . "","/^$/i",false,9);
$WAFV_Errors .= WAValidateRX(((isset($_POST["secondblock"]))?$_POST["secondblock"]:"") . "","/^$/i",false,10);


$WAFV_Errors .= WAValidatePN(((isset($_POST["UserFax"]))?$_POST["UserFax"]:"") . "",false,true,false,14);

$WAFV_Errors .= WAValidateRQ(((isset($_POST["UserCountry"]))?$_POST["UserCountry"]:"") . "",true,19);


if there are other form elements you have removed as well, you will need to finde the lines that validate those elements too.

Sign in to reply to this post

sfurley1983390133

Ok thanks I managed to get the code to work now using users_Registration.php
however a when it goes through to verification it doesnt show

users_Confirm.php?ID=2&code=TfyR7xEluJRxdRyKGgw6

but does if you add

users_Confirm.php?ID=2&code=TfyR7xEluJRxdRyKGgw6

where would I add that in the code?

Thanks again, much appreciated...

Sign in to reply to this post

Jason ByrnesWebAssist

in the WA_Globals.php file, make sure the root URL is set to:

UserRegistration100/

Sign in to reply to this post

sfurley1983390133

Perfect that all works fine now, thank you very much for your help now I just have to incorporate my design around it, thanks again :-)

Sign in to reply to this post

sfurley1983390133

Hi again, I have sorted and setup all pages, one small query, is there any way I can use locked web pages with power CMS

heres the code I have at the top of the page

<?php require_once( "WA_SecurityAssist/Helper_PHP.php" ); ?>
<?php
if (!WA_Auth_RulePasses("Email Confirmed")){
WA_Auth_RestrictAccess("users_Profile.php");
}
?>
<?php include "Connections/localhost.php"; ?>
<?php include "WA_CMS/WA_CMS.php"; ?>

and the page is here

protected_Page.php

to check username: stevelearners@gmail.com
password: password1

thanks again in advance

steve

Sign in to reply to this post

sfurley1983390133

Also sorry one last thing, whats the code to add login and logout on each page near the top? Thanks again much appreciated.

Sign in to reply to this post

Jason ByrnesWebAssist

you can use power cms content on security assist protected pages, but you will need to edit the WA_CMS/WA_CMS.php file to corewct a conflict, see the following thread:

showthread.php?t=15730


to add a login /logout link, use the following code:

php:
<?php if(!WA_Auth_RulePasses("Logged in to users")){ ?>
<a href="users_LogIn.php">Log In</a>
<?php }?>
<?php 
if(WA_Auth_RulePasses("Logged in to users")){ ?>
<a href="users_Logout.php">Log Out</a>
<?php }?>
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...