форум vBSupport.ru > vBulletin > Вопрос — Ответ
Register Меню vBsupport Изображения Files Manager О рекламе Today's Posts Search
  • Родная гавань
  • Блок РКН снят
  • Premoderation
  • For English speaking users
  • Каталог Фрилансеров
  • If you want to buy some product or script
  • Администраторам
VBsupport перешел с домена .ORG на родной .RU Ура! Пожалуйста, обновите свои закладки - VBsupport.ru
Блок РКН снят, форум доступен на всей территории России, включая новые терртории, без VPN
На форуме введена премодерация ВСЕХ новых пользователей

Почта с временных сервисов, типа mailinator.com, gawab.com и/или прочих, которые предоставляют временный почтовый ящик без регистрации и/или почтовый ящик для рассылки спама, отслеживается и блокируется, а так же заносится в спам-блок форума, аккаунты удаляются
for English speaking users:
You may be surprised with restriction of access to the attachments of the forum. The reason is the recent change in vbsupport.org strategy:

- users with reputation < 10 belong to "simple_users" users' group
- if your reputation > 10 then administrator (kerk, Luvilla) can decide to move you into an "improved" group, but only manually

Main idea is to increase motivation of community members to share their ideas and willingness to support to each other. You may write an article for the subject where you are good enough, you may answer questions, you may share vbulletin.com/org content with vbsupport.org users, receiving "thanks" equal your reputation points. We should not only consume, we should produce something.

- you may:
* increase your reputation (doing something useful for another members of community) and being improved
* purchase temporary access to the improved category:
10 $ for 3 months. - this group can download attachments, reputation/posts do not matter.
20 $ for 3 months. - this group can download attachments, reputation/posts do not matter + adds eliminated + Inbox capacity increased + files manager increased permissions.

Please contact kerk or Luvilla regarding payments.

Important!:
- if your reputation will become less then 0, you will be moved into "simple_users" users' group automatically.*
*for temporary groups (pre-paid for 3 months) reputation/posts do not matter.
Уважаемые пользователи!

На форуме открыт новый раздел "Каталог фрилансеров"

и отдельный раздел для платных заказов "Куплю/Закажу"

Если вы хотите приобрести какой то скрипт/продукт/хак из каталогов перечисленных ниже:
Каталог модулей/хаков
Ещё раз обращаем Ваше внимание: всё, что Вы скачиваете и устанавливаете на свой форум, Вы устанавливаете исключительно на свой страх и риск.
Сообщество vBSupport'а физически не в состоянии проверять все стили, хаки и нули, выкладываемые пользователями.
Помните: безопасность Вашего проекта - Ваша забота.
Убедительная просьба: при обнаружении уязвимостей или сомнительных кодов обязательно отписывайтесь в теме хака/стиля
Спасибо за понимание
 
 
 
 
avpro
Простоузер
Default Благодарность и 2 вопроса
0

Огромное спасибо всем, кто тащит этот непростой форум. Нашел почти все, что нужно через поиск. Чего и всем начинающим советую!!! Там есть ВСЕ!!! Только желание найти нужно!!!
А вот и вопросы:
1 - возможно ли сделать так, чтобы на главной странице отражались только основные разделы, а подразделы открывались только на следующей странице? В поиске этого я не нашел
2 - люди очень просят сделать цитирование с выделением в быстром ответе, так как многие еще на Dial-Up сидят

ЗЫ. ну вот сейчас опять в открытый поиск пошлют...

Добавлено через 4 часа 51 минуту
Quote:
Originally Posted by avpro View Post
Огромное спасибо всем, кто тащит этот непростой форум. Нашел почти все, что нужно через поиск. Чего и всем начинающим советую!!! Там есть ВСЕ!!! Только желание найти нужно!!!
А вот и вопросы:
1 - возможно ли сделать так, чтобы на главной странице отражались только основные разделы, а подразделы открывались только на следующей странице? В поиске этого я не нашел
Первую проблему решил сам! В админке...
Quote:
Originally Posted by avpro View Post
2 - люди очень просят сделать цитирование с выделением в быстром ответе, так как многие еще на Dial-Up сидят

ЗЫ. ну вот сейчас опять в открытый поиск пошлют...
А вот с этим мне самому никак не разобраться! Хелп мне нуна...

Last edited by avpro : 09-26-2007 at 12:43 AM. Reason: Добавлено сообщение
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
Sellrion
Kernel panic
 
Sellrion's Avatar
Default
0

Quote:
Originally Posted by avpro View Post
Хелп мне нуна...
В конец файла vbulletin_quick_reply.js добавь:
Code:
function Insert(nickname, text, postnb)
{
    if (text != "")
       { paste("
Quote:
Originally Posted by + nickname + ";" + postnb +
" + text + "
\n", 0); vB_Editor[QR_EditorID].wysiwyg_mode ? '' : document.vbform.message.focus(); } else {alert('Ìû âîçäóõ íå öèòèðóåì!');} } function paste(text) { vB_Editor[QR_EditorID].check_focus(); var ot = vB_Editor[QR_EditorID].get_editor_contents(); if(ot == '<br />' || ot == '<br>' || ot == '<BR>' || ot == '<P>&nbsp;</P>' || ot == '&nbsp;' || ot == '<BR />' || ot == '<br>' || ot == '<b></b>' || ot == '<b></b><br>' || ot == '<P></P>') { ot = ''; } if(ot != '') { ot += (vB_Editor[QR_EditorID].wysiwyg_mode?'<br>':'\n'); } vB_Editor[QR_EditorID].write_editor_contents(ot + text, false); } function get_selection() { if (document.getSelection) { selection = document.getSelection(); selection = selection.replace(/\r\n\r\n/gi, "_doublecaret_"); selection = selection.replace(/\r\n/gi, " "); while (selection.indexOf(" ") != -1) selection = selection.replace(/ /gi, ""); selection = selection.replace(/_doublecaret_/gi, "\r\n\r\n"); } else selection = document.selection.createRange().text; } function catchSelection() { if (window.getSelection) { selection = window.getSelection().toString(); } else if (document.getSelection) { selection = document.getSelection(); } else if (document.selection) { selection = document.selection.createRange().text; } }
Далее в шаблоне postbit_legacy в участок кода controls добавь:
HTML Code:
<if condition="$show['quickreply'] AND !$show['threadedmode']">
   <a href="javascript:Insert('$post[username]', selection, '$post[postid]')" onMouseOver="catchSelection()"><img src="$stylevar[imgdir_button]/quote_selected.gif" alt="$vbphrase[quote_selected]" border="0" /></a>
  </if>
And be done with it!

Добавлено через 2 минуты
Quote:
Originally Posted by Sell View Post
В конец файла vbulletin_quick_reply.js добавь:
Эм прошу прощения (я не могу редактировать свои посты) код должен выглядеть так:
[code]function Insert(nickname, text, postnb)
{
if (text != "")
{ paste("[quote=" + nickname + ";" + postnb + "]" + text + "[/quote]\n", 0);
vB_Editor[QR_EditorID].wysiwyg_mode ? '' : document.vbform.message.focus();
}
else {alert('Сообщение об ошибке');}
}
function paste(text)
{
vB_Editor[QR_EditorID].check_focus();
var ot = vB_Editor[QR_EditorID].get_editor_contents();
if(ot == '<br />' || ot == '<br>' || ot == '<BR>' || ot == '<P>&nbsp;</P>' || ot == '&nbsp;' || ot == '<BR />' || ot == '<br>' || ot == '<b></b>' || ot == '<b></b><br>' || ot == '<P></P>')
{
ot = '';
}
if(ot != '')
{
ot += (vB_Editor[QR_EditorID].wysiwyg_mode?'<br>':'\n');
}
vB_Editor[QR_EditorID].write_editor_contents(ot + text, false);
}
function get_selection()
{
if (document.getSelection)
{
selection = document.getSelection();
selection = selection.replace(/\r\n\r\n/gi, "_doublecaret_");
selection = selection.replace(/\r\n/gi, " ");
while (selection.indexOf(" ") != -1) selection = selection.replace(/ /gi, "");
selection = selection.replace(/_doublecaret_/gi, "\r\n\r\n");
}
else
selection = document.selection.createRange().text;
}
function catchSelection()
{
if (window.getSelection)
{
selection = window.getSelection().toString();
}
else if (document.getSelection)
{
selection = document.getSelection();
}
else if (document.selection)
{
selection = document.selection.createRange().text;
}
}[/code]

Last edited by Sellrion : 09-26-2007 at 08:37 AM. Reason: Добавлено сообщение
 
 
avpro
Простоузер
Default
0

Сделал все как ты написал. Не пашет чего-то! Я понимаю так - навыделял кусков в постах с Control, скопировал и вставил в окно, а прога добавила имена постеров. остается только реплики вписать. У меня не получилось! v 3.6.4.
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT +4. The time now is 04:07 PM.


Powered by vBulletin® Version 3.0.12
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.