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 2013-03-02 07:42:32

DuttyRock
Member
Registered: 2011-11-05
Posts: 740

global top ads

How can i remove global top from the video player page?

Offline

#2 2013-03-03 07:41:43

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

Re: global top ads

Edit templates/your-template/header.tpl.php and replace:

<?php if (isset($this->cat_id)): echo p('adv_category', 'video-category-top', array($this->cat_id)); else: echo p('adv', 'global-top'); endif; ?>

with:

<?php if (!isset($this->download)): if (isset($this->cat_id)): echo p('adv_category', 'video-category-top', array($this->cat_id)); else: echo p('adv', 'global-top'); endif; endif; ?>

Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#3 2013-03-04 00:27:04

DuttyRock
Member
Registered: 2011-11-05
Posts: 740

Re: global top ads

This works perfect, it just look like too much ads was showing in the player page Lol.

Offline

Board footer

Powered by FluxBB