Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 7,001 through 7,025 (of 64,431 total)
  • Author
    Search Results
  • #193776
    Yin Jin
    Participant

    i want to show forums on my own theme but i don’t know how. does bbpress provide shortcodes?

    quigley05
    Participant

    Hi Robin, Oddly enough the Subscribed forums is the only chunk that has issues with this setup. It ignores the current user with the below code. See result at https://obeii.com/discussions-subscriptions/

    	<?php do_action( 'bbp_template_before_user_subscriptions' ); ?>
    
    	<?php if ( bbp_is_subscriptions_active() ) : ?>
    
    		<?php if ( bbp_is_user_home() || current_user_can( 'edit_users' ) ) : ?>
    
    			<div id="bbp-user-subscriptions" class="bbp-user-subscriptions">
    				<h2 class="entry-title"><?php _e( 'Subscribed Forums', 'bbpress' ); ?></h2>
    				<div class="bbp-user-section">
    					
    <?php $user_id = get_current_user_id() ; ?>
    
    					<?php if ( bbp_get_user_forum_subscriptions($user_id) ) : ?>
    
    						<?php bbp_get_template_part( 'loop', 'forums' ); ?>
    
    					<?php else : ?>
    
    						<p><?php bbp_is_user_home() ? _e( 'You are not currently subscribed to any forums.', 'bbpress' ) : _e( 'This user is not currently subscribed to any forums.', 'bbpress' ); ?></p>
    
    					<?php endif; ?>
    
    				</div>
    
    		<?php endif; ?>
    
    	<?php endif; ?>
    
    	<?php do_action( 'bbp_template_after_user_subscriptions' ); ?>
    #193771

    In reply to: Eliminating User Roles

    Robin W
    Moderator

    ok, to remove all the data, you’ll need to use the tool in bbpress.

    so re-install bbpress, activate and go to

    dashboard>tools>forums>reset forums

    This will delete the roles (and everything else)

    #193767
    Robin W
    Moderator

    hmmm…

    wp_bp_xprofile_data is a buddypress table, bbpress only uses wp_users and meta.

    Might be worth logging in the buddypress support forum to see if they can help

    https://buddypress.org/support/

    Robin W
    Moderator

    bbpress is a free plugin and this forum is a community forum – there are no paid staff, so questions are answered by volunteers.

    bbpress uses wordpress registration, so the issue is a wordpress one, and as suggested by the password reset, you should contact you host provider.

    also try https://wordpress.org/plugins/check-email/

    #193762
    OscarGuy
    Participant

    I had to delete bbPress while I worked on my site design, but it seems to have left a bunch of user roles behind and I cannot find any way to get rid of them. How can I do that?

    #193757
    nineplanetsllc
    Participant

    Does bbPress add any cookies beyond the standard WordPress login cookies? We’re putting together the list of all the cookies the site sets and aren’t sure if bbPress is adding any. If it does add any, could you list the name, duration and purpose of the cookie(s)?

    saad4u
    Participant

    Hello,

    I just installed the bbpress plugin and created page, new topics in forum. However, when I enter the email address in registration form, the email is not being sent to my address. I almost tried with 3 different email addresses. But received none of the confirmation email.

    I also added
    add_filter( ‘bp_email_use_wp_mail’, ‘__return_true’ ); to my functions.php file.

    Please help me out with this..

    #193754
    sdeeds
    Participant

    No, bbPress adds imported_ to the username in the wp_bp_xprofile_data table. Which appears en lieu of the username on all forums. However, the imported_ namespace is not in the wp_users table. It’s only an issue in bbPress.

    #193751
    Robin W
    Moderator

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    #193750
    Robin W
    Moderator

    hmm – so if you temnporarily deactivate bbpress and then register as a new user – you get ‘imported_…’

    yes ?

    Robin W
    Moderator

    untested, but try

    <?php do_action( 'bbp_template_before_user_topics_created' ); ?>
    
    	<div id="bbp-user-topics-started" class="bbp-user-topics-started">
    		<div class="bbp-user-section">
    
    <?php $user_id = get_current_user_id() ; ?>
    
    			<?php if ( bbp_get_user_topics_started($user_id ) ) : ?>
    
    				<?php bbp_get_template_part( 'pagination', 'topics' ); ?>
    
    				<?php bbp_get_template_part( 'loop',       'topics' ); ?>
    
    				<?php bbp_get_template_part( 'pagination', 'topics' ); ?>
    
    			<?php else : ?>
    
    				<p><?php bbp_is_user_home() ? _e( 'You have not started any topics.', 'bbpress' ) : _e( 'This user has not started any topics.', 'bbpress' ); ?></p>
    
    			<?php endif; ?>
    
    		</div>
    	</div><!-- #bbp-user-topics-started -->
    
    <?php do_action( 'bbp_template_after_user_topics_created' ); ?>

    This sets the user up as current user

    quigley05
    Participant

    I’m customizing my buddypress/bbpress user pages to be taken out of their traditional framework and placing that data on indvidual pages. However, when I do this the code has issues recognizing the current user and automatically ignores the logged in user. Does anyone know how to resolve this issue?

    URL: http://obeii.com/discussions-topics-started/

    CODE: (topics started)

    <?php do_action( 'bbp_template_before_user_topics_created' ); ?>
    
    	<div id="bbp-user-topics-started" class="bbp-user-topics-started">
    		<div class="bbp-user-section">
    
    			<?php if ( bbp_get_user_topics_started() ) : ?>
    
    				<?php bbp_get_template_part( 'pagination', 'topics' ); ?>
    
    				<?php bbp_get_template_part( 'loop',       'topics' ); ?>
    
    				<?php bbp_get_template_part( 'pagination', 'topics' ); ?>
    
    			<?php else : ?>
    
    				<p><?php bbp_is_user_home() ? _e( 'You have not started any topics.', 'bbpress' ) : _e( 'This user has not started any topics.', 'bbpress' ); ?></p>
    
    			<?php endif; ?>
    
    		</div>
    	</div><!-- #bbp-user-topics-started -->
    
    <?php do_action( 'bbp_template_after_user_topics_created' ); ?>
    #193738
    sdeeds
    Participant

    Yes, a user signs up through memberpress, which creates a username record in wp_user. Then, for whatever reason, instead of the nicename or whatever in the wp_bp_xprofile_data table, those users are labeled as imported_nicename, and that’s what is visible on bbpress. If a user goes to change their username, it apparently fixes the issue. But I’m operating on a dozen or more signups a day, and over 7k users.

    #193735
    sdeeds
    Participant

    No, actually I am seeing this issue on freshly created users.
    To give you a little more info, it’s a membership site which leverages MemberPress and bbPress is connected to BuddyPress.

    Any thoughts?

    #193728

    In reply to: Change user color

    sopliar
    Participant
    #193726

    In reply to: Change user color

    sopliar
    Participant

    Hello @robin-w, this is the code

    add_filter( 'bbp_get_dynamic_roles', 'ntwb_bbpress_custom_role_names' );
    function ntwb_bbpress_custom_role_names() {
    	return array(
    		// Keymaster
    		bbp_get_keymaster_role() => array(
    			'name'         => 'Amministratore',
    			'capabilities' => bbp_get_caps_for_role( bbp_get_keymaster_role() )
    		),
    		// Moderator
    		bbp_get_moderator_role() => array(
    			'name'         => 'Moderatore',
    			'capabilities' => bbp_get_caps_for_role( bbp_get_moderator_role() )
    		),
    		// Participant
    		bbp_get_participant_role() => array(
    			'name'         => 'Utente',
    			'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() )
    		),
    		// Spectator
    		bbp_get_spectator_role() => array(
    			'name'         => 'Visitatore',
    			'capabilities' => bbp_get_caps_for_role( bbp_get_spectator_role() )
    		),
    		// Blocked
    		bbp_get_blocked_role() => array(
    			'name'         => 'Bannato',
    			'capabilities' => bbp_get_caps_for_role( bbp_get_blocked_role() )
    		)
    	);
    }
    
    #193720
    Ray Konopka
    Participant

    I am trying to import the forums and topics from our existing phpBB forums. There are about a dozen forums, and about 400 topics and 1600 posts. I have set the values on the Import Forums page to the following:

    Select Platform = phpBB
    Database Server = mssql2.<hostingdomain>.com
    Database Port = 3306
    Database Name = <name of the database>
    Database Username = <admin user>
    Database Password = <password>
    Table Prefix = phpbb_

    However, when I start the conversion, it reports “No forums to convert”, “No forum parents to convert”, and so on.

    I do not get any errors when I run the conversion. The existing phpBB forums are in a MSSQL database and not a MySQL database. I suspect that this may be the reason nothing is discovered.

    Any help would be appreciated.

    Ray
    bbPress Version 2.5.14
    WordPress 4.9.6 running Divi theme

    #193717

    In reply to: Change user color

    Robin W
    Moderator

    it is not good practise to amend bbpress (or any plugin) files.

    The code should go in the custom css area of your there if it has one, or via a plugin such as https://en-gb.wordpress.org/plugins/simple-custom-css/

    for the threads are, the simplest would be to use my style pack plugin

    bbp style pack

    and change the roles in

    dashboard>settings>bbp style pack>forum roles

    for your specific area, we would need the code you added in your functions file, but that should be able to then use the plugin settings above

    #193716

    Topic: Change user color

    in forum Themes
    sopliar
    Participant

    Hello BBPRESS community,

    I really want to change color of my usergroups in my forum made by bbpress.
    I have the standard role (keymaster, moderator, blocked ecc) but with names modified by editing the file functions.php in my theme folder.

    Now I would like to change the color in the status bar and in the topic/threads, example Administrator in the red, moderators in blue ecc.
    I tried a insert this code in bbpress/templates/default/css/bbpress.css:

    .bbp-author-role-keymaster {
    background:blue;
    color:white;
    padding:0 5px;
    }

    but it does not change anything, why?
    I want to change color here

    View post on imgur.com


    and in threads/topic discussion.
    How I do?
    Thank you very much.

    #193709
    Martin J
    Participant

    Nope, only the adminbar on the front-end of the site. But that’s the issue, when I log in, I get redirected to the front-end of the site. I have to manually type in any admin page…basically /wp-admin.php

    So something about bbpress is doing this. Again, if I disable bbpress, everything goes back to normal.

    #193707
    sdeeds
    Participant

    Because here is a reference to it from 5 years ago:

    phpBB import username issue

    and I can confirm that it is happening because of bbpress, though I don’t understand why.

    #193706
    Robin W
    Moderator

    not sure how this is related to bbpress ?

    #193704
    Robin W
    Moderator
    Josh
    Participant

    Hey, this is a bit of a unique situation, so I’m not sure how much you’ll be able to help. We had a bbPress forum which we closed in 2015. The “topics” we migrated to a custom post type so that we could keep them published, but without the forum framework.

    Recently, we’ve decided to re-open the forums on a new site. I exported the Forums, the Topics (which I switched back to the “topic” custom post type), and the Replies. We’re having two issues:

    1) The topics are not longer associated with their respective forums. Same for the replies with their topics. I know we can manually re-associate them, but there are hundreds of topics and replies. I’ve tried the Repair tool under the Tools menu, but it didn’t fix anything. Are there any other options?

    2) Additionally, the replies are not appearing in admin at all. I can see that there are 300+ published replies but where the list should be, I instead get this fatal error:

    Fatal error</b>: Allowed memory size of 33554432 bytes exhausted (tried to allocate 4096 bytes) in <b>xxxxxx\wp-includes\class-wp-hook.php</b> on line <b>279</b>

    Any help on either of these would be much appreciated. Thanks!

Viewing 25 results - 7,001 through 7,025 (of 64,431 total)
Skip to toolbar