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)

dc1pop 02-14-2006 02:21 PM

Works great on my vb 3.5.3 board!

Thanks :D

Saves all the Java code i was using!!

Trana 02-14-2006 03:44 PM

Two questions...

Does anyone know of an invocation code or something that will display ALL of the banners (either all or all from a campaign)? Sort of like a "Sponsored By" page....

Does anyone know of a way to display banners as thumbnails? I.E. I'd like to dynamically resize them to fit in certain areas of my board.

Thanks in advance to anyone that can help!

The M.I.P. 02-15-2006 07:47 PM

Quote:

Originally Posted by nexus851
How the hell do u uninstall this???????? crashed by board with a FATAL ERROR when you uninstall this... anyone, please help..

PHP Code:

Fatal errorCall to undefined function: view_ad() in /home/lendinge/public_html/forum/global.php(528) : eval()'d code on line 6 


Select "Uninstall" from the dropdown menu in AdminCP->Manage Products->phpAdsNew Integration

Don't forget to remove any occurences of the ad-tag in your templates, else the compiled template still tries to call the view_ad() function.

Quote:

Originally Posted by Triple_T
I have discovered a problem. The ads show but the target URL directs to: "http://forum.mydomain.com/adscript"

instead of "http://www.mydomain.com/adscript" where it should go.

Any way to fix this problem?

Did you explicitely set your URL in phpAdsNew's config.inc.php ($phpAds_config['url_prefix'])?

dutchbb 02-15-2006 08:24 PM

Quote:

Originally Posted by The M.I.P.
Did you explicitely set your URL in phpAdsNew's config.inc.php ($phpAds_config['url_prefix'])?

yep...

Quote:

// The URL to your phpAds-installation
$phpAds_config['url_prefix'] = 'http://www.dutchbodybuilding.com/adserver';
The banner images show, but the target url's go to my forum subdomain.
Thanks

OrionDesigns 02-16-2006 06:18 PM

I get the following when I try to insert my innvoation code into my header template:

Quote:

The following error occurred when attempting to evaluate the template 'header':

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/oriongra/public_html/forum/includes/adminfunctions_template.php(3532) : eval()'d code on line 13

This is likely caused by a malformed conditional statement.
Here is my innvocation code itself:
Quote:

<?php
if (@include('/home/oriongra/public_html/forum/phpadsnew/phpadsnew.inc.php')) {
if (!isset($phpAds_context)) $phpAds_context = array();
$phpAds_raw = view_raw ('zone:1', 0, '', '', '0', $phpAds_context);
echo $phpAds_raw['html'];
}
?>
Any ideas?

stefaandk 02-19-2006 10:09 AM

Thanks for this mod, I've installed it on 3.5.3 and had no issues so far.

Cheers

Citizen 02-19-2006 04:10 PM

Does this hack use javascript at all? What actual code does it use for invocation?

Bhuwan 02-20-2006 06:23 PM

Fatal error: Call to undefined function: view_ad() in /index.php(488) : eval()'d code on line 139

this is with the hack UNINSTALLED!

The Realist 02-28-2006 07:52 PM

Cant get it to work at all :(

dutchbb 03-01-2006 12:28 AM

Quote:

Originally Posted by Triple_T
yep...



The banner images show, but the target url's go to my forum subdomain.
Thanks

Can I get a little help here

thanks


All times are GMT. The time now is 10:46 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.01696 seconds
  • Memory Usage 1,744KB
  • 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
  • (7)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