Themes/Language > Theme Support

Re: Edits for ad mod_1-0-7_v1-0-2b on Smf 1.0.7 (Index.template.php edits)

<< < (3/4) > >>

cslepage:
When I installed the 1.07 ad mod, I got "failure" on index.template.php, boardindex.template.php, and display.template.php.

Oh, and I was wrong:  everything but ads at the top and bottom are working.

bigguy:
And that is for the default theme ???

cslepage:
I found it!

I had to find this:


--- Quote ---    echo '</td>
    </tr></table>';

    // Show the "Powered by" and "Valid" logos, as well as the copyright.  Remember, the copyright must be somewhere!
    echo '
--- End quote ---

And replace


--- Quote ---echo '</td>
    </tr></table>';
--- End quote ---

with:


--- Quote ---   global $modSettings;
   echo '</td></tr>';
if ($modSettings['js_text_displayads_botindex'] && allowedTo('ad_manageperm'))
{
   echo '   <tr><td id="bodyarea">
            <div align="center">',$modSettings['js_text_content'],'</div><br /></td></tr>';
}

   echo '</table>';
--- End quote ---

bigguy:
Glad you found it. Is it all working fine now ???

cslepage:
Yes it is!  The only thing that would make it better would be for me to upgrade my forum to a newer version of SMF to get more ad features.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version