vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How to add ads to posts? (https://vborg.vbsupport.ru/showthread.php?t=181675)

Mikecp421 06-06-2008 09:08 AM

How to add ads to posts?
 
I want to add some ads that will basically highlight the text posted by everyone on the forum, by adding two little green lines under the word, then when you hover over it, an ad pops up. What template do I need to add the code to?

Dismounted 06-06-2008 09:44 AM

You will need to find an ad program that does it (ie. AdSense is an ad program, but I don't think it does this). When you find an ad program, it will tell you what code to add.

Princeton 06-06-2008 12:10 PM

not sure what you are referring to

however, Kontera (in-text advertisement) does this..
the code that they provide will need to be added to the footer template

Mikecp421 06-07-2008 11:30 AM

I have the ad code, and it needs to be added to wherever I want. The problem is, I want the code to affect the written posts? not the default site text. So for instance, when I put the code in showthread.php it adds the ads to the word provate message and the titles of the specific thread, I don't want that. I want it to affect when a post is made the text in that post.

Yogesh Sarkar 06-07-2008 11:49 AM

You need to edit postbit legacy or postbit template (depending on what you are using) and add section targeting there (kontera allows that).

Dismounted 06-07-2008 12:18 PM

Quote:

Originally Posted by Mikecp421 (Post 1543062)
I have the ad code, and it needs to be added to wherever I want. The problem is, I want the code to affect the written posts? not the default site text. So for instance, when I put the code in showthread.php it adds the ads to the word provate message and the titles of the specific thread, I don't want that. I want it to affect when a post is made the text in that post.

It is the JavaScript that your ad provider gives you that controls it. Ask your ad provider.

Mikecp421 06-13-2008 07:23 PM

I understand its their JV that controls it but I want to know which template to put it into, to affect that text? Right now its affecting the site text, not the posted text.

James Desalus 06-14-2008 12:28 AM

Quote:

Originally Posted by Mikecp421 (Post 1548656)
I understand its their JV that controls it but I want to know which template to put it into, to affect that text? Right now its affecting the site text, not the posted text.

I think someone above mentioned putting it in the postbit template.


EDIT:

Yep, someone did.

Quote:

Originally Posted by Yogesh Sarkar (Post 1543070)
You need to edit postbit legacy or postbit template (depending on what you are using) and add section targeting there (kontera allows that).


Mikecp421 06-15-2008 11:14 PM

yes, and I meant to mention it too doesn't work there

sava700 07-02-2008 11:07 PM

yeah I'd love to know what the answer to this is. I've sent Kontera a tech support question on it to see what they say. But I'm rather surprised that nobody has replied back about it.


All times are GMT. The time now is 06:51 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01018 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete