Author |
Message |
jjmusicpro
Involved


Joined: Jul 12, 2005
Posts: 283
|
Posted:
Thu Aug 02, 2007 12:23 pm |
|
icgstation wont display advertisters
Any ideas? |
_________________ - JJMUSICPRO
Myspacetoolbelt.com || RankBook.com || GamerBomb.com || MyspaceJar.com |
|
|
 |
Gremmie
Former Moderator in Good Standing

Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA
|
Posted:
Thu Aug 02, 2007 4:52 pm |
|
Please search for this. In RN themes use the ads() call to display the advertising stuff. Older themes are using something else. It is likely you will need to edit your theme to remove the old call and replace it with an ads() call. Look at fisubice's theme.php file (search for ads()) and perhaps you can figure it out. |
_________________ Only registered users can see links on this board! Get registered or login! - An Event Calendar for PHP-Nuke
Only registered users can see links on this board! Get registered or login! - A Google Maps Nuke Module |
|
|
 |
jjmusicpro

|
Posted:
Thu Aug 02, 2007 5:24 pm |
|
i read the only tread about changing it, i tried it, and it still dosent work.
that is why i posted. |
|
|
|
 |
Gremmie

|
Posted:
Thu Aug 02, 2007 5:35 pm |
|
Please post exactly what you changed, before and after. |
|
|
|
 |
jjmusicpro

|
Posted:
Thu Aug 02, 2007 7:29 pm |
|
|
|
 |
Gremmie

|
Posted:
Thu Aug 02, 2007 8:18 pm |
|
Did you look at fisubice?
It is doing this in themeheader()
right after it echo's out the <body> tag. |
|
|
|
 |
jjmusicpro

|
Posted:
Thu Aug 02, 2007 8:22 pm |
|
|
|
 |
Gremmie

|
Posted:
Thu Aug 02, 2007 8:41 pm |
|
Try this. First remove this line:
$showbanners = ads(0);
($showbanners isn't used in theme.php. However it may be in one of the eval'ed html files, but you haven't included those...)
Now find this line:
echo "<body bgcolor=\"#FFFFFF\" text=\"#000000\">";
After that, add this:
echo ads(0);
If that doesn't work, zip up the entire theme directory and post that somewhere where we can look at it. Good luck! |
|
|
|
 |
jjmusicpro

|
Posted:
Thu Aug 02, 2007 8:52 pm |
|
|
|
 |
Gremmie

|
Posted:
Fri Aug 03, 2007 2:46 pm |
|
|
|
 |
Gremmie

|
Posted:
Sat Aug 04, 2007 12:11 pm |
|
Just to close the loop on this, I removed all the if ($banners == 1) stuff. Then added a line
$showbanners = ads(0);
in its place.
I then fixed a few warnings that are common to the copy & paste theme designers. |
|
|
|
 |
|