• Welcome to Simple Machines Community Forum. Please login or sign up.
September 16, 2021, 09:24:28 PM

News:

SMF 2.1 RC4 has been released! Try it out and help us test! :) Read more.


NightBreeze

Started by SychO, July 25, 2018, 11:31:03 AM

Previous topic - Next topic

SychO

Quote from: Blade73 on September 12, 2018, 06:07:41 AM
but how to i use the complete backup file sql no way is like the backup made in packages and it didnt make a backup when installing the mod?

it doesn't take a database backup, because you only need a backup of the files
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

Blade73

is up agaon the mod works on other theme but i get this error on your
Unable to load the 'moderatorSettings' template.

SychO

open the theme's Profile.template.php

look for ?>
Add Before it this code // The template for Moderator Board Managment ;).
function template_moderatorSettings()
{
global $context, $settings, $options, $scripturl, $txt;

//Some Javascript things ;)
echo '
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
function selectBoards(ids)
{
var toggle = true;

for (i = 0; i < ids.length; i++)
toggle = toggle & document.forms.creator["brd" + ids[i]].checked;

for (i = 0; i < ids.length; i++)
document.forms.creator["brd" + ids[i]].checked = !toggle;
}
// ]]></script>';

// The main containing header.
echo '
<form action="', $scripturl, '?action=profile;area=moderatorSettings;save" method="post" accept-charset="', $context['character_set'], '" name="creator" id="creator">
<table border="0" width="100%" cellspacing="1" cellpadding="4" align="center" class="bordercolor">
<tr>
<td height="26">
<div class="title_bar"><h4 class="titlebg">
&nbsp;<img src="', $settings['images_url'], '/icons/profile_sm.gif" alt="" align="top" />&nbsp;
', $txt['moderatorSettings_Headline'], '
</h4></div>
</td>
</tr><tr class="description">
<td class="smalltext" style="padding: 2ex;">
', $txt['moderatorSettings_info'], '
</td>
</tr><tr>
<td class="windowbg2" style="padding-bottom: 2ex;">
<table border="0" width="100%" cellpadding="3">
<tr>
<td>';

//Load the Boards...
echo '
<fieldset class="windowbg2" style="padding: 10px; margin-left: 5px; margin-right: 5px;">
<strong>'.$txt['moderatorSettings_selectBoards'].'</strong><br />
<table id="searchBoardsExpand" width="100%" border="0" cellpadding="1" cellspacing="0" align="center" style="margin-top: 1ex;">';

$alternate = true;
foreach ($context['board_columns'] as $board)
{
if ($alternate)
echo '
<tr>';
echo '
<td width="50%">';

if (!empty($board) && empty($board['child_ids']))
echo '
<label for="brd', $board['id'], '" style="margin-left: ', $board['child_level'], 'ex;"><input type="checkbox" id="brd', $board['id'], '" name="brd[', $board['id'], ']" value="', $board['id'], '"', $board['is_moderator'] ? ' checked="checked"' : '', ' class="check" />', $board['name'], '</label>';
elseif (!empty($board))
echo '
<a href="javascript:void(0);" onclick="selectBoards([', implode(', ', $board['child_ids']), ']); return false;" style="text-decoration: underline;">', $board['name'], '</a>';

echo '
</td>';
if (!$alternate)
echo '
</tr>';

$alternate = !$alternate;
}

echo '
</table><br />
<input type="checkbox" name="all" id="check_all" value=""'.($context['all_checked'] ? ' checked="checked"' : '').' onclick="invertAll(this, this.form, \'brd\');" class="check" /><i> <label for="check_all">', $txt['check_all'], '</label></i><br />
</fieldset>
</td>
</tr>';


template_profile_save();

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

}
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

Blade73


skullz613

Hi, loving your theme so far. It's very clean and professional looking.

Only problem I have come across is the disappearance of the top right menu buttons. It's now just showing the menu shortcut as if I was on a mobile device with a small screen.
I'm currently stuck using a 1366x768 screen resolution (using my TV) as I find it to painful to sit in my chair for long periods of time (back problems)

Is there anyway to stop some of the buttons from showing in the menu? More show up as more mods get installed.


SychO

Quote from: skullz613 on September 14, 2018, 01:30:21 AM
Hi, loving your theme so far. It's very clean and professional looking.

Only problem I have come across is the disappearance of the top right menu buttons. It's now just showing the menu shortcut as if I was on a mobile device with a small screen.
I'm currently stuck using a 1366x768 screen resolution (using my TV) as I find it to painful to sit in my chair for long periods of time (back problems)

You probably have a lot of menu buttons to the point where the menu overflows with them, so the theme is doing it's job by avoiding that overflow,

Quote
Is there anyway to stop some of the buttons from showing in the menu? More show up as more mods get installed.

you would need to ask the mod author about how you can remove the mod's menu button, so you should post in the mod's thread
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

emrehandilekci

Hello. I wanna ask a question.

My website is (emrehandilekci.com) and my problem is member groups. i want to delete new member group but i can't delete group. So how can i delete this group. You can examine the following photos.






SychO

Quote from: emrehandilekci on September 14, 2018, 07:40:39 AM
Hello. I wanna ask a question.

My website is (emrehandilekci.com) and my problem is member groups. i want to delete new member group but i can't delete group. So how can i delete this group. You can examine the following photos.







Can't see the images, try a different website,
Although I'm pretty sure your problem isn't theme related
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

emrehandilekci


SychO

That's the default membergroup of all members, you cannot delete it
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

emrehandilekci

Okay thank you again sir.  :)

emrehandilekci

Excuse me.. Can i ask a question again? How can i add online show for member in a topic ?

SychO

Configuration > Features and Options > Layout

you should use the admin search input to look for available options
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

Welicak94

Amazing theme. Very good looking, great job. Thank you.

But I do have some problem.
I'm using "Like Posts" mod on my forum, and for a some reason, link (button) for Like options is meddling with signature block and it looks ugly.

Here is the screenshot. (First is NightBreeze theme, second is another one theme).
SychO, could you help me to fix this? :)

SychO

Try this:
open Display.template.php located in the theme's folder
look for <div class="signature"
add <br> before it, like this <br><div class="signature"
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

Welicak94

SychO, much better. Thank you very much!  :laugh: :)

Sulfur

Great theme, but I have a question, is it possible to set the Width of the forum itself so it could fit the screen?

thank you


SychO

Quote from: Sulfur on September 24, 2018, 08:23:42 AM
Great theme, but I have a question, is it possible to set the Width of the forum itself so it could fit the screen?

thank you

open responsive.css
change/* HD Screens .
---------------- */
@media only screen and (min-width: 1900px) {
main, .wrapper {
width: 65% !important;
} .header_back {background-size: 100% !important;}
}
to /* HD Screens .
---------------- */
@media only screen and (min-width: 1900px) {
.header_back {background-size: 100% !important;}
}
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

Boloh!

Hi ! this is an excelent theme!!

I hope to explain well.
What I want to do is the following:

Adjust the width of the forum container (marked in green) and leave it 50% narrow and to the left (marked in red)


Once that change is achieved, I want to remove the last messages from the bottom, and take it to the right of which we change the width before.
something like that :


thank you very much! I hope I have explained well and that you can help me   :P

chayakorn

Quote from: Boloh! on September 28, 2018, 07:18:02 PM
Hi ! this is an excelent theme!!

I hope to explain well.
What I want to do is the following:

Adjust the width of the forum container (marked in green) and leave it 50% narrow and to the left (marked in red)


Once that change is achieved, I want to remove the last messages from the bottom, and take it to the right of which we change the width before.
something like that :


thank you very much! I hope I have explained well and that you can help me   :P

I am waiting for this.
I tried to edit index.css but not work.

/* This division wraps the entire forum when a forum width is set. */
div#wrapper
{
   margin: 0 auto;
   min-width: 780px;
   max-width: 1000px;   

;D


Advertisement: