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
if ($expired_mail_send == 0)
$ads->setVar('expired_mail_send''0');
else
$ads->setVar('expired_mail_send''1' $expired_by_mode);


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

Who's Online

253 user(s) are online (143 user(s) are browsing Support Forums)


Members: 0


Guests: 253


more...

Donat-O-Meter

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

Latest GitHub Commits