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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Double opt in problem

Thread began 3/06/2013 9:52 am by mrs | Last modified 7/30/2013 10:45 am by Jason Byrnes | 967 views | 7 replies |

mrs

Double opt in problem

I have got the double opt in working pretty much OK, however, I have just noticed that the link provided is missing the email address... I can't figure out why that's not working though. Currently I am testing it by copying and pasting the link, then appending it with my email address which works for the time being, but it needs to be fixed for users of the site.

There's another problem. The user update page isn't registering that the email has been verified. I am still getting a message telling me that I need to verify my email even though it has been. Why would this be happening when I can clearly see in the DB it has change the record status from 0 to 1?

I've followed the tutorial to the best of my knowledge, and the result of it can be seen at registration.php if you want to give it a try, but I suspect you'll need the code which is attached. If there are other pages you need to see, let me know.

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

Gary Young

Regenerated verification link fails

I am having a similar issue, not quite the same but when I attempt to resend a verification link from the profile update page the email sends however the link fails to change the DB value from 0 to 1. It does remove the random string from the db though. Any help would be greatly appreciated.

Sign in to reply to this post

Jason ByrnesWebAssist

What is the URL for the link you receive in the email?

also, send a copy of the page that the link points to.

Sign in to reply to this post

mrs

Hi Jason, this problem of the email address not being on the end of the emailed link from the userupadte.php page has reared it head again! It was there and verification was working fine, but now it's not! It works fine from the registration page, but not the userupdate page.

I have clicked to see it in the support history, but I can't find the support history. From memory, I recall there needing to be a reference to the recordset from the user update page which is global $row_SecurityAssistusers; which is there, but I don't know why the email is missing again!

Pages are attached... any thoughts?

Thanks.

Attached Files
Blank_2.php
userupdate.php
waue_userupdate_1.php
Sign in to reply to this post

Jason ByrnesWebAssist

the name of the recordset on the user update p[age is:
SecurityAssisttblusers

the global variable reference on the email template name needs to reference the recordset name that is created.

change:
global $row_SecurityAssistusers;

to use the correct recordset name. there should also be a global for the recordset object as well as one for the row:
global $SecurityAssisttblusers;
global $row_SecurityAssisttblusers;

Sign in to reply to this post

mrs

No, it didn't work! I don't know why though.

In the end I decided to create a session using the email address data which is populated before page load. I then used the session data in the email link.

At the moment it seems to be working, but it's odd that the email template is able to pull data referring to the random password and the user ID, but not the email address! Just in case, is there anyway that you know of how the session could loose it's content while on the userupdate.php page which then prevents the email link from working again? Is using a session instead of the recordset pretty much bullet proof?

Thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

well, in addition to changing the global reference, you also needed to change the code for the email address column:
<?php echo $row_SecurityAssistusers['UserEmail']; ?>

to use the correct recordset name:
<?php echo $row_SecurityAssisttblusers['UserEmail']; ?>


using a session should be fine to. that is what is used for the random String and ID.

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