The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!
You are not logged in.
Pages: 1
Hi,
The advertisement on video view right seems to be cached too ( from what i saw in the php file...7200seconds)
This means, the advertisement wouldn't change until the cache is renewed.
Would it be an serious performance issue to exclude the advertisement query from the cache?
Offline
Not really. I can modify it in admin, so that when you edit a advertisement the cache it also cleared. If you want to remove the caching
from the ads remove the following lines from templates/your-template/extend/plugins/adv.plugin.php:
if (!$advs = $cache->get($slug, 86400)) {
$cache->store($slug, $advs, 86400);
}
Just put // in front of these 3 lines.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
ARRRRRRRRRGH!
I was an mistake on MY side.
I added three ads for that zone and wondered why they do not rotate.
I blamed that on the site cache.
But..... Didn't recognize the Zone Setting "ROTATE: YES/NO"........
Now it's all ok, it was my "mistake".
Nevertheless, thanks for your Support, Sir
Offline
The ads should rotate even with cache enabled. The adv plugin gets all the ads from the specified group (and caches these ads). If rotate is enable it randomly picks 1 (not a real rotate, however to actually rotate correctly i would need to remove the cache, and add a few database queries, so i think its a good trade), if not it displays the first ad.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
Offline
Pages: 1