Adult Script Pro Community Forums

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.

#1 2011-01-14 14:39:17

Coscast
Member
From: Germany
Registered: 2010-10-03
Posts: 546

Advertisement in Video View right

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?


sgt-halfsize-banner.jpg

Offline

#2 2011-01-14 21:22:53

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Advertisement in Video View right

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

#3 2011-01-14 21:57:38

Coscast
Member
From: Germany
Registered: 2010-10-03
Posts: 546

Re: Advertisement in Video View right

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 smile


sgt-halfsize-banner.jpg

Offline

#4 2011-01-14 22:32:51

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Advertisement in Video View right

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

#5 2011-01-14 22:37:27

Coscast
Member
From: Germany
Registered: 2010-10-03
Posts: 546

Re: Advertisement in Video View right

Yeah, thats what i tried to say. smile

I just forgot to set the Video View Right to ROTATE smile


sgt-halfsize-banner.jpg

Offline

Board footer

Powered by FluxBB