Working on new theme. Some images still show as images/ instead of images/straightdarko14.
I've set theme and global.css all to images/straightdarko14 but but some still goto the main images. What am I doing wrong.
That's a problem with Mybb. They hard coded some images to the images/ directory and not the theme. imho it's a severe problem that's existed for a while now but they have yet to address the problem. You are left with no choice but to also replace /images/ images too.
Ok. Is this fix planned for a future release soon.
What images are hard coded?? I've never really noticed.
Some of the stars a few other things.
The images inside the usernav cp and modcp I believe. It's not a lot lot...but it's enough to be annoying and I don't understand why they are still static.
Aren't they in CSS??
.usercp_nav_item {
display: block;
padding: 1px 0 1px 23px;
}
.usercp_nav_composepm {
background: url('images/usercp/composepm.gif') no-repeat left center;
}
.usercp_nav_pmfolder {
background: url('images/usercp/pmfolder.gif') no-repeat left center;
}
.usercp_nav_sub_pmfolder {
padding-left: 40px;
background: url('images/usercp/sub_pmfolder.gif') no-repeat left center;
}
.usercp_nav_trash_pmfolder {
padding-left: 40px;
background: url('images/usercp/trash_pmfolder.gif') no-repeat left center;
}
.usercp_nav_pmtracking {
background: url('images/usercp/pmtracking.gif') no-repeat left center;
}
.usercp_nav_pmfolders {
background: url('images/usercp/editfolders.gif') no-repeat left center;
}
.usercp_nav_profile {
background: url('images/usercp/profile.gif') no-repeat left center;
}
.usercp_nav_email {
padding-left: 40px;
background: url('images/usercp/email.gif') no-repeat left center;
}
.usercp_nav_password {
padding-left: 40px;
background: url('images/usercp/password.gif') no-repeat left center;
}
.usercp_nav_username {
padding-left: 40px;
background: url('images/usercp/username.gif') no-repeat left center;
}
.usercp_nav_editsig {
padding-left: 40px;
background: url('images/usercp/editsig.gif') no-repeat left center;
}
.usercp_nav_avatar {
padding-left: 40px;
background: url('images/usercp/avatar.gif') no-repeat left center;
}
.usercp_nav_options {
background: url('images/usercp/options.gif') no-repeat left center;
}
.usercp_nav_usergroups {
background: url('images/usercp/usergroups.gif') no-repeat left center;
}
.usercp_nav_editlists {
background: url('images/usercp/editlists.gif') no-repeat left center;
}
.usercp_nav_attachments {
background: url('images/usercp/attachments.gif') no-repeat left center;
}
.usercp_nav_drafts {
background: url('images/usercp/drafts.gif') no-repeat left center;
}
.usercp_nav_subscriptions {
background: url('images/usercp/subscriptions.gif') no-repeat left center;
}
.usercp_nav_fsubscriptions {
background: url('images/usercp/fsubscriptions.gif') no-repeat left center;
}
.usercp_nav_notepad {
background: url('images/usercp/notepad.gif') no-repeat left center;
}
.usercp_nav_viewprofile {
background: url('images/usercp/viewprofile.gif') no-repeat left center;
}
.usercp_nav_home {
background: url('images/usercp/home.gif') no-repeat left center;
}
.usercp_nav_subscribe{
background: url(images/toplinks/subscribe.png) no-repeat left center;
}
.usercp_nav_myps{
background: url(images/usercp/myps.gif) no-repeat left center;
}
.usercp_nav_invite{
background: url(images/toplinks/user_add.png) no-repeat left center;
}
.modcp_nav_item {
display: block;
padding: 1px 0 1px 23px;
}
.modcp_nav_home {
background: url('images/modcp/home.gif') no-repeat left center;
}
.modcp_nav_announcements {
background: url('images/modcp/announcements.gif') no-repeat left center;
}
.modcp_nav_reports {
background: url('images/modcp/reports.gif') no-repeat left center;
}
.modcp_nav_modqueue {
background: url('images/modcp/modqueue.gif') no-repeat left center;
}
.modcp_nav_modlogs {
background: url('images/modcp/modlogs.gif') no-repeat left center;
}
.modcp_nav_editprofile {
background: url('images/modcp/editprofile.gif') no-repeat left center;
}
.modcp_nav_banning {
background: url('images/modcp/banning.gif') no-repeat left center;
}
.modcp_nav_warninglogs {
background: url('images/modcp/warninglogs.gif') no-repeat left center;
}
.modcp_nav_ipsearch {
background: url('images/modcp/ipsearch.gif') no-repeat left center;
}
.modqueue_message {
overflow: auto;
max-height: 250px;
}
.modqueue_controls {
width: 270px;
float: right;
text-align: center;
border: 1px solid #ccc;
background: #fff;
padding: 6px;
font-weight: bold;
}
.modqueue_controls label {
margin-right: 8px;
}
.label_radio_ignore, .label_radio_delete, .label_radio_approve {
font-weight: bold;
}
.modqueue_meta {
color: #444;
font-size: 95%;
margin-bottom: 8px;
}
.modqueue_mass {
list-style: none;
margin: 0;
width: 150px;
padding: 0;
}
.modqueue_mass li {
margin-bottom: 4px;
padding: 0;
}
.modqueue_mass li a {
display: block;
padding: 4px;
border: 1px solid transparent;
}
.modqueue_mass li a:hover {
background: #efefef;
border: 1px solid #ccc;
text-decoration: none;
}
well, multiquote_on is hardcoded, at least
Actually if we could make a list of all the images that are hard coded that would be great.
I think it's only the ones that are used with javascript/ajax, so the multiquote ones.