• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] Advertisement Request

Started by LookStock,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

LookStockTopic starter

Hi,

where can i add Adsense Codes.

can you tell me which files to edit manually ?

See the Photos.
  •  

Marius P.

This are the files to edit:

1. tpl/main/layouts/related.php
2. tpl/main/video.php
3. tpl/main/sidebar.php

Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

LookStockTopic starter

  •  

Marius P.

You need to add it before any code in the related.php, you've added it in the loop.
Put it just on top.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

LookStockTopic starter

  •  

Marius P.

i see, remove it from there, and add it to video.php:


<div class="related video-related">
<p>ADD CODE HERE</p>
<ul>
<?php
layout('layouts/related');
?>
         
</ul>



You may want to wrapp it in a div, or a paragraph.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

LookStockTopic starter

Done , but it's still too small , you can check it now
  •  

Marius P.


You need a bit more than just paste the code.

<div style="width:100%; display:block; padding:5px"><a title="ADS" href="#" style="display:block;"><img border="0" src="http://tube.pooze.me/uploads/banner300x250.gif" width="300" height="250">[/url]
<br style="clear:both;" />
</ div>



The forum stripps our the closing div, so i've added an extra space, remove it.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

LookStockTopic starter

The space is great now , but the problem in the size , it's still take the same size of related thumb video size, not the normal size.

  •  

Marius P.

replace
width="300" height="250"



with


style="width:300px;height:250px;"
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

LookStockTopic starter

thank you very much , it's working now

i want ask about the last thing please
how can i let the ad in the sane line of video player i want to make it up a little bit .
  •  

Marius P.

Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

xda

  •  

Marius P.

Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

xda

  •  

Marius P.

Me neither at this point, but will get to that soon. Been working with mediaelement.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

Similar topics (7)