Advertisement:

Author Topic: NightBreeze  (Read 6437 times)

Online SychO

  • Customization Team Apprentice
  • Full Member
  • ***
  • Posts: 473
  • Gender: Male
    • SychO9 on GitHub
    • SychO
Re: NightBreeze
« Reply #120 on: September 12, 2018, 06:15:57 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

Offline Blade73

  • Semi-Newbie
  • *
  • Posts: 31
  • Gender: Male
Re: NightBreeze
« Reply #121 on: September 12, 2018, 06:37:44 AM »
is up agaon the mod works on other theme but i get this error on your
Unable to load the 'moderatorSettings' template.

Online SychO

  • Customization Team Apprentice
  • Full Member
  • ***
  • Posts: 473
  • Gender: Male
    • SychO9 on GitHub
    • SychO
Re: NightBreeze
« Reply #122 on: September 12, 2018, 06:57:28 AM »
open the theme's Profile.template.php

look for
Code: [Select]
?>Add Before it this code
Code: [Select]
// 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>';

}

Offline Blade73

  • Semi-Newbie
  • *
  • Posts: 31
  • Gender: Male
Re: NightBreeze
« Reply #123 on: September 12, 2018, 07:14:15 AM »
thx works now

Offline skullz613

  • Newbie
  • *
  • Posts: 1
Re: NightBreeze
« Reply #124 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)

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


Online SychO

  • Customization Team Apprentice
  • Full Member
  • ***
  • Posts: 473
  • Gender: Male
    • SychO9 on GitHub
    • SychO
Re: NightBreeze
« Reply #125 on: September 14, 2018, 06:11:09 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

Offline emrehandilekci

  • Semi-Newbie
  • *
  • Posts: 11
Re: NightBreeze
« Reply #126 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.






Online SychO

  • Customization Team Apprentice
  • Full Member
  • ***
  • Posts: 473
  • Gender: Male
    • SychO9 on GitHub
    • SychO
Re: NightBreeze
« Reply #127 on: September 14, 2018, 07:43:43 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

Offline emrehandilekci

  • Semi-Newbie
  • *
  • Posts: 11
Re: NightBreeze
« Reply #128 on: September 14, 2018, 07:45:53 AM »
Okay sure sir.




Online SychO

  • Customization Team Apprentice
  • Full Member
  • ***
  • Posts: 473
  • Gender: Male
    • SychO9 on GitHub
    • SychO
Re: NightBreeze
« Reply #129 on: September 14, 2018, 07:53:01 AM »
That's the default membergroup of all members, you cannot delete it

Offline emrehandilekci

  • Semi-Newbie
  • *
  • Posts: 11
Re: NightBreeze
« Reply #130 on: September 14, 2018, 07:54:34 AM »
Okay thank you again sir.  :)

Offline emrehandilekci

  • Semi-Newbie
  • *
  • Posts: 11
Re: NightBreeze
« Reply #131 on: September 14, 2018, 09:21:14 AM »
Excuse me.. Can i ask a question again? How can i add online show for member in a topic ?

Online SychO

  • Customization Team Apprentice
  • Full Member
  • ***
  • Posts: 473
  • Gender: Male
    • SychO9 on GitHub
    • SychO
Re: NightBreeze
« Reply #132 on: September 14, 2018, 09:47:18 AM »
Configuration > Features and Options > Layout

you should use the admin search input to look for available options