19.03.2011, 16:30
wersja skryptu MyBB: 1.6.2
adres forum: nokia-c6.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu): Styl Normal
Jak dodać ikony wyświetlające się pod postem a mianowicie brakuje mi e mail PW, www, reputacja, czyli wszystko co powinno być po lewej stronie
[attachment=3296]
Szablon postbit
<li>{$post['button_rep']}</li> odpowiada chyba za wyświetlanie reputacji mimo tego nic nie widać
Szablon postbit_rep_button
CSS
Jakieś propozycje ?
adres forum: nokia-c6.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu): Styl Normal
Jak dodać ikony wyświetlające się pod postem a mianowicie brakuje mi e mail PW, www, reputacja, czyli wszystko co powinno być po lewej stronie
[attachment=3296]
Szablon postbit
Kod:
{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<table border="0" cellspacing="0" cellpadding="2" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
<tbody>
<tr>
<td class="tcat">
<div class="float_left smalltext">
{$post['postdate']}, {$post['posttime']} <span id="edited_by_{$post['pid']}">{$post['editedmsg']}</span>
</div>
{$post['posturl']}
</td>
</tr>
<tr>
<td class="trow1 {$unapproved_shade}">
<table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
<tr>
<td width="1">
{$post['onlinestatus']}
</td>
<td class="post_avatar" width="1" style="{$post['avatar_padding']}">
{$post['useravatar']}
</td>
<td class="post_author">
<strong><span class="largetext">{$post['profilelink']}</span></strong><br />
<span class="smalltext">
{$post['usertitle']}<br />
{$post['userstars']}
{$post['groupimage']}
</span>
</td>
<td class="smalltext post_author_info" width="165">
{$post['user_details']}
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="trow2 post_content {$unapproved_shade}">
<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>
<div class="post_body" id="pid_{$post['pid']}">
{$post['download_system']}{$post['message']}
</div>
{$post['attachments']}
{$post['signature']}
<div class="post_meta" id="post_meta_{$post['pid']}">
{$post['iplogged']}
</div>
<div>
<div class="ikony">
<ul>
<li>{$post['button_warn']}{$post['warned']}</li>
<li>{$post['button_report']}</li>
<li>{$post['button_quote']}</li>
<li>{$post['button_multiquote']}</li>
<li>{$post['button_quickdelete']}</li>
<li>{$post['button_edit']}</li>
<li>{$post['button_reply_pm']}{$post['button_replyall_pm']}</li>
[b]<li>{$post['button_rep']}</li>[/b]</ul>
</div>
</div>
</td>
</tr>
<tr style="{$post['tyl_display']}" id="tyl_{$post['pid']}">
{$post['thankyoulike_data']}
</tr>
</tbody>
</table>
Szablon postbit_rep_button
Kod:
<a href="javascript:MyBB.reputation({$post['uid']},{$post['pid']});" style="text-decoration:none;"><div class="pbut" alt="{$lang->postbit_reputation}" title="{$lang->postbit_reputation}" />+ / -</div></a>
Kod:
body {
background: #E8ECF0;
color: #000;
text-align: center;
line-height: 1.3;
margin: 0px;
font-family: Verdana, Arial, Sans-Serif;
font-size: 12px;
}
a:link {
color: #4F7098;
text-decoration: none;
}
a:visited {
color: #4F7098;
text-decoration: none;
}
a:hover, a:active {
color: #000;
text-decoration: underline;
}
#container {
background: #DBE3EA;
width: 90%;
color: #000000;
margin-left: auto;
margin-right: auto;
margin-top: 5px;
margin-bottom: 5px;
padding: 5px;
text-align: left;
border-radius: 9px;
-moz-border-radius: 9px;
-webkit-border-radius: 9px;
-khtml-border-radius: 9px;
-icab-border-radius: 9px;
}
#content {
background: #fff;
width: auto !important;
padding: 10px;
border: 1px solid #D6D6D6;
border-radius: 0px 0px 9px 9px;
-moz-border-radius: 0px 0px 9px 9px;
-webkit-border-radius: 0px 0px 9px 9px;
-khtml-border-radius: 0px 0px 9px 9px;
-icab-border-radius: 0px 0px 9px 9px;
}
.menu ul {
color: #000000;
font-weight: bold;
text-align: right;
padding: 4px;
}
.menu ul a:link {
color: #EEF2F4;
text-decoration: none;
}
.menu ul a:visited {
color: #EEF2F4;
text-decoration: none;
}
.menu ul a:hover, .menu ul a:active {
color: #4874a3;
text-decoration: none;
}
#panel {
background: #efefef;
color: #000000;
font-size: 11px;
border: 1px solid #D4D4D4;
padding: 8px;
}
#panel .remember_me input {
vertical-align: middle;
margin-top: -1px;
}
table {
color: #000000;
font-family: Verdana, Arial, Sans-Serif;
font-size: 13px;
}
.border {
background: #81A2C4;
width: 100%;
margin: auto auto;
border: 1px solid #BCC7D4;
border-radius: 5px 5px 0px 0px;
-moz-border-radius: 5px 5px 0px 0px;
-webkit-border-radius: 5px 5px 0px 0px;
-khtml-border-radius: 5px 5px 0px 0px;
-icab-border-radius: 5px 5px 0px 0px;
}
.tborder {
background: #81A2C4;
width: 100%;
margin: auto auto;
border: 1px solid #BCC7D4;
}
.thead {
background: #39638C url(images/normal/thead.png);
color: #EEF2F4;
height: 23px;
border-radius: 5px 5px 0px 0px;
-moz-border-radius: 5px 5px 0px 0px;
-webkit-border-radius: 5px 5px 0px 0px;
-khtml-border-radius: 5px 5px 0px 0px;
-icab-border-radius: 5px 5px 0px 0px;
border: 1px solid #3D6990;
line-height:23px;
}
.thead a:link {
color: #EEF2F4;
text-decoration: none;
}
.thead a:visited {
color: #EEF2F4;
text-decoration: none;
}
.thead a:hover, .thead a:active {
color: #ffffff;
text-decoration: underline;
}
.tcat {
background: #DFE6EB url(images/normal/tcat.png) bottom;
color: #4F7098;
font-size: 10px;
}
.tcat a:link {
color: #4F7098;
}
.tcat a:visited {
color: #4F7098;
}
.tcat a:hover, .tcat a:active {
color: #000000;
}
.trow1 {
background: #EEF2F4;
}
.trow2 {
background: #DFE6EB;
}
.trow_shaded {
background: #ffdde0;
}
.trow_selected td {
background: #FFFBD9;
}
.trow_sep {
background: #CDD8DE;
color: #39638C;
font-size: 12px;
font-weight: bold;
}
.tfoot {
background: #39638C;
color: #EEF2F4;
}
.tfoot a:link {
color: #EEF2F4;
text-decoration: none;
}
.tfoot a:visited {
color: #EEF2F4;
text-decoration: none;
}
.tfoot a:hover, .tfoot a:active {
color: #ffffff;
text-decoration: underline;
}
.bottommenu {
background: #DBE3EA;
color: #4F7098;
border: 1px solid #D6D6D6;
padding: 10px;
border-radius: 6px;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
-khtml-border-radius: 6px;
-icab-border-radius: 6px;
}
.navigation {
background: #DBE3EA;
color: #39638C;
margin-left: -10px;
padding: 3px;
border-radius: 0px 5px 5px 0px;
-moz-border-radius: 0px 5px 5px 0px;
-webkit-border-radius: 0px 5px 5px 0px;
-khtml-border-radius: 0px 5px 5px 0px;
-icab-border-radius: 0px 5px 5px 0px;
border-right: 1px solid #D6D6D6;
border-top: 1px solid #D6D6D6;
border-bottom: 1px solid #D6D6D6;
font-size: 11px;
font-weight: bold;
}
.navigation a:link {
text-decoration: none;
}
.navigation a:visited {
text-decoration: none;
}
.navigation a:hover, .navigation a:active {
color: #fff;
text-decoration: none;
}
.navigation .active {
color: #39638C;
font-size: 11px;
font-weight: bold;
}
.smalltext {
font-size: 11px;
}
.largetext {
font-size: 16px;
font-weight: bold;
}
input.textbox {
background: #DBE3EA;
color: #39638C;
border: 1px inset #D6D6D6;
padding: 1px;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
-khtml-border-radius: 3px;
-icab-border-radius: 3px;
}
textarea {
background: #ffffff;
color: #000000;
border: 1px solid #0f5c8e;
padding: 2px;
font-family: Verdana, Arial, Sans-Serif;
line-height: 1.4;
font-size: 13px;
}
select {
background: #ffffff;
color: #39638C;
border: 1px solid #DFE6EB;
}
.editor {
background: #f1f1f1;
border: 1px solid #ccc;
}
.editor_control_bar {
background: #fff;
border: 1px solid #0f5c8e;
}
.autocomplete {
background: #fff;
border: 1px solid #000;
color: black;
}
.autocomplete_selected {
background: #adcee7;
color: #000;
}
.popup_menu {
background: #ccc;
border: 1px solid #000;
}
.popup_menu .popup_item {
background: #fff;
color: #000;
}
.popup_menu .popup_item:hover {
background: #C7DBEE;
color: #000;
}
.trow_reputation_positive {
background: #ccffcc;
}
.trow_reputation_negative {
background: #ffcccc;
}
.reputation_positive {
color: green;
}
.reputation_neutral {
color: #444;
}
.reputation_negative {
color: red;
}
.invalid_field {
border: 1px solid #f30;
color: #f30;
}
.valid_field {
border: 1px solid #0c0;
}
.validation_error {
background: url(images/invalid.gif) no-repeat center left;
color: #f30;
margin: 5px 0;
padding: 5px;
font-weight: bold;
font-size: 11px;
padding-left: 22px;
}
.validation_success {
background: url(images/valid.gif) no-repeat center left;
color: #00b200;
margin: 5px 0;
padding: 5px;
font-weight: bold;
font-size: 11px;
padding-left: 22px;
}
.validation_loading {
background: url(images/spinner.gif) no-repeat center left;
color: #555;
margin: 5px 0;
padding: 5px;
font-weight: bold;
font-size: 11px;
padding-left: 22px;
}
/* Additional CSS (Master) */
img {
border: none;
}
.clear {
clear: both;
}
.hidden {
display: none;
float: none;
width: 1%;
}
.hiddenrow {
display: none;
}
.selectall {
background-color: #FFFBD9;
font-weight: bold;
text-align: center;
}
.float_left {
float: left;
}
.float_right {
float: right;
}
.menu ul {
list-style: none;
margin: 0;
}
.menu li {
display: inline;
padding-left: 5px;
}
.menu img {
padding-right: 5px;
vertical-align: bottom;
}
#panel .links {
margin: 0;
float: right;
}
.expcolimage {
float: right;
width: auto;
vertical-align: middle;
margin-top: 3px;
}
img.attachment {
border: 1px solid #E9E5D7;
padding: 2px;
}
hr {
background-color: #000000;
color: #000000;
height: 1px;
border: 0px;
}
#copyright {
font: 11px Verdana, Arial, Sans-Serif;
margin: 0;
padding: 10px 0 0 0;
}
#debug {
float: right;
text-align: right;
margin-top: 0;
}
blockquote {
background: #D9E0E3;
border: 1px solid #C5CDD1;
margin: 0px 20px;
padding: 6px;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
-khtml-border-radius: 3px;
-icab-border-radius: 3px;
}
blockquote cite {
color: #4F7098;
border-bottom: 1px solid #C5CDD1;
display: block;
margin: 4px 0;
font-style: normal;
font-weight: bold;
}
blockquote cite span {
float: right;
font-weight: normal;
}
blockquote cite span.highlight {
float: none;
font-weight: bold;
padding-bottom: 0;
}
.codeblock {
background: #fff;
border: 1px solid #ccc;
padding: 4px;
}
.codeblock .title {
border-bottom: 1px solid #ccc;
font-weight: bold;
margin: 4px 0;
}
.codeblock code {
overflow: auto;
height: auto;
max-height: 200px;
display: block;
font-family: Monaco, Consolas, Courier, monospace;
font-size: 13px;
}
.subforumicon {
border: 0;
vertical-align: middle;
}
.separator {
margin: 5px;
padding: 0;
height: 0px;
font-size: 1px;
list-style-type: none;
}
form {
margin: 0;
padding: 0;
}
.popup_menu .popup_item_container {
margin: 1px;
text-align: left;
}
.popup_menu .popup_item {
display: block;
padding: 3px;
text-decoration: none;
white-space: nowrap;
}
.popup_menu a.popup_item:hover {
text-decoration: none;
}
.autocomplete {
text-align: left;
}
.subject_new {
font-weight: bold;
}
.highlight {
background: #FFFFCC;
padding-top: 3px;
padding-bottom: 3px;
}
.pm_alert {
background: #DFE6EB;
border: 1px solid #DBE3EA;
text-align: center;
padding: 5px 20px;
margin-bottom: 15px;
border-radius:3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
-khtml-border-radius: 3px;
-icab-border-radius: 3px;
font-size: 11px;
}
.red_alert {
background: #FBE3E4;
border: 1px solid #A5161A;
color: #A5161A;
text-align: center;
padding: 5px 20px;
margin-bottom: 15px;
font-size: 11px;
}
.high_warning {
color: #CC0000;
}
.moderate_warning {
color: #F3611B;
}
.low_warning {
color: #AE5700;
}
div.error {
padding: 5px 10px;
border-top: 2px solid #FFD324;
border-bottom: 2px solid #FFD324;
background: #FFF6BF;
font-size: 12px;
}
div.error p {
margin: 0;
color: #000;
font-weight: normal;
}
div.error p em {
font-style: normal;
font-weight: bold;
padding-left: 24px;
display: block;
color: #C00;
background: url(images/error.gif) no-repeat 0;
}
div.error.ul {
margin-left: 24px;
}
.online {
color: #15A018;
}
.offline {
color: #C7C7C7;
}
.pagination {
padding-top: 10px;
margin: 0px 0px 5px 10px;
font-size: 11px;
}
.tfoot .pagination, .tcat .pagination {
padding-top: 0;
}
.pagination .pages {
font-weight: bold;
}
.pagination .pagination_current, .pagination a {
padding: 3px 9px;
margin-bottom: 3px;
}
.pagination a {
background: #EEF2F4;
color: #B1BCC3;
border: 1px solid #DFE6EB;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
-khtml-border-radius: 3px;
-icab-border-radius: 3px;
}
.pagination .pagination_current {
background: #DFE6EB;
color: #686D71;
border: 1px solid #C7CFD5;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
-khtml-border-radius: 3px;
-icab-border-radius: 3px;
font-weight: bold;
}
.pagination a:hover {
background: #F5F5F5;
text-decoration: none;
}
.thread_legend, .thread_legend dd {
margin: 0;
padding: 0;
}
.thread_legend dd {
padding-bottom: 4px;
margin-right: 15px;
}
.thread_legend img {
margin-right: 4px;
vertical-align: bottom;
}
.forum_legend, .forum_legend dt, .forum_legend dd {
margin: 0;
padding: 0;
}
.forum_legend dd {
float: left;
margin-right: 10px;
}
.forum_legend dt {
margin-right: 10px;
float: left;
}
.success_message {
color: #00b200;
font-weight: bold;
font-size: 10px;
margin-bottom: 10px;
}
.error_message {
color: #C00;
font-weight: bold;
font-size: 10px;
margin-bottom: 10px;
}
.post_body {
padding: 5px;
}
.post_content {
padding: 5px 10px;
}
.quick_jump {
background: url(images/jump.gif) no-repeat 0;
width: 13px;
height: 13px;
padding-left: 13px; /* amount of padding needed for image to fully show */
vertical-align: middle;
border: none;
}
.repbox {
font-size:16px;
font-weight: bold;
padding:5px 7px 5px 7px;
}
._neutral {
background-color:#FAFAFA;
color: #999999;
border:1px solid #CCCCCC;
}
._minus {
background-color: #FDD2D1;
color: #CB0200;
border:1px solid #980201;
}
._plus {
background-color:#E8FCDC;
color: #008800;
border:1px solid #008800;
}
.pagination_breadcrumb {
background-color: #f5f5f5;
border: 1px solid #fff;
outline: 1px solid #ccc;
padding: 5px;
margin-top: 5px;
font-weight: normal;
}
.pagination_breadcrumb_link {
vertical-align: middle;
cursor: pointer;
}
#header {
background: #dbe3ea;
width: 100%;
border-radius: 7px 7px 0px 0px;
-moz-border-radius: 7px 7px 0px 0px;
-webkit-border-radius:7px 7px 0px 0px;
-khtml-border-radius: px 7px 0px 0px;
-icab-border-radius: 7px 7px 0px 0px;
}
.pasek {
background: #4F7098 url(images/normal/menu.png);
line-height: 30px;
}
.szukajka {
float:left;
}
.unheader {
background: ulr(images/normal/header.png);
width: 100%;
height: 98px;
border-radius: 7px 7px 0px 0px;
-moz-border-radius: 7px 7px 0px 0px;
-webkit-border-radius:7px 7px 0px 0px;
-khtml-border-radius: px 7px 0px 0px;
-icab-border-radius: 7px 7px 0px 0px;
}
.logo {
padding-left:10px;
}
.user {
width: 250px;
float: right;
margin-top: -1px;
margin-right: -1px;
display:inline;
}
#paneluser2 {
background: #DBE3EA;
width: 250px;
color: #4F7098;
padding: 5px;
display: none;
position: absolute;
border-radius: 7px;
-moz-border-radius: 7px;
-webkit-border-radius: 7px;
-khtml-border-radius: 7px;
-icab-border-radius: 7px;
margin: auto auto;
text-align: center;
font-size: 11px;
}
.tekst {
background-color:#DBE3EA;
float:left;
padding:6px;
border-radius: 0px 0px 0px 7px;
-moz-border-radius: 0px 0px 0px 7px;
-webkit-border-radius: 0px 0px 0px 7px;
-khtml-border-radius: 0px 0px 0px 7px;
-icab-border-radius: 0px 0px 0px 7px;
font-weight:bold;
}
.szukaj {
background: url(images/normal/szukaj.png) no-repeat;
width: 205px;
color: #39638C;
line-height: 25px;
margin: 5px 5px 5px 20px;
border: none;
padding: 3px;
height: 23px\9;
}
.but {
background: url(images/normal/lupa.png) no-repeat;
border: none;
cursor: pointer;
text-indent: -9999px;
width:23px;
height:25px;
margin-top:8px;
}
.stat {
background: #DBE3EA;
color: #39638C;
border: 1px solid #C0CCD9;
border-radius: 4px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
-khtml-border-radius: 4px;
-icab-border-radius: 4px;
display: inline;
padding: 3px 5px;
margin: 0 0 0 20px;
font-size: 11px;
}
.stat:hover {
border: 1px solid #C0CCD9;
}
.stat2 {
position: absolute;
display:none;
}
tr:hover .stat2 {
display:inline;
}
.ikony ul, ul li {
display: block;
margin: 0;
}
.ikony ul li {
float: right;
}
.dane ul, ul li {
display: block;
margin: 0;
padding-left:0px;
}
.dane ul li {
float: left;
}
.pbut {
background: url(images/normal/tcat.png) top;
color: #EEF2F4;
text-align: center;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
-khtml-border-radius: 3px;
-icab-border-radius: 3px;
border-radius: 3px;
padding: 3px 5px 3px 5px;
margin: 1px;
border: 1px solid #CFD3D7;
text-decoration: none;
font-size: 11px;
font-weight: bold;
}
.pbut:hover {
color: #fff;
text-decoration: none;
}
.tbut {
background: #3C6C9A url(images/normal/thead.png);
color: #EDEDED;
padding: 4px 15px 4px 10px;
margin: 0px 10px 5px 0px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
-khtml-border-radius: 5px;
-icab-border-radius: 5px;
border-radius: 5px;
border: 1px solid #4077AD;
-webkit-transition: all 0.5s ease-out;
-o-transition: all 0.5s ease-out;
-moz-transition: all 0.5s ease-out;
transition: all 0.5s ease-out;
font-weight: bold;
}
.ttbut {
background: #3C6C9A url(images/normal/thead.png);
color: #EDEDED;
padding: 5px 20px;
margin: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
-khtml-border-radius: 5px;
-icab-border-radius: 5px;
border-radius: 5px;
border: 1px solid #4077AD;
font-weight: bold;
}
.ttbut:hover {
color: #fff;
}
.tbut:hover {
color: #fff;
}
.posty {
width: 95%;
border-bottom: 1px solid #CBD4DF;
margin-top: 3px;
padding: 1px;
margin-right: auto;
margin-left: auto;
}
.button {
background: #DFE6EB;
color: #39638C;
border: 1px solid #DFE6EB;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
-khtml-border-radius: 3px;
-icab-border-radius: 3px;
padding: 1px 6px;
font-size: 12px;
}
.button:hover {
color: #588ABB;
}
td.info {
background: #DFE6EB;
width: 19px;
padding-top: 20px;
padding-bottom: 10px;
}
.gora {
background-color:#DBE3EA;
padding:6px 0px 6px 5%;
border-radius: 0px 0px 0px 7px;
-moz-border-radius: 0px 0px 0px 7px;
-webkit-border-radius: 0px 0px 0px 7px;
-khtml-border-radius: 0px 0px 0px 7px;
-icab-border-radius: 0px 0px 0px 7px;
font-weight:bold;
}
input.log {
background: url(images/normal/inputlog.png) no-repeat;
width: 143px;
color: #EEF2F4;
border: none;
line-height: 23px;
margin: auto auto;
}
#paneluser {
background: url(images/normal/logowanie.png) no-repeat;
width: 252px;
color: #4F7098;
padding-left: auto;
padding-right: auto;
display: none;
position: absolute;
border-radius: 7px;
-moz-border-radius:7px;
-webkit-border-radius:7px;
-khtml-border-radius:7px;
-icab-border-radius:7px;
margin: auto auto;
height: 150px;
font-size: 12px;
}
.logbut {
background: url(images/normal/tcat.png) top;
color: #39638C;
text-align: center;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
-khtml-border-radius: 3px;
-icab-border-radius: 3px;
border-radius: 3px;
padding: 3px 5px 3px 5px;
margin: 1px;
border: 1px solid #CFD3D7;
text-decoration: none;
font-size: 11px;
font-weight: bold;
}
.logbut:hover {
color: #fff;
text-decoration: none;
}
.modnotice {
background: #eafacb;
padding: 8px;
margin: auto auto;
border: 1px solid #42be31;
color: #000000;
font-size: 11px;
}
.ver_sub {
margin: 0;
padding: 0;
list-style: none;
}
.ver_sub li {
width: 50%;
float: left;
}