SMF Ads Support Forum

Support => General Support => Topic started by: hzuleta on February 05, 2009, 10:36:37 PM

Title: Just one more Line of code and im done but....
Post by: hzuleta on February 05, 2009, 10:36:37 PM
Hello, I see a zilllion posts for help, but hopefully someone can get me through this one.
I have an "Extreme 6" Theme with SMF 1.1.8.

I'm doing the manual edits and I've successfully entered in all of them but one (no parse errors on any of the rest).

The one where it asks to look for:
"template_menu();"

And replace with
"//Below the menu ads..."

My problem is that I dont specifically have a
"template_menu();"

But in the file, I do have
"template_menu()"

And

"template_menu(),'</div>"

Where exactly do I stick the code in?

This is what the code currently looks like, unmodified.

Quoteecho '
               </form>
             </div>
             </div></div></div></div>
        <div id="toolbar">',
template_menu(),'</div>
<div id="mainarea">
      <div id="sag">
        <div id="sol">
       <div id="alt">
         <div id="altsag">
           <div id="altsol">
          <div id="ust">

And the other instance is
Quote// Show the menu up top.  Something like [home] [help] [pm] [logout] [login] ...
function template_menu()
{
        global $context, $settings, $options, $scripturl, $txt;


   echo '
   <div id="kwick">



I'm assuming you all know what edit from the Ad Management edit list im talking about.

Any help is appreciated, Thanks everyone.
Title: Re: Just one more Line of code and im done but....
Post by: ccbtimewiz on February 06, 2009, 01:33:56 PM
Find:
        <div id="toolbar">',
template_menu(),'</div>
<div id="mainarea">


Replace with:
        <div id="toolbar">',
template_menu(),'</div>';

// ad code

echo '
<div id="mainarea">