View Single Post
Old 06-06-2013, 11:49 AM  
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
Quote:
Originally Posted by TheSquealer View Post
Thanks very much! Placing it on the template means there is one general template for the player view and one for categories? Or does each category created, create a page for that category with the player page inside it... so that templates are identifiable by niche etc?
The video pages are made up of video_header, video_content and video_footer. The rest of the pages that show thumbnails are made up of overall_header, content_item repeating, and then overall_footer. You can set ads in the templates by category like this:

This assumes the following channel/category ids, and is in referance to the channel DISPLAY pages where you see the thumbs:

1 = Amateur
2 = Lesbian
3 = Hardcore

<? if($_GET['channel'] == 1) { ?>
Amateur Ad Code Goes Here
<? } elseif($_GET['channel'] == 456) { ?>
Lesbian Ad Code Goes Here
<? } elseif($_GET['channel'] == 456) { ?>
Hardcore Ad Code Goes Here
<? } else { ?>
Default Ad Code that matches none of the rules above and goes on all other pages other then the channel/category pages goes here.
<? } ?>

You cannot show ads on the video pages themselves by channel because a video can belong to multiple channels. However, what you could do is create a bunch of paysites in the system called Amateur, Asian, Hardcore, Etc, and assign the videos to those. You could then use the scripts ad system to show the niche appropriate ads based on that.

BTW - We are easier reached via email and support tickets then forums
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote