Quick Quotes, Quick post edit, Quick post delete
Plugin forum plus
The plugin adds to forums pages the following options:
-Fast insert posrer’s nick in the reply form
-Quote selection text without reloading the page
-Quote whole post without reloading the page, if there is no selected text
-Quick-edit messages without reloading the page
-Quick-delete messages without reloading the page
-Includes a reply form on every page.
All options are set individually in the admin panel.
Если чуть-чуть модернизировать функцию QuotSel , то в цитату будет добавлена ссылка на сообщение-источник:
function QuotSel(name, quoteid, textareaname)
{
var txt = GetSel();
var txtid = trim($('#'+quoteid).text());
if (txt=='' || !(txtid.indexOf(txt) + 1))
{
txt = txtid;
}
postid = (quoteid.slice(5));
txt='[quote='+name+']'+ '[url=forums.php?m=posts&id='+ postid +']#'+ postid + '[/url]\n\n' + txt + '[/quote]' + '\n\n';
$('textarea[name='+textareaname+']').focus();
$.markItUp({
replaceWith:txt
});
return false;
}
Totaal: 10, op pagina: 10
Bedankt: 76 tijden