I already use the ad location for 'Inside First Post', but would also like to create a new ad location for 'Inside Last Post'.
Just like I notice you have in the forum here.
I see were the code for "Inside First Post" was placed in Display.template.php
Just after...
// Show the member's signature?
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']) && $context['signature_enabled'])
echo '
<div class="signature" id="msg_', $message['id'], '_signature">', $message['member']['signature'], '</div>';
is this code for "Inside First Post".
// Begin Ad Seller Pro Location - Inside First Post
if ($message['id'] == $context['first_message'])
{
global $sourcedir;
include_once $sourcedir . "/adseller2.php";
$adSellerAdData = ShowAdLocation(6);
if ($adSellerAdData != false)
{
echo $adSellerAdData;
}
}
// End Ad Seller Pro Location - Inside First Post
I'm not sure though were to place a new ad code for "Inside Last Post".
Could you once again point me in the right direction?
Thanks,