05-11-2011, 10:17 PM
Dato che tempo fa @[masi7840] scriveva in chat che non riusciva a scrivere nella sua barra news nel suo forum, ecco una guida che spiega perfettamente come farlo:
Questa è una guida per creare barre forum di questo tipo:
Accediamo il nostro AdminPC–>Temi&Template–>Template->TuoTemplate–>Header
E incolliamo il nostro script, questo è per 3 bar quindi se ne volete una o due basta eliminare .alert fino alla chiusura della parentesi graffa.
Incolliamolo prima dell’array forumlist, successivamente dovremmo scrivere il nostro messaggio personalizzato in HTML[INDENT] <!
Modifichiamo con il messaggio che più ci piace ed ecco come viene nel forum:
Fonti: Sciax2Forum
Questa è una guida per creare barre forum di questo tipo:
Accediamo il nostro AdminPC–>Temi&Template–>Template->TuoTemplate–>Header
E incolliamo il nostro script, questo è per 3 bar quindi se ne volete una o due basta eliminare .alert fino alla chiusura della parentesi graffa.
Codice:
<style type=”text/css”>
.alert {
background: #FFF6BF;
border-top: 2px solid #FFD324;
border-bottom: 2px solid #FFD324;
text-align: center;
margin: 10px auto;
padding: 5px 20px;
} .notice {
background: #ADCBE7;
border-top: 2px solid #0F5C8E;
border-bottom: 2px solid #0F5C8E;
text-align: center;
margin: 10px auto;
padding: 5px 20px;
}
.notice2 {
background: #D6ECA6;
border-top: 2px solid #8DC93E;
border-bottom: 2px solid #8DC93E;
text-align: center;
margin: 10px auto;
padding: 5px 20px;
}
</style>
Incolliamolo prima dell’array forumlist, successivamente dovremmo scrivere il nostro messaggio personalizzato in HTML[INDENT] <!
Codice:
–<p><strong style=”color: maroon”>Please bear with us as we restore full access to the MyBB website and all associated services.</strong></p>–>
<p><strong>Latest News:</strong> <a href=”http://blog.mybb.com/2010/08/03/mybb-1-6-released/”/>MyBB 1.6 Released</a> (August 3, 2010)</p>
<!– <p><strong>MyBB on Facebook:</strong> Become a fan of <a href=”http://www.facebook.com/MyBBoard/”>MyBB on Facebook</a> for the latest on MyBB and exclusive content.</p> –>
<p><strong>MyBB on Twitter:</strong> Follow <a href=”http://www.twitter.com/mybbgroup/”>@mybbgroup</a> for the latest on MyBB and exclusive content.</p> [/I][I]<p><strong>Are you on the <a href=”http://www.mybboard.com/mailinglist.php”>MyBB mailing list?</a></strong> – Sign up for notification of new MyBB releases and updates.</p>
Modifichiamo con il messaggio che più ci piace ed ecco come viene nel forum:
Fonti: Sciax2Forum