Skip to:
Content
Pages
Categories
Search
Top
Bottom

Customize Request Membership Tab


  • demonja
    Participant

    @demonja

    Hello,

    I’m fairly new to WordPress and Buddypress so please bear with me. I cant seem to find any info or plugins that allow me to customize the Request Membership tab to have more form fields. Is there an easy way to customize this tab? Essentially trying to set up an application to join a private group.

    Also – Is there a way to force the Request Membership button on the groups page (http://alacritygaming.com/guilds/) to send you to that same form that is on the tab? This way any member that wants to join the group is forced to fill out the application.

    Any help would be greatly appreciated. Thank you all for your time!

Viewing 4 replies - 1 through 4 (of 4 total)

  • shanebp
    Moderator

    @shanebp

    The template is here:
    buddypress\bp-templates\bp-legacy\buddypress\groups\single\request-membership.php

    I don’t know of any plugins that handle customizing that area.

    > Is there an easy way to customize this tab?

    Easy?
    Yes, fairly easy, if you have some skills as a WP / BP developer.


    demonja
    Participant

    @demonja

    Ah -ha Ok thanks! That helps a ton. I’ve been working with that PHP file. The issue I am now having is that the text input into the form is loosing its formatting when viewed on the admin side under Admin – Requests. Any text entered by a user there looses all formatting and just turns into a block of text.

    Any way to correct this?


    demonja
    Participant

    @demonja

    The biggest thing is the loss of line breaks for paragraphs, if I could just get that to transfer from the user side to the admin side that would make a world of difference.

    Thanks for the support and patience – learning tons!


    shanebp
    Moderator

    @shanebp

    Try this in your theme/functions.php or plugins/bp-custom.php

    function demonja_group_requests( $request ) {
    
    	$request = str_replace(array("\r\n", "\r", "\n"), "<br/>", $request);
    	return '<br/>' . $request;
    
    }
    add_filter( 'bp_group_request_comment', 'demonja_group_requests', 1, 1 );
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Customize Request Membership Tab’ is closed to new replies.
Skip to toolbar