IDsaya
Вроде всё верно,
Поставьте такой код:
<script type="text/javascript">
$().pun_mainReady(function() {
var ForumsArray = [12,13,14,15]; //Перечисляем ID форумов замены
if($('#pun-viewforum').length && ForumsArray.indexOf(+$('#pun-main > .forum').attr('ID').split('forum_f')[1])!=-1){
$('#pun-viewforum .postlink .new-topic > a').html('Jasa/Jual Sesuatu') //Новая тема
$('#pun-viewforum .postlink .new-poll > a').html('Jasa/Jual dengan Poll') //Новый Опрос
$('#pun-viewforum #pun-main .forum table thead th.tc1').html('Produk / Jasa') //Тема
$('#pun-viewforum #pun-main .forum table thead th.tc2').html('Testimoni') //Ответов
$('#pun-viewforum #pun-main .forum table thead th.tc3').html('Produk/Jasa Dilihat') //Просмотров
$('#pun-viewforum #pun-main .forum table thead th.tcr').html('Penawaran') //Последнее сообщение
}
if($('#pun-viewtopic').length && ForumsArray.indexOf(+$('#pun-crumbs1 > .crumbs a[href*="/viewforum.php?id="]')[0].href.split('?id=')[1])!=-1){
$('#pun-viewtopic .postlink > span > a[href*="/post.php?tid="]').html('Tulis Testimoni atau Tanya Tentang Produk') //Ответить
}
});
</script>
<script type="text/javascript">
$().pun_mainReady(function() {
var ForumsArray = [38]; //Перечисляем ID форумов замены
if($('#pun-viewforum').length && ForumsArray.indexOf(+$('#pun-main > .forum').attr('ID').split('forum_f')[1])!=-1){
$('#pun-viewforum .postlink .new-topic > a').html('Write a Story') //Новая тема
$('#pun-viewforum .postlink .new-poll > a').html('Story With Polll') //Новый Опрос
$('#pun-viewforum #pun-main .forum table thead th.tc1').html('All Stories') //Тема
$('#pun-viewforum #pun-main .forum table thead th.tc2').html('Comments') //Ответов
$('#pun-viewforum #pun-main .forum table thead th.tc3').html('Views') //Просмотров
$('#pun-viewforum #pun-main .forum table thead th.tcr').html('Last Comment') //Последнее сообщение
}
if($('#pun-viewtopic').length && ForumsArray.indexOf(+$('#pun-crumbs1 > .crumbs a[href*="/viewforum.php?id="]')[0].href.split('?id=')[1])!=-1){
$('#pun-viewtopic .postlink > span > a[href*="/post.php?tid="]').html('Give Your Comment') //Ответить
}
});
</script>Если не работает, дайте ссылку на страницу видную гостю, либо киньте тестовый Ник-пароль в личку (Ссылка) и ссылку на страницу - чтобы увидеть - понять в чём проблема
Отредактировано Deff (Пн, 14 Ноя 2022 21:51:51)

