Topic: Ignoring individual users?
Is there a way to ignore/block an individual user so there posts won't appear?
You are not logged in. Please login or register.
PunBB Forums → Feature requests → Ignoring individual users?
Is there a way to ignore/block an individual user so there posts won't appear?
http://fluxbb.org/forums/topic/836/exte … nore-user/
hello, i try this with punbb v1.3.2 it's not work....... could someone fixed this code
hello, i try this with punbb v1.3.2 it's not work....... could someone fixed this code
*bump*
ignore user would be very useful because it adds some self regulation on heated discussions. People could ignore a user rather than "slaughtering" each other.
I do not understand why it says "discussion" after the extension request. I can't see this discussion helping to find or request that extension. Unfortunately, I am not a programmer... Hopefully one of the developers will see the request and will make us all the long awaited present
Thanks
I get this error with the ext mentioned above
Notice: Undefined index: ignore_user_id in /home/.../viewtopic.php(532) : eval()'d code on line 135
these are my lines 130-140 in viewtopic.php
if (!$forum_user['is_guest'] && $forum_config['o_subscriptions'] == '1')
{
$query['SELECT'] .= ', s.user_id AS is_subscribed';
$query['JOINS'][] = array(
'LEFT JOIN' => 'subscriptions AS s',
'ON' => '(t.id=s.topic_id AND s.user_id='.$forum_user['id'].')'
);
}
($hook = get_hook('vt_qr_get_topic_info')) ? eval($hook) : null;
this is the manifest.xml code of ext that regards the above
<hooks>
<hook id="vt_qr_get_posts"><![CDATA[
// Hook code here
$query['SELECT'] .= ',iu.ignore_user_id as ignore_user_id';
$query['JOINS'][] =array(
'LEFT JOIN' => 'ignore_users AS iu',
'ON' => 'p.poster_id = iu.ignore_user_id AND iu.user_id ='.$forum_user['id']);
]]></hook>
if GarciaT or someone can take a closer look?
the code
manifest
ignore_funcs.php
Also see this discussion...
PunBB Forums → Feature requests → Ignoring individual users?
Powered by PunBB, supported by Informer Technologies, Inc.