## MOD Author: Disturbed One < anthony@anthonycoy.com > (Anthony Coy) http://www.hvmdesign.com
## MOD Author: AL Tnen <al_tnen@hotmail.com> (N/A) http://www.tnen.zzn.com
## MOD Description: This MOD adds lots of useful BBCode features and makes the bbcode buttons
## look just like Microsoft Office 2003. It also improves the functions of
## phpBB's BBCode function. It adds the bbcode exactly where the cursor is,
## inserts smilies where the cursor is, and adds more ways to customize posts.
## The MOD is very fast loading, and is a sleek addition to your phpBB bulletin board.
## MOD Version: 5.0.0a
## Files To Edit: (4)
## language/lang_english/lang_main.php
## includes/bbcode.php
## templates/subSilver/bbcode.tpl
## templates/subSilver/posting_body.tpl
## Author Notes:
##
## This MOD has been handed over to me (Disturbed One) by
## permission from the old MOD author (AL Tnen).
##
## Please do not remove the copyright notice located on the box
## without permission from me.
##
## The new version makes this MOD compatible with the newest
## version of phpBB. This is the first new update since this MOD
## was built for phpBB v2.0.3.
##
## This version adds new features compared to its last version
## like BBCode insert at the cursor, and on selected text. Also some
## BBCode security issues were fixed. For a complete list of BBCode
## this MOD has, please read below.
##
## - Font Type (Dropdown Shows Actual Preview of Font)
## - Font Size (Dropdown Shows Actual Preview of Size)
## - Font Color (Dropdown Features New Colors, and Preview)
## - Justify Align
## - Left Align
## - Center Align
## - Right Align
## - Superscript
## - Subscript
## - Bold
## - Italic
## - Underline
## - Strikethrough
## - Text Fade (IE Only)
## - Text Gradient (IE Only)
## - Message Box Align Left (Traditional)
## - Message Box Align Right (Arabic, etc)
## - Marquee Down
## - Marquee Up
## - Marquee Left
## - Marquee Right
## - Code
## - Quote
## - Spoiler (User must click on link to review text within tags)
## - Hyperlink Wizard
## - Email Wizard
## - Include Webpage Wizard (Adds Iframe that displays page specified by user)
## - Image Wizard
## - Flash Wizard
## - Streaming Video Wizard
## - Streaming Audio Wizard
## - RAM Wizard (Real Media Audio)
## - Ordered List Wizard
## - Unordered List Wizard
## - Line Break
## - Remove BBCode (Removes all BBCode tags from selected text)
## - Close Tags (Closes remaining open tags)
Скачать
http://phpbbhacks.com/download/1059
У меня просьба подсказать... у меня стоял сперва мод
MOD Title: Multiple BBCode MOD
MOD Version: 1.4.0c
... ставил я его для того чтоб прикрутить
MOD Title: Moderator Tags
MOD Version: 1.3.0
... вот а щас я прикрутил сабж.. вообщем пытался как то совместить эти вещи, но у меня не получилось

Т.е. теперь кнопашка модератор тег не пашет ... и все кнопки на моей
MOD Title: Extended Quick Reply Form
MOD Version: 3.0.2
тоже не работают.. т.е. нажимаю, а код не вставляется...
... Подскажите как лучше совместить эти моды ...
И второй вопрос по сабжевому моду...
Хочу удалить слдующие теги:
Message Box Align Left (traditional)
- Message Box Align Right (Arabic, etc.)
- Marquee Down
- Marquee Up
- Marquee Left
- Marquee Right
- Include Webpage Wizard (adds iframe that displays page specified by user)
- Streaming Audio Wizard
- RAM Wizard (Real Media audio)
-
Хочу переделать значение тегам:
[sizе=10]текст[/size] =
[align=center]текст[/align] = [center]текст[/center] и [c]текст[/c]
[quоte]текст[/quote] = [q]текст[/q]
И еще такой вопросик вот эта подсказка, как ее вниз определить, а то вверху ей не место ...
[q]Подсказка: Можно быстро применить стили к выделенному тексту[/q]
Буду благодарен хотябы за частичную помощь .. щас тоже буду в этом направлении работать, о результатах буду сообщать ... (но по первому вопросу надеюсь на помощь больше всего ...)
Добавлено спустя 5 часов 22 минуты 2 секунды:
Собсно это легко:
Сделал.... т.е. еще раз прошелся по инструкции и удалил упоминание об этих функциях... можно просто в постинг.тпл удалить, тогда теги будут работать но не будут видны ... (я полностью удалил..)Хочу удалить слдующие теги:
Message Box Align Left (traditional)
- Message Box Align Right (Arabic, etc.)
- Marquee Down
- Marquee Up
- Marquee Left
- Marquee Right
- Include Webpage Wizard (adds iframe that displays page specified by user)
- Streaming Audio Wizard
- RAM Wizard (Real Media audio)
-- зачеркнутый текст
По поводу моего вопроса а том что нопки на MOD Title: Extended Quick Reply Form, MOD Version: 3.0.2 не хотят работать.... я тут пытался кое-что сделать... и увидел что в quick_reply.tpl исползуется конструкция:
Код: Выделить всё
.
.
.
<td><input type="button" class="button" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width:30px" onClick="bbstyle(0)" /></td>
<td><input type="button" class="button" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width:30px" onClick="bbstyle(2)" /></td>
<td><input type="button" class="button" accesskey="u" name="addbbcode4" value=" u " style="text-decoration: underline; width:30px" onClick="bbstyle(4)" /></td>
<td><input type="button" class="button" accesskey="q" name="addbbcode6" value="Quote" style="width:50px" onClick="bbstyle(6)" /></td>
<td><input type="button" class="button" accesskey="c" name="addbbcode8" value="Code" style="width:40px" onClick="bbstyle(8)" /></td>
<td><input type="button" class="button" accesskey="l" name="addbbcode10" value="List" style="width:40px" onClick="bbstyle(10)" /></td>
<td><input type="button" class="button" accesskey="o" name="addbbcode12" value="List=" style="width:40px" onClick="bbstyle(12)" /></td>
<td><input type="button" class="button" accesskey="p" name="addbbcode14" value="Img" style="width:40px" onClick="bbstyle(14)" /></td>
<td><input type="button" class="button" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width:40px" onClick="bbstyle(16)" /></td>
.
.
.
...
Добавлено спустя 20 минут 8 секунд:
Ага ... с квик реплаем я разобрался:
В файле quick_reply.tpl добавить:
<script language="JavaScript" type="text/javascript" src="mods/bbcode_box/bbcode_box.js"></script>
И указанную конструкцию изменить по такой аналогии
Это:
Код: Выделить всё
<td><input type="button" class="button" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width:30px" onClick="bbstyle(0)" /></td>
Заменить на
Код: Выделить всё
<td><input type="button" class="button" accesskey="b" name="bold" value=" B " style="font-weight:bold; width:30px" onClick="BBCbold()" /></td>
Таксс... потихоньку продвигаемся

Добавлено спустя 5 часов 20 минут 54 секунды:
Ребз.. я решил быть более последовательным... щас все переделал... много вопрсоов отпало ... одна проблема сохоанилась:
проблема с posting_body.tpl, в браузере пишется что страница открылась с ошибкой (в ИЕ желтый треугльник с воскл. знаком)
Я посмотрел свой еррор.лог (сервак под апачем) пишет:
Код: Выделить всё
[Thu Jun 08 21:37:38 2006] [warn] [client 10.0.17.141] mod_include: Options +Includes (or IncludesNoExec) wasn't set, INCLUDES filter removed, referer: http://0.0.0.0/forum/viewtopic.php?t=21
Вот