Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress"'

Viewing 25 results - 2,701 through 2,725 (of 26,830 total)
  • Author
    Search Results
  • #208637
    Robin W
    Moderator

    registration is a function of WordPress, not bbpress.

    you can switch it off using

    Disable New User Notification Emails

    #208629
    Robin W
    Moderator

    your best bet would be to raise a trac ticket with a list of missing labels

    https://bbpress.trac.wordpress.org/

    #208617

    In reply to: HTML in text

    BrokenPixel
    Participant

    I’m never quite sure if I should add to a post that has the same problem, but is obviously unanswered for a long while, or post a new topic. But… our forum also has a very similar issue so it seems sensible to add it here.

    For us, it seems to be specific to text-align (left, right or centre) and for “non-admin” logged in users.

    It displays the html code as is, rather than using it to display the correct text alignment. All other html options in the visual editor we’ve tested so far seem to work – it’s just the text alignment that doesn’t. And only for non-admin users – the html works as it should if an admin user posts.

    <p style=”text-align: right;”>right align</p>

    Hoping for a solution? Am on current versions of bbpress, wordpress and bbp style pack and php version 7.3

    #208609
    Chuckie
    Participant

    I raised an issue nearly a month ago now here in their forum:

    https://wordpress.org/support/topic/how-errors-are-raised/#post-12418564

    I thought I would mention here in case they might be able to have a look.

    Thanks.

    #208589
    Robin W
    Moderator

    so you couldput this in your functions file of your child theme, it takes out then new filter and puts back the old one

    remove_filter( 'bp_notifications_get_notifications_for_user', 'bbp_format_buddypress_notifications', 10, 8 );
    add_filter( 'bp_notifications_get_notifications_for_user', 'rew_format_buddypress_notifications', 10, 5 );
    
    function rew_format_buddypress_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) {
    
    	// New reply notifications
    	if ( 'bbp_new_reply' === $action ) {
    		$topic_id    = bbp_get_reply_topic_id( $item_id );
    		$topic_title = bbp_get_topic_title( $topic_id );
    		$topic_link  = wp_nonce_url( add_query_arg( array( 'action' => 'bbp_mark_read', 'topic_id' => $topic_id ), bbp_get_reply_url( $item_id ) ), 'bbp_mark_topic_' . $topic_id );
    		$title_attr  = __( 'Topic Replies', 'bbpress' );
    
    		if ( (int) $total_items > 1 ) {
    			$text   = sprintf( __( 'You have %d new replies', 'bbpress' ), (int) $total_items );
    			$filter = 'bbp_multiple_new_subscription_notification';
    		} else {
    			if ( !empty( $secondary_item_id ) ) {
    				$text = sprintf( __( 'You have %d new reply to %2$s from %3$s', 'bbpress' ), (int) $total_items, $topic_title, bp_core_get_user_displayname( $secondary_item_id ) );
    			} else {
    				$text = sprintf( __( 'You have %d new reply to %s',             'bbpress' ), (int) $total_items, $topic_title );
    			}
    			$filter = 'bbp_single_new_subscription_notification';
    		}
    
    		// WordPress Toolbar
    		if ( 'string' === $format ) {
    			$return = apply_filters( $filter, '<a href="' . esc_url( $topic_link ) . '" title="' . esc_attr( $title_attr ) . '">' . esc_html( $text ) . '</a>', (int) $total_items, $text, $topic_link );
    
    		// Deprecated BuddyBar
    		} else {
    			$return = apply_filters( $filter, array(
    				'text' => $text,
    				'link' => $topic_link
    			), $topic_link, (int) $total_items, $text, $topic_title );
    		}
    
    		do_action( 'bbp_format_buddypress_notifications', $action, $item_id, $secondary_item_id, $total_items );
    
    		return $return;
    	}
    }
    Young
    Participant

    Hello.
    First of all, thank you for developing such a great plugin program.
    However, I would like to ask you a bit of trouble nowadays.
    The issue is that the number of topics in forums index page are incorrect.

    1. My system environment:
    -Wordpress 5.3.2
    -Bbpress 2.6.4
    -Buddypress 5.1.2
    -Bbpress Style pack 4.3.8
    – Jetpack 8.1.1

    2. My issue detail:
    See captured image 1.
    This is a page of Forums Index Main page.
    (Sorry for not English, but I’ll try explain)
    As you see the summary count number(left side) of each forum counts are incorrect with the parent forum’s count.
    Captured image 1
    And in the parent forum index page,
    each count of each line for forums are correct.
    See captured image 2.
    Captured image 2

    3. I tried to run recalculation.

    I ran the recovery and recalculation tool. Though I have run it several times and it failed.
    I am using some forums on a group page.
    What is the problem?
    In the past, it used well without any problems. There was no error in adding up posts. Recalculation also worked well.
    Please let me know if you have a solution.
    Thank you.

    #208573
    Gary Eckstein
    Participant

    Does the social login available in the Jetpack plugin (JetpackSettingsDiscussion then enable “Let readers use WordPress.com, Twitter, Facebook, or Google accounts to comment.”) allow for visitors to comment on bbPress topics? I’ve tried on my bbPress and I don’t see the Google, Facebook etc. options so wondering if it’s something on my side or that the Jetpack social login doesn’t work with bbPress.
    Any advice appreciated.

    Tanmoy Biswas
    Participant

    I installed the bbPress plugin and activated the plugin, but my WordPress gives an error that the plugin is not activated.

    Any suggestion?
    What should I do now?
    My Website here: https://wcblogs.com

    Thanks in advance

    #208544
    natsu12345
    Participant

    Hi there,

    i am quite new to wordpress\bbpress but i already looked at https://bbpress.org/forums/topic/how-do-i-extract-a-topicreply-excerpt/

    What i want to create is this.

    #208536
    Robin W
    Moderator
    #208531
    hydrogriff
    Participant

    The current support bbPress has a neat theme. It will be helpful if we can refer it for the best practices and customization. I searched and could not find the source code for the forum’s theme or WordPress’s support theme. Where to find it? Is it open source?

    #208520
    Robin W
    Moderator

    ok, so you could use

    Private groups

    then when you set up each forum ‘I put the Forum creating shortcode on a page.’ you could also set up a group for the forum, add the creator as a member and give him permission to create topics.

    It is a but labor intensive, but would work.

    How many forums are you planning ?

    Chuckie
    Participant

    I saw this discussion:

    a way to check for subforums

    It implied it was fixed in bbpress 2.1:

    https://bbpress.trac.wordpress.org/ticket/1803

    But I don’t get it.

    This is a sub forum with child forums:

    <a class="bbp-forum-title" href="https://www.publictalksoftware.co.uk/support-forums/forum/meeting-schedule-assistant/midweek-editor/">Midweek Editor</a>

    This is a forum with no child forums:

    <a class="bbp-forum-title" href="https://www.publictalksoftware.co.uk/support-forums/forum/meeting-schedule-assistant/assignments-editor/">Assignments Editor</a>

    As you can see, the code is exactly the same. I understood from the associated discussion that the forum with child forums would have a additional class specified so that we could use pseudo before / after to add a symbol to indicate it is a forum with sub forums.

    Or do I have to go about this differently?

    I am using bbp style pack.

    Thanks for shedding any light on this.

    #208471
    Chuckie
    Participant
    Robin W
    Moderator

    The best I can suggest is

    GD bbPress Attachments

    If you want better than this, then contact the developer https://www.dev4press.com/ Milan does bespoke development as well

    #208414
    Robin W
    Moderator

    ok it is showing what I would expect.

    topics are shown only when you go into each forum which is standard bbpress behavior.

    If you would like all the forums listed with titles, then create a WordPress page for your firums and put a list of forums in it as shortcode

    [bbp-single-forum id=$forum_id] – Display a single forums topics. eg. [bbp-single-forum id=32]

    so for instance out this on a page

    [bbp-single-forum id=32]
    [bbp-single-forum id=33]
    [bbp-single-forum id=34]

    .

    #208410
    domi80
    Participant

    Hi

    In the past, I had the same question, but I didn’t try to find a solution yet.
    I’ll try to continue this thread.

    It’s about the page title for the opening page or index page of the forum, shown in the browser’s title bar. For the topic starter, that title starts with:
    Archiwum Fora
    It’s Polish for “archive forums”.

    For my site, it’s in Dutch:
    Archief forums
    It’s Dutch for “archive forums”.

    It’s the title of the index page of the forum shown by the browser.
    For forums themselves, the browser shows the title of the forum as text in the browser’s title bar. So that’s going well.

    As the forum opening page or index page is live and active, it’s expected to not to see “archive” as title in the browser.

    On my setup, I tried the suggestion of mclegend.
    Administration -> You mean the WordPress Back-End with all the configuration settings?
    For ‘Configuration’, I don’t see ‘Server Settings’, only ‘Settings’ and indeed ‘General’, which points to basic WordPress options / item “Forum Title” is not there.
    There is however a ‘Settings’ with ‘Forums’, and I see forum-related options. eg. Forum root and below the title ‘Single Forum Slugs’, there is ‘forum’, which could be a title, but not labeled that way.
    The setting or word ‘archive’ or Dutch translated variant is on those pages not mentioned.
    I suppose the Dutch (or for topic starter, Polish version) is by using translation file(s) and localized version of the WordPress.
    But it’s not about the translation, it’s about the original ‘archive’ in the title.

    So, question remains:
    How to get rid of the word ‘archive’ in the browser’s title bar for the opening page or index page of the forum, and/or where can we set a title manually?

    Current setup: PHP 7.3.12 / WordPress 5.3.2 / bbPress 2.5.14 and seen on earlier versions of 2.5.x and on the later 2.6.x versions while testing.

    #208404
    Robin W
    Moderator

    The best solution is to clone this widget and then amend.

    so put this in your functions.php

    It creates a duplicate login widget, but you’ll find it in dashboard>appearance>widgets called
    (mat) login Widget. You can then add your code to this version

    function register_mat_login_widget() {
        register_widget("MAT_Login_Widget");
    
    }
    
    add_action('widgets_init', 'register_mat_login_widget');
    
    class MAT_Login_Widget extends WP_Widget {
    
    	/**
    	 * MAT Login Widget amended
    	 *
    	 */
    	public function __construct() {
    		$widget_ops = apply_filters( 'mat_login_widget_options', array(
    			'classname'                   => 'mat_widget_login',
    			'description'                 => esc_html__( 'A simple login form with optional links to sign-up and lost password pages.', 'bbpress' ),
    			'customize_selective_refresh' => true
    		) );
    
    		parent::__construct( false, esc_html__( '(mat) Login Widget', 'bbpress' ), $widget_ops );
    	}
    
    	/**
    	 * Register the widget
    	 *
    	 *
    	 */
    	public static function register_widget() {
    		register_widget( 'MAT_Login_Widget' );
    	}
    
    	/**
    	 * Displays the output, the login form
    	 *
    	 * 
    	 * @param array $args Arguments
    	 * @param array $instance Instance
    	 */
    	public function widget( $args = array(), $instance = array() ) {
    
    		// Get widget settings
    		$settings = $this->parse_settings( $instance );
    
    		// Typical WordPress filter
    		$settings['title'] = apply_filters( 'widget_title', $settings['title'], $instance, $this->id_base );
    
    		// mat filters
    		$settings['title']    = apply_filters( 'mat_login_widget_title',    $settings['title'],    $instance, $this->id_base );
    		$settings['register'] = apply_filters( 'mat_login_widget_register', $settings['register'], $instance, $this->id_base );
    		$settings['lostpass'] = apply_filters( 'mat_login_widget_lostpass', $settings['lostpass'], $instance, $this->id_base );
    
    		echo $args['before_widget'];
    
    		if ( ! empty( $settings['title'] ) ) {
    			echo $args['before_title'] . $settings['title'] . $args['after_title'];
    		}
    
    		if ( ! is_user_logged_in() ) : ?>
    
    			<form method="post" action="<?php bbp_wp_login_action( array( 'context' => 'login_post' ) ); ?>" class="bbp-login-form">
    				<fieldset class="bbp-form">
    					<legend><?php esc_html_e( 'Log In', 'bbpress' ); ?></legend>
    
    					<div class="bbp-username">
    						<label for="user_login"><?php esc_html_e( 'Username', 'bbpress' ); ?>: </label>
    						<input type="text" name="log" value="<?php bbp_sanitize_val( 'user_login', 'text' ); ?>" size="20" maxlength="100" id="user_login" autocomplete="off" />
    					</div>
    
    					<div class="bbp-password">
    						<label for="user_pass"><?php esc_html_e( 'Password', 'bbpress' ); ?>: </label>
    						<input type="password" name="pwd" value="<?php bbp_sanitize_val( 'user_pass', 'password' ); ?>" size="20" id="user_pass" autocomplete="off" />
    					</div>
    
    					<div class="bbp-remember-me">
    						<input type="checkbox" name="rememberme" value="forever" <?php checked( bbp_get_sanitize_val( 'rememberme', 'checkbox' ) ); ?> id="rememberme" />
    						<label for="rememberme"><?php esc_html_e( 'Keep me signed in', 'bbpress' ); ?></label>
    					</div>
    
    					<?php do_action( 'login_form' ); ?>
    
    					<div class="bbp-submit-wrapper">
    
    						<button type="submit" name="user-submit" id="user-submit" class="button submit user-submit"><?php esc_html_e( 'Log In', 'bbpress' ); ?></button>
    
    						<?php bbp_user_login_fields(); ?>
    
    					</div>
    
    					<?php if ( ! empty( $settings['register'] ) || ! empty( $settings['lostpass'] ) ) : ?>
    
    						<div class="bbp-login-links">
    
    							<?php if ( ! empty( $settings['register'] ) ) : ?>
    
    								<a href="<?php echo esc_url( $settings['register'] ); ?>" title="<?php esc_attr_e( 'Register', 'bbpress' ); ?>" class="bbp-register-link"><?php esc_html_e( 'Register', 'bbpress' ); ?></a>
    
    							<?php endif; ?>
    
    							<?php if ( ! empty( $settings['lostpass'] ) ) : ?>
    
    								<a href="<?php echo esc_url( $settings['lostpass'] ); ?>" title="<?php esc_attr_e( 'Lost Password', 'bbpress' ); ?>" class="bbp-lostpass-link"><?php esc_html_e( 'Lost Password', 'bbpress' ); ?></a>
    
    							<?php endif; ?>
    
    						</div>
    
    					<?php endif; ?>
    
    				</fieldset>
    			</form>
    
    		<?php else : ?>
    
    			<div class="bbp-logged-in">
    				<a href="<?php bbp_user_profile_url( bbp_get_current_user_id() ); ?>" class="submit user-submit"><?php echo get_avatar( bbp_get_current_user_id(), '40' ); ?></a>
    				<h4><?php bbp_user_profile_link( bbp_get_current_user_id() ); ?></h4>
    
    				<?php bbp_logout_link(); ?>
    			</div>
    
    		<?php endif;
    
    		echo $args['after_widget'];
    	}
    
    	/**
    	 * Update the login widget options
    	 *
    	 * 
    	 * @param array $new_instance The new instance options
    	 * @param array $old_instance The old instance options
    	 */
    	public function update( $new_instance, $old_instance ) {
    		$instance             = $old_instance;
    		$instance['title']    = strip_tags( $new_instance['title'] );
    		$instance['register'] = esc_url_raw( $new_instance['register'] );
    		$instance['lostpass'] = esc_url_raw( $new_instance['lostpass'] );
    
    		return $instance;
    	}
    
    	/**
    	 * Output the login widget options form
    	 *
    	 * 
    	 * @param $instance Instance
    	 */
    	public function form( $instance = array() ) {
    
    		// Get widget settings
    		$settings = $this->parse_settings( $instance ); ?>
    
    		<p>
    			<label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php esc_html_e( 'Title:', 'bbpress' ); ?>
    			<input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $settings['title'] ); ?>" /></label>
    		</p>
    
    		<p>
    			<label for="<?php echo $this->get_field_id( 'register' ); ?>"><?php esc_html_e( 'Register URI:', 'bbpress' ); ?>
    			<input class="widefat" id="<?php echo $this->get_field_id( 'register' ); ?>" name="<?php echo $this->get_field_name( 'register' ); ?>" type="text" value="<?php echo esc_url( $settings['register'] ); ?>" /></label>
    		</p>
    
    		<p>
    			<label for="<?php echo $this->get_field_id( 'lostpass' ); ?>"><?php esc_html_e( 'Lost Password URI:', 'bbpress' ); ?>
    			<input class="widefat" id="<?php echo $this->get_field_id( 'lostpass' ); ?>" name="<?php echo $this->get_field_name( 'lostpass' ); ?>" type="text" value="<?php echo esc_url( $settings['lostpass'] ); ?>" /></label>
    		</p>
    
    		<?php
    	}
    
    	/**
    	 * Merge the widget settings into defaults array.
    	 *
    	 * @since 2.3.0 bbPress (r4802)
    	 *
    	 * @param $instance Instance
    	 */
    	public function parse_settings( $instance = array() ) {
    		return bbp_parse_args( $instance, array(
    			'title'    => '',
    			'register' => '',
    			'lostpass' => ''
    		), 'login_widget_settings' );
    	}
    }
    #208389
    Robin W
    Moderator

    untested, but try this

    add_filter ('bbp_get_user_profile_link' , 'rew_get_user_name', 10 , 2) ;
    
    function rew_get_user_name ($user_link, $user_id ) {
    	// Validate user id
    		$user_id = bbp_get_user_id( $user_id );
    		if ( empty( $user_id ) ) {
    			return false;
    		}
    
    		$user      = get_userdata( $user_id );
    		$user_link = esc_html( $user->display_name ) ;
    
    		// Filter & return
    		return apply_filters( 'rew_get_user_name', $user_link, $user_id );
    }

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

    Code Snippets

    #208366

    In reply to: Oh no!

    Pascal Casier
    Moderator

    @matthias70 I have something for that in my https://wordpress.org/plugins/bbp-toolkit/ plugin to remove the ‘Oh Bother’, but I should check how it works with 2.6

    #208363

    In reply to: 2.64 thank you!

    Chuckie
    Participant
    #208285
    Pascal Casier
    Moderator

    Hi @philippowell, user signups are following WordPress user subscriptions.
    1) You could remove ‘Anyone can register’ in /wp-admin/options-general.php, but that is probably not what you want to do
    2) Check for WordPress plugins that will add protection to people signing up (like captcha)

    samtime
    Participant

    Hi,
    Is there a way for bbPress notifications that appear in BuddyPress (eg: “You have a new reply on the topic you started”) to automatically be dismissed when clicked, like other notifications do?

    Currently they can only be dismissed by manually marking them as read on the user profile page.

    Thank you,
    Sam

    WordPress 5.3.2
    bbPress 2.6.3
    BuddyPress 5.1.2

    #208269
    trustedservant
    Participant

    Hello,
    I am seeking help importing my Mingle forums…I can’t seem to find the answers on the bbpress support boards.

    Here are the specifics of my setup:
    Wordpress 5.3.2
    Pandora Theme 1.3.2
    bbpress 2.6.3
    naranonchat.com

    Originally, I struggled to figure out what information needed to be put into the import fields as I am definitely not well versed in the world of website building. I was able to find my wp-configure.php to get the information. My table prefix was not wp_ it was smi_ which took me FOREVER to figure out.

    When I finally got the import monitor to run, it got stuck at step 6 multiple times and despite clicking the option to erase previous attempts, it just created multiple duplicate forums. So, I did the hard reset that was suggested on one of the message boards by Stephen Edgar. When I started over, only one version of the forums was created. I was super excited!

    Now, when it moves on to step 7 it first tells me “Converting topics (0 through 50 of 50) 100%,” then it just continuously runs stating over and over “Converting topics (50 through 50 of 50) 100%.” This creates copy after copy after copy of the same exact posts and never stops. I have over 500+ topics, not 50. How can I stop step 7 from multiple duplications of the same 50 posts, get all 500+ topics that should come over and move on to step 8?

    Please help, I am super frustrated.

    Thanks in advance!

    domi80
    Participant

    Hi

    We’ve got an issue after upgrading bbPress to 2.6.x:

    The “latest reply” column on the forum index page isn’t showing the real latest reply. Instead, we see the latest reply as it was just before the upgrade to 2.6.x.
    None of the replies after the update are displayed.
    This happens only at the forum index, not on the sub forum index pages; the sub forum index page shows the right latest reply.

    The options to repair/recalculate didn’t correct the information in the “latest reply” column.

    We’ve seen this on 2.6.1 and 2.6.3.
    We did a downgrade to 2.5.14 twice, once after 2.6.1 and once after 2.6.3, we did every time the repair/recalculate, and we’ve got the column working good again with the right and expected “latest reply”.

    URL: http://www.lotgenotenseksueelgeweld.nl
    Note: It’s in Dutch localized.

    bbPress version now: 2.5.14
    We have the forum index built by using the shortcode [bbp-forum-index] .
    For the sub forums, we use the corresponding shortcode with the ID of the sub forum.
    WordPress version 5.3.2.
    PHP version 7.3.12.

    Anyone else having this situation? How did you get it solved?
    Or could this be a bug in the bbPress?

Viewing 25 results - 2,701 through 2,725 (of 26,830 total)
Skip to toolbar