News:

SMF 2.1.3 has been released! Take it for a spin! Read more.

Main Menu

Blackhead

Started by Crip, March 12, 2011, 09:13:05 PM

Previous topic - Next topic

Crip

Link to the theme


Clean theme for SMF...
Updated for 2.0.2
                        Demo
I have become comfortably numb!


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



TOTM Winner. | Demo Site1on1 Theme Support

Robert.


Mick.


Crip

I have become comfortably numb!


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



TOTM Winner. | Demo Site1on1 Theme Support

higherauthority

Very cool.  Is there any option to add a custom  menu link   Ie...    *My Main Page*  , Home    ,Search,  Profile etc...

Crip

Sure , via : Sources/Subs.php
I have become comfortably numb!


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



TOTM Winner. | Demo Site1on1 Theme Support

Manaen

Thanks for the man, it's awesome! I just have a request
How can i remove the Hello user and search from the header up there? The easiest way, since i'm quite the noobie on this.

Crip

via the "index.template.php"
I have become comfortably numb!


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



TOTM Winner. | Demo Site1on1 Theme Support

Manaen

#8
I must be removing the wrong codes, because it always gives me error.
Can you tell me the lines i'm soposed to delete?



EDIT: Found them, thank you.

Crip

I have become comfortably numb!


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



TOTM Winner. | Demo Site1on1 Theme Support

Magnetix

Your themes work pretty well in my forums, in fact no flaws. The only problem is,
when you have Simple Portal installed. Well actually, it's no biggie but I wonder
how to fix the bg of the Title Heads. I'm attaching an image so you can see.

Anyways, thanks a lot. I'm a big fan of your themes. Keep it up!

MrGrumpy

You need to copy the portal css file from the default theme and place it in this themes css folder, the file is called portal.css so it's easy to find.
the possession of knowledge is worthless unless imparted upon others
My Custom Themes
2.0 themes only - I don't do 1.1.x

Magnetix

Sir, thank you very much. It's working fine.

Fussilet


MikeThePickle

Hey!  I'm really impressed by this theme so I'm using it on my website at hxxp:peoplesminecraftserver.com [nonactive]

Anyway,  I'm having trouble editing the menu buttons at the top.

For example:

$buttons = array(
'home' => array(
'title' => $txt['home'],
'href' => $modSettings['sp_portal_mode'] == 3 && empty($context['disable_sp']) ? $modSettings['sp_standalone_url'] : $scripturl,
'show' => true,
'sub_buttons' => array(
),
'is_last' => $context['right_to_left'],
),
'forum' => array(
'title' => empty($txt['sp-forum']) ? 'Forum' : $txt['sp-forum'],
'href' => $scripturl . ($modSettings['sp_portal_mode'] == 1 && empty($context['disable_sp']) ? '?action=forum' : ''),
'show' => in_array($modSettings['sp_portal_mode'], array(1, 3)) && empty($context['disable_sp']),
'sub_buttons' => array(
),
),
'profile' => array(
'title' => $txt['profile'],
'href' => $scripturl . '?action=profile',
'show' => $context['allow_edit_profile'],
'sub_buttons' => array(
'summary' => array(
'title' => $txt['summary'],
'href' => $scripturl . '?action=profile',
'show' => true,
),
'account' => array(
'title' => $txt['account'],
'href' => $scripturl . '?action=profile;area=account',
'show' => allowedTo(array('profile_identity_any', 'profile_identity_own', 'manage_membergroups')),
),
'profile' => array(
'title' => $txt['forumprofile'],
'href' => $scripturl . '?action=profile;area=forumprofile',
'show' => allowedTo(array('profile_extra_any', 'profile_extra_own')),
'is_last' => true,
),
),
),
'pm' => array(
'title' => $txt['pm_short'],
'href' => $scripturl . '?action=pm',
'show' => $context['allow_pm'],
'sub_buttons' => array(
'pm_read' => array(
'title' => $txt['pm_menu_read'],
'href' => $scripturl . '?action=pm',
'show' => allowedTo('pm_read'),
),
'pm_send' => array(
'title' => $txt['pm_menu_send'],
'href' => $scripturl . '?action=pm;sa=send',
'show' => allowedTo('pm_send'),
'is_last' => true,
),
),
),
'login' => array(
'title' => $txt['login'],
'href' => $scripturl . '?action=login',
'show' => $user_info['is_guest'],
'sub_buttons' => array(
),
),
'register' => array(
'title' => $txt['register'],
'href' => $scripturl . '?action=register',
'show' => $user_info['is_guest'],
'sub_buttons' => array(
),
'is_last' => !$context['right_to_left'],
),
'logout' => array(
'title' => $txt['logout'],
'href' => $scripturl . '?action=logout;%1$s=%2$s',
'show' => !$user_info['is_guest'],
'sub_buttons' => array(
),
'is_last' => !$context['right_to_left'],
),


How would I edit one of these to link to an outside url?

Crip

prolly by a direct Link --

somethin like :
------------------
<a href="http://www.simplemachines.org/" title="whatever" target="_blank">Link Here</a>
I have become comfortably numb!


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



TOTM Winner. | Demo Site1on1 Theme Support

MikeThePickle

Great!  Last question.

How do I go about removing the blank lines at the top?


Crip

that's part of the Theme , it must be there or the theme will break..
I have become comfortably numb!


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



TOTM Winner. | Demo Site1on1 Theme Support

MrGrumpy

Those can be adjusted.

In index.css

Change
#toolbar  {
background: url(../images/theme/toolbar.png) repeat-x;
height: 46px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
margin: 0 0 20px;
padding: 0px 2px 0;
}


to

#toolbar  {
background: url(../images/theme/toolbar.png) repeat-x;
height: 46px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
margin: 0 0 5px;
padding: 0px 2px 0;
}


Change

#top-l {
background: url(../images/theme/topl.gif) 0 0 no-repeat;
padding: 34px 11px 0px;
}


to


#top-l {
background: url(../images/theme/topl.gif) 0 0 no-repeat;
padding: 10px 11px 0px;
}


Also you should copy the portal.css file from your defualt themes css folder and place it in this themes css folder to fix the problem with the titlebars on the portal blocks.
the possession of knowledge is worthless unless imparted upon others
My Custom Themes
2.0 themes only - I don't do 1.1.x

EnricoR

Wow, that's an awesome theme! Great work!

Advertisement: