PDA

View Full Version : what emplate to edit for adsense adds?


steve
10-26-2006, 03:17 PM
hey i want to have adsense on the pages that view the videos. over and below the movie everytime a link is clicked. what do i do?

RYANNNNN
10-26-2006, 03:20 PM
Templates folder > play_content.tpl

Edit that file. :)

FIND:

<center>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="500" height="400">
<param name="movie" value="<?php echo"$location"; ?>">
<param name="quality" value="high">
<embed src="<?php echo"$location"; ?>" width=500
height=400 align="center" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
</object> </center>


Replace with


<center>ADSENSE CODE HERE above video<br />
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="500" height="400">
<param name="movie" value="<?php echo"$location"; ?>">
<param name="quality" value="high">
<embed src="<?php echo"$location"; ?>" width=500
height=400 align="center" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
</object> <br /> ADSENSE CODE HERE below video</center>

kip
10-26-2006, 03:36 PM
You may also want to edit header.tpl and set a larger width.

steve
10-26-2006, 03:39 PM
worked great thanks for the help.

RYANNNNN
10-26-2006, 03:40 PM
lol, i can help others but cant get the actual script working myself :p

steve
10-26-2006, 03:42 PM
You may also want to edit header.tpl and set a larger width.

i think theres more to edit that the header.tpl i tried that . its at 780 and i made it 880 and it only did the right side not the hole thing.

what are the files to edit to make the whole site wider?

steve
10-26-2006, 03:43 PM
lol, i can help others but cant get the actual script working myself :p

where are you stuck?

blank
10-26-2006, 03:45 PM
where are you stuck? http://www.fastfreemedia.com/forums/showthread.php?t=8

It looks like I didn't document the /admincp/import.php very well :)

bigarte
10-27-2006, 09:06 PM
Thanks works OK.