Changing the subscriber’s profile
You can make it possible for subscribers to change their profile data whenever they want to. Depending on which entries the subscriber has to make, they may change these entries after they have subscribed to the system, by using the WebInterface. For example, if you have decided that a new subscriber needs to enter their postal address, and the subscriber then moves to another city, the subscriber may change the postal address on their own.The system identifies the subscriber by checking a password that he or she defined in the template. If there is no password restriction, the data may be changed only after entering the e-mail address.
PLEASE NOTE: It is important to be familiar with the restrictions of the Federal Data Protection Act of the Federal Republic of Germany. Personal data must be protected, especially against access by other people.
Abb. 8.4.5 - WebInterface Templates (Beispiel ID 7)
If you enter the <!--REFRESH:30--> TAG between the <HEAD>-</HEAD>-TAG the subscriber will always return to the page you defined in your template link after having subscribed successfully. The number “30” defines the number of seconds it will take until the subscriber is returned to the starting page. This is an optional TAG.
<!--REFRESH:30-->
Within the HTML-template, you will now fill in a form field where all the necessary variables will be saved. All the required information for your system — such as introduction sentences, error or success messages, and the information for the input boxes — should be inserted between the <FORM>-</FORM>-TAGs. To create this form field, you need to write the following code into your source code at the proper place:
<FORM method="post" action="web.change_profile?tid=7" name="change_profile">
Remember to end the TAG by entering the following information in front of the HTML-TAG:
End of form field:
</FORM>
Add introduction sentences
You may define introduction sentences for the “Change profile” template. These sentences will only be shown at the first call of the subscription mask and to welcome new subscribers. They will not be shown again when there are error or success messages. To mark the sentences, you need to write the following:
<!--ENTRY-->...<!--/ENTRY-->
Error messages
BACKCLICK is able to show several error messages in case of wrong information provided by the subscriber, any input box left empty, or any system error. Whether the field in question is optional or required is defined when you create the data field. To define the error messages, you need to write the following TAGs for your HTML-site.
Subscriber unknown with this e-mail address:
<!--ERROR:EMAIL--> <TR> <TD><FONT face="verdana" size="1"><p>The e-mail address '<?GIS name="EMAIL" content="form"?>' is not subscribed on our system.</FONT></TD> </TR> <!--/ERROR:EMAIL-->
This message will be shown if a subscriber who already unsubscribed from a newsletter tries to open his or her old profile.
The subscriber entered the wrong password:
<!--ERROR:WRONG-PASSWORD--> <TR> <TD><H2>The password you have entered is wrong.</H2></TD> </TR> <!--/ERROR:WRONG-PASSWORD-->
This message will be shown if a subscriber has not entered the right password for opening his or her profile.
The subscriber did not enter any password even though it was necessary:
<!--ERROR:NO-PASSWORD--> <TR> <TD><H2>You forgot to enter your password.</H2></TD> </TR> <!--/ERROR:NO-PASSWORD-->
This message will be shown when the subscriber tries to open his or her profile.
The subscriber entered a password that does not meet the requirements:
<!--ERROR:PASSWORD--> <TR> <TD><H2>The entered password is wrong. It must be from at least 3 characters up to a maximum of 12 characters long. </H2></TD> </TR> <!--/ERROR:PASSWORD-->
The subscriber entered the wrong password in the repeating field (second field for password):
<!--ERROR:PASSWORD-REPEAT--> <TR> <TD><H2>You did not confirm the password correctly.</H2></TD> </TR> <!--/ERROR:PASSWORD-REPEAT-->
This message will be shown when a subscriber tries to change his or her profile, including the password.
The subscriber tries to change his or her e-mail address, but the new one already exists in the system.
<!--ERROR:SUBSCRIBER-ALREADY-EXISTS--> <TR> <TD><H2>The entered e-mail address already exists in our system.</H2></TD> </TR> <!--/ERROR:SUBSCRIBER-ALREADY-EXISTS-->
The subscriber wants to change his or her e-mail address, but the new one does not fit the format of e-mail addresses:
<!--ERROR:INCORRECT-EMAIL--> <TR> <TD><H2>Please enter a correct e-mail address. <br>The E-mail address '<?GIS name="EMAIL" content="form"?>' is incorrect.</H2></TD> </TR> <!--/ERROR:INCORRECT-EMAIL-->
Message - No changes
The subscriber looked at his profile but did not change anything:
<!--NO-CHANGES--> <TR> <TD><H2>You did not change your profile.</H2></TD> </TR> <!--/NO-CHANGES-->
Success messages
Here you may define success messages for subscribers who successfully changed their profile.
This is a common success message. You may also define messages for every mailing list in your system. This message will only be shown if defined in the template as follows:
<!--SUCCESS--> <TR> <TD> <H1><STRONG>Congratulations!</STRONG></H1><BR> <H2>You have changed your profile successfully. The following newsletter(s) will be sent to </H2> <H1>'<?GIS name="EMAIL" content="form"?>' geschickt.</H1> Folgende Änderungen haben sich ergeben:<BR> </TD> </TR> <!--/SUCCESS-->
If the subscriber signed up for a mailing list he or she had not subscribed to before:
<!--SUCCESS:NEW-NEWSLETTER-1--> <TR> <TD><H2>You have successfully subscribed to the Stock Newsletter.</H2></TD> </TR> <!--/SUCCESS:NEW-NEWSLETTER-1-->
It is mailing list ID 1 in this case.
If the subscriber canceled their subscription to a mailing list:
<!--SUCCESS:REMOVED-NEWSLETTER-1--> <TR> <TD><H2>You have already unsubscribed from the Stock Newsletter.</H2></TD> </TR> <!--/SUCCESS:REMOVED-NEWSLETTER-1-->
It is mailing list ID 1 in this case.
If the subscriber has changed his or her e-mail address:
<!--SUCCESS:NEW-EMAIL--> <TR> <TD><H2>You have changed your e-mail address.</H2></TD> </TR> <!--/SUCCESS:NEW-EMAIL-->
Wenn der Abonnent seinen Nachnamen geändert hat:
<!--SUCCESS:NEW-NACHNAME--> <TR> <TD><H2>The surname has been changed successfully.</H2></TD> </TR> <!--/SUCCESS:NEW-NACHNAME-->
If the subscriber changed his or her password:
<!--SUCCESS:NEW-PASSWORD--> <TR> <TD><H2>The password has been changed successfully.</H2></TD> </TR> <!--/SUCCESS:NEW-PASSWORD-->
If a subscriber checks out from all mailing lists:
<!--SUCCESS:DELETED--> <TR> <TD><H2>You have been successfully removed from all mailing lists.</H2></TD> </TR> <!--/SUCCESS:DELETED-->
Inserting input boxes
Here is how you will add the special TAGs for BACKCLICK that need to be filled in with information by the subscribers, while they are changing their profiles. The TAGs for the input boxes need to be written enclosed by this TAG:
<!--CHANGE-PROFILE--> ................. <!--/CHANGE-PROFILE-->
The following section describes how to add the special TAGs for BACKCLICK that need to be filled in with information by the subscriber. Once the definition for the layout, the content, and the field check are completed, you will only need to add the <?GIS FELDNAME?>-TAGs into your template code. The input boxes will inherit the attributes predefined in the database designer. The input boxes may be placed in any order.
Input box for the e-mail address:
<TR> <TD><FONT face="verdana" size="1"> <STRONG>E-mail address:</STRONG><BR></FONT> <?GIS EMAIL?> </TD> </TR>
Input box for the password (including confirmation):
<TR> <TD><FONT face="verdana" size="1">Password<BR></FONT><?GIS PASSWORD?></TD> </TR> <TR> <TD><FONT face="verdana" size="1">Confirm password<BR></FONT><?GIS PASSWORD?></TD> </TR>
Input boxes for the mailing lists:
<TR> <TD><?GIS NEWSLETTER 1?> <FONT face="verdana" size="1"><STRONG>Stock-Newsletter</STRONG></FONT></TD> </TR> <TR> <TD><?GIS NEWSLETTER 2?> <FONT face="verdana" size="1"><STRONG>New Market Newsletter</STRONG></FONT></TD> </TR> <TR> <TD><?GIS NEWSLETTER 3?> <FONT face="verdana" size="1"><STRONG>Investmentfunds Newsletter</STRONG></FONT></TD> </TR> <TR> <TD><?GIS NEWSLETTER 4?> <FONT face="verdana" size="1"><STRONG>IPO-Newsletter</STRONG></FONT></TD> </TR>
Input boxes for the user-defined fields:
<TR> <TD><FONT face="verdana" size="1">Title<BR>Mister<?GIS ANREDE "Mister"?> Misses<?GIS ANREDE "Misses"?></FONT></TD> </TR> <TR> <TD><FONT face="verdana" size="1"><STRONG>Name</STRONG><BR></FONT><?GIS NACHNAME?></TD> </TR> <TR> <TD><FONT face="verdana" size="1"><STRONG>First Name</STRONG><BR></FONT><?GIS VORNAME?></TD> </TR> <TR> <TD><FONT face="verdana" size="1"><STRONG>Permission for advertisements</STRONG><BR></FONT><?GIS INFO1 "Ja"?></TD> </TR>
Definition of the returning path
Once you have edited the template successfully, you may also define a return path. After a set period of time, the subscriber will be directed to that website. In this example, it is the website web.html.
<input type="hidden" name="REFRESH" value="/web.html">
You may also define other URLs for this TAG.
<input type="hidden" name="REFRESH" value="http://www.backclick.de">
Copyright (c) 2003-2011 ATD GmbH.
|
What do you think about this topic? Send feedback!
|