Skip to:
Content
Pages
Categories
Search
Top
Bottom

Delayed first post for newbies

  • @neon67

    Participant

    I want to make a publication delay (for example 1 month) for newly registered users — as protecting against spam.
    Is it possible without a plugin, using only code?

    Where to dig? )

Viewing 3 replies - 1 through 3 (of 3 total)
  • @wpturk

    Participant

    You can use this plugin against spam: bbPress – Moderation Tools

    You can enable moderation for only new users. For example first topic will wait for moderation. If you publish the first topic, next topics will be published directly for the new user. Works fine for me.

    @robin-w

    Moderator

    so you would set the default role in

    dashboard>settings>forums to be ‘spectator’ and then wordpress login hook to wp-login or init

    add_action('wp_login', 'xxx', 10, 2);  which passes '$user_login, $user'
    add_action('init', 'xxx');

    your function then would check date current user registered, and if over a month, change the role to ‘participant’ using

    
    bbp_set_user_role( $user_id, bbp_get_participant_role() );

    @neon67

    Participant

    Thanks for the interesting ideas!
    I will try to code))

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar