Hello There, Guest! › Register

MySubscriptions 2.2 released.
Looking for a custom plugin for your site? Ask here for a quote.

Multiquote and quote help.
#1

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.
Reply
#2

You need to explain yourself better please. You can use the xmlhttp hook to interact with the multi quote process or quick quote.
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.
Reply
#3

You can hook at parse_quoted_message,
Support PM's will be ignored. Exclamation
Plugins: Announcement Bars - Custom Reputation - Mark PM As Unread
Reply
#4

Could you give me an example Omar if possible? That'd be great.

Thank you.
Reply
#5

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.
Support PM's will be ignored. Exclamation
Plugins: Announcement Bars - Custom Reputation - Mark PM As Unread
Reply




Users browsing this thread: 1 Guest(s)