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)

thenewuser 10-01-2006 12:35 PM

Quote:

Originally Posted by Devices
I am stuck now to advise what to do other than check your path to your pan installation mine is on a windows server and i have the path set to D:\Domains\mydomain.com\www\ads

The fact you are getting the code above i would say the addon is working ok its just not getting the correct info from PAN. So it either cannot find it or PAN is not returning the correct info.

Have you verified your PAN is working normally outside of VB ?

We have verified that it is not working normally. Myself and my host have combed through the settings and they all appear to be correct. Everything is up and linked. I'm not sure what else could be the problem.

Devices 10-07-2006 04:20 PM

Quote:

Originally Posted by thenewuser
We have verified that it is not working normally. Myself and my host have combed through the settings and they all appear to be correct. Everything is up and linked. I'm not sure what else could be the problem.

Of course do not forget to specify the same banner size as your zone size ;)

Devices 10-07-2006 04:23 PM

Quote:

Originally Posted by dholt
Nice works great
I need a how too to create a add block for this for the right side of my vba.

can someone give me a step by step on inserting a banner on the right or left side in a block.

Thanks in advance

Its probably best to look over at VBA's site. There is information there for creating custom blocks. Personally i deactivate the VBA side blocks and create my own in the templates that display throughout the forums.

Jealousy10312 10-21-2006 02:41 PM

Does this work with 3.6.2?

jw00dy 10-22-2006 03:59 AM

yes it works on 3.6.2

farooqaaa 10-22-2006 08:49 AM

nice one, thanks alot!

farooqaaa 10-22-2006 12:58 PM

Its not working for me :(.. i have added the ADS but they arent showing.!

thetradingforum 10-24-2006 11:22 PM

Not working for me :(

Header code:
Code:

<!-- logo -->
<a name="top"></a>
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center">
<tr>
  <td style="background-image:url(images/c1/c1_01.jpg); background-position:right; background-repeat:repeat-y;" width="10">&nbsp;</td>
  <td style="background-color:#ffffff;"><table width="100%" style="background-image:url(images/c1/c1_04.jpg); border="0" cellpadding="0" cellspacing="0" align="center">
      <tr>
        <td align="$stylevar[left]" valign="top"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
        <td width="100%" style="background-image:url(images/c1/c1_03.jpg); background-repeat:no-repeat;"> <ad what="zone:2" /> </td>

PAN Code:
Code:

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

I currently have PAN installation directory set to "/phpAdsNew"
PAN is installed in this directory:
Code:

ftp://ftp.thetradingforums.com/public_html/forums/phpAdsNew/
Please help, I've been searching for a solution for HOURS!

I've tested PAN outside vbulletin, and it works fine.

echamberlain 10-25-2006 06:03 PM

What is the syntax to select Wide Skyscraper banners based on one or more keywords?

For example, I want a wide skyscraper banner on the right side of my forum and I want baners selected based on the page meta keywords.

myplacidcasual 10-30-2006 04:56 AM

Will this work with vb 3.62 and the latest phpadsnew?


All times are GMT. The time now is 06:06 AM.

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.01847 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
  • (3)bbcode_code_printable
  • (3)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