I have the following in my overall_footer.tpl: Visit also: {AD_NETWORK} | {AD_NETWORK1} | {AD_NETWORK2} | {AD_NETWORK3} | {AD_NETWORK4} PHP: But it only shows the first ad.... Any suggestions? Has the weight now been calculated with one ad or with all five?
Did you edit your page_tail as well. YOur weight is calculated on bases of the number of ads showing on the page you have entered in your account settings.
Thanks.. I found the error now.. I forgot to edit the unique names in the page_tail include ($phpbb_root_path . 'ad_network.php'); $template->assign_vars(array('AD_NETWORK' => $ad_network[0])); $template->assign_vars(array('AD_NETWORK1' => $ad_network[1])); $template->assign_vars(array('AD_NETWORK2' => $ad_network[2])); $template->assign_vars(array('AD_NETWORK3' => $ad_network[3])); $template->assign_vars(array('AD_NETWORK4' => $ad_network[4])); PHP: Now it all works with the above code