![]() |
|
Help, Please? - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: Coding (https://sinister.ly/Forum-Coding) +--- Forum: Coding (https://sinister.ly/Forum-Coding--71) +--- Thread: Help, Please? (/Thread-Help-Please--28008) |
Help, Please? - Equinox - 06-07-2014 So I'm doing some additional work on a MyBB theme, and decided that I should make the copyright generate automatically instead of it being set. So, I used some JavaScript (or jQuery to be dead specific), and it won't work. I even tried jQuery,noConflict. I also, however, tried it on another page, and it'd worked on the other page. It might be in the theme itself. Here's the code; Code: <script>
$(document).ready(function() {
$("#copyrightleft").html( "Copyright © {$mybb->settings['bbname']} "+new Date().getFullYear(); );
});
</script>It was put into the headerinclude template. The theme used was Audentio's NeonGlow theme, and the MyBB version is 1.6.2 (I know, that was like ages ago). Prepared for; "Duubz, you fgt, update your fking mybb." The answer? No. (Though I am almost certain that the MyBB version is irrelevant here). Also, the jQuery version is 1.10.1. RE: Help, Please? - Lain - 06-07-2014 I'm 90% sure it's conflicting with MyBB's (shitty) Prototype code. Does it return any errors in Chrome's console? If you give me a link to the site (assuming you have it hosted), I can debug further. :3 RE: Help, Please? - Equinox - 06-07-2014 (06-07-2014, 10:53 AM)Koala Wrote: I'm 90% sure it's conflicting with MyBB's (shitty) Prototype code. Does it return any errors in Chrome's console? If you give me a link to the site (assuming you have it hosted), I can debug further. :3 *Not using Chrome* Ice weasel, m8. I'll pass you the link in PMs. |