открываем public\js\shoutbox.js
спускаемся в самый низ видим там такие строчки:
//Event.stop(); } });
заменяем все это действо на:
//Event.stop(); }, /* * Insert Nickname to editor */ addTextToEditor: function(text) { var val = ''; if (text == null) { return false; } if ( ipshoutbox.global_on ) { $('shoutbox-global-shout').focus(); ipshoutbox.insertAtCursor(text); } else { ipb.textEditor.getEditor().insert(text, false); } } });сохраняем заливаем, дальше идем
admin\applications_addon\other\shoutbox\xml\shoutbox_root_templates.xml
открываем. и топаем в строку 496
в той строчке видим:
<if test="$this->settings['shoutbox_show_photos']"><td style='width: 1%; white-space: nowrap;'>{$d['photo']}</td></if> заменяем на:
<if test="$this->settings['shoutbox_show_photos']"><td style='width: 1%; white-space: nowrap;'><a onclick='return ipshoutbox.addTextToEditor("[b]{$d['members_display_name']}, [/b]");'>{$d['photo']}</a></td></if>перекешируем шаблоны и бинго!
проделано было в 3.2.3
версия shoutbox 1.2.5
Сообщение изменено: Fil (22 Декабрь 2011 - 13:50)






Отправлено 22 Декабрь 2011 - 13:46



