Advertisement:

Author Topic: [Solved] Automatic disabling of ads  (Read 133 times)

Gilou26

  • Jr. Member
  • **
  • Posts: 84
[Solved] Automatic disabling of ads
« on: June 19, 2019, 04:12:55 pm »
Hi.
I am going to create a new site using Osclass 3.8.0 and the theme Osclasswizzards 2.0.6.
I would like users to be able to put a date that turns off the ad.
Do you think this is possible?
Thank you for your answer.
« Last Edit: July 12, 2019, 01:25:39 pm by Gilou26 »

Gilou26

  • Jr. Member
  • **
  • Posts: 84
Re: Automatic disabling of ads
« Reply #1 on: July 01, 2019, 06:21:43 pm »
Hi.
Do you know another theme with which we can put a date of automatic deactivation of the ads ?
Thank you in advance for your answer.

gnolino

  • Newbie
  • *
  • Posts: 34
Re: Automatic disabling of ads
« Reply #2 on: July 11, 2019, 07:13:50 pm »
Yes, it is possible.
 You have to modify the code by your self.
Then you must give permission to update ad to the user.
For automatic deactivation of the ads I think you have to write a cron job

https://market.osclass.org/plugins/ad-management/activate-deactivate-item_278
Regards
« Last Edit: July 11, 2019, 07:52:21 pm by gnolino »

Gilou26

  • Jr. Member
  • **
  • Posts: 84
Re: Automatic disabling of ads
« Reply #3 on: July 12, 2019, 01:25:11 pm »
Hi.
Great, thanks for the answer.