• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] Advertising on fhome / Ads not showing on Homepage Builder Block

Started by gerardfox,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gerardfoxTopic starter

Hi,

I tried searching the forum for this tutorial but couldn't find one addressing this problem. I'm currently on the PHPvibe without the ultima theme.
I added a recent homepage block but couldn't get the ads to show on the top of video list and bottom of the video list. However when i clicked on the recent button on sidebar right, the ads shows up.

Anyway to fix this or properly attach an
echo _ad('0','homepageblock');


For those looking to modify the ads on homepage sidebar left and right
http://www.phpvibe.com/forum/how-to/customown-ad-spot/msg19614/#msg19614
http://www.phpvibe.com/forum/troubleshooting-issues/how-to-add-ads-on-homepage-sidebar-left-and-right/msg19989/#msg19989
  •  

Marius P.

Hi, I assume you managed it?
Sorry, was delayed by the Halloween.
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!
  •  

gerardfoxTopic starter

Hi Mario,

No worries, my country is celebrating Halloween as well.

The ads is not coming out at the homepage block units. It is coming out at the domain.com/videos/browse though. Its coming out at all the domain.com/videos folders.

Hope you can place some advice, my php is not good.

Thanks,
Gerard
  •  

Marius P.

Hi,

if your code is

echo _ad('0','homepageblock');



when you create the static ad type homepageblock in 'Ad spot'.
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!
  •  

gerardfoxTopic starter

Hi Mario,

I couldn't locate the homepage block php code to insert the echo,
can you direct me to the right file? I understand about the adding the target name but i just don't know where to put the code into.
:'(
hope you can direct me. thank you!

love phpvibe automated function!
  •  

Marius P.

tpl/{theme}/home.php renders all the home.
Tell me in detail what you wish to achieve so I can guide you in detail.
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!
  •  

gerardfoxTopic starter

Hi Mario,

something like what mast.pk had achieved would be great.
http://www.mast.pk/

There's a top ad and a side right skyscraper ad.

I'll try it out myself and update this thread for those that are noob in PHP  :))

Thanks for the file location!
Gerard
  •  

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!
  •  

Similar topics (7)