• Regolamento Macrocategoria DEV
    Prima di aprire un topic nella Macrocategoria DEV, è bene leggerne il suo regolamento. Sei un'azienda o un hosting/provider? Qui sono anche contenute informazioni per collaborare con Sciax2 ed ottenere l'accredito nella nostra community!

Problema Come faccio a togliere queste cose?

Mondoteck Retro

Utente bannato
Autore del topic
23 Marzo 2011
231
0
Miglior risposta
0
Come faccio a togliere queste cose?

b7f0k0.jpg
 
Riferimento: Come faccio a togliere queste cose?

Dove c'è l'orologio c'è una freccetta sopra a destra, cliccala e si chiude.
 
Riferimento: Come faccio a togliere queste cose?

Ma come faccio a cancellarlo del tutto? cioè che non si vede?
 
Riferimento: Come faccio a togliere queste cose?

Emh inanzitutto @Mondoteck Retro se il problema riguarda vbulletin perchè hai postato in Mybb? Ricapitolando tu vuoi levare completamente quei blocchi cioè disabilitarli o semplicemente levare l'orologio e facebook per creare nuove tabelle?..

1° Per disabilitare quelle tabelle: Admincp-->Opzioni-->Opzioni Sidebar forum e Blocchi-->Abilità sidebar forum *[No]
2° Per rimuovere quelle tabelle ma aggiungerne delle nuove: Admincp-->Forum e Moderatori-->Gestione blocchi forum e da lì fai tutto.

Se hai risolto dimmelo intanto sposto la discussione.
 
Riferimento: Come faccio a togliere queste cose?

Ehm, si potrebbe però visto che non ho creato la skin devo un pò immaginarmi come possa essere strutturata.

Quindi devi darmi 3 template:

Index Page Templates --> Index

Ungrouped Templates --> Headerinclude

Header Templates --> Header


Qualche template di questo contiene il codice.
 
Riferimento: Come faccio a togliere queste cose?

Index:
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
lang.no_new_posts = "{$lang->no_new_posts}";
lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}
<sf_shoutbox>
{$forums}
{$boardstats}



{$footer}
</body>
</html>

Header Include:
<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->settings['bburl']}/jscripts/prototype.js?ver=1400"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1400"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1400"></script>
{$stylesheets}
<script type="text/javascript">
<!--
var cookieDomain = "{$mybb->settings['cookiedomain']}";
var cookiePath = "{$mybb->settings['cookiepath']}";
var cookiePrefix = "{$mybb->settings['cookieprefix']}";
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 imagepath = "{$theme['imgdir']}";
// -->
</script>
{$newpmmsg}



<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'></script>
<script type="text/javascript">
/**
* Cookie plugin
*
* Copyright (c) 2006 Klaus Hartl (stilbuero.de)
* Dual licensed under the MIT and GPL licenses:
*
Perfavore, Entra oppure Registrati per vedere i Link!

*
Perfavore, Entra oppure Registrati per vedere i Link!

*
*/

/**
* Create a cookie with the given name and value and other optional parameters.
*
* @example $.cookie('the_cookie', 'the_value');
* @Desc Set the value of a cookie.
* @example $.cookie('the_cookie', 'the_value', { expires: 7, path: '/', domain: 'jquery.com', secure: true });
* @Desc Create a cookie with all available options.
* @example $.cookie('the_cookie', 'the_value');
* @Desc Create a session cookie.
* @example $.cookie('the_cookie', null);
* @Desc Delete a cookie by passing null as value. Keep in mind that you have to use the same path and domain
* used when the cookie was set.
*
* @param String name The name of the cookie.
* @param String value The value of the cookie.
* @param Object options An object literal containing key/value pairs to provide optional cookie attributes.
* @option Number|Date expires Either an integer specifying the expiration date from now on in days or a Date object.
* If a negative value is specified (e.g. a date in the past), the cookie will be deleted.
* If set to null or omitted, the cookie will be a session cookie and will not be retained
* when the the browser exits.
* @option String path The value of the path atribute of the cookie (default: path of page that created the cookie).
* @option String domain The value of the domain attribute of the cookie (default: domain of page that created the cookie).
* @option Boolean secure If true, the secure attribute of the cookie will be set and the cookie transmission will
* require a secure protocol (like HTTPS).
* @type undefined
*
* @NAME $.cookie
* @cat Plugins/Cookie
* @author Klaus Hartl/klaus.hartl@stilbuero.de
*/

/**
* Get the value of a cookie with the given name.
*
* @example $.cookie('the_cookie');
* @Desc Get the value of a cookie.
*
* @param String name The name of the cookie.
* @Return The value of the cookie.
* @type String
*
* @NAME $.cookie
* @cat Plugins/Cookie
* @author Klaus Hartl/klaus.hartl@stilbuero.de
*/
jQuery.cookie = function(name, value, options) {
if (typeof value != 'undefined') { // name and value given, set cookie
options = options || {};
if (value === null) {
value = '';
options.expires = -1;
}
var expires = '';
if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) {
var date;
if (typeof options.expires == 'number') {
date = new Date();
date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000));
} else {
date = options.expires;
}
expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE
}
// CAUTION: Needed to parenthesize options.path and options.domain
// in the following expressions, otherwise they evaluate to undefined
// in the packed version for some reason...
var path = options.path ? '; path=' + (options.path) : '';
var domain = options.domain ? '; domain=' + (options.domain) : '';
var secure = options.secure ? '; secure' : '';
document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join('');
} else { // only name given, get cookie
var cookieValue = null;
if (document.cookie && document.cookie != '') {
var cookies = document.cookie.split(';');
for (var i = 0; i < cookies.length; i++) {
var cookie = jQuery.trim(cookies);
// Does this cookie string begin with the name we want?
if (cookie.substring(0, name.length + 1) == (name + '=')) {
cookieValue = decodeURIComponent(cookie.substring(name.length + 1));
break;
}
}
}
return cookieValue;
}
};
</script>
<script type="text/javascript">
jQuery.noConflict(); jQuery(document).ready(function(){
jQuery('#sidebar_button_link').css("cursor","pointer");
jQuery('#sidebar_button_link').css("cursor","hand");
jQuery('#sidebar_button_link').click(function() {
if (jQuery('#content_container').hasClass('use-sidebar')){
jQuery.cookie('sidebar-pref', 'null', { expires: 30 });
jQuery('#content_container').removeClass('use-sidebar');
jQuery('#sidebar').css("opacity","0");
jQuery('#sidebar').css("display","none");
jQuery('#content').css("margin-right","0px");
jQuery('#sidebar_container').css("width","0px");
jQuery('#content_container').css("margin-right","0px");
jQuery("#sidebar_button").attr("src", "nhtera_Breeze/tab-expanded.png");
}else {
jQuery.cookie('sidebar-pref', 'use-sidebar', { expires: 30 });
jQuery('#content_container').addClass('use-sidebar');
jQuery('#sidebar').css("opacity","1");
jQuery('#sidebar').css("display","block");
jQuery('#content').css("margin-right","210px");
jQuery('#sidebar_container').css("width","204px");
jQuery('#content_container').css("margin-right","-210px");
jQuery("#sidebar_button").attr("src", "nhtera_Breeze/tab-collapsed.png");

}
});
jQuery('#content_container').addClass(jQuery.cookie('sidebar-pref'));
});
</script>



Header:
<div class="above_body"> <!-- closing tag is in template navbar -->
<div id="header" class="floatcontainer doc_header">
<div><a name="top" href="index.php" class="logo-image"><img src="nhtera_Breeze/banner.png" alt="{$mybb->settings['bbname']}" /></a></div>
<div id="toplinks" class="toplinks">
{$welcomeblock}
{$pm_notice}
{$bannedwarning}
{$bbclosedwarning}
{$unreadreports}
<div class="body_wrapper">
<div id="breadcrumb" class="breadcrumb">
<navigation>
<hr />
</div>
<br />
<div id="content_container">
<div id="content">

Questo è tutto @claudio fammi sapere
--------------- AGGIUNTA AL POST ---------------
Index:
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
lang.no_new_posts = "{$lang->no_new_posts}";
lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}
<sf_shoutbox>
{$forums}
{$boardstats}



{$footer}
</body>
</html>

Header Include:
<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->settings['bburl']}/jscripts/prototype.js?ver=1400"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1400"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1400"></script>
{$stylesheets}
<script type="text/javascript">
<!--
var cookieDomain = "{$mybb->settings['cookiedomain']}";
var cookiePath = "{$mybb->settings['cookiepath']}";
var cookiePrefix = "{$mybb->settings['cookieprefix']}";
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 imagepath = "{$theme['imgdir']}";
// -->
</script>
{$newpmmsg}



<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'></script>
<script type="text/javascript">
/**
* Cookie plugin
*
* Copyright (c) 2006 Klaus Hartl (stilbuero.de)
* Dual licensed under the MIT and GPL licenses:
*
Perfavore, Entra oppure Registrati per vedere i Link!

*
Perfavore, Entra oppure Registrati per vedere i Link!

*
*/

/**
* Create a cookie with the given name and value and other optional parameters.
*
* @example $.cookie('the_cookie', 'the_value');
* @Desc Set the value of a cookie.
* @example $.cookie('the_cookie', 'the_value', { expires: 7, path: '/', domain: 'jquery.com', secure: true });
* @Desc Create a cookie with all available options.
* @example $.cookie('the_cookie', 'the_value');
* @Desc Create a session cookie.
* @example $.cookie('the_cookie', null);
* @Desc Delete a cookie by passing null as value. Keep in mind that you have to use the same path and domain
* used when the cookie was set.
*
* @param String name The name of the cookie.
* @param String value The value of the cookie.
* @param Object options An object literal containing key/value pairs to provide optional cookie attributes.
* @option Number|Date expires Either an integer specifying the expiration date from now on in days or a Date object.
* If a negative value is specified (e.g. a date in the past), the cookie will be deleted.
* If set to null or omitted, the cookie will be a session cookie and will not be retained
* when the the browser exits.
* @option String path The value of the path atribute of the cookie (default: path of page that created the cookie).
* @option String domain The value of the domain attribute of the cookie (default: domain of page that created the cookie).
* @option Boolean secure If true, the secure attribute of the cookie will be set and the cookie transmission will
* require a secure protocol (like HTTPS).
* @type undefined
*
* @NAME $.cookie
* @cat Plugins/Cookie
* @author Klaus Hartl/klaus.hartl@stilbuero.de
*/

/**
* Get the value of a cookie with the given name.
*
* @example $.cookie('the_cookie');
* @Desc Get the value of a cookie.
*
* @param String name The name of the cookie.
* @Return The value of the cookie.
* @type String
*
* @NAME $.cookie
* @cat Plugins/Cookie
* @author Klaus Hartl/klaus.hartl@stilbuero.de
*/
jQuery.cookie = function(name, value, options) {
if (typeof value != 'undefined') { // name and value given, set cookie
options = options || {};
if (value === null) {
value = '';
options.expires = -1;
}
var expires = '';
if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) {
var date;
if (typeof options.expires == 'number') {
date = new Date();
date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000));
} else {
date = options.expires;
}
expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE
}
// CAUTION: Needed to parenthesize options.path and options.domain
// in the following expressions, otherwise they evaluate to undefined
// in the packed version for some reason...
var path = options.path ? '; path=' + (options.path) : '';
var domain = options.domain ? '; domain=' + (options.domain) : '';
var secure = options.secure ? '; secure' : '';
document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join('');
} else { // only name given, get cookie
var cookieValue = null;
if (document.cookie && document.cookie != '') {
var cookies = document.cookie.split(';');
for (var i = 0; i < cookies.length; i++) {
var cookie = jQuery.trim(cookies);
// Does this cookie string begin with the name we want?
if (cookie.substring(0, name.length + 1) == (name + '=')) {
cookieValue = decodeURIComponent(cookie.substring(name.length + 1));
break;
}
}
}
return cookieValue;
}
};
</script>
<script type="text/javascript">
jQuery.noConflict(); jQuery(document).ready(function(){
jQuery('#sidebar_button_link').css("cursor","pointer");
jQuery('#sidebar_button_link').css("cursor","hand");
jQuery('#sidebar_button_link').click(function() {
if (jQuery('#content_container').hasClass('use-sidebar')){
jQuery.cookie('sidebar-pref', 'null', { expires: 30 });
jQuery('#content_container').removeClass('use-sidebar');
jQuery('#sidebar').css("opacity","0");
jQuery('#sidebar').css("display","none");
jQuery('#content').css("margin-right","0px");
jQuery('#sidebar_container').css("width","0px");
jQuery('#content_container').css("margin-right","0px");
jQuery("#sidebar_button").attr("src", "nhtera_Breeze/tab-expanded.png");
}else {
jQuery.cookie('sidebar-pref', 'use-sidebar', { expires: 30 });
jQuery('#content_container').addClass('use-sidebar');
jQuery('#sidebar').css("opacity","1");
jQuery('#sidebar').css("display","block");
jQuery('#content').css("margin-right","210px");
jQuery('#sidebar_container').css("width","204px");
jQuery('#content_container').css("margin-right","-210px");
jQuery("#sidebar_button").attr("src", "nhtera_Breeze/tab-collapsed.png");

}
});
jQuery('#content_container').addClass(jQuery.cookie('sidebar-pref'));
});
</script>



Header:
<div class="above_body"> <!-- closing tag is in template navbar -->
<div id="header" class="floatcontainer doc_header">
<div><a name="top" href="index.php" class="logo-image"><img src="nhtera_Breeze/banner.png" alt="{$mybb->settings['bbname']}" /></a></div>
<div id="toplinks" class="toplinks">
{$welcomeblock}
{$pm_notice}
{$bannedwarning}
{$bbclosedwarning}
{$unreadreports}
<div class="body_wrapper">
<div id="breadcrumb" class="breadcrumb">
<navigation>
<hr />
</div>
<br />
<div id="content_container">
<div id="content">

Questo è tutto @claudio fammi sapere
 
Ultima modifica:
Riferimento: Come faccio a togliere queste cose?

Prova a mettere questo Header Include.


<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->settings['bburl']}/jscripts/prototype.js?ver=1400"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1400"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1400"></script>
{$stylesheets}
<script type="text/javascript">
<!--
var cookieDomain = "{$mybb->settings['cookiedomain']}";
var cookiePath = "{$mybb->settings['cookiepath']}";
var cookiePrefix = "{$mybb->settings['cookieprefix']}";
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 imagepath = "{$theme['imgdir']}";
// -->
</script>
{$newpmmsg}