BACK
TO TOP
What if I need to rename the directory for
the program something besides postcards?
If you are working with an earlier version of the program (one that doesn't
include this option on the adminpreferences.asp page) and, for
example you need to change the location of your program
from http://www.mydomain.com/postcards/ to http://www.mydomain.com/goodies/ecards/,
then youll need to substitute goodies/ecards
for postcards on the following lines in the following
pages:
Line
93 of sendconfirmation.asp
Line
102 of sendgreetings.asp
Line
94 of sendtocontact.asp
Line
162 of view.asp
Can
I use a DSN-less string to connect to the database?
Yes. Open up the file connCards.asp which is inside the Connections
folder. Substitute the DSN connection string:
<%
MM_connCards_STRING = "dsn=greetings;"
% >
with a connection string that looks something
like this:
<%
MM_connCards_STRING = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=w:\inetpub\wwwroot\yourdomain\database\ecards.mdb"
% >
or this:
<%
MM_connCards_STRING
= "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=w:\inetpub\wwwroot\yourdomain\database\ecards.mdb"
%>
The path to your database will depend on how your web host has
set up your account and where your database is located. If you
do not know what it should be, ask your web host. If you want
you can also rename your ecards.mdb database for added security. Just be
sure
to change its name in the connection string.
How can I get rid of the Text or HTML choice on the greeting.asp page?
These are often confused as the format the postcard will
be delivered in, not as it was intended, as the preference for
how the sender would
like to get their newsletters if they are signing up for one.
Because of the confusion and because I have had some requests
from webmasters to remove it, in a future version it will probably
be made optional. Until then, this is how to remove it:
Find
the lines 471-475 on greeting.asp. The code should look like
this:
<TD align="left"><FONT face="<%=(rsPreferences.Fields.Item("font").Value)%>" size="-1"><%=(rsPostcardsText.Fields.Item("opt_which").Value)%> <LABEL>
<
INPUT name="format" type="radio" value="0" checked>
<
%=(rsPostcardsText.Fields.Item("opt_text").Value)%></LABEL> <LABEL>
<
INPUT type="radio" name="format" value="1">
<
/LABEL> <%=(rsPostcardsText.Fields.Item("opt_HTML").Value)%></FONT></TD>
Change it to:
<TD align="left"><input name="format" type="hidden" id="format" value="0"></TD>
If you would prefer to have the newsletter format
html instead of text, change the value to 1 instead of 0.
BACK
TO TOP
How
do I modify the program to show a different character set?
If for example you want to be able to run the program
on a Japanese language site, you will need to do a search
and replace for the following code in all the files:
Find:
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
Change it to:
<meta http-equiv="Content-Type" content="text/html;
charset=Shift_JIS">
BACK
TO TOP
I've upgraded to the latest version of Internet Explorer (7.0), and now I can't upload images. What do I do?
You need to make your website a Trusted Site so Internet Explorer will let you upload images along with their size information. To do this:
-
Open up Internet Explorer and navigate to the website that has your postcards program.
-
Select Internet Options under the Tools menu.
-
Select the Security tab.
-
Where it says Trusted sites, click the Sites button.
-
Uncheck the box that says "Require server verification (https:) for all sites in this zone"
-
Under "Add this website to the zone:" type in your domain name if it isn't already there and click the Add button. Then click the Close button and then the OK button.