• Welcome to Simple Machines Community Forum. Please login or sign up.
October 23, 2021, 03:28:52 AM

News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord


MinDI

Started by Diego Andrés, November 19, 2013, 12:15:09 AM

Previous topic - Next topic

Diego Andrés

November 19, 2013, 12:15:09 AM Last Edit: April 17, 2020, 02:38:48 PM by Diego Andrés
Link to the theme



Free & Premium Responsive Themes for SMF




MinDI
Developed by Diego andrés
Designed by buhthc




Features

  • Responsive layout
  • Bootstrap
  • FontAwesome
  • Social networks
  • Logo URL
  • Separate sticky topics
  • Custom copyright

Languages


Demo Online
GitHub

SMF Tricks - Free & Premium Responsive Themes for SMF.

margarett

Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Diego Andrés


SMF Tricks - Free & Premium Responsive Themes for SMF.

Diego Andrés

Updated
Added forum width setting

SMF Tricks - Free & Premium Responsive Themes for SMF.

NHWD

Hi Diego. Maybe you can help me. I have a problem with this theme. When I first installed it everything was fine but then I changed the theme and changed it again to MinDi and found a problem with the Navigation bar and the Search bar.

Here's a screenshot:



The navigation bar can be fixed when I set the forum on Maintenance mode and the announcement comes out.



My forum version is 2.0.6 with no mods or other themes installed.

Diego Andrés

Sorry that happened with the last updated I just noticed.
Thanks, I'm fixing it right now.


Fixed, open Index.template.php and search:
<div id="header">
<h1 class="forumtitle"><a href="', $scripturl, '">', empty($context['header_logo_url_html_safe']) ? '<img src="' . $settings['images_url'] . '/theme/logo.png" alt="' . $context['forum_name'] . '" />' : '<img src="' . $context['header_logo_url_html_safe'] . '" alt="' . $context['forum_name'] . '" />', '</a></h1>';

if ($context['in_maintenance'] && $context['user']['is_admin'] || !empty($context['unapproved_members']) || !empty($context['open_mod_reports']) && $context['show_open_reports'])
{
echo '
<ul class="reset floatright">';

// Is the forum in maintenance mode?
if ($context['in_maintenance'] && $context['user']['is_admin'])
echo '
<li class="notice">', $txt['maintain_mode_on'], '</li>';

// Are there any members waiting for approval?
if (!empty($context['unapproved_members']))
echo '
<li class="notice">', $context['unapproved_members'] == 1 ? $txt['approve_thereis'] : $txt['approve_thereare'], ' <a href="', $scripturl, '?action=admin;area=viewmembers;sa=browse;type=approve">', $context['unapproved_members'] == 1 ? $txt['approve_member'] : $context['unapproved_members'] . ' ' . $txt['approve_members'], '</a> ', $txt['approve_members_waiting'], '</li>';

if (!empty($context['open_mod_reports']) && $context['show_open_reports'])
echo '
<li class="notice"><a href="', $scripturl, '?action=moderate;area=reports">', sprintf($txt['mod_reports_waiting'], $context['open_mod_reports']), '</a></li>';

echo '
</ul>';
}

else
{

echo '
<div id="search_area">
<form id="search_form" action="', $scripturl, '?action=search2" method="post" accept-charset="', $context['character_set'], '">
<input type="text" name="search" value="', $txt['search'], '..." onfocus="this.value = \'\';" onblur="if(this.value==\'\') this.value=\'', $txt['search'], '...\';" class="placeholder" />&nbsp;
<input type="hidden" name="advanced" value="0" />';
if (!empty($context['current_topic']))
echo '
<input type="hidden" name="topic" value="', $context['current_topic'], '" />';
elseif (!empty($context['current_board']))
echo '
<input type="hidden" name="brd[', $context['current_board'], ']" value="', $context['current_board'], '" />';
echo '
</form>
</div>';

}

echo '

</div>';


Replace with:
<div id="header">';

if ($context['in_maintenance'] && $context['user']['is_admin'] || !empty($context['unapproved_members']) || !empty($context['open_mod_reports']) && $context['show_open_reports'])
{
echo '
<ul class="reset floatright">';

// Is the forum in maintenance mode?
if ($context['in_maintenance'] && $context['user']['is_admin'])
echo '
<li class="notice">', $txt['maintain_mode_on'], '</li>';

// Are there any members waiting for approval?
if (!empty($context['unapproved_members']))
echo '
<li class="notice">', $context['unapproved_members'] == 1 ? $txt['approve_thereis'] : $txt['approve_thereare'], ' <a href="', $scripturl, '?action=admin;area=viewmembers;sa=browse;type=approve">', $context['unapproved_members'] == 1 ? $txt['approve_member'] : $context['unapproved_members'] . ' ' . $txt['approve_members'], '</a> ', $txt['approve_members_waiting'], '</li>';

if (!empty($context['open_mod_reports']) && $context['show_open_reports'])
echo '
<li class="notice"><a href="', $scripturl, '?action=moderate;area=reports">', sprintf($txt['mod_reports_waiting'], $context['open_mod_reports']), '</a></li>';

echo '
</ul>';
}

else
{

echo '
<div id="search_area">
<form id="search_form" action="', $scripturl, '?action=search2" method="post" accept-charset="', $context['character_set'], '">
<input type="text" name="search" value="', $txt['search'], '..." onfocus="this.value = \'\';" onblur="if(this.value==\'\') this.value=\'', $txt['search'], '...\';" class="placeholder" />&nbsp;
<input type="hidden" name="advanced" value="0" />';
if (!empty($context['current_topic']))
echo '
<input type="hidden" name="topic" value="', $context['current_topic'], '" />';
elseif (!empty($context['current_board']))
echo '
<input type="hidden" name="brd[', $context['current_board'], ']" value="', $context['current_board'], '" />';
echo '
</form>
</div>';

}

echo '
<h1 class="forumtitle"><a href="', $scripturl, '">', empty($context['header_logo_url_html_safe']) ? '<img src="' . $settings['images_url'] . '/theme/logo.png" alt="' . $context['forum_name'] . '" />' : '<img src="' . $context['header_logo_url_html_safe'] . '" alt="' . $context['forum_name'] . '" />', '</a></h1>
</div>';



Package updated on the Theme Site.

SMF Tricks - Free & Premium Responsive Themes for SMF.

NHWD

Thanks a lot, Diego. Keep up the good work, man! :)

smoked

Hey, loving the theme and currently trying it out.

I'm wondering if there is a way to stop thread titles showing in CAPITALS?

Thanks!

Diego Andrés

Sure, could you tell where exactly?
You mean the list of the topics?

SMF Tricks - Free & Premium Responsive Themes for SMF.

IchBin™

In index.css file:

.topic_table td.subject span.off a
{
font-weight: normal;
text-transform: uppercase;
font-family: "Helvetica";
font-size: 10pt;
color: #0066cc;
}


Remove text-transform: uppercase;

Nice theme Diego!
IchBin™        TinyPortal

smoked

December 04, 2013, 01:13:10 AM #10 Last Edit: December 04, 2013, 08:22:05 AM by smoked
Quote from: Diego Andrés on December 03, 2013, 09:12:53 PM
Sure, could you tell where exactly?
You mean the list of the topics?

Yes, sorry I didn't say that.

Quote from: IchBin™ on December 03, 2013, 09:47:02 PM
In index.css file:

.topic_table td.subject span.off a
{
font-weight: normal;
text-transform: uppercase;
font-family: "Helvetica";
font-size: 10pt;
color: #0066cc;
}


Remove text-transform: uppercase;

Nice theme Diego!
Thank you!

The 'span.on' above that, what will that change?

Edit:

Also is it possible to remove the below information bit?


Diego Andrés

Display.template.php search and remove:
// Group Stars
echo '
<li class="stars">', $message['member']['group_stars'], '</li>';

SMF Tricks - Free & Premium Responsive Themes for SMF.

smoked

Quote from: Diego Andrés on December 04, 2013, 06:43:08 PM
Display.template.php search and remove:
// Group Stars
echo '
<li class="stars">', $message['member']['group_stars'], '</li>';

Ok thanks, ill play around.

Pipee


Asusrev

Hello Guys!

I have this mod: User Online Today Mod

Supplied in the image display my problem. The text is skewed.
How can I improve?
I use MinDI of the theme.


Diego Andrés

Please attach your boardindex.template.php and I'll tell you what to do.

Regards!

SMF Tricks - Free & Premium Responsive Themes for SMF.

Asusrev


Diego Andrés


SMF Tricks - Free & Premium Responsive Themes for SMF.

Asusrev


lifeguard81

Thanks for this! Realy nice theme.
www.doenwenu.nl
Excuse me for my english. i am from holland :)

Advertisement: