least quoting an post which is just above theirs.
Create a new plugin
Hook: postbit_display_complete
Code:
PHP Code:
if (THIS_SCRIPT == 'showthread' AND ($post['isfirstshown'] OR $post['islastshown']))
{
$show['multiquote_post'] = false; // disable multiquote button from last and first post
$post['replylink'] = false; // disable quote button from last and first post
}
I am looking for a mod to prevent users from quoting an article which is on the same page
its also possible with one extra line of code but you should not be doing this as this will prevent all users (from a group, if you usergroup condition) from quoting the post which is on same page.
But still here is the code for it (don't add this with previous code)
PHP Code:
$npshowing = $_GET['pp'] ? intval($_GET['pp']) : $this->registry->options['maxposts'];
if (THIS_SCRIPT == 'showthread' AND ($post['postcount'] < $npshowing OR $post['islastshown']))
{
$show['multiquote_post'] = false;
$post['replylink'] = false;
}