Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 06-06-2008, 09:08 AM
Mikecp421's Avatar
Mikecp421 Mikecp421 is offline
 
Join Date: Sep 2005
Location: NY
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?
Reply With Quote
  #2  
Old 06-06-2008, 09:44 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 06-06-2008, 12:10 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 06-07-2008, 11:30 AM
Mikecp421's Avatar
Mikecp421 Mikecp421 is offline
 
Join Date: Sep 2005
Location: NY
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 06-07-2008, 11:49 AM
Yogesh Sarkar's Avatar
Yogesh Sarkar Yogesh Sarkar is offline
 
Join Date: Jan 2007
Location: New Delhi, India
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to edit postbit legacy or postbit template (depending on what you are using) and add section targeting there (kontera allows that).
Reply With Quote
  #6  
Old 06-07-2008, 12:18 PM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mikecp421 View Post
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.
Reply With Quote
  #7  
Old 06-13-2008, 07:23 PM
Mikecp421's Avatar
Mikecp421 Mikecp421 is offline
 
Join Date: Sep 2005
Location: NY
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 06-14-2008, 12:28 AM
James Desalus James Desalus is offline
 
Join Date: Jul 2006
Location: Boston, MA
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mikecp421 View Post
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 View Post
You need to edit postbit legacy or postbit template (depending on what you are using) and add section targeting there (kontera allows that).
Reply With Quote
  #9  
Old 06-15-2008, 11:14 PM
Mikecp421's Avatar
Mikecp421 Mikecp421 is offline
 
Join Date: Sep 2005
Location: NY
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes, and I meant to mention it too doesn't work there
Reply With Quote
  #10  
Old 07-02-2008, 11:07 PM
sava700 sava700 is offline
 
Join Date: Mar 2008
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:42 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04200 seconds
  • Memory Usage 2,249KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete