MyBB-Plugins Forums

Full Version: Multiquote and quote help.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm working over a plugin where I'm supposed to replace post's content with my error when getting doing quick quote or either quoting through newreply.

I also tried to review the multiquote snippet from hideuntilpost plugin but it doesn't work.

Tried few other things as well, but not getting a clue. Any help would be a boon.

Thank you.
You need to explain yourself better please. You can use the xmlhttp hook to interact with the multi quote process or quick quote.
You can hook at parse_quoted_message,
Could you give me an example Omar if possible? That'd be great.

Thank you.
PHP Code:
$plugins->add_hook('parse_quoted_message''foo');
function 
foo(&$post)
{
    echo 
'<pre>';
    echo 
var_dump($post);
    echo 
'</pre>';
    exit;


$post holds the post subject, message, pid, tid, username, dateline, fid, visible status, userusername.