The website is for sale. Check here for more information.
This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.
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
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
Reply



  • View a Printable Version


Users browsing this thread: 1 Guest(s)

About MyBB-Plugins

Plug Yourself into the best MyBB AddOn.

Copyright © 2009-2021 MyBB-Plugins Forums.

Statistics

  • 51,000+ Posts
  • 19,000+ Members
  • 3,600+ Threads

Impressed? For sure
Check Full Stats here