No, you wouldn&#39;t need to recode all the modules that you use.&nbsp; db_rewrite_sql appends conditions to queries, so it would apply to everything and you would only need to put in one place.<br><br>But did you try the ignore_user module that I linked to?&nbsp; It seems like it would do exactly what you want.<br>
Here&#39;s the link again, just in case: <a href="http://drupal.org/project/ignore_user">http://drupal.org/project/ignore_user</a><br><br><div class="gmail_quote">On Mon, Dec 1, 2008 at 1:57 PM, Vasanth Govind <span dir="ltr">&lt;<a href="mailto:govivasanth@gmail.com">govivasanth@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Thanks William Smith for your help,<div>&nbsp;I am concerned about&nbsp;rewriting&nbsp;all the queries which involves selecting data ;- (</div>
<div>I need to revisit all the modules involved and recode it ?</div><div><div></div><div class="Wj3C7c"><div><br>
<br><br><div class="gmail_quote">On Mon, Dec 1, 2008 at 11:55 PM, William Smith <span dir="ltr">&lt;<a href="mailto:william.darren@gmail.com" target="_blank">william.darren@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

I&#39;m not sure if a module already exists to do this, but regarding the &quot;extra load&quot; whether you use an existing module or code your own, it is going to have to hit the database.<br><br>If you do end up needing to code this, it should be pretty straightforward.&nbsp; A table to hold users ignore preferences, and probably a db_rewrite_sql to make sure that node queries don&#39;t retrieve results authored by users who are in the current user&#39;s ignore list.<br>


<br>Actually, just googled &quot;Drupal ignore module&quot; and this came up: <a href="http://drupal.org/project/ignore_user" target="_blank">http://drupal.org/project/ignore_user</a><br>Looks like what you want<br><br><div class="gmail_quote">

<div><div></div><div>
On Mon, Dec 1, 2008 at 1:01 PM, Vasanth Govind <span dir="ltr">&lt;<a href="mailto:govivasanth@gmail.com" target="_blank">govivasanth@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div><div></div><div>
I am in need of a Drupal module which will enable all&nbsp;authenticated&nbsp;users to block other users. Like the feature in Facebook and Orkut.<div>This feature is required for a social community networking website which all content (audio video photo document) uploads.<br>



</div><div><br></div><div><br></div><div>Please help me with a module or a easier way to start a&nbsp;custom&nbsp;module with out extra load on MySQL query.</div><div><br></div><div>Thanks in advance.</div><div><br></div><div><br>


<div>
<br clear="all">Thanks &amp; Regards<br>Vasanth Govind<br><br>
</div></div>
<br></div></div>--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br></blockquote></div><br>
<br>--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br></blockquote></div><br></div>
</div></div><br>--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br></blockquote></div><br>