I am in need of a Drupal module which will enable all authenticated users to block other users. Like the feature in Facebook and Orkut.This feature is required for a social community networking website which all content (audio video photo document) uploads.
Please help me with a module or a easier way to start a custom module with out extra load on MySQL query.
Thanks in advance.
Thanks & Regards Vasanth Govind
I'm not sure if a module already exists to do this, but regarding the "extra load" whether you use an existing module or code your own, it is going to have to hit the database.
If you do end up needing to code this, it should be pretty straightforward. A table to hold users ignore preferences, and probably a db_rewrite_sql to make sure that node queries don't retrieve results authored by users who are in the current user's ignore list.
Actually, just googled "Drupal ignore module" and this came up: http://drupal.org/project/ignore_user Looks like what you want
On Mon, Dec 1, 2008 at 1:01 PM, Vasanth Govind govivasanth@gmail.comwrote:
I am in need of a Drupal module which will enable all authenticated users to block other users. Like the feature in Facebook and Orkut.This feature is required for a social community networking website which all content (audio video photo document) uploads.
Please help me with a module or a easier way to start a custom module with out extra load on MySQL query.
Thanks in advance.
Thanks & Regards Vasanth Govind
-- [ Drupal support list | http://lists.drupal.org/ ]
Thanks William Smith for your help, I am concerned about rewriting all the queries which involves selecting data ;- ( I need to revisit all the modules involved and recode it ?
On Mon, Dec 1, 2008 at 11:55 PM, William Smith william.darren@gmail.comwrote:
I'm not sure if a module already exists to do this, but regarding the "extra load" whether you use an existing module or code your own, it is going to have to hit the database.
If you do end up needing to code this, it should be pretty straightforward. A table to hold users ignore preferences, and probably a db_rewrite_sql to make sure that node queries don't retrieve results authored by users who are in the current user's ignore list.
Actually, just googled "Drupal ignore module" and this came up: http://drupal.org/project/ignore_user Looks like what you want
On Mon, Dec 1, 2008 at 1:01 PM, Vasanth Govind govivasanth@gmail.comwrote:
I am in need of a Drupal module which will enable all authenticated users to block other users. Like the feature in Facebook and Orkut.This feature is required for a social community networking website which all content (audio video photo document) uploads.
Please help me with a module or a easier way to start a custom module with out extra load on MySQL query.
Thanks in advance.
Thanks & Regards Vasanth Govind
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
No, you wouldn't need to recode all the modules that you use. db_rewrite_sql appends conditions to queries, so it would apply to everything and you would only need to put in one place.
But did you try the ignore_user module that I linked to? It seems like it would do exactly what you want. Here's the link again, just in case: http://drupal.org/project/ignore_user
On Mon, Dec 1, 2008 at 1:57 PM, Vasanth Govind govivasanth@gmail.comwrote:
Thanks William Smith for your help, I am concerned about rewriting all the queries which involves selecting data ;- ( I need to revisit all the modules involved and recode it ?
On Mon, Dec 1, 2008 at 11:55 PM, William Smith william.darren@gmail.comwrote:
I'm not sure if a module already exists to do this, but regarding the "extra load" whether you use an existing module or code your own, it is going to have to hit the database.
If you do end up needing to code this, it should be pretty straightforward. A table to hold users ignore preferences, and probably a db_rewrite_sql to make sure that node queries don't retrieve results authored by users who are in the current user's ignore list.
Actually, just googled "Drupal ignore module" and this came up: http://drupal.org/project/ignore_user Looks like what you want
On Mon, Dec 1, 2008 at 1:01 PM, Vasanth Govind govivasanth@gmail.comwrote:
I am in need of a Drupal module which will enable all authenticated users to block other users. Like the feature in Facebook and Orkut.This feature is required for a social community networking website which all content (audio video photo document) uploads.
Please help me with a module or a easier way to start a custom module with out extra load on MySQL query.
Thanks in advance.
Thanks & Regards Vasanth Govind
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
Ok Thanks,
Trying to use the ignore_user module.
Thanks & Regards Vasanth Govind
On Tue, Dec 2, 2008 at 1:24 AM, William Smith william.darren@gmail.comwrote:
No, you wouldn't need to recode all the modules that you use. db_rewrite_sql appends conditions to queries, so it would apply to everything and you would only need to put in one place.
But did you try the ignore_user module that I linked to? It seems like it would do exactly what you want. Here's the link again, just in case: http://drupal.org/project/ignore_user
On Mon, Dec 1, 2008 at 1:57 PM, Vasanth Govind govivasanth@gmail.comwrote:
Thanks William Smith for your help, I am concerned about rewriting all the queries which involves selecting data ;- ( I need to revisit all the modules involved and recode it ?
On Mon, Dec 1, 2008 at 11:55 PM, William Smith william.darren@gmail.comwrote:
I'm not sure if a module already exists to do this, but regarding the "extra load" whether you use an existing module or code your own, it is going to have to hit the database.
If you do end up needing to code this, it should be pretty straightforward. A table to hold users ignore preferences, and probably a db_rewrite_sql to make sure that node queries don't retrieve results authored by users who are in the current user's ignore list.
Actually, just googled "Drupal ignore module" and this came up: http://drupal.org/project/ignore_user Looks like what you want
On Mon, Dec 1, 2008 at 1:01 PM, Vasanth Govind govivasanth@gmail.comwrote:
I am in need of a Drupal module which will enable all authenticated users to block other users. Like the feature in Facebook and Orkut.This feature is required for a social community networking website which all content (audio video photo document) uploads.
Please help me with a module or a easier way to start a custom module with out extra load on MySQL query.
Thanks in advance.
Thanks & Regards Vasanth Govind
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]