The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
phpadsnew
This is doing my head in and I need help and pointers.
Well this is what Im trying to do with VB 3.5.4 and my header template. I have installed phpadsnew and its all setup and running, I have added a single banner as a test and that looks fine. I've generatred the Invocationcode and that code I've created a new plugin under Hook Location : global_start. In there I have paisted the code that phpadsnew has created in the Invocationcode tab and created the plugin. On the bottom of the new plugin I have created called phpadsnew is some code called "Plugin PHP Code" and Im trying to add this code to my header template so the banner shows. Code:
<?php if (@include(getenv('DOCUMENT_ROOT').'/ads/phpadsnew.inc.php')) { if (!isset($phpAds_context)) $phpAds_context = array(); $phpAds_raw = view_raw ('zone:1', 0, '', '', '0', $phpAds_context); } ?> Or am I missing something here? I have also tried to get other phpadsnew codes and hacks working with no luck. Anyone out there have some pointers where Im going wrong. Laters |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|