Dołącz do zespołu ekspertów! Backend lub Frontend Developer?

Sprawdź najnowsze oferty pracy naszego partnera - 8lines.io!

Akcesoria do Tworzenia Wątku

Założony przez  BeTa.

Adres forum:
www.polskireallife.c0.pl/

Wersja silnika:
1.8.6


Opis problemu:
Witam chciałbym się dowiedzieć gdzie i jak dodać akcesoria do tworzenia wątku np. Zmiana koloru czcionki,wielkość czcionki itd. a oto ss    
Czy edytor tekstu jest widoczny na domyślnym stylu?
Nie mam nic

Może powiem inaczej chciałbym mieć tą opcje co na ss na swoim stylu tylko gdzie mogę to znaleźć i gdzie dodać    

ten ss mam z domyślnego stylu
Skoro na domyślnym stylu jest to widoczne, to zapewne problem leży po stronie stylu.

Wejdź do headerinclude i spróbuj dopisać pod
var cookiePrefix = "{$mybb->settings['cookieprefix']}";
taką linijkę:
var cookieSecureFlag = "{$mybb->settings['cookiesecureflag']}";

Polecałbym także wgrać brakujące pliki, bo konsola jest zawalona informacjami o brakujących obrazkach i innych.
a gdzie dokładnie znajdę headerinclude ?
ACP -> Style i szablony -> Szablony -> Games-Vision Templates -> Niezgrupowane szablony (na samym dole) -> headerinclude.
   
???

wyślę ci mój cały kod z tego headerinclude

<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.js?ver=1806"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1806"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1807"></script>
<link rel="Shortcut icon" href="{$mybb->asset_url}/images/GamesVision/favicon.ico" />
<link rel="stylesheet" href="{$theme[imgdir]}/css/font-awesome.min.css">
<link rel="stylesheet" href="{$theme[imgdir]}/css/font-awesome.css">
{$stylesheets}
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/avatarep/avatarep.js"></script>
<script type="text/javascript">
<!--
lang.unknown_error = "{$lang->unknown_error}";

lang.select2_match = "{$lang->select2_match}";
lang.select2_matches = "{$lang->select2_matches}";
lang.select2_nomatches = "{$lang->select2_nomatches}";
lang.select2_inputtooshort_single = "{$lang->select2_inputtooshort_single}";
lang.select2_inputtooshort_plural = "{$lang->select2_inputtooshort_plural}";
lang.select2_inputtoolong_single = "{$lang->select2_inputtoolong_single}";
lang.select2_inputtoolong_plural = "{$lang->select2_inputtoolong_plural}";
lang.select2_selectiontoobig_single = "{$lang->select2_selectiontoobig_single}";
lang.select2_selectiontoobig_plural = "{$lang->select2_selectiontoobig_plural}";
lang.select2_loadmore = "{$lang->select2_loadmore}";
lang.select2_searching = "{$lang->select2_searching}";

var cookieDomain = "{$mybb->settings['cookiedomain']}";
var cookiePath = "{$mybb->settings['cookiepath']}";
var cookiePrefix = "{$mybb->settings['cookieprefix']}";
var cookieSecureFlag = "{$mybb->settings['cookiesecureflag']}";
var deleteevent_confirm = "{$lang->deleteevent_confirm}";
var removeattach_confirm = "{$lang->removeattach_confirm}";
var loading_text = '{$lang->ajax_loading}';
var saving_changes = '{$lang->saving_changes}';
var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}";
var my_post_key = "{$mybb->post_code}";
var rootpath = "{$mybb->settings['bburl']}";
var imagepath = "{$theme['imgdir']}";
 var yes_confirm = "{$lang->yes}";
var no_confirm = "{$lang->no}";
var MyBBEditor = null;
var spinner_image = "{$theme['imgdir']}/spinner.gif";
var spinner = "<img src='" + spinner_image +"' alt='' />";
var modal_zindex = 9999;
// -->
</script>
<!-- Menu Usera -->
<script>
jQuery(function() {
  var button = jQuery('#loginButton');
  var box = jQuery('#loginBox');
  var form = jQuery('#loginForm');
  button.mouseup(function(login) {
      box.toggle();
      button.toggleClass('active');
  });
  form.mouseup(function() {
      return false;
  });
  jQuery(this).mouseup(function(login) {
      if(!(jQuery(login.target).parent('#loginButton').length > 0)) {
          button.removeClass('active');
          box.hide();
      }
  });
});
</script>
<!-- Kategorie Profil -->
<script>
jQuery(document).ready(function() {


jQuery(".tab_content").hide();
jQuery("ul.tabs li:first").addClass("active").show();
jQuery(".tab_content:first").show();


jQuery("ul.tabs li").click(function() {

jQuery("ul.tabs li").removeClass("active");
jQuery(this).addClass("active");
jQuery(".tab_content").hide();


var activeTab = jQuery(this).find("a").attr("href");
jQuery(activeTab).fadeIn();
return false;
});

});
</script>
<!-- Wybór Tła -->
<script type="text/javascript">
$(document).ready(function(){    
  if($.cookie('background')){    
      $("body").css("backgroundImage", "url(" + "images/" + $.cookie("background") + ".png)");
  };
  $(".bg_style").click(function () {  
       $(".bg_preview").slideToggle('fast');
       return false;
  });
  $(".bg_preview a").click(function() {
      var bg_id = $(this).attr("id");
        $("body").css("backgroundImage", "url(" + "images/" + bg_id + ".png)");
      $.cookie('background', bg_id, { expires: 365, path: '/' });
  });    
});
</script>
Zamień cały headerinclude na:
<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.js?ver=1806"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1806"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1807"></script>
<link rel="Shortcut icon" href="{$mybb->asset_url}/images/GamesVision/favicon.ico" />
<link rel="stylesheet" href="{$theme[imgdir]}/css/font-awesome.min.css">
<link rel="stylesheet" href="{$theme[imgdir]}/css/font-awesome.css">
{$stylesheets}
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/avatarep/avatarep.js"></script>
<script type="text/javascript">
<!--
lang.unknown_error = "{$lang->unknown_error}";

lang.select2_match = "{$lang->select2_match}";
lang.select2_matches = "{$lang->select2_matches}";
lang.select2_nomatches = "{$lang->select2_nomatches}";
lang.select2_inputtooshort_single = "{$lang->select2_inputtooshort_single}";
lang.select2_inputtooshort_plural = "{$lang->select2_inputtooshort_plural}";
lang.select2_inputtoolong_single = "{$lang->select2_inputtoolong_single}";
lang.select2_inputtoolong_plural = "{$lang->select2_inputtoolong_plural}";
lang.select2_selectiontoobig_single = "{$lang->select2_selectiontoobig_single}";
lang.select2_selectiontoobig_plural = "{$lang->select2_selectiontoobig_plural}";
lang.select2_loadmore = "{$lang->select2_loadmore}";
lang.select2_searching = "{$lang->select2_searching}";

var cookieDomain = "{$mybb->settings['cookiedomain']}";
var cookiePath = "{$mybb->settings['cookiepath']}";
var cookiePrefix = "{$mybb->settings['cookieprefix']}";
var cookieSecureFlag = "{$mybb->settings['cookiesecureflag']}";
var deleteevent_confirm = "{$lang->deleteevent_confirm}";
var removeattach_confirm = "{$lang->removeattach_confirm}";
var loading_text = '{$lang->ajax_loading}';
var saving_changes = '{$lang->saving_changes}';
var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}";
var my_post_key = "{$mybb->post_code}";
var rootpath = "{$mybb->settings['bburl']}";
var imagepath = "{$theme['imgdir']}";
var yes_confirm = "{$lang->yes}";
var no_confirm = "{$lang->no}";
var MyBBEditor = null;
var spinner_image = "{$theme['imgdir']}/spinner.gif";
var spinner = "<img src='" + spinner_image +"' alt='' />";
var modal_zindex = 9999;
// -->
</script>
<!-- Menu Usera -->
<script>
jQuery(function() {
  var button = jQuery('#loginButton');
  var box = jQuery('#loginBox');
  var form = jQuery('#loginForm');
  button.mouseup(function(login) {
      box.toggle();
      button.toggleClass('active');
  });
  form.mouseup(function() {
      return false;
  });
  jQuery(this).mouseup(function(login) {
      if(!(jQuery(login.target).parent('#loginButton').length > 0)) {
          button.removeClass('active');
          box.hide();
      }
  });
});
</script>
<!-- Kategorie Profil -->
<script>
jQuery(document).ready(function() {


jQuery(".tab_content").hide();
jQuery("ul.tabs li:first").addClass("active").show();
jQuery(".tab_content:first").show();


jQuery("ul.tabs li").click(function() {

jQuery("ul.tabs li").removeClass("active");
jQuery(this).addClass("active");
jQuery(".tab_content").hide();


var activeTab = jQuery(this).find("a").attr("href");
jQuery(activeTab).fadeIn();
return false;
});

});
</script>
Już sobie poradziłem poprostu zedytowałem kod z normalnego stylu i wkleiłem go zamiast tamtego ;)

Ale Dziękuje wielkie za pomoc +rep leci ;)



Użytkownicy przeglądający ten wątek:

1 gości