wersja skryptu MyBB: najnowsza
adres forum: Pride-fox.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):
Chciałbym aby przycisk "cytuj" wyglądał tak jak pozostałe o to przykład:http://pride-fox.pl/showthread.php?tid=5&pid=19#pid19
Spróbuj postbit_multiquote zamienić na:
Kod PHP:
<a href="javascript:Thread.multiQuote({$post['pid']});" class="multiquote multiquote_on postbit" id="multiquote_link_{$post['pid']}"> M. Cytat</a>
<script type="text/javascript">
//<!--
$('multiquote_link_{$post['pid']}').style.display = '';
// -->
</script>
Zamieniłem lecz napis jest czarny oraz przycisk jest trochę wyżej.
ads.css ~ .multiquote {
usuń top: -2px.
A z showthread całkowicie usuń multiquote.
I szablon zamień na:
Kod PHP:
<a href="javascript:Thread.multiQuote({$post['pid']});" class="multiquote multiquote_on" id="multiquote_link_{$post['pid']}"><span class="postbit"> M. Cytat</span></a>
<script type="text/javascript">
//<!--
$('multiquote_link_{$post['pid']}').style.display = '';
// -->
</script>
Nic nie pomogło podam ci moje kody:
Edycja szablonu: postbit_multiquote
Kod:
<a href="javascript:Thread.multiQuote({$post['pid']});" class="multiquote multiquote_on" id="multiquote_link_{$post['pid']}"><span class="postbit"> M. Cytat</span></a>
<script type="text/javascript">
//<!--
$('multiquote_link_{$post['pid']}').style.display = '';
// -->
</script>
Kod:
ul.thread_tools, ul.thread_tools li {
list-style: none;
padding: 0;
margin: 0;
}
ul.thread_tools li {
font-size: 11px;
display:inline-block;
height:16px;
width:16px;
}
.p_classic_table {
border: 1px solid #DCDCDC;
border-top:0px none;
width: 100%;
}
.tcat {
background: url(images/Splat/highlight.png) 0px 0px repeat-x #E3E3E3;
border-bottom: 1px solid #D2D2D2;
border-top: 1px solid #D2D2D2;
font-size: 13px;
font-weight: 400;
height: 36px;
line-height: 36px;
padding: 0px 10px;
text-shadow: rgba(255, 255, 255, 0.600) 0px 1px 0px;
}
.authorbit {
width: 13%;
text-align: center;
}
.postmetabit {}
.authorlink a{
font-size: 12px !important;
}
.authorinfo {
background:#FFFFFF;
text-align: center;
vertical-align: top;
padding-top: 6px;
font-size: 11px;
padding:15px;
}
.useravatar {}
.useravatar img{
background: #FFFFFF;
border: 1px solid #D5D5D5;
box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.102);
padding: 1px;
}
.postcontent {
background: #FFFFFF;
border-left: 1px solid #F0F0F0;
font-size:14px;
vertical-align:top;
padding:15px;
}
.post_details {}
.post_meta {}
.post_options {
background: #F8F8F8;
border-top: 1px solid #F0F0F0;
clear: both;
margin: 10px 0px 0px;
overflow: hidden;
padding: 7px;
}
.postbit_button {
display: inline-block;
background: #5B95B6 url(images/Splat/highlight.png) repeat-x top;
color:
white !important;
padding: 5px 5px;
font-size: 11px;
border: 1px solid #376A81;
border-radius: 2px;
box-shadow: 0px 1px 2px #DDDDDD;
}
.postbit_button:hover {background-color: #3575A5;}
}
.postbit_button img {
vertical-align: middle;
margin-right: 3px;
margin-top: 0px;
}
.edited_by {
background:
#F0957E url(images/Splat/highlight.png) repeat-x top;
color: #860000;
padding: 6px 10px;
border-radius: 2px;
border: 1px solid
#E25656;
font-size: 11px;
text-shadow: 1px 1px 1px
#F0BBBB;
display: inline-block;
}
.edited_by a {
color: #660E0E !important;
font-weight: bold;
}
.edited_by img {vertical-align:middle;}
.posttime {
color: #777777;
font-size: 11px;
font-weight: 400;
}
.posSplatimeclock {
margin-right: 5px;
position: relative;
vertical-align: middle;
}
.thread_details {
background: #F3F3F3;
border: 1px solid #D6D6D6;
border-radius: 3px;
box-shadow: inset rgba(0, 0, 0, 0.102) 0px 1px 4px;
overflow: hidden;
padding: 10px;
text-shadow: #FFFFFF 0px 1px 0px;
}
.thread_title {
color: #000000;
font-size: 26px;
line-height:1.4;
font-family: "Helvetica", "Arial", sans-serif;
}
span[style='font-size: xx-large;'] {font-weight:bold;letter-spacing:-1px;}
span[style='font-size: x-large;'] {font-weight:bold}
.threadrating {
font-size: 11px;
font-weight: normal;
color: #aaa;
display: inline-block;
position: relative;
}
.viewmode {
color: #555 !important;
font-size: 11px;
float:right;
}
.viewmode_title {
display: block;
text-align: right;
font-weight: bold;
font-size: 14px;
color: #888;
margin-top: 7px;
}
.postbit_authorposts {
display: inline-block;
margin-boSplatom: 4px;
}
.post_signature {
padding: 10px;
border-top: 1px solid #ccc;
margin: 0 -10px;
margin-top: 10px;
font-size: 11px;
padding-bottom: 5px;
}
.postbit_replevel a{display: inline-block;
background: #BBDF7C url(images/Splat/highlight.png) repeat-x top;
padding: 1px 2px;
-webkit-transition:0.3s;-moz-transition:0.3s;-o-transition:0.3s;transition:0.3s;
width: 55px;
border-radius: 2px;
border: 1px solid #A3C058;margin-bottom: 5px;margin-top: 3px;font-size: 11px;}
.postbit_replevel a:hover {
background-color: #B8CF59;
}
.postbit_warninglevel:hover {
-webkit-transition:0.3s;
background-color: #CF6464;
}
.postbit_warninglevel {display: inline-block;
color: white !important;
background: #EE7272 url(images/Splat/highlight.png) repeat-x top;
padding: 1px 2px;
width: 55px;
border-radius: 2px;
border: 1px solid #DB554F;margin-botttom: 5px;font-size: 11px;margin-left: -3px;}
.postbit_userstars {
margin-top: 7px;
display: block;
margin-boSplatom: 7px;
}
Jeszcze tylko showthread.css → .multiquote → usuń top.
Potem kilka razy CTRL +f5 i gotowe.