Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'forum'

Viewing 25 results - 1,876 through 1,900 (of 20,277 total)
  • Author
    Search Results
  • #248673
    danbp
    Participant

    Hi,

    you need to use bbpress.po translation file, even if your site is in default english language.
    Or if you only want to modify one word, you can use this snippet from inside your child-theme’s functions.php (will also work in bp-custom.php)

    function bruce_change_name( $translated, $original_text, $domain ) {
    		
    	if ( 'bbpress' !== $domain )  
    	return $translated; 
    	
    	switch ( $original_text ) {
    		
    		case 'Forums':  // original word
    		return 'Four Rhum'; // your custom word
    		
    		default:
    		return $translated;
    	}
    }
    add_filter( 'gettext', 'bruce_change_name', 10, 3 );

    WP reference: https://developer.wordpress.org/reference/hooks/gettext/

    #248659
    bruce30
    Participant

    i think mine really change the slug, but i did not notice it because im looking at the nav menu if the word Forums changes. im not looking in the URL.

    #248654
    Henry Wright
    Moderator

    I think so with the use of a language file.

    Ref: https://codex.buddypress.org/getting-started/customizing/customizing-labels-messages-and-urls/

    Also, according to the Customizable Slugs in BuddyPress article, you should be able to add this to your wp-config.php file to change your slug:

    define ( 'BP_FORUMS_SLUG', 'discussions' );

    Ref: https://buddypress.org/2009/05/customizable-slugs-in-buddypress/

    #248652
    Henry Wright
    Moderator

    Do you mean change the wording of the navigation tab that reads Forums?

    #248650
    bruce30
    Participant

    Hi @henrywright,
    Hello @casiepa, 🙂
    i link an image here, (i hope this likk will work :))to show what it looks like. that’s how it looks like, the personal profile of each user, if you observe the menu below the cover photo. together with the notification and messages, there is a “Forums” i what to change it, the same with The Group page after the home button, i hope you can help me, 🙂

    Bruce.

    #248640
    Henry Wright
    Moderator

    The code you’ve posted gets the current group and first compares that group’s slug to social-group-547668396. If a match occurs, the default tab is set to calendar. If no match occurs then the group’s slug is compared to husbands-out. If a match occurs, the default tab is set to forum. If the group’s slug doesn’t match any of those, the default tab is set to home.

    I don’t think any of this will happen at the point a join group button is clicked.

    My thinking is you will need to hook to an action such as groups_join_group (which will fire immediately after a user joins a group) and then perform a direct to the forum tab (or to the default tab if that is set to forum).

    I think something like this:

    function my_redirect_after_join_group( $group_id, $user_id ) {
        $group = groups_get_group( array( 'group_id' => $group_id ) );
        bp_core_redirect( bp_get_groups_directory_permalink() . $group->slug . '/forum/' );
    }
    add_action( 'groups_join_group', 'my_redirect_after_join_group', 10, 2 );

    Please note I haven’t tested.

    #248630
    ma3ry
    Participant

    Thank you. Could you please be more explicit.

    Do I need the above code PLUS redirect plugin or should I be able to do it with just plugin?

    Can you give me an idea of the URL “in” to accomplish this please.

    The URL “out” will be https://christiangayschat.com/bpgroups/social-group-547668396/forum/

    But I can’t figure out what the “in” URL would be for Join Group and Leave Group.

    #248628
    Pascal Casier
    Participant

    @henrywright,
    Are you sure this is a bbPress thing ? In the profile of a standard WordPress/bbPress install, I don’t seem to have a ‘Forum’ button in my profile.
    Pascal.

    #248626
    Henry Wright
    Moderator

    Hi @bruce30

    Give this guys a shout over at bbPress.

    #248606
    Ben Hansen
    Participant

    so the moderator user role is actually a function of bbpress not buddypress so you may have more luck on that forum than here but have you run the the bbpress repair scripts?

    #248589
    Henry Wright
    Moderator

    Regarding your original question:

    Is there a way to redirect to forum from “Join Group” button please.

    The code you’ve posted here won’t perform a redirect; instead, it filters the default groups tab. I would imagine you’d also need a redirect put in place (which might explain why you see no change when you add the code snippet).

    #248587
    ma3ry
    Participant

    This is some code that I got from another page. Is there any chance that you could adapt it?

    /* Redirect to Forum after Join Group. */

    function bpfr_custom_group_default_tab($default_tab){
    /**
    * class_exists() is recommanded to avoid problems during updates
    * or when Groups Component is deactivated
    */
    if ( class_exists( ‘BP_Group_Extension’ ) ) : //

    $group=groups_get_current_group();//get the current group

    if(empty($group))
    return $default_tab;

    switch($group->slug){

    case ‘social-group-547668396′: // group name (slug format)
    $default_tab=’calendar’;
    break;

    case ‘husbands-out’: // another group
    $default_tab=’forum’; // goes on a different tab
    break;

    // case etc, etc…

    default:
    $default_tab=’home’;// the default landing tab
    break;

    }

    return $default_tab;

    endif; // class end
    }

    add_filter(‘bp_groups_default_extension’,’bpfr_custom_group_default_tab’);
    Sat Jan 9 2016, 9:03:59 PM
    (0) Reply

    Add file

    #248473
    markc
    Participant

    Thanks again for your help. I think I have it working now. What confused me is when creating a Group and selecting “create forum” that it created an empty one with the same name so in the admin area for the Group I have to select the OTHER forum topic with the same name and then delete the empty same-named forum. Whew! 🙂

    And doubly confused with users. The topics and replies do have the correct user but it was the creator of the Forums and Groups that is (obviously) admin. Also the post with single Voices and Posts are indeed unanswered topics best I can determine, so maybe all is well.

    #248472
    Ben Hansen
    Participant

    hmm not sure think that’s above my pay grade might want to ask in the bbpress forums if nobody else here can help.

    #248471
    markc
    Participant

    Right, so it is that simple!

    I must have a borked the initial import because now I only have a single “Voices” and “Posts” per topic whereas there should be 25,000 Posts in one particular topic. Maybe I was too eager trying to rebuild forums and topics.

    Also the the users that previously created and belonged to each Post are missing entirely. All Forums and Topics are “owned” only by admin. Any hint as how to “reattach” users to the topics and replies by any chance?

    #248470
    Ben Hansen
    Participant

    buddypress used to have its own group based forums now what you do is when you create the group there is an option to also create a forum topic. you can also associate an already existing forum using the manage option on the group page as an admin.

    #248468
    markc
    Participant

    Thanks @ubernaut. I have a forum topic called “General” so I create a Group also called “General” but I can’t figure out how to enable the imported General topic to become THE forum for the newly created General Group. I found these vague old instructions but no luck so far. Would you have any clues how I could link the imported forum topic to the group?

    Set up a new group for each forum (a “Help” forum might get a “Help” group, for example), make sure the group has discussion forums enabled, and then find the line in table wp_bp_groups_groupmeta corresponding to the group_id of the new group and meta key forum_id, and change the meta_value to match the forum number of the orphan group. Rinse and repeat.

    #248466
    Ben Hansen
    Participant

    there’s no need actually the user list is the same (wordpress’) and buddypress does not have any forum functionality other than compatibility with what bbpress provides.

    #248415
    Paul-tCGs
    Participant

    Well @shanebp, the call to GoDaddy didn’t go so well: they basically wanted to turn on the WP debug log which I’d enabled last two weeks ago.

    In the meantime, with things somewhat stable, we’ve been turning the BuddyPress plugin on and off to add the functionality on the backend or the user profiles on the front end as one need

    Clearly we are having trouble with the Kami theme update, and we’ve emailed the developers for the theme to get them working on that part of the issues we’re having. Yet there are lots of other updates are occurring all the time too, and clearly BuddyPress is the one sticking me in the side.

    When BuddyPress is activated, the WP Dashboard goes white, but functionality of the plugin comes back along with all the data. When BP is deactivated (removed via sftp, actually) the functionality is lost, but the Dashboard comes back to online mode.

    I’m wondering now if there is any better support than these forums.. cuz i can’t see this being more than running blind right now.

    #248389
    VersGemerkt
    Participant

    If you are interested: i posted the question here: https://thimpress.com/forums/topic/how-to-call-the-user-id/

    #248387
    shanebp
    Moderator

    You are asking LearnDash questions on a BP support forum.
    Please ask LearnDash.

    #248321
    shanebp
    Moderator

    Have you tried deactivating other plugins to see if there is a conflict?

    Have you tried switching to a WP theme like 2013 to see if there is an issue in your current theme?

    How can i PM an expert each time i run into something i don’t know?

    These forums are run by volunteers.
    If you want access to an expert, you can create a listing on the jobs forum.

    #248314

    In reply to: I need your help.,

    danbp
    Participant

    Hi,

    group forums are part of bbPress, so you’ve better to ask on bbPress support forum.

    On bbPress Codex, you’ll find a page related to some plugins who may fit or approach what you’re looking for. See https://codex.bbpress.org/feature-plugins-tracking/

    #248282

    In reply to: Protected Forums

    tammy1999
    Participant

    No I haven’t. I am doing some research first before I decide which plugins to use on a new site. I posted at the bbPress forum, but not getting any responses.

    #248277

    In reply to: Protected Forums

    shanebp
    Moderator

    Since it has not been updated for a couple years, that plugin may or may not work.
    Did you try it?

    btw – the bbPress support forums are here.

Viewing 25 results - 1,876 through 1,900 (of 20,277 total)
Skip to toolbar