Topic: Ignoring individual users?

Is there a way to ignore/block an individual user so there posts won't appear?

Re: Ignoring individual users?

http://fluxbb.org/forums/topic/836/exte … nore-user/

Sorry. Unactive due to personal life.

Re: Ignoring individual users?

hello, i try this with punbb v1.3.2 it's not work....... could someone fixed this code neutral

4

Re: Ignoring individual users?

istanto wrote:

hello, i try this with punbb v1.3.2 it's not work....... could someone fixed this code neutral


*bump*

Re: Ignoring individual users?

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 wink

Thanks

Sometimes too much to drink is barely enough.
Mark Twain

Re: Ignoring individual users?

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

Re: Ignoring individual users?

Also see this discussion...

http://punbb.informer.com/forums/post/148801/#p148801