vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   phpadsnew integration? (https://vborg.vbsupport.ru/showthread.php?t=49805)

Tuan Le 08-30-2003 11:38 AM

I'm bringing this thread back to life...... :bunny:

Does anyone happen to have step-by-step integration instruction how to get phpAdsNew to work with vBulletin version 3 Beta 4? Any help you can give me will be greatly appreciated.

I go phpAdsnew installed and configured for all the correct banners. I am hitting the wall on trying to figure how to get it integrated with vBulletin 3 beta 4. :(

Thanks
-Tuan

Dolby 08-31-2003 02:10 AM

What needs to be integrated? Wouldnt you just add your Invocationcode to the templates you want your ads to show? Then if you dont want some people to see the adds use the Dynamic Templates hack by Logician.

gmarik 08-31-2003 05:40 AM

Has something been done?

Tuan Le 09-02-2003 01:41 PM

I got this added to the phpinclude_start

Code:

require("C:/../../phpadsnew/phpadsnew.inc.php");
if (!isset($phpAds_context)) $phpAds_context = array();
$phpAds_raw = view_raw ('', 0, '', '', '0', $phpAds_context);
$variable_name = $phpAds_raw['html'];


But not sure where I need to put the local invocation code generated by phpadsnew. Do you know where I need to put them? I would greatly appreciated if you can point me to the right direction. :confused: Thanks.

Code:

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


Skyline_GT 01-10-2004 08:03 AM

<i>I want to know too..</i>

cnczone 02-01-2004 06:51 PM

I use phpadsnew http://cnczone.com/index.php?s= .

bada_bing 02-16-2004 12:53 PM

cnczone or someone.

Can you please post a step by step on how to intergrate pgpadsnew to vbulletin? I am using vportal with vbulletin and I want to add a zone on the top of vportal and the top of my main vbulletin forum and the bottom. Please help

cnczone 02-16-2004 01:15 PM

Just use the code generator in phpadsnew and plave that code in the template.

bada_bing 02-16-2004 01:29 PM

cnczone

Can you please be a bit more specific I am not a coder. Do I have to add a code to the templete for every banner?

Which template do I have to edit of I want banners to rotate on the top of my vportal and top and bottom of vbulletin?


All times are GMT. The time now is 01: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.01913 seconds
  • Memory Usage 1,728KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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