Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'register'

Viewing 25 results - 176 through 200 (of 4,247 total)
  • Author
    Search Results
  • #222917
    cosmiclove1978
    Participant

    Hello Robin,

    Thanks for the tip. I checked section 3 of the documentation you suggested. I’ve found the loop-single-reply.php in my theme. I can certainly insert similar file in the child theme.

    Now, thought I get the “what” of your answer, the “How” still eludes me. I’ve been staring at that file for an hour, and I’ve got no clue as to where to place the cursor and what to write if you showed me where to place that cursor in the file.

    The code pasted above in my original post was copied and pasted as is in my Child Theme’s function.php, hoping that it would at least replace actual replies with the generic statement, which it did.

    Will you be so kind as to look at the loop-single-reply.php file below and instruct me how to change the file so that I get the intend result across the forum (for anonymous users, removing/hiding all replies except the first one + original post, and with the 1st reply showing “generic statement + Login | Register” urls)?

    <?php
    
    /**
     * Replies Loop - Single Reply
     *
     * @package bbPress
     * @subpackage Theme
     */
    
    // Exit if accessed directly
    defined( 'ABSPATH' ) || exit;
    
    ?>
    
    <div id="post-<?php bbp_reply_id(); ?>" class="bbp-reply-header">
    	<div class="bbp-meta">
    		<span class="bbp-reply-post-date"><?php bbp_reply_post_date(); ?></span>
    
    		<?php if ( bbp_is_single_user_replies() ) : ?>
    
    			<span class="bbp-header">
    				<?php esc_html_e( 'in reply to: ', 'bbpress' ); ?>
    				<a class="bbp-topic-permalink" href="<?php bbp_topic_permalink( bbp_get_reply_topic_id() ); ?>"><?php bbp_topic_title( bbp_get_reply_topic_id() ); ?></a>
    			</span>
    
    		<?php endif; ?>
    
    		<a href="<?php bbp_reply_url(); ?>" class="bbp-reply-permalink">#<?php bbp_reply_id(); ?></a>
    
    		<?php do_action( 'bbp_theme_before_reply_admin_links' ); ?>
    
    		<?php bbp_reply_admin_links(); ?>
    
    		<?php do_action( 'bbp_theme_after_reply_admin_links' ); ?>
    
    	</div><!-- .bbp-meta -->
    </div><!-- #post-<?php bbp_reply_id(); ?> -->
    
    <div <?php bbp_reply_class(); ?>>
    	<div class="bbp-reply-author">
    
    		<?php do_action( 'bbp_theme_before_reply_author_details' ); ?>
    
    		<?php bbp_reply_author_link( array( 'show_role' => true ) ); ?>
    
    		<?php if ( current_user_can( 'moderate', bbp_get_reply_id() ) ) : ?>
    
    			<?php do_action( 'bbp_theme_before_reply_author_admin_details' ); ?>
    
    			<div class="bbp-reply-ip"><?php bbp_author_ip( bbp_get_reply_id() ); ?></div>
    
    			<?php do_action( 'bbp_theme_after_reply_author_admin_details' ); ?>
    
    		<?php endif; ?>
    
    		<?php do_action( 'bbp_theme_after_reply_author_details' ); ?>
    
    	</div><!-- .bbp-reply-author -->
    
    	<div class="bbp-reply-content">
    
    		<?php do_action( 'bbp_theme_before_reply_content' ); ?>
    
    		<?php bbp_reply_content(); ?>
    
    		<?php do_action( 'bbp_theme_after_reply_content' ); ?>
    
    	</div><!-- .bbp-reply-content -->
    </div><!-- .reply -->
    

    On a separate note, have you developed any BBpress plugin having an upload function not restricted to the media library / where files are retrieved from the user’s local machines directly?

    Thanks in advance for your continued support.
    H

    #222903
    cosmiclove1978
    Participant

    Dear bbPress-ers!
    Hello. I’m Herman.
    I will greatly appreciate your assistance with a couple of problems with my forum I’ve been trying to fix for a couple of days now with no solution.

    I wanted to display the message “Replies not viewable to non-members” to anonymous/not-logged-in users browsing my forum. This message replaces all actual replies with the generic one above. I was able to achieve this with the code below found on this page Dezzain website. The problem though is that this message shows up everywhere a reply is posted. So if there are 20 replies, there will be 20 generic messages.
    So my request for help #1: I would like the 1 reply ONLY to display the generic message, and the other replies hidden. Any chance you can help me with it please?
    #2, I would like to include a link to register/login in that generic reply. I am not too familiar with php. Can anyone rewrite the message below so that it also has a url portion for “Login here” | Register”?

    Thanks so very much in advance.

    bb_auth_reply_view( 
    $reply_id
    ) {
    $reply_id
    = bbp_get_reply_id( 
    $reply_id
    );
     
    // Check if password is required
    if
    ( post_password_required( 
    $reply_id
    ) )
    return
    get_the_password_form();
     
    $content
    = get_post_field( 
    'post_content'
    , 
    $reply_id
    );
     
    // first topic reply shouldn't be hiding
    $rep_position
    = bbp_get_reply_position(
    $reply_id
    );
     
    // if user is not logged in and not the first post topic
    if
    ( !is_user_logged_in() && 
    $rep_position
    > 1 ) {
    return
    "Replies only viewable for logged in users"
    ;
    } 
    else
    {
    // return normal
    return
    $content
    ;
    }
     
    }
    add_filter( 
    'bbp_get_reply_content'
    , 
    'bb_auth_reply_view'
    );
    #222696

    Topic: Styling Issue

    in forum Themes
    jeremy
    Participant

    Hi. Testing bbPress using Penci Soledad. Installed Robin’s Style Pack, but none of the changes are being registered. I cleared caches and all. I should note that I have a dark theme on my site and the styling needs help. Any advice?

    #222679
    wpneil
    Participant

    Hi very new to bbpress so if this is easy and answer obvious please forgive a newbie.

    Is it possible to set a forum up so the first post in a topic is available to public view
    but any replies can only be seen by those registered. The owners association I’m asking the questions for wants to do this to encourage registration and joining the association.

    Many thanks
    Neil

    #222603
    #221997
    heygirlmarketing
    Participant

    Hello,

    I set up the Forum page, the registration page and the password reset pages. It seemed to be working ok until I get to creating a new user as if I am someone new (in order to test it).

    This is for a multi-vendor site, using WooCommerce and Dokan Multi-Vendor.

    Please check out this page as an example and proceed as if you are a new user setting up their username.

    Forum Register/Login

    After you enter the username and email and then click the register button it directs to the shop page for the site. There isn’t a place in the editor that I can see that allows me to change where the register button links to. I filled out the urls correctly in the bb press login widget.

    See attached photo: https://ibb.co/N10SKLt

    This is urgent as it is keeping my client from launching their site. Thank you for your help!

    #221858
    sivaknila
    Participant

    Registered user need to auto login after registration suceess. I am registering user using bbPress register. Can any one help me out, Thanks in advance

    #221692

    In reply to: login issues

    sociallyxceptional
    Participant

    I would also like to get people automatically redirected to a page inside the forum instead of the WP dashboard, but it is not working.

    I have tried using Peters Login Redirect and that has not worked. I have also tried using this code inside the Snippets, which isn’t working either:

    // Send new users to a special page
    function redirectOnFirstLogin( $custom_redirect_to, $redirect_to, $requested_redirect_to, $user )
    {
    // URL to redirect to
    $redirect_url = ‘https://arianegoodwin.com/forums/curiosity-cocktails-topic-map/&#8217;;
    // How many times to redirect the user
    $num_redirects = 1;
    // If implementing this on an existing site, this is here so that existing users don’t suddenly get the “first login” treatment
    // On a new site, you might remove this setting and the associated check
    // Alternative approach: run a script to assign the “already redirected” property to all existing users
    // Alternative approach: use a date-based check so that all registered users before a certain date are ignored
    // 172800 seconds = 48 hours
    $message_period = 172800;

    /*
    Cookie-based solution: captures users who registered within the last n hours
    The reason to set it as “last n hours” is so that if a user clears their cookies or logs in with a different browser,
    they don’t get this same redirect treatment long after they’re already a registered user
    */
    /*

    $key_name = ‘redirect_on_first_login_’ . $user->ID;

    if( strtotime( $user->user_registered ) > ( time() – $message_period )
    && ( !isset( $_COOKIE[$key_name] ) || intval( $_COOKIE[$key_name] ) < $num_redirects )
    )
    {
    if( isset( $_COOKIE[$key_name] ) )
    {
    $num_redirects = intval( $_COOKIE[$key_name] ) + 1;
    }
    setcookie( $key_name, $num_redirects, time() + $message_period, COOKIEPATH, COOKIE_DOMAIN );
    return $redirect_url;
    }
    */
    /*
    User meta value-based solution, stored in the database
    */
    $key_name = ‘redirect_on_first_login’;
    // Third parameter ensures that the result is a string
    $current_redirect_value = get_user_meta( $user->ID, $key_name, true );
    if( strtotime( $user->user_registered ) > ( time() – $message_period )
    && ( ” == $current_redirect_value || intval( $current_redirect_value ) < $num_redirects )
    )
    {
    if( ” != $current_redirect_value )
    {
    $num_redirects = intval( $current_redirect_value ) + 1;
    }
    update_user_meta( $user->ID, $key_name, $num_redirects );
    return $redirect_url;
    }
    else
    {
    return $custom_redirect_to;
    }
    }

    add_filter( ‘rul_before_user’, ‘redirectOnFirstLogin’, 10, 4 );

    bobdobbs
    Participant

    Hi Robin.

    I specifically want to discover if the user is logged in as a user of bbpress.

    This is to account for a case where I have some registered websites users who are not forum users.

    For the moment I’m testing capabilities.
    At the moment the only people with access to the forum are people who can create posts.

    So I’m testing of the user has the capability create_topic

    This might work, but feels a bit clumsy to me.

    #221413
    joeco
    Participant

    Hello

    — getting a new error (that I’ve never seen before) when trying to register a new user

    “No {status} key found in the server response, Please try again in a minute.”

    Theme Name Kleo (kleo)
    Version 5.0.3
    Author SeventhQueen

    bbPress Version 2.6.6 by The bbPress Contributors
    bbPress – Moderation Tools Version 1.2.4 by Digital Arm
    bbPress Notify (No-Spam) Version 2.16 by Vinny Alves
    Better Notifications for WP Version 1.8.6 by Made with Fuel
    BP Profile Search Version 5.4.2 by Andrea Tarantini
    BP Registration Options Version 4.3.9 by Pluginize
    BuddyPress Version 8.0.0 by The BuddyPress Community

    Server architecture Linux 5.4.0-73-generic x86_64
    Web server nginx/1.15.1
    PHP version 7.3.28-2+ubuntu20.04.1+deb.sury.org+1 (Supports 64bit values)
    PHP SAPI fpm-fcgi

    Database
    Extension mysqli
    Server version 10.5.10-MariaDB-1:10.5.10+maria~bionic-log
    Client version mysqlnd 5.0.12-dev – 20150407 – $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $

    #221178
    kaanair
    Participant

    Hello,

    1.How to automatic topic approve (open) for registered user?

    2.If I use default setting for moderator approval,registered user can’t see any message after openede topic like a “Waiting moderator approving”

    Best regards

    sk80au
    Participant

    Hi,

    I’m testing my new website and found a problem with user registration. When a new user registers (in this case myself using a different email address), the verification email isn’t being send to the user.

    I, as an admin receive the email that the user x is registered.

    Wondering what could cause this issue? and is there any known fix for this?

    jason4locations
    Participant

    The reason I asked Robin W. that question is because if the bbPress Login Widget has more than the following three options

    1. Title: Here you can set the title of the widget as it will be displayed in the sidebar.
    2. Register URI: Link to your custom signup page eg. A WordPress page using the [bbp-register] shortcode.
    3. Lost Password URI: Link to your lost-password page eg. A WordPress page using the [bbp-lost-pass] shortcode.

    then I might be missing out on too much to use a different Login Widget instead, and therefore I should try harder to figure out how to use the bbPress Login Widget, even though I’ve been struggling to figure out how to use it for a very long time.

    #221158

    In reply to: Not able to register

    jason4locations
    Participant
    jason4locations
    Participant

    Do we have to select the bbPress template page for User Register? A page said that this can be done by clicking on the drop-down Template menu on the right hand section of the screen and selecting bbPress – User Register. But, I couldn’t find that either.

    jason4locations
    Participant

    To follow purplep’s instructions, would you please help me find Layout using Appearance > Customize > Layout?

    JV44HeinzBar said that the page that opens up when clicking ā€œregisterā€ is the login page, and I’m having the same problem.

    Also, while I know alaskatoargentina’s post is old, and while I’m not an expert, about what alaskatoargentina asked, it might be possible to get a sidebar by using a different theme.

    #221123

    In reply to: Not able to register

    jason4locations
    Participant

    Maybe I should have also mentioned that, when I use the bbPress register form, no new users are created.

    #221122

    In reply to: Not able to register

    jason4locations
    Participant

    Maybe I should have mentioned that the register form is from a bbPress widget.

    #221111
    jason4locations
    Participant

    When I try to use the form to register, it takes me to a login screen that I made with the Colorlib Login Customizer. I can create a new user with the Colorlib Login Customizer, though. My site is at http://dancing4locations.org. Thank you.

    #221022
    heygirlmarketing
    Participant

    Hello,

    For some reason anything that has to do with a forgot password or registering a new user it redirects users to the wishlist page on our site. Please find the following examples:

    1) Forum Register:

    Forum Register

    When you click the register button on the far right it redirects to our wishlist page.

    2) Lost Password for Forum:

    My Account

    Click on the Lost Password link and it redirects to the wishlist page.

    3) Site Admin Login Forgot Password:
    https://bassinonabudget.com/wp-admin

    Click on Lost Password and it redirects to the wishlist page.

    Can someone please advise why this could be happening and if you know how to fix it.

    alloxrinfo
    Participant

    I am so amazed that nobody answered you. What you were asking was very clear and i’m looking for the same thing. When you fall on the bbPress front page, if someone is not registered on your website they should be able to click on a “register” button just next to the “login” button like you can find on most websites ? How comes it’s not already there from scratch ? Still nobody for helping the others that will fall on this topic ?

    Thanks !

    #220936
    bobdobbs
    Participant

    Hi all.

    I’ve been asked to create a forum that should be visible only to members.
    It should entirely hidden to the public.

    I understand that this can be done with bbPress for the forum, and a plugin (or two?) to keep the forum entirely out of view of the public.

    I’d also like to make the registration process as smooth as possible.

    A form will be presented to applicants.

    Upon approval, I’d like to give successful applicants immediate forum access, without them having to register manually.

    I haven’t checked yet, but I imagine that an admin should be able to create users manually and send them membership details (after which they will be prompted to create a secure password).

    My questions:

    * What are the best tools for create privacy?
    ie, ensuring that the forum will be invisible to anyone except registered forum members?

    * What might I need to know about creating a membership-approval flow that matches the one I’ve described above? Apart from a form-creation plugin, will I need any other third-party tools?

    * Are there any ‘gotchas’ I should be concerned about when building a hidden private forum?

    Thanks.

Viewing 25 results - 176 through 200 (of 4,247 total)
Skip to toolbar