Сегодня: 18:12:2025 Доброй вам ночи!

I live ExBB and CMS Limbo!  I live ExBB and CMS Limbo!
Логин :
Пароль :
Регистрация?  Забыли пароль? 
 

Страниц (117): В начало « ... 46 47 48 49 [50] 51 52 53 54 ... » В конец

> Найдено сообщений: 1165
NordWest Отправлено: 19 марта 2017 — 11:53 • Тема: Назначение файлов • Форум: SMF Community

Ответов: 99
Просмотров: 55914
Calendar.php - This file contains functions used for displaying the calendar

CalendarMain - Loads the specified month's events, holidays, and birthdays.
calendarPost - Handles creating, modifying and deleting calendar events.
iCalDownload - Handles downloading event information in iCal format (for use with Google Calendar, etc.)
NordWest Отправлено: 19 марта 2017 — 11:51 • Тема: Назначение файлов • Форум: SMF Community

Ответов: 99
Просмотров: 55914
BoardIndex.php - The functions in this file are used to display the board index.

BoardIndex - Shows the boardindex.
CollapseCategory - This function collapses or expands a category.
NordWest Отправлено: 19 марта 2017 — 11:48 • Тема: Назначение файлов • Форум: SMF Community

Ответов: 99
Просмотров: 55914
Admin.php - Handles basic administration functions.

AdminHome() - Prepares all the data necessary for the administration front page.
AdminLogs() - Sets up an array with available log functions and loads the appropriate log based on the subaction.
AdminMain() - Initializes all the basic context required for the admin center.
AdminSearch() - Sets up all the relevant information for the Admin Search functions.
AdminSearchInternal() - Handles "internal" searching - searches for a task/setting.
AdminSearchMember() - Handles searching for members from the admin search form.
AdminSearchOM() - Searches the SMF Online Manual.
DisplayAdminFile() - Gets one of the admin information files from simplemachines.org.
'
NordWest Отправлено: 15 марта 2017 — 16:36 • Тема: Восстановление АКБ через заряд обратным током. • Форум: Ремонт электроники

Ответов: 0
Просмотров: 1162
По работе заряжал разряженные в ноль АКБ и случайно один подключил в обратной полярности. К моему удивлению ничего страшного не произошло - он зарядился, да ещё и ёмкость приличную набрал. Решил погуглить этот вопрос. Оказывается так люди АКБ восстанавливают, а я дурак пару месяцев назад на машину себе новый купил. Огорчение
NordWest Отправлено: 14 марта 2017 — 23:14 • Тема: Изменяем внешний вид цитаты. • Форум: ExBB Community

Ответов: 1
Просмотров: 1158
Открываем файл fm.class.php в котором ищем строки

PHP:
    while (preg_match("#\[(q|quote)(|=([^\[\]]+?))\](?!.*\[\\1(|=([^\[\]]+?))\])(.+?)\[/\\1\]#is", $string, $matches))
{
$title = ($matches[3] !== '') ? $matches[3].' пишет:':'Цитата:';
$string = str_replace($matches[0],"<div class=\"quotetop\">&nbsp;<b>{$title}</b></div><div class=\"quotemain\">{$matches[6]}</div>", $string);
}


которые меняем строками

PHP:
    while (preg_match("#\[(q|quote)(|=([^\[\]]+?))\](?!.*\[\\1(|=([^\[\]]+?))\])(.+?)\[/\\1\]#is", $string, $matches))
{
$title = ($matches[3] !== '') ? 'Цитата: '.$matches[3].' говорил...':'Цитата:';
$string = str_replace($matches[0],"<div class=\"quotetop\">&nbsp;<b>{$title}</b></div><blockquote>{$matches[6]}</blockquote>", $string);
}


Затем открываем таблицу стиля дефолтного шаблона, файл style.css в котором ищем строки

PHP:
.quotetop{
background: #E4EAF2 url(im/quote.gif) no-repeat right top;
border: 1px dotted #000;
border-bottom: 0;
border-left: 4px solid #8394B2;
color: #000;
font-weight: bold;
font-size: 10px;
margin: 2px auto 0 auto;
padding: 3px;
}

.quotemain{
background: #FAFCFE;
border: 1px dotted #000;
border-left: 4px solid #8394B2;
border-top: 0;
color: #465584;
padding: 4px;
margin: 0 auto 0 auto;
}


которые меняем строками

PHP:
.quotetop {color: #666; font-size: x-small; font-weight: bold; padding: 0 0.3em;}

blockquote {
background: none repeat scroll 0 0;
font-family: arial;
font-size: 12px;
font-style: italic;
line-height: 1.45;
padding: 15px 38px;
position: relative;
box-shadow: 0 1px 2px rgba(0,0,0,0.25), 0 0 10px rgba(0,0,0,0.1) inset;
}

blockquote:before{
position:absolute;
margin-top:-33px;
margin-left:-30px;
content:url('im/webof.png');
}


Ну и добавляем картинку булавки с именем webof.png в папку im

Вроде всё... В ближайшее время интегрирую на текущий форум.
NordWest Отправлено: 14 марта 2017 — 17:51 • Тема: Изменяем внешний вид цитаты. • Форум: ExBB Community

Ответов: 1
Просмотров: 1158
С недавноего времени стал раздражать внешний вид цитат в дефолтном шаблоне.



Буду переделывать к такому виду

NordWest Отправлено: 14 марта 2017 — 17:40 • Тема: ExBB и режим SAFE MODE • Форум: ExBB Community

Ответов: 1
Просмотров: 1285
Полностью победить SafeMode не удалось. Проблемы с доступом всё равно остались, но в целом перенос форумов в папку data всё равно дело полезное - вся база теперь в одном месте.
NordWest Отправлено: 13 марта 2017 — 22:22 • Тема: Анекдоты • Форум: Всё подряд

Ответов: 3
Просмотров: 1871
 Цитата от технарь:
Нет, чистка заключается в отрезании верхнего слоя
NordWest Отправлено: 13 марта 2017 — 22:17 • Тема: Новости дня • Форум: Всё подряд

Ответов: 276
Просмотров: 91258
Ага. И тебе того же.
Как дела, что на работе?
NordWest Отправлено: 12 марта 2017 — 21:45 • Тема: Новости дня • Форум: Всё подряд

Ответов: 276
Просмотров: 91258
Я пока занят - математику решаем...

Страниц (117): В начало « ... 46 47 48 49 [50] 51 52 53 54 ... » В конец

Powered by ExBB v1.1.180311