Greeting Card Mod 3.6 (RC1) - Posted (7437 Views)
Development Team Leader
Classicmotorcycling
Posts: 2085
2085
Rolling on from this MOD over 6 years ago: Greeting Card Mod
I have re-written the Greeting Card to now work off the Forum database and a few other things including easy to install (being 1 out 10 and 1 being the easiest). I have included 10 Greeting Cards to get you started and all appears to work fine on Access & MSSQL.
I have also made it work using the forums inc_mail.asp so there is no need for a special mail component.

You can download it from: Greeting Card Mod 3.6
Enjoy... bigsmile tongue<
Cheers,

David Greening
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Average Member
Andy Humm
Posts: 908
908
To save getting an error message if you fail to enter a title in the Greetings card input form and then send
file: greetings_card_preview.asp
find
if message = "" then approx line 98
above that insert the following:

if title = "" then
Response.Write "<font face=""" & strDefaultFontFace & """ color=""#FF0000"" size=""" & strdefaultFontSize & """><br>This Greeting Card Title is blank!<br></font>" & vbNewLine
Response.Write "<font face=""" & strDefaultFontFace & """ size=""" & strdefaultFontSize & """>Please enter the Greetings Card Title that is missing<br />Thank You <br><a href=""javascript:history.back()"">Back</a></font>" & vbNewLine
else

then at line 174
add an additional
end if<
Posted
Average Member
Andy Humm
Posts: 908
908
Correct, me if I am wrong, but if I alter the General Settings "Leave cards in db for xx days: to '0' then if I click on Remove Dead Cards (greeting_cards_clean.asp) it should remove all the cards stored in Table GREETINGS_SENT<
Posted
Advanced Member
Carefree
Posts: 4224
4224
Sounds logical to me. I'll check it when I get home next week.<
You Must enter a message