vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   phpAdsNew Banner Ads integration (advertisements, classified ads, Adsense, etc.) (https://vborg.vbsupport.ru/showthread.php?t=100229)

TruthElixirX 03-10-2006 08:22 PM

Today I get on my forum to see that this is no longer working, completely weird. In my tempalte I have:

Code:

        <td align="$stylevar[right]">
<ad clientid="1" />
        </td>

(Header template)

then in the HTML source after is is evald'd out I have:
Code:

<td align="right">
<!-- BEGIN ad 2707236321 --><!-- END ad 2707236321 -->
        </td>

and no ad shows up. Any ideas? I've reimported the product as well. =/

Also my "innvocation code" looks like this:

Code:

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


kazido 03-19-2006 10:38 AM

maybe a stupid question but would this work on 3.5.4? thx

Blackhat 03-19-2006 10:43 AM

I'm using this on 3.5.4

EdQ 03-19-2006 11:05 AM

Quote:

Originally Posted by Blackhat
I'm using this on 3.5.4

So am I

bonjurkes 03-19-2006 01:02 PM

Quote:

Originally Posted by Blackhat
I'm using this on 3.5.4

me too :D

bonjurkes 03-19-2006 01:05 PM

btw can anyone help me about banner system?

I want something different but i cant do it.

Like showing proper ads for proper forums.

I will be glad if you can send me pm, if you can help me

kazido 03-19-2006 02:29 PM

Quote:

Originally Posted by Blackhat
I'm using this on 3.5.4

Sweet! I'll give it a go :banana:

Thx

Mr Gixxer 04-02-2006 05:34 AM

Got it working!

I too had some issues, but be sure to do this in the adsnew config:banana:

Quote:

Set $phpAds_config['compatibility_mode'] = true; in phpAdsNew config file, to prevent problems when phpAdsNew uses a database different from the one used by your vBulletin board.

defcon_420 04-04-2006 06:53 AM

it installed great only when the xml file is enabled i cant save my templates once i edit them
i'm using 3.5.4 and just upgraded to phpAdsNew 2.0.8 running on Apache 1.3.34, PHP 4.4.1 and MySQL 4.0.25-standard
any idea's cause i'd really like it working :D

dwbro1 04-05-2006 02:45 PM

Ok, Feeling kind of noobish here for asking this but XML "is" new to me since I've been out of this game for awhile. I cannot download this I just get the xml code displayed in my browser. Plz show me the errors of my ways but be kind and don't laugh too hard. :)


All times are GMT. The time now is 03:52 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.01590 seconds
  • Memory Usage 1,739KB
  • 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_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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