Look:2.announcement,sticky,globalannounce background color i just do that here.
Code: Select all
<div class="forumrow-title">
<!-- IF topicrow.S_TOPIC_LOCKED -->
<span class="label pull-right ml5">{L_TOPIC_LOCKED_SHORT}</span>
<!-- ENDIF -->
<!-- IF topicrow.S_POST_STICKY -->
<span class="label label-info pull-right ml5">{L_POST_STICKY}</span>
<!-- ENDIF -->
<!-- IF topicrow.S_POST_ANNOUNCE -->
<span class="label label-important pull-right ml5">{L_POST_ANNOUNCEMENT}</span>
<!-- ENDIF -->
<!-- IF topicrow.S_POST_GLOBAL -->
<span class="label label-warning pull-right ml5">{L_POST_ANNOUNCEMENT}</span>
<!-- ENDIF -->
<!-- IF topicrow.TOPIC_ICON_IMG and S_TOPIC_ICONS --> <img class="topic-img" src="{T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}" /><!-- ENDIF -->
<a href="{topicrow.U_VIEW_TOPIC}">{topicrow.TOPIC_TITLE}</a>
<!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED --><a href="{topicrow.U_MCP_QUEUE}">{topicrow.UNAPPROVED_IMG}</a> <!-- ENDIF -->
<!-- IF topicrow.S_TOPIC_REPORTED --><a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a><!-- ENDIF --><br />
<!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF -->{L_POST_BY_AUTHOR} <span class="userlink simple">{topicrow.TOPIC_AUTHOR_FULL}</span> » {topicrow.FIRST_POST_TIME}
<!-- IF topicrow.PAGINATION -->
<span class="pagination-list">{topicrow.PAGINATION}</span>
<!-- ENDIF -->
</div>
Code: Select all
<div class="forumrow-line <!-- IF topicrow.S_POST_GLOBAL --> global-announce<!-- ENDIF --><!-- IF topicrow.S_POST_ANNOUNCE --> announce<!-- ENDIF --><!-- IF topicrow.S_POST_STICKY --> sticky<!-- ENDIF -->
I haven't got any error.. Can you write to me your site?1.the error i got is this: "The page isn't redirecting properly Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
This problem can sometimes be caused by disabling or refusing to accept cookies."
Ok, i wait for you.3.for mini profile and profile i will do.
My topics (3) have been edited (delete 'quote')4.please dont quote evrything is in post cos is to big, thx.
Not sure about what is you question but i tell you wahat is the diference: frist code is for span for example :"ANNOUNCE" has around background-color.maciasbarlinek99 wrote:Look:
This code have got "announcement,sticky,globalannounce background color".Code: Select all
<div class="forumrow-title"> <!-- IF topicrow.S_TOPIC_LOCKED --> <span class="label pull-right ml5">{L_TOPIC_LOCKED_SHORT}</span> <!-- ENDIF --> <!-- IF topicrow.S_POST_STICKY --> <span class="label label-info pull-right ml5">{L_POST_STICKY}</span> <!-- ENDIF --> <!-- IF topicrow.S_POST_ANNOUNCE --> <span class="label label-important pull-right ml5">{L_POST_ANNOUNCEMENT}</span> <!-- ENDIF --> <!-- IF topicrow.S_POST_GLOBAL --> <span class="label label-warning pull-right ml5">{L_POST_ANNOUNCEMENT}</span> <!-- ENDIF --> <!-- IF topicrow.TOPIC_ICON_IMG and S_TOPIC_ICONS --> <img class="topic-img" src="{T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}" /><!-- ENDIF --> <a href="{topicrow.U_VIEW_TOPIC}">{topicrow.TOPIC_TITLE}</a> <!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED --><a href="{topicrow.U_MCP_QUEUE}">{topicrow.UNAPPROVED_IMG}</a> <!-- ENDIF --> <!-- IF topicrow.S_TOPIC_REPORTED --><a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a><!-- ENDIF --><br /> <!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF -->{L_POST_BY_AUTHOR} <span class="userlink simple">{topicrow.TOPIC_AUTHOR_FULL}</span> » {topicrow.FIRST_POST_TIME} <!-- IF topicrow.PAGINATION --> <span class="pagination-list">{topicrow.PAGINATION}</span> <!-- ENDIF --> </div>
Why you want to add this code:Code: Select all
<div class="forumrow-line <!-- IF topicrow.S_POST_GLOBAL --> global-announce<!-- ENDIF --><!-- IF topicrow.S_POST_ANNOUNCE --> announce<!-- ENDIF --><!-- IF topicrow.S_POST_STICKY --> sticky<!-- ENDIF -->
Code: Select all
.label-info {
background-color: #5bc0de;
}
Code: Select all
.label-important {
background-color: #3A87AD;
}
Okey.my cod add background-color to row.
Hmm.. I've got some error?btw fix this:
serch in bootstrap.cssafter add:Code: Select all
.label-info { background-color: #5bc0de; }
Code: Select all
.label-important { background-color: #3A87AD; }
just a missing class by autormaciasbarlinek99 wrote:
Hmm.. I've got some error?
viewforum_body.html
Code: Select all
<span class="label pull-right ml5">{L_TOPIC_LOCKED_SHORT}</span>
Code: Select all
<span class="label label-close pull-right ml5">{L_TOPIC_LOCKED_SHORT}</span>
styles/wysibb/theme/bootstrap.css
Code: Select all
.label-info {
background-color: #5bc0de;
}
Code: Select all
.label-important {
background-color: #3A87AD;
}
.label-close {
background-color: #FF0000;
}
Code: Select all
<div class="col-lg-2 col-md-3 col-sm-4 col-xs-12 post-profile-wrap">
<div class="post-profile">
<!-- IF postrow.POSTER_AVATAR -->
<div class="post-avatar">
<!-- IF postrow.U_POST_AUTHOR --><a href="{postrow.U_POST_AUTHOR}">{postrow.POSTER_AVATAR}</a><!-- ELSE -->{postrow.POSTER_AVATAR}<!-- ENDIF --><br />
</div>
<!-- ELSE -->
<div class="post-avatar">
<!-- IF postrow.U_POST_AUTHOR --><a href="{postrow.U_POST_AUTHOR}"><img src="{T_IMAGESET_PATH}/noavatar.png" /></a><!-- ELSE --><img src="{T_IMAGESET_PATH}/noavatar.png" /><!-- ENDIF --><br />
</div>
<!-- ENDIF -->
<!-- IF not postrow.U_POST_AUTHOR --><strong><span class="userlink">{postrow.POST_AUTHOR_FULL}</span></strong><!-- ELSE --><span class="userlink">{postrow.POST_AUTHOR_FULL}</span><br/><!-- ENDIF -->
<!-- IF postrow.RANK_TITLE or postrow.RANK_IMG -->
{postrow.RANK_TITLE}
<!-- IF postrow.RANK_TITLE and postrow.RANK_IMG --><br /><!-- ENDIF -->
{postrow.RANK_IMG}
<br/>
<!-- ENDIF -->
<!-- IF postrow.POSTER_POSTS != '' --><strong>{L_POSTS}:</strong> {postrow.POSTER_POSTS}<br/><!-- ENDIF -->
<!-- IF postrow.POSTER_JOINED --><strong>{L_JOINED}:</strong> {postrow.POSTER_JOINED}<br/><!-- ENDIF -->
<!-- IF postrow.POSTER_FROM --><strong>{L_LOCATION}:</strong> {postrow.POSTER_FROM}<br/><!-- ENDIF -->
<!-- IF postrow.S_PROFILE_FIELD1 -->
<!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
<strong>{postrow.PROFILE_FIELD1_NAME}:</strong> {postrow.PROFILE_FIELD1_VALUE}<br/>
<!-- ENDIF -->
<!-- BEGIN custom_fields -->
<strong>{postrow.custom_fields.PROFILE_FIELD_NAME}:</strong> {postrow.custom_fields.PROFILE_FIELD_VALUE}<br/>
<!-- END custom_fields -->
<!-- IF postrow.S_ONLINE and not postrow.S_IGNORE_POST --><div class="mt5"><span class="label label-success">{L_ONLINE}</span></div><!-- ENDIF -->
<!-- IF not S_IS_BOT -->
<!-- IF postrow.U_PM or postrow.U_EMAIL or postrow.U_WWW or postrow.U_MSN or postrow.U_ICQ or postrow.U_YIM or postrow.U_AIM or postrow.U_JABBER -->
<div class="post-profile-icons">
<!-- IF postrow.U_PM --><a class="btn btn-xs" href="{postrow.U_PM}" title="{L_PRIVATE_MESSAGE}"><i class="fa fa-user"></i></a><!-- ENDIF -->
<!-- IF postrow.U_EMAIL --><a class="btn btn-xs" href="{postrow.U_EMAIL}" title="{L_SEND_EMAIL_USER} {postrow.POST_AUTHOR}" rel="nofollow"><i class="fa fa-envelope"></i></a><!-- ENDIF -->
<!-- IF postrow.U_WWW -->
<a class="btn btn-xs" href="{postrow.U_WWW}" title="{L_VISIT_WEBSITE}: {postrow.U_WWW}" rel="nofollow"><i class="fa fa-globe"></i></a>
<!-- ENDIF -->
</div>
<!-- ENDIF -->
<!-- ENDIF -->
</div>
</div>
Code: Select all
<div class="col-lg-2 col-md-3 col-sm-4 col-xs-12 post-profile-wrap">
<div class="panel_profile_box">
<div class="username_panel_box"><!-- IF not postrow.U_POST_AUTHOR --><strong><span class="userlink">{postrow.POST_AUTHOR_FULL}</span></strong><!-- ELSE --><span class="userlink">{postrow.POST_AUTHOR_FULL}</span><br/><!-- ENDIF --></div>
<div class="panel_profile_body">
<div class="post-profile">
<!-- IF postrow.POSTER_AVATAR -->
<div class="post-avatar">
<!-- IF postrow.U_POST_AUTHOR --><a href="{postrow.U_POST_AUTHOR}">{postrow.POSTER_AVATAR}</a><!-- ELSE -->{postrow.POSTER_AVATAR}<!-- ENDIF --><br />
</div>
<!-- ELSE -->
<div class="post-avatar">
<!-- IF postrow.U_POST_AUTHOR --><a href="{postrow.U_POST_AUTHOR}"><img src="{T_IMAGESET_PATH}/noavatar.png" /></a><!-- ELSE --><img src="{T_IMAGESET_PATH}/noavatar.png" /><!-- ENDIF --><br />
</div>
<!-- ENDIF -->
<!-- IF postrow.RANK_TITLE or postrow.RANK_IMG -->
{postrow.RANK_TITLE}
<!-- IF postrow.RANK_TITLE and postrow.RANK_IMG --><br /><!-- ENDIF -->
{postrow.RANK_IMG}
<br/>
<!-- ENDIF -->
<div class="mini_profile">
<!-- IF postrow.POSTER_POSTS != '' --><div class="mini_profile1"><strong>{L_POSTS}:</strong> {postrow.POSTER_POSTS}</div><!-- ENDIF -->
<!-- IF postrow.POSTER_JOINED --><div class="mini_profile1"><strong>{L_JOINED}:</strong> {postrow.POSTER_JOINED}</div><!-- ENDIF -->
<!-- IF postrow.POSTER_FROM --><div class="mini_profile1"><strong>{L_LOCATION}:</strong> {postrow.POSTER_FROM}</div><!-- ENDIF -->
<!-- IF postrow.S_PROFILE_FIELD1 -->
<!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
<div class="mini_profile1"><strong>{postrow.PROFILE_FIELD1_NAME}:</strong> {postrow.PROFILE_FIELD1_VALUE}</div>
<!-- ENDIF -->
<!-- BEGIN custom_fields -->
<div class="mini_profile1"><strong>{postrow.custom_fields.PROFILE_FIELD_NAME}:</strong> {postrow.custom_fields.PROFILE_FIELD_VALUE}</div>
<!-- END custom_fields -->
<!-- IF not S_IS_BOT -->
<!-- IF postrow.U_PM or postrow.U_EMAIL or postrow.U_WWW or postrow.U_MSN or postrow.U_ICQ or postrow.U_YIM or postrow.U_AIM or postrow.U_JABBER -->
</div>
<!-- IF postrow.S_ONLINE and not postrow.S_IGNORE_POST --><div class="mt5"><span class="label label-success">{L_ONLINE}</span></div><!-- ENDIF -->
<div class="post-profile-icons">
<!-- IF postrow.U_PM --><a class="btn btn-xs" href="{postrow.U_PM}" title="{L_PRIVATE_MESSAGE}"><i class="fa fa-user"></i></a><!-- ENDIF -->
<!-- IF postrow.U_EMAIL --><a class="btn btn-xs" href="{postrow.U_EMAIL}" title="{L_SEND_EMAIL_USER} {postrow.POST_AUTHOR}" rel="nofollow"><i class="fa fa-envelope"></i></a><!-- ENDIF -->
<!-- IF postrow.U_WWW -->
<a class="btn btn-xs" href="{postrow.U_WWW}" title="{L_VISIT_WEBSITE}: {postrow.U_WWW}" rel="nofollow"><i class="fa fa-globe"></i></a>
<!-- ENDIF -->
</div>
<!-- ENDIF -->
<!-- ENDIF -->
</div>
</div></div></div>
Code: Select all
.username_panel_box {
font-size:11px;
font-weight:bold;
text-align:center;
text-shadow:0 1px 0 rgba(255,255,255,.5);
padding:4px;
background: #3D74A0;/*#e0e0e0;*/
border-bottom:1px solid #ccc;
-moz-border-radius-topleft: 4px;
-moz-border-radius-topright: 4px;
-moz-border-radius-bottomright: 0px;
-moz-border-radius-bottomleft: 0px;
-webkit-border-radius: 4px 4px 0px 0px;
border-radius: 4px 4px 0px 0px;
}
.panel_profile_body {padding:3px 0px 3px 0px;}
.panel_profile_box {
margin:10px 0px 0px 10px;
background:#fff;
border:1px solid #ccc;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
-ms-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: 0 0 6px rgba(0,0,0,0.2);
-moz-box-shadow: 0 0 6px rgba(0,0,0,0.2);
-ms-box-shadow: 0 0 6px rgba(0,0,0,0.2);
box-shadow: 0 0 6px rgba(0,0,0,0.2);
}
.mini_profile{
border:1px solid #ccc;
border-radius: 5px;
margin:3px;
padding:3px;
text-align:left;
background: #DBDFE2;
}
.mini_profile1{
background-color:#FFF;
padding:3px 3px 3px 5px;
margin-bottom:3px;
border:1px solid #ccc;
border-radius:3px;
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.2);
-moz-box-shadow: inset 0 0 6px rgba(0,0,0,0.2);
box-shadow: inset 0 0 6px rgba(0,0,0,0.2);
}
styles/wysibb/theme/m.css
Code: Select all
.mwrap{
width:90%;
margin:0 auto;
}
What?? Can you explain me (image, text, etc.)Go to viewtopic > click profile of someone > Click add as friend > click confirm.
Then you see the alignment of de rest en accept button is a bit strange
data-toggle="tooltip" data-placement="top"
anywhere and the tooltip will work. Tried to put it in overall_header but that appears not to work.Code: Select all
.panel_profile_box {
margin:10px 0px 0px 10px;
Code: Select all
.panel_profile_box {
margin:10px 0px 10px 10px;