Coinbase

Author Topic: Edits for ad mod_1-0-7_v1-0-2b on Smf 1.0.7  (Read 34537 times)

0 Members and 1 Guest are viewing this topic.

Offline hygron

  • Jr. Member
  • **
  • Posts: 17
    • global moderator/owner
    • Email
Re: Edits for ad mod_1-0-7_v1-0-2b on Smf 1.0.7
« Reply #15 on: August 22, 2006, 01:50:03 am »
Here you go.  I cut out the edits...and this is the same file I have been working on...If you need more of it;  Let me know. I just included area you had posted...peace, Hygron

__________________________________________________________
        // The main content should go here.  A table is used because IE 6 just can't handle a div.
        echo '


<table width="100%" cellpadding="0" cellspacing="0" border="0">';


                           
// TinyPortal integrated bars
          if($context['TPortal']['leftbar'])
          {
              echo '<td width="' ,$context['TPortal']['leftbar_width'], '" style="padding: ' , isset($context['TPortal']['padding']) ? $context['TPortal']['padding'] : '4' , 'px;  padding-top: 4px;" valign="top">
                 <div id="leftbarHeader"', empty($options['collapse_leftbar']) ? '' : ' style="display: none;"', ' style="padding-top: 5px; width: ' ,$context['TPortal']['leftbar_width'], 'px;">';
                 TPortal_sidebar('left');
              echo '</div></td>';

          }

        echo '<td width="100%" align="left" valign="top" style="padding-top: 10px; padding-bottom: 10px;" id="bodyarea">';
        if($context['TPortal']['centerbar'])
                     echo '<div>' , TPortal_sidebar('center') , '</div>';
}

function template_main_below()
{
        global $context, $settings, $options, $scripturl, $txt;

        echo '</td>';
         // TinyPortal integrated bars
          if($context['TPortal']['rightbar']){
              echo '<td style="padding: ' , isset($context['TPortal']['padding']) ? $context['TPortal']['padding'] : '4' , 'px;  padding-top: 4px;" valign="top" align="right">
                 <div id="rightbarHeader"', empty($options['collapse_rightbar']) ? '' : ' style="display: none;"', ' style="width: ' ,$context['TPortal']['rightbar_width'], 'px; text-align: left; padding-top: 5px;">';
              TPortal_sidebar('right');
              echo '</div></td>';
          }

        echo '</tr></table>';

        // Show the "Powered by" and "Valid" logos, as well as the copyright.  Remember, the copyright must be somewhere!

       
   echo '

        <div id="footerarea" style="text-align: center; padding-bottom: 1ex;', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' width: 100%;' : '', '">
                <script language="JavaScript" type="text/javascript"><!--
                        function smfFooterHighlight(element, value)
                        {
                                element.src = smf_images_url + "/" + (value ? "h_" : "") + element.id + ".gif";
                        }
                // --></script>
                <table cellspacing="0" cellpadding="3" border="0" align="center" width="100%">
                        <tr>
                                <td width="28%" valign="middle" align="right">
                                        <a href="http://www.mysql.com/" target="_blank"><img id="powered-mysql" src="', $settings['images_url'], '/powered-mysql.gif" alt="', $txt['powered_by_mysql'], '" style="margin: 5px 16px;" border="0"  /></a>
                                        <a href="http://www.php.net/" target="_blank"><img id="powered-php" src="', $settings['images_url'], '/powered-php.gif" alt="', $txt['powered_by_php'], '" style="margin: 5px 16px;" border="0"  /></a>
                                </td>
                                <td valign="middle" align="center" style="white-space: nowrap;" class="smalltextwhite">
                                        ', theme_copyright(), ' <br /><b>TechHead</b> / ',  tportal_version()  , '
                                        Bloc</a>
                                </td>
                                <td width="28%" valign="middle" align="left">
                                        <a href="http://validator.w3.org/check/referer" target="_blank"><img id="valid-xhtml10" src="', $settings['images_url'], '/valid-xhtml10.gif" alt="', $txt['valid_xhtml'], '" style="margin: 5px 16px;" border="0" /></a>
                                        <a href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank"><img id="valid-css" src="', $settings['images_url'], '/valid-css.gif" alt="', $txt['valid_css'], '"  style="margin: 5px 16px;" border="0"  /></a>
                                </td>
                        </tr>
                </table>';

        // Show the load time?
        if ($context['show_load_time'])
                echo '
                <span class="smalltextwhite">', $txt['smf301'], $context['load_time'], $txt['smf302'], $context['load_queries'], $txt['smf302b'], '</span>';

          echo '
                </div></div>';

        // This is an interesting bug in Internet Explorer AND Safari.  Rather annoying, it makes overflows just not tall enough.
       
Live a greener healthier intentionally self-substantial lifestyle, and leave a smaller footprint on dear "Mother Earth"

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: Edits for ad mod_1-0-7_v1-0-2b on Smf 1.0.7
« Reply #16 on: August 22, 2006, 10:17:33 am »
Well, I'll try to work with that but uploading the file would have been better.

Offline hygron

  • Jr. Member
  • **
  • Posts: 17
    • global moderator/owner
    • Email
Re: Edits for ad mod_1-0-7_v1-0-2b on Smf 1.0.7
« Reply #17 on: August 22, 2006, 11:10:18 am »
Sorry, I'm new at all this...about 1 month...You have to spell it out for me.  This is the themes/techead/index.template.php         Is this what you asked for?
« Last Edit: August 22, 2006, 11:12:37 am by hygron »
Live a greener healthier intentionally self-substantial lifestyle, and leave a smaller footprint on dear "Mother Earth"

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: Edits for ad mod_1-0-7_v1-0-2b on Smf 1.0.7
« Reply #18 on: August 22, 2006, 01:06:03 pm »
Yes, I'll see if I can modify it for you.

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: Edits for ad mod_1-0-7_v1-0-2b on Smf 1.0.7
« Reply #19 on: August 22, 2006, 01:15:17 pm »
Ok, I didn't know you had Tp installed (Tp=TinyPortal) So I doubt this will work but give it a shot. Remember BACKUP the file you are working with before you edit anything.

Offline hygron

  • Jr. Member
  • **
  • Posts: 17
    • global moderator/owner
    • Email
Re: Edits for ad mod_1-0-7_v1-0-2b on Smf 1.0.7
« Reply #20 on: August 22, 2006, 08:07:48 pm »
that's funny bigguy...I put that info TP in my 1st post in this thread...

Ok...I am going to try the file you edited...thanks
I thought you knew I had TP...What to do if, this doesn't work?

Live a greener healthier intentionally self-substantial lifestyle, and leave a smaller footprint on dear "Mother Earth"

Offline hygron

  • Jr. Member
  • **
  • Posts: 17
    • global moderator/owner
    • Email
Re: Edits for ad mod_1-0-7_v1-0-2b on Smf 1.0.7
« Reply #21 on: August 22, 2006, 08:18:09 pm »
his is the message I got with your file.

Parse error: parse error, unexpected '<' in /home/hygron/domains/hygronomics.com/public_html/forums/Themes/techead/index.template.php on line 346
Live a greener healthier intentionally self-substantial lifestyle, and leave a smaller footprint on dear "Mother Earth"

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: Edits for ad mod_1-0-7_v1-0-2b on Smf 1.0.7
« Reply #22 on: August 23, 2006, 10:43:20 am »
TO many things going on right now lol. I`ll try your file again.

that's funny bigguy...I put that info TP in my 1st post in this thread...

Ok...I am going to try the file you edited...thanks
I thought you knew I had TP...What to do if, this doesn't work?



Offline hygron

  • Jr. Member
  • **
  • Posts: 17
    • global moderator/owner
    • Email
Re: Edits for ad mod_1-0-7_v1-0-2b on Smf 1.0.7
« Reply #23 on: August 23, 2006, 12:55:43 pm »
good man, thanks...I really want to get a handle on this...there is so many different aspects about php,mysql, themes, style...bbbbbbbbbbb(while shaking head).  check ya later
« Last Edit: August 23, 2006, 04:30:20 pm by hygron »
Live a greener healthier intentionally self-substantial lifestyle, and leave a smaller footprint on dear "Mother Earth"

Offline hygron

  • Jr. Member
  • **
  • Posts: 17
    • global moderator/owner
    • Email
Re: Edits for ad mod_1-0-7_v1-0-2b on Smf 1.0.7
« Reply #24 on: August 23, 2006, 05:36:28 pm »
I got another Q for you bigguy.  If I upgrade to 1.0.8 with ad manager

how much work will it be to reinstall TP, and techhead
Live a greener healthier intentionally self-substantial lifestyle, and leave a smaller footprint on dear "Mother Earth"

Offline hygron

  • Jr. Member
  • **
  • Posts: 17
    • global moderator/owner
    • Email
Re: Edits for ad mod_1-0-7_v1-0-2b on Smf 1.0.7
« Reply #25 on: August 23, 2006, 08:56:04 pm »
I just went to edit server settings in tpadmin...this message was waiting at the top.  Maybe this is the problem, eh?

Failed to make backup of Settings.php - make sure Settings_bak.php exists and is writable
Live a greener healthier intentionally self-substantial lifestyle, and leave a smaller footprint on dear "Mother Earth"

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: Edits for ad mod_1-0-7_v1-0-2b on Smf 1.0.7
« Reply #26 on: August 24, 2006, 10:22:51 am »
Make sure settings_bak.php is chmodded to 777 I`m still working on your file. Maybe the people at Tiny Portal would have ideas on how to get the ad mod working. I'm still playing but having a hard time with TP.

Offline hygron

  • Jr. Member
  • **
  • Posts: 17
    • global moderator/owner
    • Email
Re: Edits for ad mod_1-0-7_v1-0-2b on Smf 1.0.7
« Reply #27 on: August 26, 2006, 10:24:43 pm »
funny you mention that bigguy.  TP has a new version coming this week with ad man, included.   so, I will be upgrading to smf1.0.8/TP.095

that pretty much is going to solve the Ad Man, issue.  but, Now I have to Modify the whole site...On the upside.  this time I will do everything in the correct order.  Thanks.  check ya' later
Live a greener healthier intentionally self-substantial lifestyle, and leave a smaller footprint on dear "Mother Earth"

Offline DoA

  • Jr. Member
  • **
  • Posts: 25
    • Acapella MP3
    • Email
Re: Edits for ad mod_1-0-7_v1-0-2b on Smf 1.0.7
« Reply #28 on: October 05, 2006, 09:12:57 am »
Hi bigguy,
I noticed in another thread that you'd sorted a tutorial on how to edit the helios_multi theme for smf only.

I'm currently having great difficulty sorting this theme, so if you could send me the link or help me edit the theme i'd be very greatful!

DoA

p.s. I clicked an ad - I know how hard it it to get forum clicks!

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: Edits for ad mod_1-0-7_v1-0-2b on Smf 1.0.7
« Reply #29 on: October 06, 2006, 06:06:07 am »
If you want to send the 1.0.7 version of the theme I will see what I can do.

SMF Ads Support Forum

Re: Edits for ad mod_1-0-7_v1-0-2b on Smf 1.0.7
« Reply #29 on: October 06, 2006, 06:06:07 am »
.