hi all,
i am working on a plugin. i do not want to show some pots of a specific user on thread.
for example on thread id 1 , "The dicussion" , there are posts by many users.
one user uid = 3 is junk posting.
how to do not show posts by this user on the thread via plugin?
what change is required to alter the query?
here is my sample code? now what to do
i am surprised, no answer yet, even no any team member, no any developer has added some words......
i think official team members can add some thing regarding such type developement.. as we are newbie and no any help available.
i am working on a plugin. i do not want to show some pots of a specific user on thread.
for example on thread id 1 , "The dicussion" , there are posts by many users.
one user uid = 3 is junk posting.
how to do not show posts by this user on the thread via plugin?
what change is required to alter the query?
here is my sample code? now what to do
$plugins->add_hook("showthread_start", "user_thread_edit");
$plugins->add_hook("postbit", "user_thread_edit");
function user_thread_edit(&$post){
if($post['uid'] == '3' ){
#logic to edit the query loading forum posts for thread.
}
}
i am surprised, no answer yet, even no any team member, no any developer has added some words......
i think official team members can add some thing regarding such type developement.. as we are newbie and no any help available.
With Regards and many thanks.
------------------------------------------
------------------------------------------