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 2016-09-25 21:05:03

Double_D
Member
From: The Netherlands
Registered: 2014-08-14
Posts: 305
Website

Need a little help

Hello All,

need a little help with this.
I want to use the ad in the channel but its on the wrong place.
(see example http://www.perfectasian.net/channel/japanhdvcom/ )
I can change that but i dont know how i get the square under it does anybody knows that.
Manny thanks for your help and have a nice day.
Greetz
Jaco

Offline

#2 2016-09-26 06:33:33

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

Re: Need a little help

Hmm...you want to move the ad that is on the right side of the channel top?


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

Offline

#3 2016-09-26 10:50:31

Double_D
Member
From: The Netherlands
Registered: 2014-08-14
Posts: 305
Website

Re: Need a little help

Correct Adrian.
The same as the front page
I can move that thats no problem but i cant find out how i put the square working under the ad.
Thanks
Greetz
Jaco

Last edited by Double_D (2016-09-26 15:07:31)

Offline

#4 2016-09-28 09:57:55

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

Re: Need a little help

It wont work the same as frontpage. It was not designed the same way. In order to have this work on the frontpage i had to change the width/height of the video thumbs/containers based on the resolutions. If you want to try, you need to edit templates/defboot/extend/plugins/

$class  = (isset($class)) ? $class : 'ads';

with:

$class  = (isset($class)) ? $class : 'ads-square content hidden-xs hidden-sm';

Then you edit templates/defboot/channel_view.tpl.php and change the following line:

<?php $adv = p('adv_channel', $this->channel['adv_right_id']); if ($adv): echo '<div class="ads-channel">'.$adv.'</div>'; endif; ?>

to

<?php $adv = p('adv_channel', $this->channel['adv_right_id']); if ($adv): echo $adv; endif; ?>

and move it above this line:

<?php if ($this->videos): echo $this->fetch('_video_list'); ?>

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

Offline

#5 2016-09-28 17:32:10

Double_D
Member
From: The Netherlands
Registered: 2014-08-14
Posts: 305
Website

Re: Need a little help

Hello Adrian,

Perfect, exactly what I wanted.
Thumbs up for you and have a nice day wink
Greetings
Jaco

Offline

Board footer

Powered by FluxBB