View Full Version : What happen to PHP_include Start When I upgraded
Goat Boy
12-08-2006, 01:32 AM
I upgraded from 3.0.7 to 3.6.4
I had info in there for an ad banner
include ('ad_network_405.php');
I am not sure where to put this now. My ads are not working
Reeve of shinra
12-08-2006, 02:14 AM
PHP_include has been replaced with the plugin system
go to admincp -> Plugin System -> Add New Plugin
Hook Location: Global Start
Title: Whatever
PHP Code: Your code here
Goat Boy
12-08-2006, 02:19 AM
Like this
ob_start();
include('path to/forums/ad_network_405.php');
$includedphp = ob_get_contents();
ob_end_clean();
I got that far, how do I figure out what the path to is. When I log in to ftp the directory starts at public_html, so I tried
include('public_html/forums/ad_network_405.php'); and it didn't work no such directory. How do I figure out my path to?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.