I followed all the instructions from this forum to get my forum to display ads for Invision 1.3.1. No matter what I do my site diplays "array" where the ads should be. This is the link to my forum http://free-seo.lyonscraft.com Any ideas?
I had that problem once when upgrading to a newer version of the file. You will need to display the ad with and array element like: echo $ad_network[0];
This is the code I added to functions.php. $ibforums->skin['template'] = str_replace( "<% NAVIGATION %>" , $nav , $ibforums->skin['template']); // Second custom mod for coop ad network - places ad in skin wrapper ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../'); include ('ad_network.php'); $ibforums->skin['template'] = str_replace( "<% COOP.AD.NETWORK %>" , $ad_network , $ibforums->skin['template']); Code (markup): I copied the 2 files and placed them in the appropriate dir with chmod 777 on the text file. (ads work on another section of my site so I doubt this is the problem) Then I edited my board wrapper to look like this. <% BOARD %> <% STATS %> <% COOP.AD.NETWORK %> <div class='border'><% COPYRIGHT %></div> </div> </body> </html> Code (markup):
You would need to be using a supported method (from the setup instructions) in order to receive help.