News:

Wondering if this will always be free?  See why free is better.

Main Menu

Clean Blue

Started by intFUSE, August 01, 2008, 09:23:23 AM

Previous topic - Next topic

rosemarschall09

Nice theme. Keep it up.

SN

Really nice theme mate

Quote from: usawhney on September 02, 2008, 07:27:07 PM
Any Way to decrease the width?

Yeah i would love it wif it could be reduced because i personally prefer Fixed Themes rather than Fluid ones


Cast08

The author thinks about updating this theme for SMF 2.0RC1?

Would be very good.

Thanks!

TheDisturbedOne

How do you make it fixed width?

bullbreedluverz

disturbed try looking in the themes css folder for index.css

look for this - its right at the very top

/* this is the main container surrounding everything, use this to set forum width, font-size  etc. */
#mainframe
{
font-size: 85%;
width: 95%;
margin: auto;
}


change what ever your width (yours may say a different width) is to the width in pexels you want it to be

eg change width: 95%; to width: 900px;

TheDisturbedOne

Yep, I tried that and working with the index.template.php.  All of them still stayed fluid.

oldrow

So I have decided to go ahead and use the theme CleanBlue

here are my installed mods, i run version 1.1.9

Mod Name     Version     
1.    SimplePortal    2.2.1    [ Uninstall ]
2.    Aeva ~ Auto-Embed Video & Audio    6.9.99    [ Uninstall ]
3.    SMF Arcade    2.0.17    [ Uninstall ]
4.    Hack's Park Shoutbox    2.0    [ Uninstall ]
5.    30 Assorted Animated Avatars    1.0    [ Uninstall ]
6.    Avatar on Member List    1.0    [ Uninstall ]
7.    Female Avatars Extra    5.0    [ Uninstall ]
8.    Add Favicon.ico Support    1.0    [ Uninstall ]
9.    Musicians Avatar Extras    1.0    [ Uninstall ]
10.    Animal Avatars Version 1    1.0    [ Uninstall ]
11.    AJAX Instant Quick Reply    1.0.2    [ Uninstall ]
12.    Color And BgColor BBCode Bar    3.3.1    [ Uninstall ]
13.    Own Logo Links To Domain    1.0    [ Uninstall ]
14.    Banlist    1.0    [ Uninstall ]
15.    Custom Copyright In One Line    1.01    [ Uninstall ]
16.    nCode Image Resizer    1.2    [ Uninstall ]
17.    express 2 smiley set    2.0.0.1    [ Uninstall ]
18.    Ad Managment    2.3    [ Uninstall ]
19.    Karma Description Mod    2.3.1    [ Uninstall ]
20.    Clickable Avatars    1.1.0    [ Uninstall ]
21.    All Sorts Of Gaming Avatars    1.0    [ Uninstall ]
22.    james bond avatars    1.0    [ Uninstall ]
23.    Electric Guitar Avatars    1.0    [ Uninstall ]
24.    Member Color Link    3.0.6    [ Uninstall ]
25.    Country_Flagatars    1.1    [ Uninstall ]
26.    Contact Page    1.1    [ Uninstall ]
27.    Highlight Search Keywords    1.21    [ Uninstall ]
28.    Let Me Google That For You Tag    1.1    [ Uninstall ]
29.    SMF Gallery Lite    1.8.3    [ Uninstall ]
30.    Song_Requests    1.0    [ Uninstall ]
31.    Top 50 Bands avatars    1.0    [ Uninstall ]
32.    SMF 1.0.17 / 1.1.9 / 2.0 RC1 Update    1.0    [ Uninstall ]
33.    movie avatars    1.0    [ Uninstall ]
34.    Ban Link in Post    1.1    [ Uninstall ]
35.    Guitar_Players_Avatars    1.0    [ Uninstall ]
36.    marilyn monroe avatars    1.0    [ Uninstall ]


I need to get many of these to work.  The portal works, but the word link to FORUMS is missing so there is no real way to get to the forums easily from the portal page. This is the first major thing I need to fix. Secondly, how do I replace the themes logo at the top with my logo and have mine centered?

After that I need to get my arcade link to show back up as well as my gallery link and song request page back up...These are the major changes I need to do first, I can take care of other little things later on...thanks for the help ahead of time!!!



TheDisturbedOne

Yes as long as the code is customized accordingly.  If you give me a sample code from that section in your index.template.php, I will show an example to what you have to do.

oldrow

not sure if this is the right section

<script language="JavaScript" type="text/javascript">
function CC_noErrors() {
return true;
}

window.onerror = CC_noErrors;
</script>
</head>
<body>';

// Body
   echo '
   <div style="background: #d9dada;">';

echo '
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center">
   <tr>
      <td height="122" class="header">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
   <tr>
        <td width="300"><a href="'.$scripturl.'" title="', $context['forum_name'], '"><img border="0" src="', $settings['images_url'], '/misc/logo.gif" width="300" height="122" alt="', $context['forum_name'], '" class="logo"/></a></td>

      <td><div id="panel">
   
   <form action="', $scripturl, '?action=search2" method="post">
                     <input name="search" type="text" onfocus="if(this.value==\'', $txt[182], '\')value=\'\';" onblur="if(this.value==\'\')value=\'', $txt[182], '\';" value="', $txt[182], '" />
               <input type="submit" value="', $txt[182], '" />';
     
                     // Search within current topic?
                     if (!empty($context['current_topic']))
                        echo '
                        <input type="hidden" name="topic" value="', $context['current_topic'], '" />';
                 
                        // If we're on a certain board, limit it to this board ;).
                     elseif (!empty($context['current_board']))
                        echo '
                        <input type="hidden" name="brd[', $context['current_board'], ']" value="', $context['current_board'], '" />';
                 
                  echo '
                  </form><br />';
   if($context['user']['is_logged'])
              {

           
            echo'
            <b>', $context['user']['name'] , ', ', $txt['welcome_member'], '</b>';
             
            // Only tell them about their messages if they can read their messages!
            if ($context['allow_pm'])
               echo '<br /> <a href="', $scripturl, '?action=pm">', $txt['member_personal_message'], '</a> ', $context['user']['unread_messages'], ' ', $context['user']['unread_messages'] == 1 ? $txt['newmessages0'] : $txt['newmessages1'], '.';
            echo'
            <br />
            <a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a><br />
               <a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a>';
              }
           
       else
              {
            echo '
               <script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script>
                  <form action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" class="middletext" ', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' . $context['session_id'] . '\');"' : '', '>           
                        <input name="user" type="text" onfocus="if(this.value==\'', $txt[35], '\')value=\'\';" onblur="if(this.value==\'\')value=\'', $txt[35], '\';" value="', $txt[35], '" />
                        <input name="passwrd" type="password" onfocus="if(this.value==\'', $txt[36], '\')value=\'\';" onblur="if(this.value==\'\')value=\'', $txt[36], '\';" value="', $txt[36], '" />
                        <input type="submit" value="', $txt[34], '" />
                        <input type="hidden" name="cookielength" value="-1" />
                  </form>    ';
              }

echo'   </div>


</td>
   </tr>
</table>
      </td>
   </tr>
   <tr>
<td height="35" class="nv">
<div class="nvlink" align="center">
',template_menu(),'
</div>
      </td>
   </tr>
</table>';

echo '</div>';

// Body2
   echo '
   <div style="padding:0px 5px 0px 5px; background: #d9dada;"><br />';


}

TheDisturbedOne

You want the template_menu.  It will say [home] near it.

oldrow

i think this is it

// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
   global $context, $settings, $options, $scripturl, $txt;

   // Work out where we currently are.
   $current_action = 'home';
   if (in_array($context['current_action'], array('admin', 'ban', 'boardrecount', 'cleanperms', 'detailedversion', 'dumpdb', 'featuresettings', 'featuresettings2', 'findmember', 'maintain', 'manageattachments', 'manageboards', 'managecalendar', 'managesearch', 'membergroups', 'modlog', 'news', 'optimizetables', 'packageget', 'packages', 'permissions', 'pgdownload', 'postsettings', 'regcenter', 'repairboards', 'reports', 'serversettings', 'serversettings2', 'smileys', 'viewErrorLog', 'viewmembers')))
      $current_action = 'admin';
   if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))
      $current_action = $context['current_action'];
   if ($context['current_action'] == 'search2')
      $current_action = 'search';
   if ($context['current_action'] == 'theme')
      $current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' ? 'profile' : 'admin';

   // Are we using right-to-left orientation?
   if ($context['right_to_left'])
   {
      $first = 'last';
      $last = 'first';
   }
   else
   {
      $first = 'first';
      $last = 'last';
   }

   // Show the start of the tab section.
   echo '';

   // Show the [home] button.
   echo'
               <a href="', $scripturl, '">' , $txt[103] , '</a>';

   // Show the [help] button.
   echo'
               <a href="', $scripturl, '?action=help">' , $txt[119] , '</a>';

   // How about the [search] button?
   if ($context['allow_search'])
      echo'
               <a href="', $scripturl, '?action=search">' , $txt[182] , '</a>';

   // Is the user allowed to administrate at all? ([admin])
   if ($context['allow_admin'])
      echo'
               <a href="', $scripturl, '?action=admin">' , $txt[2] , '</a>';

   // Edit Profile... [profile]
   if ($context['allow_edit_profile'])
      echo'
               <a href="', $scripturl, '?action=profile">' , $txt[79] , '</a>';

   // Go to PM center... [pm]
   if ($context['user']['is_logged'] && $context['allow_pm'])
      echo'
               <a href="', $scripturl, '?action=pm">' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '[<strong>'. $context['user']['unread_messages'] . '</strong>]' : '' , '</a>';

   // The [calendar]!
   if ($context['allow_calendar'])
      echo'
               <a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a>';

   // the [member] list button
   if ($context['allow_memberlist'])
      echo'
               <a href="', $scripturl, '?action=mlist">' , $txt[331] , '</a>';


   // If the user is a guest, show [login] button.
   if ($context['user']['is_guest'])
      echo'
               <a href="', $scripturl, '?action=login">' , $txt[34] , '</a>';


   // If the user is a guest, also show [register] button.
   if ($context['user']['is_guest'])
      echo'
               <a href="', $scripturl, '?action=register">' , $txt[97] , '</a>';


   // Otherwise, they might want to [logout]...
   if ($context['user']['is_logged'])
      echo'
               <a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">' , $txt[108] , '</a>';

   // The end of tab section.
   echo '';

}

TheDisturbedOne

Add where you want it:

   // Show the [custom] button(s).
   echo'
               <a href="http://www.yourtexthere.com">Your text here</a>';

oldrow

Cool got all my buttons back working, there are some bugs in my contact mod, arcade mod and song request mod, as well as my shoutbox does not show up

smf.oldrow.net

praetorian75

I'm using version 0.9 of this theme, and I really like it... except for one thing:

I have no "notify" button for topics or boards anymore!

Can someone tell me how to add this back or what code to insert?  I'd really like to keep this theme, but i use the heck out of the notify button, and can't go without it.

Help is appreciated!
[nofollow]The Dying of the Light: End [nofollow]

Amazon:4.5* (41)

"I didn't see Rebecca die the second time."
[nofollow]Walker Chronicle #1 [nofollow]

More zombies!


marknekk

I've got the same problem... too bad nobody has answered for a looong time :(

FightToTheDeath

Man how can i remove the option to turn the language into turkish? The theme is almost perfect for my forum but I would like this option to be removed.


Niall Ramar

Anyone having issues with errors for this theme please see this topic. It contains links to how to fix portions of the theme, and a few attached files that need to be uploaded.

http://www.simplemachines.org/community/index.php?topic=396445.0

Advertisement: