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 2012-05-17 00:56:34

mmpo
Member
Registered: 2012-01-23
Posts: 240
Website

How i quick adv from home

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

How i can add a condition for dont show on index but apper in the rest of urls

Offline

#2 2012-05-17 06:17:15

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

Re: How i quick adv from home

After <?php add:

if (CURRENT_URL != BASE_URL): the code for the banner; endif; 

This will only work for the frontpage that has the url as BASE_URL, so only www or non-www. I always redirect non-www to www.


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

Offline

#3 2012-05-19 04:05:54

mmpo
Member
Registered: 2012-01-23
Posts: 240
Website

Re: How i quick adv from home

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

but dot work

Offline

#4 2012-05-19 05:02:40

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

Re: How i quick adv from home

It does not work atall onany page, or what exactly happens?


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

Offline

#5 2012-05-19 05:06:50

mmpo
Member
Registered: 2012-01-23
Posts: 240
Website

Re: How i quick adv from home

when i put the form <?php if (CURRENT_URL != BASE_URL): if (isset($this->cat_id)): echo p('adv_category', 'video-category-top', array($this->cat_id)); else: echo p('adv', 'global-top'); endif; endif;  ?>  the top header apper normaly i dont have any change with this. And i need dont apper on the home but yes on rest of pages.

Last edited by mmpo (2012-05-19 05:07:44)

Offline

#6 2012-05-19 11:29:04

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

Re: How i quick adv from home

Whats your sites url?


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

Offline

#7 2012-05-26 06:54:08

mmpo
Member
Registered: 2012-01-23
Posts: 240
Website

Re: How i quick adv from home

my site is ismytube.com

Offline

#8 2012-05-26 07:39:38

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

Re: How i quick adv from home

Please enable the advertising so that i can see what the problem is.


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

Offline

#9 2012-05-26 13:07:00

mmpo
Member
Registered: 2012-01-23
Posts: 240
Website

Re: How i quick adv from home

The adv in os footer i change the coder from the header to the footer but is the same code

Offline

#10 2012-05-26 15:01:41

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

Re: How i quick adv from home

I do not understand what you want to do. You have this code in the footer:

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

Do you have any advs in the video-category-top banner and assigned to a specific category? Also do you have anything in global-top?


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

Offline

#11 2012-05-27 18:07:05

mmpo
Member
Registered: 2012-01-23
Posts: 240
Website

Re: How i quick adv from home

I need global top dont apper on home but yes on all other pages

Offline

#12 2012-05-28 06:57:28

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

Re: How i quick adv from home

Ok. Checking...


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

Offline

#13 2012-05-29 13:06:25

mmpo
Member
Registered: 2012-01-23
Posts: 240
Website

Re: How i quick adv from home

Waiting................

Offline

#14 2012-05-29 20:20:05

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

Re: How i quick adv from home

Sorry, had to delay this. Will check ASAP.


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

Offline

#15 2012-05-30 13:51:48

mmpo
Member
Registered: 2012-01-23
Posts: 240
Website

Re: How i quick adv from home

ok i wait

Offline

#16 2012-05-30 18:04:54

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

Re: How i quick adv from home

Done. Sorry for the delay.


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

Offline

#17 2012-05-31 02:26:32

mmpo
Member
Registered: 2012-01-23
Posts: 240
Website

Re: How i quick adv from home

Thank you

Offline

#18 2013-03-02 10:24:54

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

Re: How i quick adv from home

any solution? im want global top not to show on the video player page.

Offline

#19 2013-03-03 07:42:37

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

Re: How i quick adv from home

I replied to your other topic...


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

Offline

Board footer

Powered by FluxBB