AshG
10-23-2004, 06:27 PM
I'm trying to get something worked out as an interim solution while we work on porting to vBA. I haven't had any luck either making or finding a modification that will allow us to pull two separate sets of news in a separated format. I do have somewhat of a different solution that I'm trying but I'm running into a problem.
Since no one has been able to help with a hack or mod to pull news separately with one page, we've set up two different pages. This page (http://www.envynews.com/cmps_index.php?page=tworeviews) displays the two newest reviews or site news blurbs. The main page (http://www.envynews.com/cmps_index.php) displays affiliate and web news.
We tried successfully to include both outputs on one page. Unfortunately, a PHP problem resulted in deleting/reinstalling vBulletin and vBA and the output has not worked since.
The page we've experimented with (http://www.envynews.com/dev/cmpstest.php) doesn't seem to like what we're trying to do, eventhough it once worked. Here's the code we've tried:
<div align="center">
<? view ('zone:'.Ads_TopMiddle3, 0, '_blank', '', '0', $phpAds_context); ?>
<? view ('zone:'.Ads_TopMiddle4, 0, '_blank', '', '0', $phpAds_context); ?>
<? include("./cmps_index.php?page=tworeviews"); ?>
<? view ('zone:'.Ads_MiddleNews, 0, '_blank', '', '0', $phpAds_context); ?>
<? include("./cmps_index.php"); ?>
</div>
I know what the problem is (calling a page that starts with ?), but the fact that it worked once means it has to be able to work somehow. Is there any possible way to achieve what we're trying to do? Well, I know there is, but how to do it?
edit: I can't get the opening <div> to space like it should, but it is properly aligned in the code.
Since no one has been able to help with a hack or mod to pull news separately with one page, we've set up two different pages. This page (http://www.envynews.com/cmps_index.php?page=tworeviews) displays the two newest reviews or site news blurbs. The main page (http://www.envynews.com/cmps_index.php) displays affiliate and web news.
We tried successfully to include both outputs on one page. Unfortunately, a PHP problem resulted in deleting/reinstalling vBulletin and vBA and the output has not worked since.
The page we've experimented with (http://www.envynews.com/dev/cmpstest.php) doesn't seem to like what we're trying to do, eventhough it once worked. Here's the code we've tried:
<div align="center">
<? view ('zone:'.Ads_TopMiddle3, 0, '_blank', '', '0', $phpAds_context); ?>
<? view ('zone:'.Ads_TopMiddle4, 0, '_blank', '', '0', $phpAds_context); ?>
<? include("./cmps_index.php?page=tworeviews"); ?>
<? view ('zone:'.Ads_MiddleNews, 0, '_blank', '', '0', $phpAds_context); ?>
<? include("./cmps_index.php"); ?>
</div>
I know what the problem is (calling a page that starts with ?), but the fact that it worked once means it has to be able to work somehow. Is there any possible way to achieve what we're trying to do? Well, I know there is, but how to do it?
edit: I can't get the opening <div> to space like it should, but it is properly aligned in the code.