Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'register'

Viewing 25 results - 376 through 400 (of 4,248 total)
  • Author
    Search Results
  • #210331
    justephen
    Participant

    Thank you Robin. I downloaded bbp style and it helped. My next issue is that I am trying to let other users comment in the forum, however it asks for a user name and password. I thought, maybe they need to register it first. How can the register link (which is not set up) speak to the user name and password link, so the new user can move forward?

    Thanks

    #210330
    Robin W
    Moderator
    add_action ('bbp_theme_before_topic_form_notices' ,'rew_show_notice' ) ;
    
    function rew_show_notice () {
    	if (!is_user_logged_in()) {
    		echo '<div class="rew-notice">Only registered users are allowed to upload attachments'</div>' ;
    		}
    	
    }
    #210324
    Robin W
    Moderator
    add_action ('bbp_theme_before_topic_form_notices' ,'rew_show_notice' ) ;
    
    function rew_show_notice () {
    	echo '<div class="rew-notice">Only registered users are allowed to upload attachments'</div>' ;
    }
    #210316
    devansh1995
    Participant

    Hello All,

    I want to show custom warning message for logged out users that, ” Only registered users are allowed to upload attachments “.

    This warning message should be shown above topic title and below create new topic head.

    Please let me know how can i do that?

    #210311
    Robin W
    Moderator

    you guessed right, we might need to do that.

    This was found to happen with Theme my login plugin, which registered a public query which both use. My bug fix should have corrected that, even if another plugin is doing it.

    But yes, we need to find which plugin is doing that.

    however just before we do, can you take out the code above from code snippets

    then in

    dashboard>settings>bbp style pack>bug fixes, can you tick “Fix ‘A variable Mismatch has been detected’ ” save and try again.

    then come back

    #210309

    Hi Robin,

    Those that relate to BBpress are:
    Advanced noCaptcha & invisible Captcha
    bbP private groups
    bbp style pack
    bbPress Login Register Links On Forum Topic Pages
    bbPress Messages
    bbPress Unread Posts v2
    LoginPress – Customizing the WordPress Login
    WP User Avatar

    I’m sure your next suggestion will be to disable them all, which I am happy to do if necessary, The forum is not publicly visible yet. I was just hopeful the OP may have already found the problem 🙂

    Let me know if that’s the direction you would like me to go.

    Best regards,

    John

    #210194
    splintercell
    Participant

    Hey robin – once you register and log in, click “community” tab at the top, or “forums, quit groups” on the right – both will take ou to the same place.

    thx!

    #210188
    splintercell
    Participant

    http://www.livingdipfree.com

    Its almost like I am just missing some checkbox somewhere to get it to load. The forum is under “community” tab at the top. Need to take a sec to register to access. Thank you very much for the response and the plugin. I hope I can get it to work.

    terotolkki
    Participant

    I am trying to achieve the following:

    Allow users to post as guests but those would always go to moderation first. Registered users can post normally.

    Allow users to register to my forum through some social plugin so they don’t need to register yet to another website. I just haven’t found a suitable social plugin that would help with this.

    Point with all this is to lower the bar for people to start using the forum.

    Any help would he highly appreciated.

    I am running WordPress version 5.4 and bbPress version is 2.6.4. Website is in coming soon mode so I can’t provide a link to it.

    #210031
    lesbelleshistoires
    Participant

    Here it is :

    <?php
    /**
     * Statistics Content Part
     *
     * @package bbPress
     * @subpackage Theme
     */
    
    // @codingStandardsIgnoreFile
    // Allow plugin text domain in theme.
    
    // Get the statistics.
    $stats = bbp_get_statistics(); ?>
    
    <?php do_action( 'bbp_before_statistics' ); ?>
    
            <div class="widget_display_stats">
    
                    <div class="row stats_list">
    
                            <div class="col-12 stats_list_item mb-2">
                                    <div class="bg-black-faded rounded-card p-2 h-100">
                                            <div class="row align-items-center">
                                                    <div class="col-auto text-center d-flex pr-0 align-items-center justify-content-center">
                                                            <i class="cera-icon cera-users text-primary fa-2x p-3 card"></i>
                                                    </div>
                                                    <div class="col">
                                                            <h3 class="mb-0"><?php echo esc_html( $stats['user_count'] ); ?></h3>
                                                            <h5 class="text-muted text-uppercase small font-weight-bold mb-0"><?php esc_html_e( 'Registered Users', 'bbpress' ); ?></h5>
                                                    </div>
                                            </div>
                                    </div>
                            </div>
    
                            <div class="col-12 stats_list_item mb-2">
                                    <div class="bg-black-faded rounded-card p-2 h-100">
                                            <div class="row align-items-center">
                                                    <div class="col-auto text-center d-flex pr-0 align-items-center justify-content-center">
                                                            <i class="cera-icon cera-message-square text-primary fa-2x p-3 card"></i>
                                                    </div>
                                                    <div class="col">
                                                            <h3 class="mb-0"><?php echo esc_html( $stats['forum_count'] ); ?></h3>
                                                            <h5 class="text-muted text-uppercase small font-weight-bold mb-0"><?php esc_html_e( 'Forums', 'bbpress' ); ?></h5>
                                                    </div>
                                            </div>
                                    </div>
                            </div>
    
                            <div class="col-12 stats_list_item mb-2">
                                    <div class="bg-black-faded rounded-card p-2 h-100">
                                            <div class="row align-items-center">
                                                    <div class="col-auto text-center d-flex pr-0 align-items-center justify-content-center">
                                                            <i class="cera-icon cera-alert-circle text-primary fa-2x p-3 card"></i>
                                                    </div>
                                                    <div class="col">
                                                            <h3 class="mb-0"><?php echo esc_html( $stats['topic_count'] ); ?></h3>
                                                            <h5 class="text-muted text-uppercase small font-weight-bold mb-0"><?php esc_html_e( 'Topics', 'bbpress' ); ?></h5>
                                                    </div>
                                            </div>
                                    </div>
                            </div>
    
                            <div class="col-12 stats_list_item mb-2">
                                    <div class="bg-black-faded rounded-card p-2 h-100">
                                            <div class="row align-items-center">
                                                    <div class="col-auto text-center d-flex pr-0 align-items-center justify-content-center">
                                                            <i class="cera-icon cera-radio text-primary fa-2x p-3 card"></i>
                                                    </div>
                                                    <div class="col">
                                                            <h3 class="mb-0"><?php echo esc_html( $stats['reply_count'] ); ?></h3>
                                                            <h5 class="text-muted text-uppercase small font-weight-bold mb-0"><?php esc_html_e( 'Replies', 'bbpress' ); ?></h5>
                                                    </div>
                                            </div>
                                    </div>
                            </div>
    
                    </div>
    
            </div><!-- .widget_display_stats -->
    
    <?php do_action( 'bbp_after_statistics' ); ?>
    
    <?php unset( $stats );
    #209962
    Chuckie
    Participant

    I had this reply @robin-w:

    I’d suggest filing a bug report with bbPress.

    The issue is that TML registers ‘action’ as a public query variable with WP. WP has a check in WP::parse_request(), which ensures that all GET and POST values of public query variables match. If they don’t, it dies with the error message you are seeing.

    For whatever reason, bbPress uses a different action key depending on GET/POST context. In this specific instance, the GET value of ‘action’ is ‘split’. However, the POST value (set via hidden field in the form) is ‘bbp-split-topic’. This difference is causing the condition described above.

    In code:

    $_GET['action'] = 'split';
    $_POST['action'] = 'bbp-split-topic';
    
    if ( isset( $_GET[ 'action' ] ) && isset( $_POST[ 'action' ] ) && $_GET[ 'action' ] !== $_POST[ 'action ] ) {
    	wp_die( __( 'A variable mismatch has been detected.' ), __( 'Sorry, you are not allowed to view this item.' ), 400 ); }
    #209879
    dutt
    Participant

    Yes its working fine now.
    now i have one issue.
    You posta question but without my approval it directly reflected on the website.
    how can i make it manually approve before shown to visitors to avoid any adult content or spam content.
    Also how can i show login register form to users?
    or will woocommerce my account login customers able to use their account or they need to login seprately there?

    #209800
    fimir
    Participant

    In my site only [bbp-topic-index] code not working, register and login code work in the pages.
    I use Generatepress theme if this could be the problem. It is someone to help me, please?
    My site: https://firsttelling.com
    Thank you
    Mircea

    #209655
    maudoune01
    Participant

    How can I translate the words : profil, login, register, log out, …?
    Thank you for your help.

    oibc
    Participant

    @jack_tyler

    @wpweaver

    I have the same and other problem.
    would you pls help me?

    I am wondering if is there any existing feature on the BBPress to have a login, register, forgot password, email confirmation only in front-end? I know that there are [bbp-login], [bbp-register], and [bbp-lost-pass] short-codes that you can place in the page so that it will display on the front-end but the issue is when user enters an incorrect password or account, it will redirect to admin login. What I wanted is to stay always in the front-end. Or do you have any suggestion what plugin I can use that and compatible?

    I like plugin “Weaver for bbPress” .
    but some problems happens after I installed the plugin “Weaver for bbPress” .
    May I ask?
    1.It is OK that a new user(registered) logged in from frontend,and hide the wp-admin. But after logout ,”Sorry, you don’t have permission to view this profile.”shown on http://mysite.com/forums/users/oi/subscriptions/?loggedout=true
    2. It is OK that admin logged in from frontend. But after logout ,”Sorry, you don’t have permission to view this profile.”shown on http://mysite.com /forums/users/oi/subscriptions/?loggedout=true .
    3. when user enters an incorrect password or account, it will redirect to admin login.

    What I wanted is to stay always in the front-end. Or do you have any suggestion what plugin I can use that and compatible?

    #209635
    drjohndimi
    Participant

    What we wanted was to get users after they have joined/registered on the site, to go the profile page and fill in some/all of the fields in their profile page, perhaps by making the fields required/mandatory so that without completing the required fields they cannot post on the site. Is this far-fetched?

    This is the website we are working on and this is the theme we are using.

    wamlibrarian
    Participant

    Akismet Anti-Spam
    bbp style pack
    bbPress Login Register Links On Forum Topic Pages
    bbPress Messages
    bbPress Search Widget
    bbPress Voting
    GD bbPress Attachments
    GD bbPress Tools
    GD Power Search for bbPress
    GD Topic Polls
    Ultimate Member
    WPS Limit Login

    #209616
    L46
    Participant

    I deactivate all plugins except for bbpress, test to register but failed still.

    set up email to come from my site eg @mysite.com and
    contact my host provider (SG) to help – problem still.

    I install  https://wordpress.org/plugins/check-email/  
    admin accepted test email.
    but problem still too.now I deactivate plugin check-email.

    SG help me to set plugin”WP Mail SMTP” .problem still too.

    hope can assist me. thanks a lot.

    #209614
    L46
    Participant

    I checked and tested 4 times to register with the same account.but the site didnt noticed that cant register with the same account.and the user is not getting any registration email after each register.
    and I(admin) didnt get any notification about a new user too.
    I (admin)had got notification email when I set up a topic yesterday.

    i can create new user accountA successfully via wp dashboard.
    and admin and user accountA got the notice email .
    the user accountA got the registration email .
    but user accountA cant login .

    I try but no luck.
    Please help! thanks

    L46
    Participant

    HI,
    site: https://www.visionshe.com
    admin@visionshe.com

    I checked and tested 4 times to register with the same account.but the site didnt noticed that cant register with the same account.and the user is not getting any registration email after each register.
    and I(admin) didnt get any notification about a new user too.

    I (admin)had got notification email when I set up a topic yesterday.

    I try but no luck.
    Please help! thanks

    #209577
    wpa2mik
    Participant

    After recent update to bbPress 2.6.4, I got the same problem.
    I’m sure that emails in general work correctly for my website, because emails are sent in all cases except registration. I got notifications that a new user just registered. When a newly registered user click “Lost Passord”, he can receive an email to set a password. Also if I login Word Press as admin and choose Users > Add New, everything is OK.

    I’ve read that this problem is related to WP itself, but I think it is also connected with bbPress, because it appeared right after update.

    To Robin: please spend some of your time to fix this issue, because new users can’t register.

    #209487
    Robin W
    Moderator

    if you mean site visitors then

    dashboard>settings>forums>forum user settings>anonymous and tick the box

    if you mean registered users, then this is a buddypress question

    #209372
    Robin W
    Moderator

    Put this in your child theme’s function file – or use

    Code Snippets

    change the ‘-10 days’ to say ‘-90 days’ if you want 3 months

    register_activation_hook(__FILE__, 'bbpress_topic_scheduler');
    
    add_action('bbpress_daily_event', 'bbpress_close_old_topics');
    
    function bbpress_topic_scheduler() {
     wp_schedule_event(time(), 'daily', 'bbpress_daily_event');
    }
    
    function bbpress_close_old_topics() {
    	// Auto close old topics
    	$topics_query = array(
    		'author' => 0,
    		'show_stickies' => false,
    		'parent_forum' => 'any',
    		'post_status' => 'publish',
    		'posts_per_page' => -1
    	);
    	if ( bbp_has_topics( $topics_query ) )
    		while( bbp_topics() ) {
    			bbp_the_topic();
    			$topic_id = bbp_get_topic_id();
    			$last_active = strtotime( get_post_meta( $topic_id, '_bbp_last_active_time', true ) );
    			if ($last_active < strtotime( '-10 days') )
    				bbp_close_topic( $topic_id );
    		}
    }
    #209358
    Robin W
    Moderator

    just tried it, it is all good, you must have missed a character off somewhere, just add it to the end

    <?php
    function hello_elementor_child_enqueue_scripts() {
    wp_enqueue_style(
    'hello-elementor-child',
    get_stylesheet_directory_uri() . '/style.css',
    [
    'hello-elementor'
    ],
    '1.0.0'
    );
    }
    add_action( 'wp_enqueue_scripts', 'hello_elementor_child_enqueue_scripts' );
    function ele_disable_page_title( $return ) {
    return false;
    }
    add_filter( 'hello_elementor_page_title', 'ele_disable_page_title' );
    add_filter( 'bbp_register_topic_post_type', 'rew') ;
    
    function rew ($rew) {
    
    $rew = array(
    				'labels'              => bbp_get_topic_post_type_labels(),
    				'rewrite'             => bbp_get_topic_post_type_rewrite(),
    				'supports'            => bbp_get_topic_post_type_supports(),
    				'description'         => esc_html__( 'bbPress Topics', 'bbpress' ),
    				'capabilities'        => bbp_get_topic_caps(),
    				'capability_type'     => array( 'topic', 'topics' ),
    				'menu_position'       => 555555,
    				'has_archive'         => ( 'forums' === bbp_show_on_root() ) ? bbp_get_topic_archive_slug() : false,
    				'exclude_from_search' => true,
    				'show_in_nav_menus'   => true,
    				'public'              => true,
    				'show_ui'             => current_user_can( 'bbp_topics_admin' ),
    				'can_export'          => true,
    				'hierarchical'        => false,
    				'query_var'           => true,
    				'menu_icon'           => '',
    				'source'              => 'bbpress',
    			)  ;
    			
    return $rew ;
    }
    
    add_filter( 'bbp_register_reply_post_type', 'rew2') ;
    
    function rew2 ($rew) {
    
    $rew2 = array(
    				'labels'              => bbp_get_reply_post_type_labels(),
    				'rewrite'             => bbp_get_reply_post_type_rewrite(),
    				'supports'            => bbp_get_reply_post_type_supports(),
    				'description'         => esc_html__( 'bbPress Replies', 'bbpress' ),
    				'capabilities'        => bbp_get_reply_caps(),
    				'capability_type'     => array( 'reply', 'replies' ),
    				'menu_position'       => 555555,
    				'exclude_from_search' => true,
    				'has_archive'         => false,
    				'show_in_nav_menus'   => true,
    				'public'              => true,
    				'show_ui'             => current_user_can( 'bbp_replies_admin' ),
    				'can_export'          => true,
    				'hierarchical'        => false,
    				'query_var'           => true,
    				'menu_icon'           => '',
    				'source'              => 'bbpress',
    			)  ;
    			
    return $rew2 ;
    }
    #208950
    Robin W
    Moderator

    ok, put this in your child theme’s function file – or use

    Code Snippets

    add_filter( 'bbp_register_topic_post_type', 'rew') ;
    
    function rew ($rew) {
    
    $rew = array(
    				'labels'              => bbp_get_topic_post_type_labels(),
    				'rewrite'             => bbp_get_topic_post_type_rewrite(),
    				'supports'            => bbp_get_topic_post_type_supports(),
    				'description'         => esc_html__( 'bbPress Topics', 'bbpress' ),
    				'capabilities'        => bbp_get_topic_caps(),
    				'capability_type'     => array( 'topic', 'topics' ),
    				'menu_position'       => 555555,
    				'has_archive'         => ( 'forums' === bbp_show_on_root() ) ? bbp_get_topic_archive_slug() : false,
    				'exclude_from_search' => true,
    				'show_in_nav_menus'   => true,
    				'public'              => true,
    				'show_ui'             => current_user_can( 'bbp_topics_admin' ),
    				'can_export'          => true,
    				'hierarchical'        => false,
    				'query_var'           => true,
    				'menu_icon'           => '',
    				'source'              => 'bbpress',
    			)  ;
    			
    return $rew ;
    }
    
    add_filter( 'bbp_register_reply_post_type', 'rew2') ;
    
    function rew2 ($rew) {
    
    $rew2 = array(
    				'labels'              => bbp_get_reply_post_type_labels(),
    				'rewrite'             => bbp_get_reply_post_type_rewrite(),
    				'supports'            => bbp_get_reply_post_type_supports(),
    				'description'         => esc_html__( 'bbPress Replies', 'bbpress' ),
    				'capabilities'        => bbp_get_reply_caps(),
    				'capability_type'     => array( 'reply', 'replies' ),
    				'menu_position'       => 555555,
    				'exclude_from_search' => true,
    				'has_archive'         => false,
    				'show_in_nav_menus'   => true,
    				'public'              => true,
    				'show_ui'             => current_user_can( 'bbp_replies_admin' ),
    				'can_export'          => true,
    				'hierarchical'        => false,
    				'query_var'           => true,
    				'menu_icon'           => '',
    				'source'              => 'bbpress',
    			)  ;
    			
    return $rew2 ;
    }
Viewing 25 results - 376 through 400 (of 4,248 total)
Skip to toolbar