close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Thread began 5/09/2011 6:36 am by kevin.preston332611 | Last modified 7/14/2014 1:36 pm by kevin.preston332611 | 9194 views | 29 replies

Lee Firth

Unsubscribe With No Login

For those of you who want the option of users unsubscribing without having the user log in, this is the way it was accomplished in my case:

1. Create a new page called unsubscribe_confirmation.php using the themed_content template. Add whatever message you want to display after the user has unsubscribed i.e. "You have been unsubscribed from our Newsletter." in the "main" editable region.

2. Open the file unsubscribe.php Select "SecurityAssist Restrict Access to Page" in the Server Behaviors panel and click the minus button to delete it.

3. Go to code view in the file and search for where the variable $canView is set and change the value set to "true" i.e in my case this was line 24

$canView = getUserCanViewPage($MailingInfo);

Change it to...

$canView = true; // getUserCanViewPage($MailingInfo);

and line 90

$canView = getUserCanViewPage($qsID);

change to...

$canView = true; //getUserCanViewPage($qsID);

4. Change the redirects to send you to the file you created in step one. In my case there were two, one in line 40

$WA_redirectURL = "unsubscribe_confirmation.php";

and one in line 78

header('Location: unsubscribe_confirmation.php');

Save the file and that's it. I realise that there are probably other ways to do this, but this gives the desired result for me.

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





Ease of use


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