Log in

View Full Version : phpinclude_start


dpakman91
02-18-2004, 11:19 PM
alright, i am posting this problem ehre because no one on the v3arcade.com forum seems to know the answer, and i'm not able to get a reply from the person that posted the original modification.

i have v3arcade installed on my forum. i recently added phpadsnew and it'w working fine. however, this caused scores to not be recorded in the arcade. therefore, i found a thread on vb.org telling me to change my phpincludes_start to this:

ob_start();
if (THIS_SCRIPT != 'arcade') {require("/home/dpakman/public_html/forum/banner.php");
$phpadsnew2 = ob_get_contents();
require ('/home/dpakman/public_html/forum/banner.php');
if (!isset($phpAds_context)) $phpAds_context = array();
$phpAds_raw = view_raw ('zone:1', 0, '', '', '0', $phpAds_context);
$bann = $phpAds_raw['html'];
}
ob_end_clean();

now this HAS fixed the problem of scores not recording in the arcade, however now the ads show up on every page EXCEPT for the arcade page, which defeats the purpose of the ads since that is my most visited page.

does anyone know what i could/should do to get the banners showing up on the arcade page, but also allowing the high scores to be recorded?

Dark Shogun
02-19-2004, 12:57 AM
If this is about the vb3 arcade then this should be posted in the vb3 arcade thread.

Dark Shogun

dpakman91
02-19-2004, 02:13 AM
If this is about the vb3 arcade then this should be posted in the vb3 arcade thread.

Dark Shogun
it's not really about v3arcade, the actual phpinclude_start code is solely for phpadsnew2....i saw some posts about phpads not working with v3, and then being fixed...but no one is erally paying attention to those, maybe cause they are older threads. figured i'd give this a shot.

Zachery
02-19-2004, 09:29 PM
it's not really about v3arcade, the actual phpinclude_start code is solely for phpadsnew2....i saw some posts about phpads not working with v3, and then being fixed...but no one is erally paying attention to those, maybe cause they are older threads. figured i'd give this a shot.
Shouldnt be talking about it in the lounge regardless :D