Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 08-18-2008, 09:19 PM
induslady induslady is offline
 
Join Date: Jul 2006
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there,

I have installed OpenX 2.6.0 in my server to integrate it with my forums using vB 3.6.8.

When I was trying to serve the 1st ad using OpenX, referring to this guide in openX site, I wasn't able to complete it.

I wasn't able to get invocation code types to generate invocation code for serving the banner. Any help here would be appreciated.

Thank you.
Reply With Quote
  #12  
Old 08-18-2008, 10:40 PM
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Posts: 669
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just get the javascript revoke code and put this javascript code into any of your templates like ad_navbar_below or FORUMHOME. Be sure it is javascript, and not php

The old phpadsnew integration mod causes me big problems when turning off hook system. I hardly argue against using it as openx can just give you javascript code which you only have to put into your templates.
Reply With Quote
  #13  
Old 08-19-2008, 02:19 AM
induslady induslady is offline
 
Join Date: Jul 2006
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello ThorstenA,

Thank you for your reply.

My issue is I'm not able to generate any invocation code. It is not listing any type of invocation code to choose.

In the 'invocation code' tab in OpenX, after setting up the zone, I am not able to see anything listed in the type of banner invocation code to choose 'javascript tag'.

What could be going wrong?

Please help.
Reply With Quote
  #14  
Old 08-19-2008, 06:41 AM
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Posts: 669
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I do not have an installed openx available at the moment so I am sorry to not help you in a detailled way. As I remember, on zones you can click on the rightest option where code of this zone is presented. There is a drop down menu or something like that and one drop down option is javascript.
Reply With Quote
  #15  
Old 08-19-2008, 06:51 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I suggest you ask this at their support site.
Reply With Quote
  #16  
Old 08-19-2008, 12:08 PM
Tapage Tapage is offline
 
Join Date: Nov 2007
Location: Panam?
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

IIRC I had a issue with the size if the banner .. must be as same as you choose in your setup.

Check it ..
Reply With Quote
  #17  
Old 08-21-2008, 04:28 PM
Jon_Simmonds Jon_Simmonds is offline
 
Join Date: Nov 2005
Location: UK
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have had this running (but taken it down due to the extra load it places on my server, which was'nt noticeable 99% of the time, but when things get busy...)

This was using the instructions on the openx site (I think) as well as a bit of searching on here.



plugin details
product: vbulletin
hook : global_start
run order: 5
title : openx

Code:
ob_start();
require 'openads-xmlrpc.inc.php';

    if (!isset($OA_context)) $OA_context = array();
    $oaXmlRpc = new OA_XmlRpc('www.domain.com', '/adserv/www/delivery/axmlrpc.php', 0, false, 15);

$adnavbar = $oaXmlRpc->view('zone:2', 0, '', '', 0, $OA_context);  

ob_end_clean();
Then simply place

$adnavbar['html']

in the templates were you want the adverts to display

obviously zone:1 will change as to your openx install, as would the details of your domain and document path to the openx script
Reply With Quote
  #18  
Old 09-19-2008, 08:58 PM
slo_chewie slo_chewie is offline
 
Join Date: Mar 2006
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This has been working on my forum using local php invocation code.

I do get 3 mysql errors every hour that I haven't been able to figure out though. The mysql errror always gets reported as unregistered user so I think it may be spider related. The mysql error hasn't been causing any problems though. Just annoying getting the email about it.

Product: vBulletin
Hook Location: global_start
Title: OpenX
Execution Order: 5
Plugin PHP Code:

Code:
$tz = date_default_timezone_get();

define('MAX_PATH', '/home/website/openx');
  if (@include_once(MAX_PATH . '/www/delivery/alocal.php')) {
    if (!isset($phpAds_context)) {
      $phpAds_context = array();
    }
    $phpAds_raw = view_local('', 0, 3, 0, '', '', '0', $phpAds_context, '');
  }

date_default_timezone_set($tz);
Then add $phpAds_raw[html] to your template where you want the banner ad to appear
Reply With Quote
  #19  
Old 09-19-2008, 09:37 PM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what's so hard about using openX with vb?
setup your ad tags, and place the code in the ad_locations built into vb
done in 5 mins
Reply With Quote
  #20  
Old 09-20-2008, 02:20 AM
gfxhelp.com gfxhelp.com is offline
 
Join Date: Aug 2008
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check out Google Ad Manager, I'm not sure if it's still in a closed beta, but it's going to be sweet. They just added geographical targeting like you can use when setting up adwords campaigns. In addition they will host the creatives so it won't kill your bandwidth.
Reply With Quote
Reply


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 05:35 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.04527 seconds
  • Memory Usage 2,248KB
  • 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
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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