<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged block-user</title>
<link>https://www.question2answer.org/qa/tag/block-user</link>
<description>Powered by Question2Answer</description>
<item>
<title>Hello, how can users, block other users? This option is needed,</title>
<link>https://www.question2answer.org/qa/104816/hello-how-can-users-block-other-users-this-option-is-needed</link>
<description>So how can users block other user, so they cannot see posts of other user?</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/104816/hello-how-can-users-block-other-users-this-option-is-needed</guid>
<pubDate>Fri, 18 Nov 2022 10:25:40 +0000</pubDate>
</item>
<item>
<title>Select users in bulk to block or approve or delete?</title>
<link>https://www.question2answer.org/qa/73327/select-users-in-bulk-to-block-or-approve-or-delete</link>
<description>We have lots of spam users. We want to block and delete them in bulk. Is there any option for the same?</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/73327/select-users-in-bulk-to-block-or-approve-or-delete</guid>
<pubDate>Mon, 11 Mar 2019 09:01:51 +0000</pubDate>
</item>
<item>
<title>Tip: List all blocked users from Phpmyadmin and how to remove all block flags</title>
<link>https://www.question2answer.org/qa/59661/tip-list-all-blocked-users-from-phpmyadmin-remove-block-flags</link>
<description>

&lt;p&gt;Could be handy for some, since there is no core feature:&amp;nbsp;&lt;/p&gt;

&lt;p&gt;1. Open phpmyadmin, go to your qa table, qa_users, click on &quot;SQL&quot;&lt;/p&gt;

&lt;p&gt;2. Insert:&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;SELECT userid,handle,flags FROM `qa_users` WHERE (flags &amp;amp; 2) = 2&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;A list of all block users shows up.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;I just used a little script to remove all block flags from my users. Code is like this:&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;$blockedusers =&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;qa_db_read_all_assoc(&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;qa_db_query_sub('&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;SELECT userid, handle, flags&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;FROM `qa_users`&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;')&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;);&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;foreach($customers as $user)&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;{&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;// remove flag by passing false&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;qa_db_user_set_flag($user['userid'], QA_USER_FLAGS_USER_BLOCKED, false);&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;echo '&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;&amp;lt;p&amp;gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;Removed block flag from userid: '.$user['userid'].' | handle: '.$user['handle'].'&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;';&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;}&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;exit();&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;Sorry for the ugly formatting but the q2a forum still does not offer syntax embedding or alike :/&amp;nbsp;&lt;/p&gt;

&lt;p&gt;Probably this is easier to read:&amp;nbsp;&lt;a href=&quot;https://codepaste.net/ooc1jw&amp;nbsp;&quot; rel=&quot;nofollow&quot;&gt;https://codepaste.net/ooc1jw&amp;nbsp;&lt;/a&gt;&lt;/p&gt;</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/59661/tip-list-all-blocked-users-from-phpmyadmin-remove-block-flags</guid>
<pubDate>Thu, 14 Sep 2017 08:26:12 +0000</pubDate>
</item>
<item>
<title>Completely block user</title>
<link>https://www.question2answer.org/qa/55980/completely-block-user</link>
<description>Hi me again&lt;br /&gt;
When moderators block someone the blocked user can enter and change him describtion, delete self messages etc but i don't want this &lt;br /&gt;
When someone blocked user forced to logout and never enter again to website with that account&lt;br /&gt;
If user try enter the login get error &amp;quot;you are blocked you can't enter&amp;quot;&lt;br /&gt;
&lt;br /&gt;
It can be happen?</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/55980/completely-block-user</guid>
<pubDate>Wed, 25 Jan 2017 12:13:09 +0000</pubDate>
</item>
<item>
<title>Feature Request: Temporarily block a user with a notice</title>
<link>https://www.question2answer.org/qa/42038/feature-request-temporarily-block-a-user-with-a-notice</link>
<description>Many time it happens that some good users start to spam our sites and there is no way to stop them other then to permanently block them or delete them. &lt;br /&gt;
It would be nice to have a system in which we block a user for a day, in which if he tries to access his account then a notice will be shown that he/she cannot access the account for a day due to some of their unhealthy task for site. And then after a day that block automatically get removed. &lt;br /&gt;
If the same user does it twice the he can be blocked for a week after that blocking for two weeks and finally permanent block. &lt;br /&gt;
&lt;br /&gt;
With this an administrator request area can also be there where the user can talk to admin and if he promises that he won't do it again the his block can be revoked. (I do not want to use feedback from for admin request, feedback is totally for another scenario). &lt;br /&gt;
&lt;br /&gt;
This kind of a system is there in vbulletin and it attracted me so I am sharing and requesting for such a feature in q2a.</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/42038/feature-request-temporarily-block-a-user-with-a-notice</guid>
<pubDate>Mon, 08 Dec 2014 12:38:10 +0000</pubDate>
</item>
<item>
<title>blocked user are still show to public</title>
<link>https://www.question2answer.org/qa/32502/blocked-user-are-still-show-to-public</link>
<description>User or ip address which i blocked still being index by goolge and still being seen by public. is this a bug.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
if i block someone it should not been seem by anyone as hole point of blocking someone is not just alowing them to post but also stop them.</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/32502/blocked-user-are-still-show-to-public</guid>
<pubDate>Mon, 03 Mar 2014 09:26:01 +0000</pubDate>
</item>
<item>
<title>Is they edit user black or approve or add in admin panel.</title>
<link>https://www.question2answer.org/qa/16337/is-they-edit-user-black-or-approve-or-add-in-admin-panel</link>
<description>hi, Is they anyway to check all users, edit they details, approve or block users. also can it be block user for like 30 days and then give them access to site again.</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/16337/is-they-edit-user-black-or-approve-or-add-in-admin-panel</guid>
<pubDate>Mon, 02 Jul 2012 07:37:44 +0000</pubDate>
</item>
</channel>
</rss>