|
Quoted messages filtering
|
|
08-08-2008, 04:40 PM
Post: #1
|
|||
|
|||
|
Quoted messages filtering
Hello.
I'm writing plugin that adds several tags to myCode. One of this tags should allow leave moderator notes in user's posts, so that only another moderators could see it. For now this tags are processed correct on message displaying - only moderators can see it. But when any user replys such messge with "Reply" button on post, or with multiquoting from quick reply form or common message form I cannot find hot to truncate this tags and text inside. for example message is: Code: simple textWhat hooks should I use for filtering quoted texts? Thanks. |
|||
|
08-10-2008, 09:53 AM
Post: #2
|
|||
|
|||
|
RE: Quoted messages filtering
For the normal Reply, generally something like this:
PHP Code: $plugins->add_hook('newreply_end', 'mystuff');AJAX quoting is a little more difficult. I generally use something like this: PHP Code: $plugins->add_hook('xmlhttp', 'mystuff2');I'm not sure if it works on all servers though. |
|||
|
08-10-2008, 10:02 AM
Post: #3
|
|||
|
|||
|
RE: Quoted messages filtering
Thanks.
Will try your code. |
|||
|
« Next Oldest | Next Newest »
|
Search
Member List
Calendar
Help




