It doesn't work
In {$smilieinserter} (I use it above textarea of showthread_quickreply) smiles are disappeared (gif images).
In firebug I see wrong link for images. I have forum in /forum/ folder but in css there is:
SpritedSmilies.min.css
If I edit in background-image: url(/forum/images/smilies/clover.gif); it works.
[class^=smilie-], [class*=" smilie-"] works with correct domain.
In dropdown of editor smiles work (still separated images).
I think I have to edit something in:
to add {$mybb->settings['bburl']}/
And also unread posts didn't work more..I don't understand why, unread posts plugin hasn't images I think.
In firebug, on unreadpost counter in header I have now:
Before of the plugin I had the number of unread posts
In {$smilieinserter} (I use it above textarea of showthread_quickreply) smiles are disappeared (gif images).
In firebug I see wrong link for images. I have forum in /forum/ folder but in css there is:
SpritedSmilies.min.css
.smilie-124 {
background-image: url(/images/smilies/clover.gif);
background-position: 0;
width: 19px;
height: 20px;
}
[class^=smilie-], [class*=" smilie-"] {
background-image: url(http://my-correct-website/forum/images/SpritedSmilies-1448368568.png);
background-position: 0 0;
background-repeat: no-repeat;
display: inline-block;
height: 0px;
width: 0px;
}
If I edit in background-image: url(/forum/images/smilies/clover.gif); it works.
[class^=smilie-], [class*=" smilie-"] works with correct domain.
In dropdown of editor smiles work (still separated images).
I think I have to edit something in:
$css .= sprintf('.smilie-%d{background-image:url(/%s);background-position:0;width:%dpx;height:%dpx;}', $id, $smilie['image'], $smilie['width'], $smilie['height']);
to add {$mybb->settings['bburl']}/
And also unread posts didn't work more..I don't understand why, unread posts plugin hasn't images I think.
In firebug, on unreadpost counter in header I have now:
<!-- start: unreadPosts_counter -->
<img src="" alt="" title="" class="smilie smilie_">
<!-- end: unreadPosts_counter -->
Before of the plugin I had the number of unread posts