Topic: [Request] Disable post count for a particular forum

I am asking if it is possible for a particular forum to be unable to accumulate posts of a user whenever they post within it. For example we wish to create a spam type of forum where anything goes, but we do not wish for these posts to added to the users individual post counts.

I apolygise if this should of been within the feature requests forum, but I am looking for an extension sooner rather than later in an updated version of PunBB.

I did attempt to search before posting this, but no results within the PunBB 1.3 search criteria.

Thanks in advance.

Re: [Request] Disable post count for a particular forum

I've been looking for the same addon.

Re: [Request] Disable post count for a particular forum

not really suitable for a core addition. But it my be possible via an extension.

my mind is on a permanent tangent
byUsers forum

4

Re: [Request] Disable post count for a particular forum

There was skip post counting extension for fluxbb (I think it sould work with punbb also), but download links don't work. I had this extension installed on my fluxbb forum, so I packed it into zip and uploaded to my server:
http://pun.fluxbb.pl/download_extension … unting.zip

5 (edited by KeyDog 2009-03-08 16:44)

Re: [Request] Disable post count for a particular forum

just installed , but couldn't find that it changed any settings... when I click on edit a forum it looks as usual - maybe i'm missing something? any screeshot of what it looks like in admin area?


this is that extensions code btw

<?xml version="1.0" encoding="UTF-8"?>
 
<extension engine="1.0">
    <id>db_skip_post_counting</id>
    <title>Skip Post Counting</title>
    <version>1.1.0</version>
    <description>Disable post count increments for users / forum totals on specific forums.</description>
    <author>DollarBill (Greg)</author>
    <minversion>1.3 Beta</minversion>
    <maxtestedon>1.3 Beta</maxtestedon>
    <install>
        <![CDATA[
            if (defined('EXT_CUR_VERSION')) {
                if (EXT_CUR_VERSION == '1.0.0')
                    $forum_db->add_field('forums', 'skip_post_counting_t', 'tinyint(1)', false, 0, 'last_post');
            }
            else {
                $forum_db->add_field('forums', 'skip_post_counting', 'tinyint(1)', false, 0, 'last_post');
                $forum_db->add_field('forums', 'skip_post_counting_t', 'tinyint(1)', false, 0, 'last_post');
            }
            
        ]]>
    </install>
    <uninstall>
        <![CDATA[
            $forum_db->drop_field('forums', 'skip_post_counting');
            $forum_db->drop_field('forums', 'skip_post_counting_t');
        ]]>
    </uninstall>
 
    <hooks>    
        <hook id="po_qr_get_forum_info"><![CDATA[
                $query['SELECT'] .= ', f.skip_post_counting';
        ]]></hook>    
        <hook id="po_qr_increment_num_posts"><![CDATA[        
            $query['WHERE'] .= ' AND '.$cur_posting['skip_post_counting'].'=0';
            
        ]]></hook>    
        <hook id="in_qr_get_post_stats"><![CDATA[
                $query['WHERE'] = 'f.skip_post_counting_t=0';
        ]]></hook>    
        <hook id="afo_start"><![CDATA[        
            require $ext_info['path'].'/lang/'.$forum_user['language'].'.php';    
        ]]></hook>
        <hook id="afo_qr_get_forum_details"><![CDATA[        
            $query['SELECT'] .= ', f.skip_post_counting, f.skip_post_counting_t';
        ]]></hook>
        <hook id="afo_edit_forum_details_end"><![CDATA[        
            ?>
                    <fieldset class="frm-group">
                        <legend><span><?php echo $lang_skip_post_counting['Count posts user question'] ?></span></legend>
                        <div class="radbox frm-choice">
                            <label for="fld<?php echo ++$forum_page['fld_count'] ?>">
                            <input type="checkbox" id="fld<?php echo $forum_page['fld_count'] ?>" name="skip_post_counting" value="1"<?php if ($cur_forum['skip_post_counting']) echo ' checked="checked"';?> />
                            </label>
                        </div>
                    </fieldset>
                    <fieldset class="frm-group">
                        <legend><span><?php echo $lang_skip_post_counting['Count posts total question'] ?></span></legend>
                        <div class="radbox frm-choice">
                            <label for="fld<?php echo ++$forum_page['fld_count'] ?>">
                            <input type="checkbox" id="fld<?php echo $forum_page['fld_count'] ?>" name="skip_post_counting_t" value="1"<?php if ($cur_forum['skip_post_counting_t']) echo ' checked="checked"';?> />
                            </label>
                        </div>
                    </fieldset>
            <?php
        ]]></hook>    
        <hook id="afo_save_forum_form_submitted"><![CDATA[        
                $skip_post_counting = (isset($_POST['skip_post_counting'])) ? 1 : 0;
                $skip_post_counting_t = (isset($_POST['skip_post_counting_t'])) ? 1 : 0;
        ]]></hook>    
        <hook id="afo_qr_update_forum"><![CDATA[        
                $query['SET'] .= ', skip_post_counting='.$skip_post_counting.', skip_post_counting_t='.$skip_post_counting_t;
        ]]></hook>        
    </hooks>
</extension>

Re: [Request] Disable post count for a particular forum

I've been wondering about hiding post count all together, I have ekarma installed, so a user would be looked at by that instead of posts. so really, a user is being looked at by the content he posts.

not disabling post count, just hiding it.

Re: [Request] Disable post count for a particular forum

daris wrote:

There was skip post counting extension for fluxbb (I think it sould work with punbb also), but download links don't work. I had this extension installed on my fluxbb forum, so I packed it into zip and uploaded to my server:
http://pun.fluxbb.pl/download_extension … unting.zip

Dead link, anyone still got it?

Or an equivilient

8

Re: [Request] Disable post count for a particular forum

punbb.informer.com/forums/post/145837/#p145837
It's an addon for punbb1.2 but it should also work with 1.3. wink