Recent Topics

Members
Stats
  • Total Posts: 10,749
  • Total Topics: 1,374
  • Online today: 737
  • Online ever: 879
  • (Jan 21, 20, 05:49:15 PM)
Users Online
Users: 0
Guests: 251
Total: 251

Modified CoalBlack?

Started by Lyfing, Jan 11, 12, 08:22:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Lyfing

Thanks again for CoalBlack!  If one likes black it sure is a good theme to modify :P

I modified another one..

>>> http://i42.tinypic.com/24y1c2q.png

>>> http://i39.tinypic.com/2s6lydj.png

I did it with a fresh installation, and this time it said..

"Welcome guest, please
Did you miss your registration email"

..or something like that?  I just copied the code in index.template.php from the first modification.. :uglystupid2:

Thanks again Crip!

Later,
-Lyfing


Crip

So , you have everything sorted now?
I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.

Lyfing

Yes Sir!  I made it like you made it to not show up anything but the field boxes and the date..

On second thought though how would one go about doing away with it all together?

Thanks again!

Later,
-Lyfing

Crip

I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.

Lyfing

This stuff..

>>> http://i43.tinypic.com/2ir2gir.png

I read in the Fine Tuning BR Finale thread you took it off of that one.  I don't want to bother you with doing it as I suspect it is done in index.template.php..how would one do it though?

Later,
-Lyfing

Crip

U not bothering me bro'
=======> all that is within the "(index.template.php)" Login /  date //time
==> it can be removed.. ;)
I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.

Lyfing

Thanks.  I tried to delete what looked like the right stuff to delete and all I ended up with was a forum that wouldn't work.  It either brought up some error and suggested I use the default theme or it was altogether messed up and not usable.  Of course I did this all on my TestBoard so it didn't hurt anything.  Other than me installing SMF several times.

I would also like to do away with this..

>>> http://i42.tinypic.com/153nos6.png

This is the code from Germanic Heathenry Forum..

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

   echo !empty($settings['forum_width']) ? '
<div id="wrapper" style="width: ' . $settings['forum_width'] . '">' : '', '
    <div id="header">
         <div id="head-l">
             <div id="head-r">
                <div id="userarea" class="smalltext">';
               if (!empty($context['user']['avatar']))
               echo '
                   <div id="my-avatar" class="clearfix">'.$context['user']['avatar']['image'].'
               </div>';
               if ($context['user']['is_logged'])
    {
         echo '
           <ul class="reset">
              <li><b>', $txt['hello_member_ndt'], ' ', $context['user']['name'], '</b></li>';
         echo '
             <li><a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a></li>
             <li><a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a></li>
         </ul>';
    }

   // Otherwise they're a guest - this time ask them to either register or login - lazy bums...
      else
     {
      echo '
       <div class="info"></div>';

      echo '
          <script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/scripts/sha1.js"></script>
      <form action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" style="margin: 4px 0;"', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' . $context['session_id'] . '\');"' : '', '>
            <input type="text" name="user"  size="10" class="input_text" />
            <input type="password" name="passwrd"  size="10" class="input_password" />
            <input type="submit" value="', $txt['login'], '" class="button_submit" />
            <input type="hidden" name="hash_passwrd" value="" />
         </form>', $context['current_time'],'<br />';
     }
   echo '
     </div>';
    echo '
          <div id="logo">
          <a href="'.$scripturl.'" title=""></a>
        </div>';
    echo '
           </div>
       </div>
   </div>
       <div id="tbar-l">
           <div id="tbar-r">
             <div id="toolbar">
               ',template_menu(),'
                 </div>
            </div>
         </div>
          <div id="bodyarea-l">
              <div id="bodyarea-r">
                  <div id="bodyarea">';

               // Show the navigation tree.
               theme_linktree();
      if(function_exists('loadCTop'))loadCTop();
}


If you would be so kind as to tell me what exactly to delete I would be much appreciative  :uglystupid2:

GHF has this "<div class="info"></div>';" instead of this "echo sprintf($txt['welcome_guest'], $txt['guest_title']);"  I take that to be the now gone "Welcome guest, please" and GHF also has this " if(function_exists('loadCTop'))loadCTop();" at the very end? I guess it probably doesn't matter but those are the two differences I seen..

Thanks Crip!

Later,
-Lyfing

Lyfing

Nevermind..

I just modified the index.css file like so..

#userarea {
    float: right;
    padding: 0em 0em 0 0;
    text-align: right;
    color: silver;
    font: lucida grande 0px;
   width: 0em;


That works for me and if I ever want it back it will be simple to do..

Now, how to get the menu text centered? Or some way around it..

Thanks!

Later,
-Lyfing

Lyfing

I did it again..

>>> http://i42.tinypic.com/vsox7b.png

>>> http://i42.tinypic.com/16itzr7.png

>>> http://i42.tinypic.com/2zemmwp.png

By far the most I've modified one yet.. :uglystupid2:

Thanks again for CoalBlack and all the support Crip!

Later,
-Lyfing

Crip

I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.