Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'approval'

Viewing 12 results - 201 through 212 (of 212 total)
  • Author
    Search Results
  • #55025
    _ck_
    Participant

    If you are just trying to filter out spam bots, try my Human Test:

    https://bbpress.org/plugins/topic/human-test/

    Someone would have to explain the need for registration approval to me before I would bother making such a plugin.

    #63652
    cmaujean
    Member

    Most of this code was taken directly from the bbsync plugin (I’ve attempted to remove need for configuration, and some of the bbsync functionality/flexibility).

    There are really truly NO errors logged anywhere for this.

    here is my plugin in it’s entirety:

    define('CRBBFORUMID', 1);

    function cr_post($post_id) {
    global $bbdb, $wpdb, $current_user;

    require (dirname(__FILE__) . '/../../bbpress/config.php');
    // get the post
    $post = wp_get_single_post( $post_id );

    if(!$current_user) {
    return;
    }
    bb_set_current_user($current_user->ID);

    $post_title = $bbdb->escape($post->post_title);

    $bb_topic_arr = get_post_meta($post_id, 'bb_topic', $true);
    $bb_topic_id = $bb_topic_arr[0];

    // if bb has this post already, update the topic
    $topic_exists = false;
    if ($bb_topic_id) {
    if(bb_update_topic($post_title, $bb_topic_id)) {
    $topic_exists = true;
    }
    $reply = bb_get_first_post($bb_topic_id);
    bb_update_post($post_text, $reply->post_id, $bb_topic_id);
    }

    // if not, create a new topic
    if (!$topic_exists) {
    $topic_id = bb_new_topic($post_title, CRBBFORUMID, $tags);
    $reply_id = bb_new_post($bb_topic_id, $post_text);

    $r = false;
    if ($topic_id && $reply_id) {
    bb_update_topicmeta($bb_topic_id, 'wp_post', $post_id);
    if (!update_post_meta($post_id, 'bb_topic', $topic_id)) {
    add_post_meta($post_id, 'bb_topic', $topic_id, true);
    $r = true;
    }
    }
    $oldcoms = get_approved_comments($post_id);
    if($oldcoms) {
    foreach($oldcoms AS $oldcom) {
    if($user = bb_get_user($oldcom->comment_author)) {
    $time = strtotime($oldcom->comment_date);
    $text = '<em><strong>This comment was originally posted at ' . date('G:i', $time) . ' on ' . date('jS F Y', $time) . ".</strong></em>nn" . $oldcom->comment_content;
    bb_set_current_user($user->ID);
    bb_new_post($topic_id, mysql_real_escape_string($text));
    }
    }
    }
    }
    return $r;
    }

    function cr_comment($comment_id, $approval_status) {
    global $bbdb, $wpdb;
    require_once(dirname(__FILE__) . '/../../bbpress/bb-load.php');

    $comment = get_comment($comment_id);

    $topic_id = get_post_meta($comment->comment_post_ID, 'bb_topic', $true);
    if(($topic_id) && ($approval_status == 1) && ($comment->user_id) && bb_set_current_user($comment->user_id)) {
    //topic linked, genuine comment, actual user, bb likes user
    bb_new_post($topic_id, $comment->comment_content);
    return true;
    } else {
    return false;
    }
    }

    add_action('publish_post', 'cr_post');
    add_action('comment_post', 'cr_comment');

    #2633
    livibetter
    Member

    Should be used for TESTING ONLY

    Download this file

    Install:

    Put activate.php to your template folder.

    Put bb-activate.php to your bbPress root folder.

    Put EnhancedRegistration directory to my-plugins

    Only tested on kakumei template without other plugins. Currently, it only support user activation. User will receive an additional mail with a code for activation. They can click the link within that mail, or manually navigate to the activation page.

    And Key Master can delete user haven’t activated over ## hours.

    Possible features in later releases: Registration Approval, Registration Email Verification.

    Please tell me what do you think!

    #61189

    In reply to: Plugin: Gravatar

    livibetter
    Member

    Trent

    Thanks for liking it. I already requested, I know it need sometime to get approval.

    #60495

    In reply to: Unread Topics

    Sam Bauers
    Participant

    You should consider just tracking what the last time was each user viewed a topic. That will reduce the number of entries in your table to a maximum of one entry for each user on each topic, rather than one entry for each user on each post.

    As for the delay in getting plugin “approval”, you aren’t alone. I’ve waited a while at times and had to poke for it to get done, approval is less about the question of “is your code good enough” and more about weeding out spam/bozos etc. Also, from what I understand mdawaffe is pretty much the only developer doing significant work on bbPress at Automattic and he has other responsibilities there as well (including maintaining the WordPress plugin browser).

    The community here is growing, but small, and the few people who are regular contributors to this forum are really quite helpful, enthusiastic and generally pretty knowledgeable. I hope you feel more welcome as you get to know us and become more involved.

    #60491

    In reply to: Unread Topics

    henrybb
    Member

    Well I’m allowed atleast one misconception aren’t I? :)

    WordPress has the same weird approval stage. But what I don’t get is that I wasn’t given a chance to upload either the plugin or the readme, I just input the name of the plugin and the whole process hinges on that one name.

    Started wondering if I was at all comfortable with “Unread Topics” as a name :P

    Anyway, did you look at the plugin fel?

    #60490

    In reply to: Unread Topics

    fel64
    Member

    Jeez, you’ve totally got the wrong end of the stick here. The approval takes forever because he’s busy and working on other stuff, not because we’re in a giant elitist conspiracy that won’t host your plugins unless you’ve been on the cover of Hello!

    #2356

    Topic: Unread Topics

    in forum Plugins
    henrybb
    Member

    Hi guys.

    I give up with the plugin hosting approval. Apparently I’m not enough of a celebrity around these parts to be hosted. Not that I give a shit, I’d just prefer that other guys don’t have to reinvent the wheel.

    Besides, what the hell are they reviewing? All they have is the name of the project.

    So I threw together a page about it, and threw in a zip archive of the plugin. It’s straight from my own installation, so let me know if there are any dependency issues (there shouldn’t be).

    This plugin has accounting for where the user is in reading each topic. So it’s not for everyone. If you have a huuge board with alot of threads and users, you’re probably going to dislike it. However, it fits my needs, it isn’t too slow for my forum, and I’ll deal with the fallout when that happens.

    So without any ado, or grace periods for the sake of elitism, here’s the damn plugin: http://henry.odg.cc/bb_unread_topics/

    #52030

    In reply to: Post Moderation

    Trent Adams
    Member

    Not before no. Like admin approval? Not that I know of.

    Trent

    #51976
    Atsutane
    Member

    Yeah. Request already :) waiting for approval.

    #55009
    Trent Adams
    Member

    There has yet to be a user registration approval plugin and hopefully there is one soon! In the meantime, some users have been using the admin create user plugin so that they can turn off registration and only have the admin create users through the admin. This is the only thing even close right now!

    Trent

    #51232

    In reply to: Anonymous post

    Trent Adams
    Member

    Currently, bbPress is built so that all users must be registered to post. I have heard talk of a plugin for anonymous posting, but nothing in development to my understanding.

    So far, registration on the bbPress side is wide open, but if you are integrated with WordPress there are hacks in WordPress to have admin approval for registration, but only if you change all registration for the forums to the WordPress side versus bbPress.

    Trent

Viewing 12 results - 201 through 212 (of 212 total)
Skip to toolbar