Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 7,051 through 7,075 (of 64,471 total)
  • Author
    Search Results
  • #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!

    #193680
    Harsh
    Participant

    I am using bbpress too and the group forums don’t show @mention users highlighted or any notifications to tagged user.

    #193677
    Robin W
    Moderator

    so you are not using bbpress ?

    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

    staq
    Participant

    Hi,

    I was able to set up and add forums no problem when i first downloaded and installed bbPress, however, after that first time, the forum section in my dashboard sidebar has disappeared. I cannot find ANYWHERE in my settings, users nor on the forum page itself where I can add and edit forums. I have tired everything, even unactivating, deleting and reinstalling bbPress multiple times. I am very frustrated as I need to change and add forums for work.

    Some help would be much appreiciated.

    Thanks,

    The STAQ team.

    #193649

    In reply to: Subscibe link location

    Robin W
    Moderator
    webmasterfreya
    Participant

    Hi Robin,

    Thanks for your reply.
    I do not have this plugin bbp private groups.

    In the mean time I found out that the same applies to the overwiew of topic subscriptions.

    https://www.freya.nl/members/erwintest/forums/subscriptions/ shows only the topic subscriptions from the Non private fora.

    Logged in as administrator all topic subcriptions for the user are visible ( including the topic subscriptions within private fora).

    Initialy I thought it should be a problem somewhere in Buddypress (because there one can create private groups and forum) but they pointed me to bbPress.

    #193636
    Robin W
    Moderator

    Not sure you can define this as a bug. If you disable the admin area, logically you are saying that you don’t want admin access πŸ™‚ Most people just turn it off for anyone but admins.

    How have you ‘disabled’ the admin area?

    and without bbpress, how do you switch between the site and the admin area without typing wp-admin ?

    #193629
    u_Oi
    Participant

    Hi @pauldlb

    Try this… Paste the follow code into function.php (Appearance – Editor – Functions.php)

    /* Remove SideBar From bbPress Profiles and Topics*/
    function disable_all_widgets( $sidebars_widgets ) {
    if ( function_exists('is_bbpress') ) {
    if (is_bbpress()) {
    $sidebars_widgets = array(false);
    remove_all_actions('bp_register_widgets');
    unregister_sidebar( 'bp_core_widgets' );
    }
    }
    return $sidebars_widgets;
    }
    add_filter('sidebars_widgets', 'disable_all_widgets', 1, 1);
    #193623
    matrixino
    Participant

    Hello,
    I migrated from phpBB to bbPress recently. My forum has ~1Million posts. My postmeta table is 30GB.
    Is there anything I can do to shrink it?
    I noticed there are many lines for every post like _bbp_old_xxxx, which i suspect comes from migration.
    It’s safe to delete all those records with _old_ in it? Or anything else? 30GB seems quite too much even for that amount of posts, compared to the old phpbb db size…

    webmasterfreya
    Participant

    ello,

    Members of private groups are missing in their overviews the started topics and created replies from private forum(s) .

    e.g Group member erwintest (member of 1 group) added some topics and replies in the private forum that should (at least i expect that) pop up via this link
    /members/erwintest/forums/ and /members/erwintest/forums/replies/ but they don’t.

    However if i logon as administrator and use the same links, the started topics and created replies placed in the private forum of user erwintest do popup.

    Is this expected behaviour or not?

    With Non private forums there is no problem.

    site: freya.nl
    Latest WordPress, bbPresss and Buddypress

Viewing 25 results - 7,051 through 7,075 (of 64,471 total)
Skip to toolbar