Благодарим за выбор нашего сервиса!
Тестовое сообщение
Страница: 1
Сообщений 1 страница 7 из 7
Поделиться22019-02-22 22:38:45
Код:
<!-- Мгновенные уведомления © Alex_63, 2019 --> <link rel="stylesheet" type="text/css" href="http://forumfiles.ru/f/ru/bestbb/notifications.css" /> <script type="text/javascript" src="http://forumfiles.ru/f/ru/bestbb/notifications.js"></script> <script type="text/javascript"> notifications.token = 'bc665eb172a82ef13e877f7efd4167e34fb028e5'; // Forum token notifications.key = 'lrhu2qqzfh47'; // Subscription key </script>
Поделиться32019-02-22 22:51:33
Код:
<script type="text/javascript">
notifications.addTemplate('warning', {
title: 'Предупреждение модератора',
url: '/profile.php?section=fields&id' + UserID,
html: '<span>{GROUP} <a href="/profile.php?id={USER_ID}">{USERNAME}</a> выдал Вам предупреждение:'
+ '<br /><span class="msg-preview">{TEXT}</span></span>'
});
if (~document.URL.indexOf('/profile.php?section=fields') && GroupID < 3) $(document).pun_mainReady(function() {
var id = document.URL.match(/id=(\d+)/)[1],
mark = sessionStorage.getItem('profile_' + id);
fld = $('#profile8 #fld2'),
val = $.trim(fld.val());
if (mark && mark.length) {
sessionStorage.removeItem('profile_' + id);
notifications.add(id, 'warning', {
user_id: UserID,
username: UserLogin,
avatar: UserAvatar,
group: GroupID - 1 ? 'Модератор' : 'Администратор',
text: mark
});
}
$(document).on('submit', '#profile8', function() {
var newVal = $.trim(fld.val());
if (newVal && newVal != val) sessionStorage.setItem('profile_' + id, newVal);
});
});
</script>Поделиться42019-02-23 01:25:23
Код:
<!-- Всплывающее окно цитирования -->
<div id="Bubble"><span><a href="javascript:quote('', 0)">Цитировать</a></span></div>
<script>
var fresh = false;
$('.post-content').mouseup(function(pos) {
var theSelection = '';
if (window.getSelection && !$.browser.opera) { theSelection = window.getSelection().toString(); }
else if (document.getSelection) { theSelection = document.getSelection(); }
else if (document.selection) { theSelection = document.selection.createRange().text; }
if (!(theSelection == '' || typeof theSelection == 'undefined' || theSelection == null) && !(fresh))
{
$("#Bubble").css({ 'position': 'absolute', 'left': pos.pageX+'px', 'top': (pos.pageY-13)+'px', 'display': 'none' });
$("#Bubble span").html($(this).parents(".post").find("li.pl-quote").html())
.find("a").attr("href", 'javascript:$("#'+this.id.split("-")[0]+'").find(".pl-quote a")[0].click()');
$("#Bubble").fadeIn(200);
fresh = true;
}
else if (fresh)
{ fresh = false; }
});
$('.post').mousedown(function() {
if (fresh) { $("#Bubble:visible").hide(200); fresh = false;}
});
$('#Bubble span').click(function() {
$('#Bubble').hide(200);
fresh = false;
});
</script>Поделиться52019-02-24 00:29:16
Код:
<!-- Мгновенные уведомления © Alex_63, 2019 --> <link rel="stylesheet" type="text/css" href="http://forumfiles.ru/f/ru/bestbb/notifications.css" /> <script type="text/javascript" src="http://forumfiles.ru/f/ru/bestbb/notifications.js"></script> <script type="text/javascript"> notifications.token = 'ee84a67940f9a463d91360bad5267ba812a35adc'; // Forum token notifications.key = 'x2r036wyzh47'; // Subscription key </script>
Поделиться62019-02-27 20:08:05
Код:
<!-- Мгновенные уведомления © Alex_63, 2019 --> <link rel="stylesheet" type="text/css" href="http://forumfiles.ru/f/ru/bestbb/notifications.css" /> <script type="text/javascript" src="http://forumfiles.ru/f/ru/bestbb/notifications.js"></script> <script type="text/javascript"> notifications.token = '22f433d83a13793b0fdc828907c700a99413cf99'; // Токен форума notifications.key = 'rlx11mpoyj47'; // Ключ подписки </script>
Поделиться72019-10-20 13:28:07
Администрирование - Настройки, поле Объявление (добавить в конец, после того кода, что там есть)
Код:
</div>
</div>
</div>
<div id="pun-debug" class="section">
<h2><span>Популярные новости</span></h2>
<div class="container" style="padding:.4em .6em">
<div class="html-box">
<div id="popular-topics"></div>Администрирование - Настройки, поле HTML верх (или HTML низ, не принципиально)
Код:
<!-- Популярные новости. Alex_63 © 2019 -->
<script type="text/javascript">
window.PopularTopics = {};
PopularTopics.numberView = 5; // количество отображаемых из самых популярных
PopularTopics.numberSimilar = 5; // количество похожих тем
PopularTopics.container = '#popular-topics'; // селектор для подгрузки
PopularTopics.cacheTime = 60; // интервал кеширования (в минутах, по умолчанию 1 час = 60 минут)
PopularTopics.key = 'bu3beixot5'; // ключ активации скрипта
</script>
<link rel="stylesheet" type="text/css" href="http://forumfiles.ru/f/su/qpf/popular_topics.css?1" />
<script type="text/javascript" src="http://forumfiles.ru/f/su/qpf/popular_topics.js"></script>Страница: 1