1) и так в html-верх идет вот эта часть
<iframe id="first_post_frame" width="0" height="0"></iframe>
<script type="text/javascript">
function GET(){
var a = location.search.slice(1);
a = a.split('&')
var i = 0
var b = new Object;
while(a[i]) {
a[i] = a[i].split('=')
b[a[i][0]] = a[i][1];
i++;
}
return b
}
var GET = GET();
var first_post_key = '·';
var matches = document.cookie.match(new RegExp("(?:^|; )" + 'mybb_ru='.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g, '\\$1') + "=([^;]*)"))
var cookie = matches ? decodeURIComponent(matches[1]) : ''
if(location.href.indexOf('viewtopic.php?id=')!=-1 && location.href.indexOf('&p=')!=-1 && $('head title').html().indexOf(first_post_key)!=-1) {
$('head title').html($('head title').html().replace(first_post_key,''));
$('iframe#first_post_frame')[0].src = 'http://'+location.hostname+'/viewtopic.php?id='+GET['id'];
$('iframe#first_post_frame')[0].onload = function(){
$(document).ready(function(){
var html = $('iframe#first_post_frame').contents().find('#pun-main > div.topic > div.topicpost').html()
$('#pun-main > div.topic > div.toppost').before($('<div id="first_post" class="post topicpost">'+html+'</div>'));
$('iframe#first_post_frame')[0].onload = function(){return true;}
$('iframe#first_post_frame')[0].src = '';
});
}
}
</script>здесь обращаем внимание вот на такую строку
var first_post_key = '·';
Если она у вас часто используется в названии тем, то замените на другой каверзный символ или словосочетание
2)в форму ответа ставим эту часть
<script type="text/javascript">
if(location.href.indexOf('post.php')!=-1) {
var form = $('#post')[0];
$('<p class="checkfield"><input id="fld8" type="checkbox" name="req_first_post" /><label for="fld8">Закрепить первое сообщение</label></p>').appendTo($(form).find('fieldset')[0])
form.onsubmit = function(){
if(this.req_first_post.checked)
this.req_subject.value += ' '+first_post_key
if(process_form(this)){
return true;
}
else{
this.req_subject.value = this.req_subject.value.replace(' '+first_post_key,'');
return false;
}
}
}
</script>3)в хтмл-низ или в форму ответа идет вот эта часть
<script type="text/javascript">
first_post_key = ' '+first_post_key;
if(location.href.indexOf('viewtopic.php')!=-1) {
$('#pun-main h1 span').html($('#pun-main h1 span').html().replace(first_post_key,''))
$('#pun-crumbs1 p').html($('#pun-crumbs1 p').html().replace(first_post_key,''));
$('#pun-crumbs2 p').html($('#pun-crumbs2 p').html().replace(first_post_key,''));
}
else if(location.href.indexOf('edit.php')!=-1) {
var form = $('form#post')[0];
if(form.req_subject){
form.onsubmit = function(){
if(this.req_first_post.checked)
this.req_subject.value += ' '+first_post_key
if(process_form(this)){
return true;
}
else{
this.req_subject.value = this.req_subject.value.replace(' '+first_post_key,'');
return false;
}
}
$('<p class="checkfield"><input id="fld8" type="checkbox" name="req_first_post" '+(form.req_subject.value.indexOf(first_post_key)!= -1 ? 'checked="checked"' : '')+' /><label for="fld8">Закрепить первое сообщение</label></p>').appendTo($(form).find('fieldset > div'))
form.req_subject.value = form.req_subject.value.replace(first_post_key,'');
$('#pun-main h1 span').html($('#pun-main h1 span').html().replace(first_post_key,''))
$('#pun-crumbs1 p').html($('#pun-crumbs1 p').html().replace(first_post_key,''));
$('#pun-crumbs2 p').html($('#pun-crumbs2 p').html().replace(first_post_key,''));
}
else {
}
}
$(document).ready(function(){
var arr = $('a[href*="viewtopic.php"]');
for(i=0;i<arr.length;i++)
arr[i].innerHTML = arr[i].innerHTML.replace(first_post_key,"");
});
</script>чтобы как-то подукрасить это сообщение используйте селектор
#first_post.topicpost{css}/*или*/#first_post.post{css}баги



спасиб)