I was surprised that after I upgraded to 4.0.5 two of my ads positions are gone from my board.
I checked my templates: SHOWTHREAD, header, headinclude, footer, and other customized templates. Everything is intact. So I went and skimmed through the vb 4.0.5 code, and found the following:
The code below was in vb 4.0.3 PL 1 and missing in 4.0.5
Similarly the code below was in vb 4.0.3 PL 1 and missing in 4.0.5
Although I acknowledge that I should not change the original vb code, just for testing, I placed the code I mentioned above to 4.0.5 code and my ads are displaying correctly on my board again. Could anyone explain me why these code are removed in vb 4.0.5 and what is the alternative feature I could use in this new version to show my ads?
-Nay
Code:
ad_footer_end ad_showthread_firstpost
The code below was in vb 4.0.3 PL 1 and missing in 4.0.5
PHP Code:
File: showthread.php, Line 1048
// Only show after the first post, counter isn't incremented for deleted/moderated posts
if ($post['isfirstshown'])
{
$postbits .= vB_Template::create('ad_showthread_firstpost')->render();
}
PHP Code:
File: includes/class_bootstrap.php, Line 416
$ad_location['ad_footer_end'] = vB_Template::create('ad_footer_end')->render();
-Nay
Comment