Jak włączyć linki na dvz shoutbox?

Inne  Założony przez  Zawistny.

Wersja skryptu MyBB: 1.8
Adres forum: rh.xaa.pl
Na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu): 
1) Jak włączyć linki na shoutboxie?
2) Po wylogowaniu w miejscu pola tekstowego robi się luka (http://i.imgur.com/Jk5EUSN.png) (http://i.imgur.com/EWdkzx1.png). Jeśli się przyjrzysz zauważysz na pierwszym screenie w miejscu tego pola niewyraźny zarys krawędzi shoutboxa. Co zrobić żeby niezalogowani nie widzieli tego pustego pola?

shoutbox.css:
#shoutbox{
 
 margin-bottom10pxbordersolid 2px rgba(0,0,0,0.1); height309pxwidth100%;
}
#shoutbox .head {
 
   background-color#efefef;
 
   color#444;
 
   font-size17px;
 
   font-weightbold;
 
   padding10px 15px;
 
   text-transformuppercase;
}
#shoutbox .head a{
 
 displaynone;
 
 cursorpointer;
}
#shoutbox .body{
 
   positionrelative;
 
 padding-top160px;
 
 margin-bottom10px;
}
#shoutbox .window {
 
   positionabsolute;
 
   top0;
 
   width99%;
 
   background-color#0F0F0F;
 
   padding0.5%;
 
   overflow-yscroll;
 
   max-width100%;
}
#shoutbox .data {
 
 font-size13px;
 
 font-familyinherit;
}
#shoutbox .entry { 
 
 border-bottom1px solid #000;
 
 margin-bottom5px;
 
 padding-bottom5px;
 
 displayblock !important;
 
 overflowhidden;
 
 clearleft;
 
 background#0F0F0F;
 
 positionrelative;
}
#shoutbox .entry > div {
 
 bordernone;
}
#shoutbox .entry .avatar {
 
 floatleft;
 
 margin-right10px;
 
 padding0;
}
#shoutbox .entry .avatar img {
 
 height50px;
 
 width50px;
 
 padding1px;
 
 margin-left7px;
 
 margin-top3px;
 
 box-shadow0 0 2px rgba(0,0,0,0.1); cursorpointerborder-radius50%;
}
#shoutbox .entry .info {
 
 color#777;
 
 positionabsolute;
 
 margin-top5px;
 
 right0;
 
 font-size10px;
}
#shoutbox .entry .user {
 
 displayinline;
 
 padding0;
 
 font-size14px;
 
 text-transformuppercase;
}
#shoutbox .entry .user em{
 
 font-stylenormal;
}
#shoutbox .body .panel {
 
   positionabsolute;
 
   top240px;
 
   width99%;
 
   margin0;
 
   padding0.5%;
 
   border-top1px dotted #0F0F0F;
 
   background-color#0F0F0F;
}
#shoutbox .body .panel form{

}
#shoutbox input.text {
 
   background#0f0f0f;
 
   border1.5px solid #1a1a1a;
 
   color#BDBDBD;
 
   font-familyinherit;
 
   font-size13px;
 
   height30px;
 
   line-height1.5;
 
   padding5px 10px;
 
   box-shadow0 0 7px rgba(0,0,0,1.0);
 
   width100%;
}
#shoutbox input.text:focus {
 
   border-color#3c8dbc;
 
   box-shadow0 1px 1px rgba(0000.075inset0 0 8px rgba(601411880.6);
}
#shoutbox .user {
 
   border-right0px solid rgba(0,0,0,0.05);
 
   font-size11px;
 
   positionrelative;
 
   top4px;
}
#shoutbox .mod:nth-of-type(2) {
 
   margin-right5px;
 
   border-leftsolid 0px rgba(0,0,0,0.1);
}
.
codeblock {
 
   backgroundtransparent;
 
   border0px solid #ccc;
 
   padding0px;
}
.
codeblock .title {
 
   border-bottom1px solid #ccc;
 
   font-weightbold;
 
   padding-bottom3px;
 
   margin0 0 10px 0;
}
.
codeblock code {
 
   overflowauto;
 
   heightauto;
 
   height200px;
 
   displayblock;
 
   font-familyMonacoConsolasCouriermonospace;
 
   font-size13px;
}
#shoutbox .entry {
 
   padding-bottom10px;
 
   border-bottom1px dotted #1a1a1a;
}
#shoutbox .entry .text {
 
   border-bottom-left-radius3px;
 
   border-bottom-right-radius3px;
 
   border-top-right-radius3px;
 
   positionrelative;
 
   top4px;
 
   padding5px 10px 5px;
 
   background #1a1a1a;
 
       box-shadow0 0 2px rgba(0,0,0,0.1);
 
   margin5px 0 0 50px;
 
       margin-left65px;
 
   color#BDBDBD;
}
#shoutbox .entry .text:after,
#shoutbox .entry .text:before {
 
   positionabsolute;
 
   right100%;
 
   top16px;
 
   bordersolid transparent;
 
   border-right-color #1a1a1a;
 
       box-shadow0 0 2px rgba(0,0,0,0.1);
 
   content' ';
 
   height0;
 
   width0;
 
   pointer-eventsnone;
}
#shoutbox .entry .text:after {
 
   border-width5px;
 
   margin-top: -16px;
}
#shoutbox .entry .text:before {
 
   border-width6px;
 
   margin-top: -16px;
}
#shoutbox .entry .user {
 
   font-size11px;
}
#shoutbox .entry .info {
 
   top: -5px;
}

#shoutbox .panel.blocked {
 
background#0F0F0F; color: #543A3A;
}

#shoutbox .panel p {
 
margin5px;
 
margin-left6px;
 
color#BDBDBD;


Konto testowe:
Login: Testowy
Hasło: test123
W szablonie dvz_shoutbox
Zamień:
<div class="window" style="height:230px;">
Na:
<div class="window" style="height:309px;">
Nie działa :/ Zakrywa pole tekstowe (jeśli jest się zalogowanym) i wychodzi na działy: http://scr.hu/7xit/mt8yr
A jaka przeglądarka?
Jak czytasz mój post to sprawdź czy go nie zedytowałem bo niezdecydowany jestem.
Google Chrome
Więc tak:
Wchodzisz w shoutbox.css
i jak masz #shoutbox .body
to usuwasz z tego padding-top:160px; i margin-bottom:10px;
Dodaj tam width:100%; height:240px; i overflow:auto;

następnie w .panel
usuwasz top:240 i wstawiasz bottom:0;
zamieniasz width:99% na width:100%

dopisujesz tam jeszcze
height:40px; i box-sizing:border-box;

następnie  w .window
height:200px zamiast tych 230px
box-sizing:border-box;
width: jak wolisz możesz zostawić lekko wcięte( ja bym dał 99.5% bo troszkę za duże jest teraz.
Jak czytasz mój post to sprawdź czy go nie zedytowałem bo niezdecydowany jestem.
Rezultat: http://scr.hu/7xit/o4m0l
I jeszcze mała uwaga: chciałbym aby pole tekstowe wyświetlało się na dole
blad 404
Jak czytasz mój post to sprawdź czy go nie zedytowałem bo niezdecydowany jestem.
http://i.imgur.com/ODVvvTI.png
W #shoutbox .body nie wprowadziłeś stylów
i box-sizing do .window
Jak czytasz mój post to sprawdź czy go nie zedytowałem bo niezdecydowany jestem.
Wciąż nie działa :/
Nie wszystko wprowadziłeś to co ci napisałem :/
Jak chcesz zwiększyć okno to w
#shoutbox .body zwiększasz width:
a w .window zwiększasz to width o tyle samo co #shoutbox .body
do .panel też lepiej daj box-sizing:border-box
Jak czytasz mój post to sprawdź czy go nie zedytowałem bo niezdecydowany jestem.
Pogubiłem się :/
Tutaj jest kod przed dodaniem tego co podałeś:
#shoutbox{
  
margin-bottom10pxbordersolid 2px rgba(0,0,0,0.1); height309pxwidth100%;
}
#shoutbox .head {
    
background-color#efefef;
    
color#444;
    
font-size17px;
    
font-weightbold;
    
padding10px 15px;
    
text-transformuppercase;
}
#shoutbox .head a{
  
displaynone;
  
cursorpointer;
}
#shoutbox .body{
    
positionrelative;
  
padding-top160px;
  
margin-bottom10px;
}
#shoutbox .window {
    
positionabsolute;
    
top0;
    
width99%;
    
background-color#0F0F0F;
    
padding0.5%;
    
overflow-yscroll;
    
max-width100%;
}
#shoutbox .data {
  
font-size13px;
  
font-familyinherit;
}
#shoutbox .entry { 
  
border-bottom1px solid #000;
  
margin-bottom5px;
  
padding-bottom5px;
  
displayblock !important;
  
overflowhidden;
  
clearleft;
  
background#0F0F0F;
  
positionrelative;
}
#shoutbox .entry > div {
  
bordernone;
}
#shoutbox .entry .avatar {
  
floatleft;
  
margin-right10px;
  
padding0;
}
#shoutbox .entry .avatar img {
  
height50px;
  
width50px;
  
padding1px;
  
margin-left7px;
  
margin-top3px;
  
box-shadow0 0 2px rgba(0,0,0,0.1); cursorpointerborder-radius50%;
}
#shoutbox .entry .info {
  
color#777;
  
positionabsolute;
  
margin-top5px;
  
right0;
  
font-size10px;
}
#shoutbox .entry .user {
  
displayinline;
  
padding0;
  
font-size14px;
  
text-transformuppercase;
}
#shoutbox .entry .user em{
  
font-stylenormal;
}
#shoutbox .body .panel {
    
positionabsolute;
    
top240px;
    
width99%;
    
margin0;
    
padding0.5%;
    
border-top1px dotted #0F0F0F;
    
background-color#0F0F0F;
}
#shoutbox .body .panel form{

}
#shoutbox input.text {
    
background#0f0f0f;
    
border1.5px solid #1a1a1a;
    
color#BDBDBD;
    
font-familyinherit;
    
font-size13px;
    
height30px;
    
line-height1.5;
    
padding5px 10px;
    
box-shadow0 0 7px rgba(0,0,0,1.0);
    
width100%;
}
#shoutbox input.text:focus {
    
border-color#3c8dbc;
    
box-shadow0 1px 1px rgba(0000.075inset0 0 8px rgba(601411880.6);
}
#shoutbox .user {
    
border-right0px solid rgba(0,0,0,0.05);
    
font-size11px;
    
positionrelative;
    
top4px;
}
#shoutbox .mod:nth-of-type(2) {
    
margin-right5px;
    
border-leftsolid 0px rgba(0,0,0,0.1);
}
.
codeblock {
    
backgroundtransparent;
    
border0px solid #ccc;
    
padding0px;
}
.
codeblock .title {
    
border-bottom1px solid #ccc;
    
font-weightbold;
    
padding-bottom3px;
    
margin0 0 10px 0;
}
.
codeblock code {
    
overflowauto;
    
heightauto;
    
height200px;
    
displayblock;
    
font-familyMonacoConsolasCouriermonospace;
    
font-size13px;
}
#shoutbox .entry {
    
padding-bottom10px;
    
border-bottom1px dotted #1a1a1a;
}
#shoutbox .entry .text {
    
border-bottom-left-radius3px;
    
border-bottom-right-radius3px;
    
border-top-right-radius3px;
    
positionrelative;
    
top4px;
    
padding5px 10px 5px;
    
background:  #1a1a1a;
        
box-shadow0 0 2px rgba(0,0,0,0.1);
    
margin5px 0 0 50px;
        
margin-left65px;
    
color#BDBDBD;
}
#shoutbox .entry .text:after,
#shoutbox .entry .text:before {
    
positionabsolute;
    
right100%;
    
top16px;
    
bordersolid transparent;
    
border-right-color:  #1a1a1a;
        
box-shadow0 0 2px rgba(0,0,0,0.1);
    
content' ';
    
height0;
    
width0;
    
pointer-eventsnone;
}
#shoutbox .entry .text:after {
    
border-width5px;
    
margin-top: -16px;
}
#shoutbox .entry .text:before {
    
border-width6px;
    
margin-top: -16px;
}
#shoutbox .entry .user {
    
font-size11px;
}
#shoutbox .entry .info {
    
top: -8px;
}

#shoutbox .panel.blocked {
 
background#0F0F0F; color: #543A3A;
}

#shoutbox .panel p {
 
margin5px;
 
margin-left6px;
 
color#BDBDBD;


Mógłbyś mi podać ten kod po edycji? Możliwe że coś pominąłem ;/
#shoutbox{
  margin-bottom: 20px; border: solid 2px rgba(0,0,0,0.1); width: 100%;
}
#shoutbox .head {
    background-color: #efefef;
    color: #444;
    font-size: 17px;
    font-weight: bold;
    padding: 10px 15px;
    text-transform: uppercase;
}
#shoutbox .head a{
  display: none;
  cursor: pointer;
}
#shoutbox .body{
    position: relative;
    width:100%;
    height:260px;
    overflow:auto
}
#shoutbox .window {
    position: absolute;
    top: 0;
    width: 99.5%;
    background-color: #0F0F0F;
    padding: 0.5%;
    overflow-y: scroll;
    max-width: 100%;
    width:220px;
    box-sizing:border-box;
}
#shoutbox .data {
  font-size: 13px;
  font-family: inherit;
}
#shoutbox .entry { 
  border-bottom: 1px solid #000;
  margin-bottom: 5px;
  padding-bottom: 5px;
  display: block !important;
  overflow: hidden;
  clear: left;
  background: #0F0F0F;
  position: relative;
}
#shoutbox .entry > div {
  border: none;
}
#shoutbox .entry .avatar {
  float: left;
  margin-right: 10px;
  padding: 0;
}
#shoutbox .entry .avatar img {
  height: 50px;
  width: 50px;
  padding: 1px;
  margin-left: 7px;
  margin-top: 3px;
  box-shadow: 0 0 2px rgba(0,0,0,0.1); cursor: pointer; border-radius: 50%;
}
#shoutbox .entry .info {
  color: #777;
  position: absolute;
  margin-top: 5px;
  right: 0;
  font-size: 10px;
}
#shoutbox .entry .user {
  display: inline;
  padding: 0;
  font-size: 14px;
  text-transform: uppercase;
}
#shoutbox .entry .user em{
  font-style: normal;
}
#shoutbox .body .panel {
    position: absolute;
    bottom: 0;
    width: 100%;
    box-sizing:border-box;
    margin: 0;
    padding: 0.5%;
    border-top: 1px dotted #0F0F0F;
    background-color: #0F0F0F;
}
#shoutbox .body .panel form{

}
#shoutbox input.text {
    background: #0f0f0f;
    border: 1.5px solid #1a1a1a;
    color: #BDBDBD;
    font-family: inherit;
    font-size: 13px;
    height: 30px;
    line-height: 1.5;
    padding: 5px 10px;
    box-shadow: 0 0 7px rgba(0,0,0,1.0);
    width: 100%;
}
#shoutbox input.text:focus {
    border-color: #3c8dbc;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(60, 141, 188, 0.6);
}
#shoutbox .user {
    border-right: 0px solid rgba(0,0,0,0.05);
    font-size: 11px;
    position: relative;
    top: 4px;
}
#shoutbox .mod:nth-of-type(2) {
    margin-right: 5px;
    border-left: solid 0px rgba(0,0,0,0.1);
}
.codeblock {
    background: transparent;
    border: 0px solid #ccc;
    padding: 0px;
}
.codeblock .title {
    border-bottom: 1px solid #ccc;
    font-weight: bold;
    padding-bottom: 3px;
    margin: 0 0 10px 0;
}
.codeblock code {
    overflow: auto;
    height: auto;
    height: 200px;
    display: block;
    font-family: Monaco, Consolas, Courier, monospace;
    font-size: 13px;
}
#shoutbox .entry {
    padding-bottom: 10px;
    border-bottom: 1px dotted #1a1a1a;
}
#shoutbox .entry .text {
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
    position: relative;
    top: 4px;
    padding: 5px 10px 5px;
    background:  #1a1a1a;
        box-shadow: 0 0 2px rgba(0,0,0,0.1);
    margin: 5px 0 0 50px;
        margin-left: 65px;
    color: #BDBDBD;
}
#shoutbox .entry .text:after,
#shoutbox .entry .text:before {
    position: absolute;
    right: 100%;
    top: 16px;
    border: solid transparent;
    border-right-color:  #1a1a1a;
        box-shadow: 0 0 2px rgba(0,0,0,0.1);
    content: ' ';
    height: 0;
    width: 0;
    pointer-events: none;
}
#shoutbox .entry .text:after {
    border-width: 5px;
    margin-top: -16px;
}
#shoutbox .entry .text:before {
    border-width: 6px;
    margin-top: -16px;
}
#shoutbox .entry .user {
    font-size: 11px;
}
#shoutbox .entry .info {
    top: -8px;
}

#shoutbox .panel.blocked {
 background: #0F0F0F; color: #543A3A;
}

#shoutbox .panel p {
 margin: 5px;
 margin-left: 6px;
 color: #BDBDBD;
}
Masz to i z diva z klasą windows usuń style="height:200px"
Jak czytasz mój post to sprawdź czy go nie zedytowałem bo niezdecydowany jestem.
Nie działa, pole tekstowe zniknęło całkowicie :/



Użytkownicy przeglądający ten wątek:

1 gości