1
cpascal
Catads 1.53.4 RC3
  • 2011/4/20 18:02

  • cpascal

  • Just popping in

  • Posts: 26

  • Since: 2010/3/20


hello

sending mail or mp when an advertisement have expired does not work, I can not Resolve this problem!

Here are the codes to change by Peekay

in submit1.php
le="color: #000000"><?php if ($expired_mail_send == 0) $ads->setVar('expired_mail_send', '0'); else $ads->setVar('expired_mail_send', '1' + $expired_by_mode);


in adsedit.php
le="color: #000000"><?php // pk 'expired_mail_send' sets VAR to send or not, 'expired_by_mode' sets email or PM as method. // Value set in the DB is the ADDITION of the two fields, e.g. 1 + 1 = 2 if ($expired_mail_send == 0) $ads->setVar('expired_mail_send', '0'); else $ads->setVar('expired_mail_send', '1' + $expired_by_mode);


I edit a lot of things for future release but I manage not to Resolve this problem, thank you for your help

text translated by google translation

2
cpascal
Re: Catads 1.53.4 RC3
  • 2011/4/21 10:25

  • cpascal

  • Just popping in

  • Posts: 26

  • Since: 2010/3/20


ok I finally found a solution, I create a function that is easier, I'll see to incorporate her otherwise.

no longer works in mail_template
text translated by google translation

Login

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!