Форум системных администраторов

Misc => О форуме => Тема начата: Fray от 15 октября 2010, 10:17:06

Название: Внесенные изменения в форум, модификации
Отправлено: Fray от 15 октября 2010, 10:17:06
Название: Re: Внесенные изменения в форум, модификации
Отправлено: Fray от 13 ноября 2010, 13:55:18
Добавлено: WYSIWYG Quick Reply v. 2.1

Цитировать
Для версии SMF 2.0 RCx нашелся довольно свежий мод WYSIWYG Quick Reply. По сути он делает тоже самое. Установив его, я столкнулся с небольшими трудностями – перестала работать фича "обратиться по нику" и фича “цитировать выделенное” (мод dQuoteSelection). Оказалось, все просто, нужно зайти в

    * Конфигурация
    * Темы оформления
    * Настройки пользователя
    * Настройки принятые по умолчанию для гостей и новых пользователей
    * Выберите тип формы быстрого ответа

И там выбрать пункт “НЕ WYSIWYG (с BBс кнопками и смайлами)”. И тогда вышеназванные моды заработают, ура!)
Название: Re: Внесенные изменения в форум, модификации
Отправлено: Fray от 25 ноября 2010, 13:39:22
Добавлено: YouTube_BBCode_v2.6

http://custom.simplemachines.org/mods/index.php?mod=936

Цитировать
Mod Name:
YouTube BBCode
Created By:
Nao 尚
Type:
New Feature
First Created:
September 11, 2007, 11:40:47 PM
Last Modified:
August 13, 2010, 04:30:31 AM
Latest Version:
2.6
Compatible With:
1.1.8, 1.1.10, 1.1.11, 2.0 RC1, 2.0 RC1.2, 2.0 RC2, 2.0 RC3




Добавлено: Moderator and Administrator Comment Tags

http://custom.simplemachines.org/mods/index.php?mod=2104

Цитировать
This mod adds three tags - [admin], [gmod] and [mod] - to the system which provide the ability for moderators and administrators to add comments clearly delineated as such.

All three are permission controlled; you can give out each button to any user group independently; for example you may have co-admins who are effectively admins without them having the 'administrate forum' permission, and this would allow you to grant it to them.

Groups who are not authorised to use these tags cannot do so and the tags are removed if they attempt to use them.

Название: Re: Внесенные изменения в форум, модификации
Отправлено: Fray от 21 декабря 2010, 08:59:57
Добавлено:
Кнопки "Опубликовать" в Facebook и ВКонтакте.

В файле Display.Template.php ищем строку:

// Show the lower breadcrumbs.

Перед ней добавляем:

echo '<div style="float:left; width:140px;margin:0; padding:0; vertical-align: middle;">
<script type="text/javascript" src="http://vkontakte.ru/js/api/share.js?9" charset="utf8"></script><script type="text/javascript"><!--
document.write(VK.Share.button(false,{type: "round", text: "Опубликовать"}));
--></script></div>';
echo '<div style="float:left;">
<iframe src="http://www.facebook.com/plugins/like.php?href=', $scripturl, '?topic=', $context['current_topic'], '&amp;layout=button_count&amp;show_faces=false&amp;width=150&amp;action=like&amp;font=trebuchet+ms&amp;colorscheme=light&amp;height=30" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:150px; height:30px;" allowTransparency="true"></iframe></div>';

UPD: переделано с помощью сервиса http://www.addthis.com ;)
Название: Re: Внесенные изменения в форум, модификации
Отправлено: Fray от 13 января 2011, 11:43:08
Установлены моды VB Style BoardIndex 1.5 для RC3, Google Analytics Code 1.1
Название: Re: Внесенные изменения в форум, модификации
Отправлено: Fray от 27 января 2011, 08:38:50
Установлен мод Inline Hover Spoiler BB Code

Скрытый текст.

Установлен мод Spoiler BBCode 1.1.3 

Спойлер для Пример:
Пример
Название: Re: Внесенные изменения в форум, модификации
Отправлено: Fray от 06 февраля 2011, 10:39:41
Установлено: TopFirstPost - Мод закрепления сообщения

Сообщение закрепляется не с первой попытки, но закрепляется ;)

Цитировать
Закрепляется с первой, просто не обновляется что то сразу. Вы закрепите, перейдите в другую тему а затем вернитесь, и все будет закреплено.


ДЛЯ ТОГО ЧТОБЫ ЗАКРЕПИТЬ ИЛИ ОТКРЕПИТЬ СООБЩЕНИЕ НУЖНО: ОДИН РАЗ НАЖАТЬ НА КНОПКУ ЗАКРЕПИТЬ/ОТКРЕПИТЬ И ПОДОЖДАТЬ! НАЖИМАТЬ КНОПКУ НЕСКОЛЬКО РАЗ НЕ НАДО!
Название: Re: Внесенные изменения в форум, модификации
Отправлено: Fray от 07 февраля 2011, 21:05:02
Установлены два мода глобальных нотификаций/объявлений:

Yet Another Global Announcements Mod (YAGAM)
Цитировать
Features:
o You can create unlimited global announcements.
o Support BBCODE and Smileys , with the powerful SMF WYSIWYG Editor
o You can allow comments for every announcement.
o Select in what board`s the announcement will appear or just select all the boards
o Set Permission for each announcement , based on membergroups
o Layout of the announcement as a normal topic.
o Simple and friendly admin panel for all the global announcements.
o You can enable/disable every announcement.
o Permission to manage and comment announcements.
o You can convert an announcement into a Topic, you choose the board and if the topic is sticky and locked.
    o Optionally you can convert the announcement's comments into replies of the new topic.
o You can convert a Topic into an Announcement and the replies into comments.
o Announcement Log, you can easily see who viewed the announcement.   
o Support for the Linktree.
o Support for the Who is online list , 'Viewing a Global Announcement'.
o Nice layout for the MessageIndex with a bar for the Global Announcements and another bar for the normal topics.
o Announcement Settings with some little options.
o Sort option based on the same Topic Sort options with subject , views and replies. Desc and Asc are supported.
o Force users to Read an Announcement if he didn't saw the announcement.
o Member Color Link Mod Support on MessageIndex and Announcement.
o SSI Functions with Announcement 'ssi_announcement(5)' and random announcement 'ssi_random_announcement()'.
o Easy manual installation , you can manually install the db with the db_yagam.php and the modifications with yagam_manual_edit.html.
o You will have an empty error log.
o Much more, a lot of interesting features.


Global Forum Message
Цитировать
Description:

This will give you the oppurtinity to create a global message or announcement for your forum which will be displayed in index page, footer or both.
The add on is fully configured at Admin->Panel->Modification Settings->Global Forum Message. You can use html and smileys in your message. You can choose which groups will see the message oe announcement too.
This can be done at Permissions->Usergroup->Modify. Below General you will see a new permission, View global forum message. There you can set the permissions acccordingly for each group.
Название: Re: Внесенные изменения в форум, модификации
Отправлено: Fray от 02 марта 2011, 14:04:48
Установлен мод Highslide BBCode and Image Viewer
Название: Re: Внесенные изменения в форум, модификации
Отправлено: Fray от 05 мая 2011, 16:13:37
Добавлено: отправка сообщений по Ctrl+Enter



Open GenericControls.template.php, find:
<textarea class="editor" name="', $editor_id, '" id="', $editor_id, '" rows="', $editor_context['rows'], '" cols=" ', $context['browser']['is_ie8'] ? '600' : $editor_context['columns'], '" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" onchange="storeCaret(this);" tabindex="', $context['tabindex']++, '" style="width: ', $editor_context['width'], '; height: ', $editor_context['height'], '; ', isset($context['post_error']['no_message']) || isset($context['post_error']['long_message']) ? 'border: 1px solid red;' : '', '">', $editor_context['value'], '</textarea>
replace with:
<textarea class="editor" name="', $editor_id, '" id="', $editor_id, '" rows="', $editor_context['rows'], '" cols=" ', $context['browser']['is_ie8'] ? '600' : $editor_context['columns'], '" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" onchange="storeCaret(this);" tabindex="', $context['tabindex']++, '" style="width: ', $editor_context['width'], '; height: ', $editor_context['height'], '; ', isset($context['post_error']['no_message']) || isset($context['post_error']['long_message']) ? 'border: 1px solid red;' : '', '" onkeypress="if(event.keyCode==10 || (event.ctrlKey && event.keyCode==13)) {submit();}">', $editor_context['value'], '</textarea>

Then open Display.template.php, find:
<textarea cols="75" rows="7" style="', $context['browser']['is_ie8'] ? 'max-width: 100%; min-width: 100%' : 'width: 100%', '; height: 100px;" name="message" tabindex="', $context['tabindex']++, '"></textarea>
replace with:
<textarea cols="75" rows="7" style="', $context['browser']['is_ie8'] ? 'max-width: 100%; min-width: 100%' : 'width: 100%', '; height: 100px;" name="message" tabindex="', $context['tabindex']++, '" onkeypress="if(event.keyCode==10 || (event.ctrlKey && event.keyCode==13)) {submit();}"></textarea>

Open Modifications.english.php and paste to end:
// Ctrl+Enter for Quick/Full reply form
$txt['shortcuts'] =  'shortcuts: hit ctrl+enter to submit/post or alt+p to preview';
$txt['shortcuts_firefox'] = 'shortcuts: hit ctrl+enter to submit/post or shift+alt+p to preview';

Open Post.english.php and paste to end too:
// Ctrl+Enter for Quick/Full reply form
$txt['shortcuts'] =  'shortcuts: hit ctrl+enter to submit/post or alt+p to preview';
$txt['shortcuts_firefox'] = 'shortcuts: hit ctrl+enter to submit/post or shift+alt+p to preview';



Взято отсюда - http://www.simplemachines.org/community/index.php?topic=412538.0
Название: Re: Внесенные изменения в форум, модификации
Отправлено: Fray от 04 июля 2011, 09:48:16
http://custom.simplemachines.org/mods/index.php?mod=1193

Цитировать
Mod Name:
Ignore Topics
Created By:
Project Evolution


Цитировать
Adds the ability to ignore individual topics for the purposes of RecentPosts/Recent/UnreadReplies/Unread sections of SMF.

Ignored Topics will still be shown as usual on the BoardIndex/MessageIndex and the topic itself viewable as normal.
Neither will it affect any notifications.
Название: [РЕШЕНО] Внесенные изменения в форум, модификации
Отправлено: Fray от 18 октября 2011, 09:30:22
http://custom.simplemachines.org/mods/index.php?mod=1752

SMF Topic Prefix Mod - PostPrefix Mod
Название: Внесенные изменения в форум, модификации
Отправлено: Fray от 18 октября 2011, 10:11:29
http://custom.simplemachines.org/mods/index.php?mod=1601

Topic Solved

This mod adds the feature of marking a topic solved or unsolved. You can select the boards this feature to be active. It includes solve own topic and any topic permissions. It also has quick moderation option when selectboxes are used and topic solved log, which can be viewed both from Admin Logs are and Moderation Center.
Название: Внесенные изменения в форум, модификации
Отправлено: Fray от 20 октября 2011, 08:52:07
Off-Topic BBC Tag

http://custom.simplemachines.org/mods/index.php?mod=1458

Off-Topic:
Вот так вот
Название: Внесенные изменения в форум, модификации
Отправлено: Fray от 11 ноября 2011, 10:06:13
http://custom.simplemachines.org/mods/index.php?mod=2518

Highslide 4 SMF (HS4SMF)

Цитировать
Introduction
This modification adds the highslide lightbox effect to images and attachments in your post.
===
Highslide JS is licensed under a Creative Commons Attribution-Non Commercial 2.5 License. This means you must get the author's permission to use Highslide JS on commercial websites. Highslide

Original mods
Based on the mods and ideas in :
- "Integrate Lightbox" (by karlbenson - [url]http://custom.simplemachines.org[/url])
- "Highslide Image Viewer" (by digger - [url]http://custom.simplemachines.org[/url])

Features
o Shows a full-size image in a nice picture frame when the user clicks a thumbnail or attachment
o Auto size images to fit browser window, with option to expand to full size with scrollbars
o Slideshow for images on page
o Prev/Next with arrow keys
o Works for thumbnails from Postimage, Imageshack, Photobucket, iPicture, Radikal, Keep4u, Xs and Fotosik. (Some support ported from digger's highslide viewer mod)


Название: Внесенные изменения в форум, модификации
Отправлено: Fray от 18 ноября 2011, 12:49:35
RSS Feed Icon for boards -> http://custom.simplemachines.org/mods/index.php?mod=376

Exclude boards from RSS feeds -> http://custom.simplemachines.org/mods/index.php?mod=3186
Название: Внесенные изменения в форум, модификации
Отправлено: Fray от 29 ноября 2011, 22:56:29
http://www.simplemachines.ru/index.php?topic=44.msg95245#msg95245

Auto Merge Double Posts

Updated: 29 Ноябрь 2011, 23:56:37
Вот так ^^^

Удалено нафиг.

Сделано руками:

 Основная задача - объединять идущие подряд сообщения одного пользователя в теме, если разница между их написанием меньше определенного строка. Объединение происходит при добавлении сообщения.

Для организации мода нужно добавить в /Sources/Post.php после:

// No need!
$context['robot_no_index'] = true;

Добавить:

//Auto-merge doublepost

// $vars = print_r($_POST,TRUE);
// $fh = fopen('debug.txt', 'w');
// fwrite($fh, $vars);
// fclose($fh);

if (!isset($_POST['additional_options']) && !$_POST['preview']){
 $request = $smcFunc['db_query']('', '
   SELECT id_member, poster_time, id_msg, icon, body
   FROM {db_prefix}messages
   WHERE id_topic = ' . intval($_REQUEST['topic']) . '
   ORDER BY id_msg DESC
   LIMIT 1'
 );
     
 $row_last = $smcFunc['db_fetch_assoc']($request);
 
 $smcFunc['db_free_result']($request);
 
 if ($user_info['id'] == $row_last['id_member'] and (time() - $row_last['poster_time']) < 84600){
   
   $row_last['body'] = str_replace("<br />", "\n", $row_last['body']);
   
   $_REQUEST['msg'] = $row_last['id_msg'];
   
   $_POST['message'] = un_htmlspecialchars($row_last['body']) . "\n\n[hr][size=1][color=green][b]Updated: " . date("d F Y, H:i:s") . "[/b][/color][/size][hr]\n\n" . $_POST['message'];
   
   $_POST['icon'] = $row_last['icon'];
     
  }
}
Название: Внесенные изменения в форум, модификации
Отправлено: Fray от 08 февраля 2012, 09:07:45
Быстрое java цитирование

Display.Template.php

// Can they reply? Have they turned on quick reply?
if ($context['can_quote'] && !empty($options['display_quick_reply']))
echo '
<li class="quote_button"><a href="', $scripturl, '?action=post;quote=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';last_msg=', $context['topic_last_message'], '" onclick="return oQuickReply.quote(', $message['id'], ');">', $txt['quote'], '</a>&nbsp;&nbsp;<img src="', $settings['images_url'], '/quote2.png" alt="Quote" style="cursor:pointer; cursor:hand;" onclick="quote_selection(\'', $message['member']['name'], '\', \'', 'topic=', $context['current_topic'],'.msg', $message['id'],'#msg', $message['id'], '\', \'', time(), '\')" /></li>';

script.js bottom

// quote

function quote_selection(char_name, post_link, post_date)
{
selection = document.getSelection ? document.getSelection() : document.selection.createRange().text;

if (selection != '')
{
document.postmodify.message.value += '[quote author=' + char_name + ' ' + 'link=' + post_link + ' ' + 'date=' + post_date + ']' + selection + '[/quote]\n';
}
else
{
alert('Select text on the page and try again');
return;
}
window.location.hash = '#quickreply';
}
Название: Внесенные изменения в форум, модификации
Отправлено: Fray от 09 октября 2012, 10:11:45
http://custom.simplemachines.org/mods/index.php?mod=2637

New Topic in Different Color

(http://img842.imageshack.us/img842/5282/97210732.png)

This modification will show new posts in different colors in boards,rather than just showing new icon next to them.

* Удалено из-за ядерного бушприта.
Название: Внесенные изменения в форум, модификации
Отправлено: Fray от 11 октября 2012, 10:22:47
http://custom.simplemachines.org/mods/index.php?mod=2083

This mod watermark attached images. Images will be watermarked on-the-fly, without any changes of original files.
Название: Внесенные изменения в форум, модификации
Отправлено: Fray от 11 октября 2012, 10:36:33
http://custom.simplemachines.org/mods/index.php?mod=864

Mod Name:
Bookmarks

Features:
One-click adding of bookmarks
User friendly interface for managing bookmarks
Automatically delete bookmarks when the topic they link to is deleted.

[attach=1]
Название: Внесенные изменения в форум, модификации
Отправлено: Fray от 11 октября 2012, 11:02:10
http://custom.simplemachines.org/mods/index.php?mod=1890

Mod Name:
Good Post/Bad Post Mod

Description
This Mod will add post voting to your forum in a user-moderated fashion. The outcome is a bit of help to the forum moderators, with the nice extra that it resembles democracy a little. It gives members and moderators a general idea of who's a worthy poster and who isn't.
Название: Внесенные изменения в форум, модификации
Отправлено: Fray от 13 февраля 2013, 08:10:21
http://custom.simplemachines.org/mods/index.php?mod=3627

Search Topic And Board Button v1.0
This Mod add "Search This Topic" And "Search This Board" Button in Display.template.php and MessageIndex.template.php


http://custom.simplemachines.org/mods/index.php?mod=1634

Description:
This mod adds a dropdown to the search field at the top of the page, similar to the one on the official SMF community forum.
When viewing a topic, the dropdown options will be "this topic" (default), "this board", "entire forum", or "Google".
When viewing a board, the dropdown options will be "this board" (default), "entire forum", or "Google".
On any other page, the dropdown options will be "entire forum" (default) or "Google".
Название: Внесенные изменения в форум, модификации
Отправлено: Fray от 09 апреля 2014, 11:39:27
Встраивание coub

В display.template.php после // Show the post itself, finally! добавить

$message['body'] = preg_replace('/<a.*?>http:\/\/(?:www\.|)coub\.com\/view\/(\w )<\/a>/i', '<iframe src="http://coub.com/embed/$1?muted=false&autostart=false&originalSize=false&hideTopBar=false&noSiteButtons=false&startWithHD=false" allowfullscreen="true" frameborder="0" width="640" height="400"></iframe>', $message['body']);
Название: Внесенные изменения в форум, модификации
Отправлено: Fray от 15 ноября 2016, 09:26:22
Установлен мод для подсветки кода:

http://custom.simplemachines.org/mods/index.php?mod=2925
Название: Внесенные изменения в форум, модификации
Отправлено: Fray от 29 ноября 2023, 00:38:18
Цитировать
Здравствуйте, Иванов Сергей

В период с 00:00 до 05:00 01.12.2023 (по московскому времени), будут проводиться плановые работы по модернизации сетевой инфраструктуры.

В период проведения работ может наблюдаться временная недоступность ресурсов, расположенных на серверах.