wersja skryptu MyBB: 1.8.7
adres forum: http://www.victorycraft.net/forum/index.php
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):
Forum w ogóle nie czyta ikon wątków (zamknięty, otwarty, nowe posty itd.)
Są takie:
[
attachment=10245]
A powinny być takie (forum_icon_sprite.png)
[
attachment=10246]
Proszę o pomoc, bo nie można wcale rozróżnić, np. zamkniętego tematu od otwartego.
Ikony wątków masz zrobione w tym stylu za pomocą font aweosme. Zmienisz je w arkuszu thread_status.css (po nazwach klas się domyślisz, która za jaką ikonę odpowiada).
Nie za bardzo wiem co mam tu zrobić.
Kod PHP:
.thread_status {
display: inline-block;
width: 15px;
height: 15px;
background-repeat: no-repeat;
}
.thread_status.dot_folder {
position:relative;
}
.thread_status.dot_folder:before {
color: #ccc;
text-shadow: 1px 1px 0px #181818;
position: absolute;
background-position: 0 0;
content: "\f114";
font-family: FontAwesome;
font-size: 14px;
}
.thread_status.dot_hotfolder {
position:relative;
}
.thread_status.dot_hotfolder:before {
color: #ccc;
text-shadow: 1px 1px 0px #181818;
position: absolute;
background-position: 0 -20px;
content: "\f114";
font-family: FontAwesome;
font-size: 14px;
}
.thread_status.dot_hotlockfolder {
position:relative;
}
.thread_status.dot_hotlockfolder:before {
color: #ccc;
text-shadow: 1px 1px 0px #181818;
position: absolute;
background-position: 0 -40px;
content: "\f114";
font-family: FontAwesome;
font-size: 14px;
}
.thread_status.dot_lockfolder {
position:relative;
}
.thread_status.dot_lockfolder:before {
color: #ccc;
text-shadow: 1px 1px 0px #181818;
position: absolute;
background-position: 0 -60px;
content: "\f114";
font-family: FontAwesome;
font-size: 14px;
}
.thread_status.dot_newfolder {
position:relative;
}
.thread_status.dot_newfolder:before {
color: #ccc;
text-shadow: 1px 1px 0px #181818;
position: absolute;
background-position: 0 -80px;
content: "\f114";
font-family: FontAwesome;
font-size: 14px;
}
.thread_status.dot_newhotfolder {
position:relative;
}
.thread_status.dot_newhotfolder:before {
color: #ccc;
text-shadow: 1px 1px 0px #181818;
position: absolute;
background-position: 0 -100px;
content: "\f114";
font-family: FontAwesome;
font-size: 14px;
}
.thread_status.dot_newhotlockfolder {
position:relative;
}
.thread_status.dot_newhotlockfolder:before {
color: #ccc;
text-shadow: 1px 1px 0px #181818;
position: absolute;
background-position: 0 -120px;
content: "\f114";
font-family: FontAwesome;
font-size: 14px;
}
.thread_status.dot_newlockfolder {
position:relative;
}
.thread_status.dot_newlockfolder:before {
color: #ccc;
text-shadow: 1px 1px 0px #181818;
position: absolute;
background-position: 0 -140px;
content: "\f114";
font-family: FontAwesome;
font-size: 14px;
}
.thread_status.folder {
position:relative;
}
.thread_status.folder:before {
color: #ccc;
text-shadow: 1px 1px 0px #181818;
position: absolute;
background-position: 0 -160px;
content: "\f114";
font-family: FontAwesome;
font-size: 14px;
}
.thread_status.hotfolder {
position:relative;
}
.thread_status.hotfolder:before {
color: #ccc;
text-shadow: 1px 1px 0px #181818;
position: absolute;
background-position: 0 -180px;
content: "\f114";
font-family: FontAwesome;
font-size: 14px;
}
.thread_status.hotlockfolder {
position:relative;
}
.thread_status.hotlockfolder:before {
color: #ccc;
text-shadow: 1px 1px 0px #181818;
position: absolute;
background-position: 0 -200px;
content: "\f114";
font-family: FontAwesome;
font-size: 14px;
}
.thread_status.lockfolder {
position:relative;
}
.thread_status.lockfolder:before {
color: #ccc;
text-shadow: 1px 1px 0px #181818;
position: absolute;
background-position: 0 -220px;
content: "\f114";
font-family: FontAwesome;
font-size: 14px;
}
.thread_status.movefolder {
position:relative;
}
.thread_status.movefolder:before {
color: #ccc;
text-shadow: 1px 1px 0px #181818;
position: absolute;
background-position: 0 -240px;
content: "\f114";
font-family: FontAwesome;
font-size: 14px;
}
.thread_status.newfolder {
position:relative;
}
.thread_status.newfolder:before {
color: #ccc;
text-shadow: 1px 1px 0px #181818;
position: absolute;
background-position: 0 -260px;
content: "\f114";
font-family: FontAwesome;
font-size: 14px;
}
.thread_status.newhotfolder {
position:relative;
}
.thread_status.newhotfolder:before {
color: #ccc;
text-shadow: 1px 1px 0px #181818;
position: absolute;
background-position: 0 -280px;
content: "\f114";
font-family: FontAwesome;
font-size: 14px;
}
.thread_status.newhotlockfolder {
position:relative;
}
.thread_status.newhotlockfolder:before {
color: #ccc;
text-shadow: 1px 1px 0px #181818;
position: absolute;
background-position: 0 -300px;
content: "\f114";
font-family: FontAwesome;
font-size: 14px;
}
.thread_status.newlockfolder {
position:relative;
}
.thread_status.newlockfolder:before {
color: #ccc;
text-shadow: 1px 1px 0px #181818;
position: absolute;
background-position: 0 -320px;
content: "\f114";
font-family: FontAwesome;
font-size: 14px;
}
Niestety, ale nie wiem za bardzo za co mam się zabrać, bo nie miałem jeszcze do czynienia z czymś takim jak Font Awesome.
Pobrałem to i co mam dalej zrobić?
Nie musisz pobierać, już masz na forum. Wejdź na stronę FA, widok konkretnej ikonki i ctrl+F dla słowa Unicode. Znajdujesz Unicode ikonki i pdmieniasz w arkuszu
Jakoś doszedłem i zmieniłem.
Chciałem takie jak w temacie napisałem, ale już trudno.
Dzięki za pomoc.