• هاست سان
  • با خرید اشتراک ویژه شما میتوانید جدیدترین آپدیت افزونه ها و قالب های زیبا و پرکاربرد زنفورو را دریافت کنید!

    هر ماه یک کد تخفیف 60 درصدی محصولات فروشگاه به کاربران منتخب بخش ویژه اهدا می‌شود

Question about modifying an add-on

وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

XFFA.IR Bot

پرسنل مدیریت
کاربر ویژه پلاس
کاربر ویژه طلایی
امتیازها 113
راه‌حل‌ها 27
Sorry if I’m asking in the wrong section.I have two add-ons installed on my forum:

  1. Ads Manager 2 by Siropu
  2. Classified Ads System
Each thread has an advertisement attached to it.

How can I make the "Ads Manager 2 by Siropu" add-on delete the corresponding advertisement when a thread is deleted after it expires?

I found part of the code I need:

Code:

کد:
public static function disableExpiredAds()
{
    $ads = self::getAdRepo()
        ->findAdsForList()
        ->ofStatus('active')...

Read more
 
امضا : XFFA.IR Bot
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

موضوعات مشابه

عقب
بالا