IMPORTANT: The forum isn't active part of our support!

Hasn't been for an year, it's just discussions between clients.
If you expect an answer from an PHPVibe representative use our messenger or the email.
Welcome to the PHPVibe Boards Here you can discuss with other clients and interested.
Follow us on Facebook for the latest news, updates and direct communication.

Author Topic: hi does anybody know how to add adsense on articales and pages  (Read 1606 times)

0 Members and 1 Guest are viewing this topic.

giovanni

  • Client
  • Advanced level
  • Posts: 151
  • Country: us
  • Rate: +0/-0
  • PHPVibe User
    • View Profile
hi does anybody know how to add ad sense on articles and pages, what is the sense of a blog with out java script

yafe3

  • Client
  • Advanced level
  • Posts: 293
  • Country: us
  • Rate: +4/-3
  • PHPVibe User
    • View Profile
    • allmofid
The only thing  i can think  about  is you past  the adsense  code manually  on the page

giovanni

  • Client
  • Advanced level
  • Posts: 151
  • Country: us
  • Rate: +0/-0
  • PHPVibe User
    • View Profile
I did and it gets caught up in <p>&nbsp;</p> in source code

giovanni

  • Client
  • Advanced level
  • Posts: 151
  • Country: us
  • Rate: +0/-0
  • PHPVibe User
    • View Profile
its Frustrating because I want to monetize my articles and pages, I can paste paypal botton, social likes, but not ad sense, 

yafe3

  • Client
  • Advanced level
  • Posts: 293
  • Country: us
  • Rate: +4/-3
  • PHPVibe User
    • View Profile
    • allmofid
Yes i know i want  to monetize  some places  but i cant do anything ,we get to wait for Mario to show up  again  i think  he is working  hard to fix some issues, like deleting  a video it doesn't  get delet from the server  this is a very important  thing to fix ,its been 2 weeks now he didn't  show up, i guess  he will  show  up  soon ,im having  some patients, because  he is the only one can make phpvibe  better ,and we want him to do that so ... i hope he will help you when he get back

@Mario

  • from Media Vibe
  • Expert level
  • Posts: 5760
  • Country: ro
  • Rate: +951/-45
  • Here to help
    • View Profile
    • Video sharing CMS
You can just create the spot, get the php function generated for that code, and place it in the template file (or com/ file)
Hello!
If you wish to learn how to start coding on the PHPVibe Video CMS head to the blog and tutorials forums.

Please use the search before opening a new topic!

giovanni

  • Client
  • Advanced level
  • Posts: 151
  • Country: us
  • Rate: +0/-0
  • PHPVibe User
    • View Profile
How do I create a spot in articles and pages Mario this will help everyone who wants to monetize their pages and articles to earn revenue. I get 3000  hits per page or article within 3 hours so I need it desperately

@Mario

  • from Media Vibe
  • Expert level
  • Posts: 5760
  • Country: ro
  • Rate: +951/-45
  • Here to help
    • View Profile
    • Video sharing CMS
You can find post.php and page.php in the tpl/main/

and they output content like

Code: [Select]
echo $txt;

changed like
Code: [Select]
echo _ad('0','before-blog-post');
echo $txt;



or directly into

Code: [Select]
$txt .= _ad('0','before-blog-post');
$txt .= _html($_page->content);

 




This is a very simple thing. You can also pre/post wrap it with divs/paragraphs, etc.
Don't forget to actually place the ad spots in a custom place and choose his code for the template file (attached).
Hello!
If you wish to learn how to start coding on the PHPVibe Video CMS head to the blog and tutorials forums.

Please use the search before opening a new topic!

giovanni

  • Client
  • Advanced level
  • Posts: 151
  • Country: us
  • Rate: +0/-0
  • PHPVibe User
    • View Profile
thanks Mario will do it problem solved

spirog

  • Client
  • Advanced level
  • Posts: 246
  • Country: us
  • Rate: +0/-0
  • PHPVibe is Awesome
    • View Profile
You can find post.php and page.php in the tpl/main/

and they output content like

Code: [Select]
echo $txt;

changed like
Code: [Select]
echo _ad('0','before-blog-post');
echo $txt;



or directly into

Code: [Select]
$txt .= _ad('0','before-blog-post');
$txt .= _html($_page->content);

 


This is a very simple thing. You can also pre/post wrap it with divs/paragraphs, etc.
Don't forget to actually place the ad spots in a custom place and choose his code for the template file (attached).

Can you create this as a patch for vibe5 so we not have to edit all patches everytime you update vibe 5 please please

thanks @Mario
In order to get what we've never had,
we must do what we've never done.

@Mario

  • from Media Vibe
  • Expert level
  • Posts: 5760
  • Country: ro
  • Rate: +951/-45
  • Here to help
    • View Profile
    • Video sharing CMS
Will add it.
Hello!
If you wish to learn how to start coding on the PHPVibe Video CMS head to the blog and tutorials forums.

Please use the search before opening a new topic!

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
573 Views
Last post 3 years ago
by @Mario
3 Replies
482 Views
Last post 3 years ago
by Alexander
1 Replies
1020 Views
Last post 3 years ago
by Alexander
5 Replies
490 Views
Last post 2 years ago
by Ariana
4 Replies
445 Views
Last post 2 years ago
by ASDF
1 Replies
464 Views
Last post 2 years ago
by @Mario
12 Replies
1075 Views
Last post 2 years ago
by demonguru18
3 Replies
512 Views
Last post 2 years ago
by @Mario
4 Replies
627 Views
Last post 2 years ago
by ASDF
2 Replies
466 Views
Last post a year ago
by Why So Serious
17 Replies
1678 Views
Last post 2 years ago
by Alexander
4 Replies
815 Views
Last post a year ago
by Sauca Adrian
3 Replies
498 Views
Last post 2 years ago
by Alexander
3 Replies
528 Views
Last post 2 years ago
by Alexander
1 Replies
1747 Views
Last post a year ago
by Alexander

Welcome to the PHPVibe (premium video CMS) community!