Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 23 Jan 2007, 22:30
shunx91 shunx91 is offline
 
Join Date: Dec 2005
Having trouble with PHPAdsnew (Help wanted!)

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'];
}
Reply With Quote
  #2  
Old 26 Jan 2007, 19:08
stryka stryka is offline
 
Join Date: Aug 2002
There are existing PHPADSNEW hacks... just do a quick search...
Reply With Quote
  #3  
Old 26 Jan 2007, 19:37
shunx91 shunx91 is offline
 
Join Date: Dec 2005
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?
Reply With Quote
  #4  
Old 26 Jan 2007, 19:38
stryka stryka is offline
 
Join Date: Aug 2002
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?
Reply With Quote
  #5  
Old 26 Jan 2007, 21:34
shunx91 shunx91 is offline
 
Join Date: Dec 2005
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.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 17:48.

Layout Options | Width: Wide Color: