vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=137350

Having trouble with PHPAdsnew (Help wanted!)
by shunx91
23 Jan 2007 23:30

Hi guys,

The test page that I have set up for this is working fine and ads are displaying perfectly. I'm not sure if I'm posting the code in the right places but I've treid to post this code as a phrase o a new template and then calling it out in the SHOWTHREADS template but nothing happens. Can someone please help me out? This is starting to drive me nuts!

<?php
if
(@include(getenv('DOCUMENT_ROOT').'/phpAdsNew/phpadsnew.inc.php')) {
if (!isset($phpAds_context)) $phpAds_context = array();
$phpAds_raw = view_raw ('zone:1', 0, '_blank', '', '0',
$phpAds_context);
echo $phpAds_raw['html'];
}

stryka 26 Jan 2007 20:08

There are existing PHPADSNEW hacks... just do a quick search...

shunx91 26 Jan 2007 20:37

I did and i have it installed, but I dont' really understand how it works. The code that I post in a php page works just fine but it's not showing up on the forum pages. Is there any specific place where I need to paste in the code?

stryka 26 Jan 2007 20:38

no offence... but did you try to ask the question in the hack thread itself?

Which hack (url) is it... might make us understand what the problem is...

I assum you want it to appear at the top of a thread?

shunx91 26 Jan 2007 22:34

NO.

I'm not sure what your problem is but I've been an admin of my site for long enough to know about the "do a search noob" type of attitude that most people have. I already stated that I did read everything and done a lot of searches before reserving to starting a new thread about it. If you guys don't want to be help that's fine, stop making assumption and accusations because it doesn't help anyone.

If you really meant to say "no offense" in the beginning of the thread then don't end your post with "I assume you want it to appear at the top of a thread" because I'm pretty damn offended by your posts.


All times are GMT. The time now is 08:44.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.