форум vBSupport.ru > Камчатка > Спец-раздел
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'а физически не в состоянии проверять все стили, хаки и нули, выкладываемые пользователями.
Помните: безопасность Вашего проекта - Ваша забота.
Убедительная просьба: при обнаружении уязвимостей или сомнительных кодов обязательно отписывайтесь в теме хака/стиля
Спасибо за понимание
 
 
 
 
Криветко
Простоузер
Default Вставка ника в форму быстрого ответа и цитирование выделенного текста 3.8.1
0

вот мы доделывали под себя, кому надо пользуйтесь

Code:
Вставка ника в форму быстрого ответа и цитирование выделенного текста 
vB 3.8.1
---------
Скрипт собран по кускам из разных мест и доделан нами под 3.8.1 :)
Хак у нас нормлаьно работает со всеми формами ответа и с расширенной (WYZIWYG) тоже!
---------

В самый конец файла clientscript\vbulletin_quick_reply.js дописать след. код:
===================================================

// Цитата выделенного текста и ник в ответ - Начало
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(); } 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; } } function insertnick(nickname) { 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'); } ot += vB_Editor[QR_EditorID].wysiwyg_mode?'<b>' + nickname + '</b>, ':'' + nickname + ', '; vB_Editor[QR_EditorID].check_focus(); vB_Editor[QR_EditorID].write_editor_contents(ot, false); } // Цитата выделенного текста и ник в ответ - Конец =================================================== Сохранить файл. =================================================== Найти в шаблоне postbit_legacy: =================================================== <div id="postmenu_$post[postid]" align="center" style="padding: 8px 0 8px 0;"> <if condition="$show['profile']"> <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a> <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script> <else /> $post[musername] </if> </div> =================================================== И заменить на: =================================================== <div align="center" style="padding: 8px 0 8px 0;"> <if condition="$show['quickreply']"> <a class="bigusername" href="javascript:insertnick('$post[username]');" title="Ник в ответ">$post[musername]</a> <else /> <a class="bigusername">$post[musername]</a> </if> <a id="postmenu_$post[postid]"> <img src="$stylevar[imgdir_misc]/menu_open.gif" alt="меню пользователя $post[username]" border=0 /> <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script></a> </div> =================================================== Найти: =================================================== <tr> <td class="thead">$post[username]</td> </tr> =================================================== Заменить на: =================================================== <tr> <td class="thead">Меню пользователя $post[musername]</td> </tr> =================================================== Найти: =================================================== <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div> =================================================== И ниже добавить: =================================================== <if condition="$show['quickreply']"> <a href="javascript:Insert('$post[username]', selection, '$post[postid]')" onMouseOver="catchSelection()" title="Выделить текст и кликнуть здесь" class="smallfont"><b>Цитата выделенного</b></a> </if> =================================================== Готово....
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
outlander
Специалист
 
outlander's Avatar
Default
0

А в чем отличие от других хаков?
 
 
Криветко
Простоузер
Default
0

чето криво код скопировался... а где кнопка редактировать????????

прикрепляю файл тогда!
Attached Files
File Type: zip nick_in_quickreply_and_quote_selected_vb3.8.1.zip (1.6 KB, 26 views)
 
 
Криветко
Простоузер
Default
0

Quote:
Originally Posted by outlander View Post
А в чем отличие от других хаков?
понятия не имею, мы сделали чтобы работало под 3.8.1 и с формой WYZIWYG тоже...
если такое есть, то пусть модераторы тему удалят..
 
 
O'Neil
Продвинутый
 
O'Neil's Avatar
Default
1

Есть такой хак от керка.Он находится в разделе для 3.6.х, но хаку абсолютно параллельно на какую версию становиться
 
 
outlander
Специалист
 
outlander's Avatar
Default
0

Quote:
Originally Posted by O'Neil View Post
Есть такой хак от керка
И не только от Керка. От Аптекаря тоже есть
 
 
SeM13
Знаток
 
SeM13's Avatar
Default
0

Хммм, если бы он еще работал в определенных разделах было бы гуд +1 а так уже есть. не нужно.
 
 
Dragster
Знаток
 
Dragster's Avatar
Default
0

Quote:
Originally Posted by SeMu13 View Post
Хммм, если бы он еще работал в определенных разделах было бы гуд +1 а так уже есть. не нужно.
Что мешает условие поставить на ID разделов нужных? О_о
Или ты про цитирование выделенного текста например в ЛС? =)))
 


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 07:02 AM.


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