vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - vB Ad Management 4 (https://vborg.vbsupport.ru/showthread.php?t=131150)

RedTyger 03-08-2007 08:58 AM

No, can't do that.

bagfullofrice 03-08-2007 10:36 AM

Well, is there any possible way around this? :( I really need this.


edit: Maybe I can add the PHP codes in the template and then assign a variable, then call the variable with JS?

RedTyger 03-08-2007 10:38 AM

No, PHP cannot be used in templates.

djchris 03-08-2007 11:54 AM

Hi RedTyger,

Love your mod. Just wanted to check if it is possible to display ads in a continuous mode instead of random?

RedTyger 03-08-2007 03:03 PM

Continuous mode...you mean sequentially, first then second then third in the list? It's not I'm afraid.

skubaman 03-08-2007 03:21 PM

Hi, I have installed it and set it up, but I can't get it to show the openads ads.
I have tried different types of openads ads and none of them display. I know the ad codes are working because I can run it on a test php page.

If I just write "XYZ" in the banner area of VB Ads setup it does show the XYZ in my forum.

So apparently the problem is compatibility between openads and vbads.

Here is the openads code

PHP Code:

<?php
    
if (@include(getenv('DOCUMENT_ROOT').'/oa10/phpadsnew.inc.php')) {
        if (!isset(
$phpAds_context)) $phpAds_context = array();
        
$phpAds_raw view_raw ('zone:1'0'''''0'$phpAds_context);
        echo 
$phpAds_raw['html'];
    }
?>

My forum is at

http://www.snowbrasil.com/forum/showthread.php?t=1250

You can see the space for the banners between the posts, but nothing shows there.

And here you can see that the openads code works.

http://www.snowbrasil.com/ads.php

I appreciate your help.

Thanks so much

RedTyger 03-08-2007 03:23 PM

You can't use PHP in a vBulletin template. Sounds like OpenAds integration would require some kind of additional plugin, there might be one here if you search.

skubaman 03-08-2007 03:36 PM

I thought I read on this same thread that vb ads was compatible with openads.
So I guess I have to use javascript instead.
Thanks

echamberlain 03-08-2007 05:18 PM

You have to use javascript or the phpadsnew plugin that adds an ad's tag to the code.

inbrissy 03-08-2007 06:27 PM

Hi all,

I'm still new to php and vbulletin. I wanted to ask if its at all possible to add two more rotating banners to the header and footer of my forum. Is that something that is pretty easy to do? Can someone give me a hand with doing that?

It would be much appreciated.


All times are GMT. The time now is 04:56 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.02071 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (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