its cause it's has been used by 1.6 so it's an old code
we have 1.8 not 1.6 anymore!
it's not a plugin !
I need a new code
I need a code like this :
http://community.mybb.com/thread-150668-...pid1060286
I test this the code above, but it doesn't work
I need a code to show a message that user can click and hide it , then display the message again after 24 or 48 hours using MyBB Cookie.set
???????????
Not sure if you still need this, but translated to jQuery it would be:
<script type="text/javascript">
$(document).ready(function() {
var notebox = $('.notebox');
if($.cookie('sitenote') != 'X')
{
notebox.show();
}
$('.dismissnote').on('click', function() {
$.cookie('sitenote', 'X', { expires: 1 })
notebox.hide();
});
});
</script>