Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 7,551 through 7,575 (of 94,541 total)
  • Author
    Search Results
  • #278453
    Prashant Singh
    Participant

    Hi,

    This is the plugin https://wordpress.org/plugins/wysija-newsletters/ that you can use but will need customization to restrict as per check box value.

    https://www.mailpoet.com/buddypress-case-study/ Also try to consult with mailpoet once.

    Thanks

    #278452
    Prashant Singh
    Participant

    In particular,I’d like to distinguish between organizations and individuals.

    The organizations apply to build communities, and organizations can post blogs in established communities to answer questions, free and paid features.

    The data discussed by members can be saved and can be provided to scientific institutions for analysis.

    Hi,

    BuddyPress have member type features that you can use to distinguish between members. Please check this plugin https://buddydev.com/plugins/buddypress-member-types-pro/ and then can restrict group creation and blogs by member type organization.

    Also use this plugin https://wordpress.org/plugins/bbpress/ for forum creation where members can come and reply on topics.

    The topics and replies and activity post in buddypress are stored in the database.

    Please check all of them and then can choose a BuddyPress based theme https://colorlib.com/wp/best-buddypress-wordpress-themes/ and it will have most of things inbuilt.

    Thanks

    Prashant Singh
    Participant

    Hi,

    <?php if(current_user_can('manage_options')){ ?>
    <button type="button" class="message-action-delete bp-tooltip bp-icons" data-bp-action="delete" data-bp-tooltip="<?php esc_attr_e( 'Delete conversation.', 'buddypress' ); ?>">
    <span class="bp-screen-reader-text"><?php esc_html_e( 'Delete conversation.', ',buddypress' ); ?></span>
    </button>
    <?php }?>

    You have to wrap the code like this. Just find the code that I put in condition and replace that with my code.

    You can search for class=”actions” and there you will find the code.

    Thanks

    #278437
    inderpreet2018
    Participant

    I didn’t modified any template or file from Buddypress. I am using Divi theme and memberPress plugin for maintaining the members. Also used “MemberPress + BuddyPress Integration” plugin to integrates MemberPress with BuddyPress.

    Is any one from above creating issue for tabs?

    Hi

    I request your help today for something quite simple (i expect).
    But i can’t find a working solution with the buddypress function ‘bp_register_template_stack’

    I need to change the last part of all my template stack url to target another folder in my theme « sage »
    this is because i’m using sage.io starter theme. The theme use the Laravel Blade templating system

    initial stack was :
    /app/public/app/themes/sage/resources/buddypress

    but i need to use :
    /app/public/app/themes/sage/resources/views/buddypress

    here is my try (in my functions.php) :

    /**
    * Buddypress template stack adaptation for Blade Sage.io templating
    * @link 
    * example @link http://www.generalthreat.com/2013/08/grappling-with-bp-theme-compatibility/
    *
    * maybe try: bp_locate_template to test the hook 
    * initial one was :
    * /app/public/app/themes/sage/resources/buddypress
    */
    
    function md_bp_blade_register_template_location() {
        // return STYLESHEETPATH . '/views/buddypress/';
        return TEMPLATEPATH . '/views/buddypress';
    
       // return '/app/public/app/themes/sage/resources/views/buddypress';
    }
    
    if( function_exists( 'bp_register_template_stack' ) ) {
     bp_register_template_stack( 'md_bp_blade_register_template_location', 1 );
    } 

    any idea how to make this function work?

    #278434
    Henry Wright
    Moderator

    The script may use certain IDs or classes in the DOM and if you have modified the template then the AJAX request may not work as expected. Try again using a fresh copy of BuddyPress to see if the problem continues to happen

    Bit Boy
    Participant

    Hi,
    How did you disable the option? Are you using css to do it?

    There are two ways to do it
    1. Using css
    2. editing template file(register.php and keeping a copy in your theme’s buddypress/members directory)

    I will prefer the first approach as it will not be much work on a site admin’s part.

    
    .register-page .signup-form .editfield .field-visibility-settings,
    .buddypress-wrap .standard-form .field-visibility-settings-header {
        display:none;
    }
    
    

    Please visit Dashboard->Appearance->Customize menu then open “Additional Styles” and add those lines.

    Does that work?

    Best Regards
    B

    amkh
    Participant

    I have hidden the “Who can see this field?” from buddypress profile fields and registration page. But I notice whenever the registration page loads/refreshes and also profile, this field keeps keeps appearing for few seconds. Is there a way to completely disable this field appearing?

    Anonymous User 16484011
    Inactive

    Hi ! Prashant !

    Thanks for your time. But I am zero in buddypress & coding. So, As per your path I find the index file but I can’t get where can I use your above code and where can I add role name administrator ? I put my file here ! Can you please edit it for me ?

    <?php
    /**
     * BP Nouveau Messages main template.
     *
     * This template is used to inject the BuddyPress Backbone views
     * dealing with user's private messages.
     *
     * @since 3.0.0
     * @version 3.1.0
     */
    ?>
    <div class="subnav-filters filters user-subnav bp-messages-filters" id="subsubnav"></div>
    
    <div class="bp-messages-feedback"></div>
    <div class="bp-messages-content"></div>
    
    <script type="text/html" id="tmpl-bp-messages-feedback">
    	<div class="bp-feedback {{data.type}}">
    		<span class="bp-icon" aria-hidden="true"></span>
    		<p>{{{data.message}}}</p>
    	</div>
    </script>
    
    <?php
    /**
     * This view is used to inject hooks buffer
     */
    ?>
    <script type="text/html" id="tmpl-bp-messages-hook">
    	{{{data.extraContent}}}
    </script>
    
    <script type="text/html" id="tmpl-bp-messages-form">
    	<?php bp_nouveau_messages_hook( 'before', 'compose_content' ); ?>
    
    	<label for="send-to-input"><?php esc_html_e( 'Send @Username', 'buddypress' ); ?></label>
    	<input type="text" name="send_to" class="send-to-input" id="send-to-input" />
    
    	<label for="subject"><?php _e( 'Subject', 'buddypress' ); ?></label>
    	<input type="text" name="subject" id="subject"/>
    
    	<div id="bp-message-content"></div>
    
    	<?php bp_nouveau_messages_hook( 'after', 'compose_content' ); ?>
    
    	<div class="submit">
    		<input type="button" id="bp-messages-send" class="button bp-primary-action" value="<?php echo esc_attr_x( 'Send', 'button', 'buddypress' ); ?>"/>
    		<input type="button" id="bp-messages-reset" class="text-button small bp-secondary-action" value="<?php echo esc_attr_x( 'Reset', 'form reset button', 'buddypress' ); ?>"/>
    	</div>
    </script>
    
    <script type="text/html" id="tmpl-bp-messages-editor">
    	<?php
    	// Add a temporary filter on editor buttons
    	add_filter( 'mce_buttons', 'bp_nouveau_messages_mce_buttons', 10, 1 );
    
    	wp_editor(
    		'',
    		'message_content',
    		array(
    			'textarea_name' => 'message_content',
    			'teeny'         => false,
    			'media_buttons' => false,
    			'dfw'           => false,
    			'tinymce'       => true,
    			'quicktags'     => false,
    			'tabindex'      => '3',
    			'textarea_rows' => 5,
    		)
    	);
    
    	// Remove the temporary filter on editor buttons
    	remove_filter( 'mce_buttons', 'bp_nouveau_messages_mce_buttons', 10, 1 );
    	?>
    </script>
    
    <script type="text/html" id="tmpl-bp-messages-paginate">
    	<# if ( 1 !== data.page ) { #>
    		<button id="bp-messages-prev-page"class="button messages-button">
    			<span class="dashicons dashicons-arrow-left"></span>
    			<span class="bp-screen-reader-text"><?php echo esc_html_x( 'Previous page', 'link', 'buddypress' ); ?></span>
    		</button>
    	<# } #>
    
    	<# if ( data.total_page !== data.page ) { #>
    		<button id="bp-messages-next-page"class="button messages-button">
    			<span class="dashicons dashicons-arrow-right"></span>
    			<span class="bp-screen-reader-text"><?php echo esc_html_x( 'Next page', 'link', 'buddypress' ); ?></span>
    		</button>
    	<# } #>
    </script>
    
    <script type="text/html" id="tmpl-bp-messages-filters">
    	<li class="user-messages-search" role="search" data-bp-search="{{data.box}}">
    		<div class="bp-search messages-search">
    			<?php bp_nouveau_message_search_form(); ?>
    		</div>
    	</li>
    	<li class="user-messages-bulk-actions"></li>
    </script>
    
    <script type="text/html" id="tmpl-bp-bulk-actions">
    	<input type="checkbox" id="user_messages_select_all" value="1"/>
    	<label for="user_messages_select_all"><?php esc_html_e( 'All Messages', 'buddypress' ); ?></label>
    	<div class="bulk-actions-wrap bp-hide">
    		<div class="bulk-actions select-wrap">
    			<label for="user-messages-bulk-actions" class="bp-screen-reader-text">
    				<?php esc_html_e( 'Select bulk action', 'buddypress' ); ?>
    			</label>
    			<select id="user-messages-bulk-actions">
    				<# for ( i in data ) { #>
    					<option value="{{data[i].value}}">{{data[i].label}}</option>
    				<# } #>
    			</select>
    			<span class="select-arrow" aria-hidden="true"></span>
    		</div>
    		<button class="messages-button bulk-apply bp-tooltip" type="submit" data-bp-tooltip="<?php echo esc_attr_x( 'Apply', 'button', 'buddypress' ); ?>">
    			<span class="dashicons dashicons-yes" aria-hidden="true"></span>
    			<span class="bp-screen-reader-text"><?php echo esc_html_x( 'Apply', 'button', 'buddypress' ); ?></span>
    		</button>
    	</div>
    </script>
    
    <script type="text/html" id="tmpl-bp-messages-thread">
    	<div class="thread-cb">
    		<input class="message-check" type="checkbox" name="message_ids[]" id="bp-message-thread-{{data.id}}" value="{{data.id}}">
    		<label for="bp-message-thread-{{data.id}}" class="bp-screen-reader-text"><?php esc_html_e( 'Select message:', 'buddypress' ); ?> {{data.subject}}</label>
    	</div>
    
    	<# if ( ! data.recipientsCount ) { #>
    		<div class="thread-from">
    			<a class="user-link" href="{{data.sender_link}}">
    				<img class="avatar" src="{{data.sender_avatar}}" alt="" />
    				<span class="bp-screen-reader-text"><?php esc_html_e( 'From:', 'buddypress' ); ?></span>
    				<span class="user-name">{{data.sender_name}}</span>
    			</a>
    		</div>
    	<# } else {
    		var recipient = _.first( data.recipients );
    		#>
    		<div class="thread-to">
    			<a class="user-link" href="{{recipient.user_link}}">
    				<img class="avatar" src="{{recipient.avatar}}" alt="" />
    				<span class="bp-screen-reader-text"><?php esc_html_e( 'To:', 'buddypress' ); ?></span>
    				<span class="user-name">{{recipient.user_name}}</span>
    			</a>
    
    			<# if ( data.toOthers ) { #>
    				<span class="num-recipients">{{data.toOthers}}</span>
    			<# } #>
    		</div>
    	<# } #>
    
    	<div class="thread-content" data-thread-id="{{data.id}}">
    		<div class="thread-subject">
    			<span class="thread-count">({{data.count}})</span>
    			<a class="subject" href="../view/{{data.id}}/">{{data.subject}}</a>
    		</div>
    		<p class="excerpt">{{data.excerpt}}</p>
    	</div>
    	<div class="thread-date">
    		<time datetime="{{data.date.toISOString()}}">{{data.display_date}}</time>
    	</div>
    </script>
    
    <script type="text/html" id="tmpl-bp-messages-preview">
    	<# if ( undefined !== data.content ) { #>
    
    		<h2 class="message-title preview-thread-title"><?php esc_html_e( 'Active conversation:', 'buddypress' ); ?><span class="messages-title">{{{data.subject}}}</span></h2>
    		<div class="preview-content">
    			<header class="preview-pane-header">
    
    				<# if ( undefined !== data.recipients ) { #>
    					<dl class="thread-participants">
    						<dt><?php esc_html_e( 'Participants:', 'buddypress' ); ?></dt>
    						<dd>
    							<ul class="participants-list">
    								<# for ( i in data.recipients ) { #>
    									<li><a href="{{data.recipients[i].user_link}}" class="bp-tooltip" data-bp-tooltip="{{data.recipients[i].user_name}}"><img class="avatar mini" src="{{data.recipients[i].avatar}}" alt="{{data.recipients[i].user_name}}" /></a></li>
    								<# } #>
    							</ul>
    						</dd>
    					</dl>
    				<# } #>
    
    				<div class="actions">
    
    					<button type="button" class="message-action-delete bp-tooltip bp-icons" data-bp-action="delete" data-bp-tooltip="<?php esc_attr_e( 'Delete conversation.', 'buddypress' ); ?>">
    						<span class="bp-screen-reader-text"><?php esc_html_e( 'Delete conversation.', 'buddypress' ); ?></span>
    					</button>
    
    					<# if ( undefined !== data.star_link ) { #>
    
    						<# if ( false !== data.is_starred ) { #>
    							<a role="button" class="message-action-unstar bp-tooltip bp-icons" href="{{data.star_link}}" data-bp-action="unstar" aria-pressed="true" data-bp-tooltip="<?php esc_attr_e( 'Unstar Conversation', 'buddypress' ); ?>">
    								<span class="bp-screen-reader-text"><?php esc_html_e( 'Unstar Conversation', 'buddypress' ); ?></span>
    							</a>
    						<# } else { #>
    							<a role="button" class="message-action-star bp-tooltip bp-icons" href="{{data.star_link}}" data-bp-action="star" aria-pressed="false" data-bp-tooltip="<?php esc_attr_e( 'Star Conversation', 'buddypress' ); ?>">
    								<span class="bp-screen-reader-text"><?php esc_html_e( 'Star Conversation', 'buddypress' ); ?></span>
    							</a>
    						<# } #>
    
    					<# } #>
    
    					<a href="../view/{{data.id}}/" class="message-action-view bp-tooltip bp-icons" data-bp-action="view" data-bp-tooltip="<?php esc_attr_e( 'View full conversation and reply.', 'buddypress' ); ?>">
    						<span class="bp-screen-reader-text"><?php esc_html_e( 'View full conversation and reply.', 'buddypress' ); ?></span>
    					</a>
    
    					<# if ( data.threadOptions ) { #>
    						<span class="bp-messages-hook thread-options">
    							{{{data.threadOptions}}}
    						</span>
    					<# } #>
    				</div>
    			</header>
    
    			<div class='preview-message'>
    				{{{data.content}}}
    			</div>
    
    			<# if ( data.inboxListItem ) { #>
    				<table class="bp-messages-hook inbox-list-item">
    					<tbody>
    						<tr>{{{data.inboxListItem}}}</tr>
    					</tbody>
    				</table>
    			<# } #>
    		</div>
    	<# } #>
    </script>
    
    <script type="text/html" id="tmpl-bp-messages-single-header">
    	<h2 id="message-subject" class="message-title single-thread-title">{{{data.subject}}}</h2>
    	<header class="single-message-thread-header">
    		<# if ( undefined !== data.recipients ) { #>
    			<dl class="thread-participants">
    				<dt><?php esc_html_e( 'Participants:', 'buddypress' ); ?></dt>
    				<dd>
    					<ul class="participants-list">
    						<# for ( i in data.recipients ) { #>
    							<li><a href="{{data.recipients[i].user_link}}" class="bp-tooltip" data-bp-tooltip="{{data.recipients[i].user_name}}"><img class="avatar mini" src="{{data.recipients[i].avatar}}" alt="{{data.recipients[i].user_name}}" /></a></li>
    						<# } #>
    					</ul>
    				</dd>
    			</dl>
    		<# } #>
    
    		<div class="actions">
    			<button type="button" class="message-action-delete bp-tooltip bp-icons" data-bp-action="delete" data-bp-tooltip="<?php esc_attr_e( 'Delete conversation.', 'buddypress' ); ?>">
    				<span class="bp-screen-reader-text"><?php esc_html_e( 'Delete conversation.', 'buddypress' ); ?></span>
    			</button>
    		</div>
    	</header>
    </script>
    
    <script type="text/html" id="tmpl-bp-messages-single-list">
    	<div class="message-metadata">
    		<# if ( data.beforeMeta ) { #>
    			<div class="bp-messages-hook before-message-meta">{{{data.beforeMeta}}}</div>
    		<# } #>
    
    		<a href="{{data.sender_link}}" class="user-link">
    			<img class="avatar" src="{{data.sender_avatar}}" alt="" />
    			<strong>{{data.sender_name}}</strong>
    		</a>
    
    		<time datetime="{{data.date.toISOString()}}" class="activity">{{data.display_date}}</time>
    
    		<div class="actions">
    			<# if ( undefined !== data.star_link ) { #>
    
    				<button type="button" class="message-action-unstar bp-tooltip bp-icons <# if ( false === data.is_starred ) { #>bp-hide<# } #>" data-bp-star-link="{{data.star_link}}" data-bp-action="unstar" data-bp-tooltip="<?php esc_attr_e( 'Unstar Message', 'buddypress' ); ?>">
    					<span class="bp-screen-reader-text"><?php esc_html_e( 'Unstar Message', 'buddypress' ); ?></span>
    				</button>
    
    				<button type="button" class="message-action-star bp-tooltip bp-icons <# if ( false !== data.is_starred ) { #>bp-hide<# } #>" data-bp-star-link="{{data.star_link}}" data-bp-action="star" data-bp-tooltip="<?php esc_attr_e( 'Star Message', 'buddypress' ); ?>">
    					<span class="bp-screen-reader-text"><?php esc_html_e( 'Star Message', 'buddypress' ); ?></span>
    				</button>
    
    			<# } #>
    		</div>
    
    		<# if ( data.afterMeta ) { #>
    			<div class="bp-messages-hook after-message-meta">{{{data.afterMeta}}}</div>
    		<# } #>
    	</div>
    
    	<# if ( data.beforeContent ) { #>
    		<div class="bp-messages-hook before-message-content">{{{data.beforeContent}}}</div>
    	<# } #>
    
    	<div class="message-content">{{{data.content}}}</div>
    
    	<# if ( data.afterContent ) { #>
    		<div class="bp-messages-hook after-message-content">{{{data.afterContent}}}</div>
    	<# } #>
    
    </script>
    
    <script type="text/html" id="tmpl-bp-messages-single">
    	<?php bp_nouveau_messages_hook( 'before', 'thread_content' ); ?>
    
    	<div id="bp-message-thread-header" class="message-thread-header"></div>
    
    	<?php bp_nouveau_messages_hook( 'before', 'thread_list' ); ?>
    
    	<ul id="bp-message-thread-list"></ul>
    
    	<?php bp_nouveau_messages_hook( 'after', 'thread_list' ); ?>
    
    	<?php bp_nouveau_messages_hook( 'before', 'thread_reply' ); ?>
    
    	<form id="send-reply" class="standard-form send-reply">
    		<div class="message-box">
    			<div class="message-metadata">
    
    				<?php bp_nouveau_messages_hook( 'before', 'reply_meta' ); ?>
    
    				<div class="avatar-box">
    					<?php bp_loggedin_user_avatar( 'type=thumb&height=30&width=30' ); ?>
    
    					<strong><?php esc_html_e( 'Send a Reply', 'buddypress' ); ?></strong>
    				</div>
    
    				<?php bp_nouveau_messages_hook( 'after', 'reply_meta' ); ?>
    
    			</div><!-- .message-metadata -->
    
    			<div class="message-content">
    
    				<?php bp_nouveau_messages_hook( 'before', 'reply_box' ); ?>
    
    				<label for="message_content" class="bp-screen-reader-text"><?php _e( 'Reply to Message', 'buddypress' ); ?></label>
    				<div id="bp-message-content"></div>
    
    				<?php bp_nouveau_messages_hook( 'after', 'reply_box' ); ?>
    
    				<div class="submit">
    					<input type="submit" name="send" value="<?php echo esc_attr_x( 'Send Reply', 'button', 'buddypress' ); ?>" id="send_reply_button"/>
    				</div>
    
    			</div><!-- .message-content -->
    
    		</div><!-- .message-box -->
    	</form>
    
    	<?php bp_nouveau_messages_hook( 'after', 'thread_reply' ); ?>
    
    	<?php bp_nouveau_messages_hook( 'after', 'thread_content' ); ?>
    </script>
    

    Thanks

    #278423

    In reply to: Private Blogs

    raghav2417
    Participant

    Hi Its a buddypress members dashboard, Where in one of the tabs I have added a page that allows members to write a post, Now these posts are saved as private and I want only the member writing that post to be able to view it, no other members of the website should be able to view it, However when we click on the view post button, It shows all the posts even though they are private but still it shows.
    I want the member clicking on view your post should see only posts written by himself/herself.
    Below is a link to the video describing the issue.
    https://drive.google.com/file/d/1BUNazNHAC7b_3yvXs79GmLHSwSG3uXJU/view?usp=sharing

    Thanks alot

    bluevert
    Participant

    I’ve found a very interesting website http://healthunlocked.com

    I want to know if I can use BUDDYPRESS to build a community with the same features like this site.

    In particular,I’d like to distinguish between organizations and individuals.

    The organizations apply to build communities, and organizations can post blogs in established communities to answer questions, free and paid features.

    The data discussed by members can be saved and can be provided to scientific institutions for analysis.

    Some suggestions about these?

    #278419
    vincitygialam
    Participant

    I’ve WordPress MU 2.7 (installed trough svn) and Buddypress SVN revision 641 and Prologue theme for wordpress 2.7.

    Why in every page does it appear?

    A

    Warning: session_start() [function.session-start]: Cannot send session cookie – headers already sent by (output started at /home/admin/domains/mikiti.net/public_html/wp-content/mu-plugins/bp-groups/bp-groups-ajax.php:1) in /home/admin/domains/mikiti.net/public_html/wp-content/mu-plugins/bp-core.php on line 153

    Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/admin/domains/mikiti.net/public_html/wp-content/mu-plugins/bp-groups/bp-groups-ajax.php:1) in /home/admin/domains/mikiti.net/public_html/wp-content/mu-plugins/bp-core.php on line 153

    #278417
    janaa
    Participant

    I can’t see a plugin for MailPoet integration. I’d like to have a checkbox on the registration form(s) to allow new users to subscribe to my MailPoet mailing list(s). Is this possible (without extreme customisation)?

    Latest version of WordPress. BuddyPress not yet installed.

    #278414
    Prashant Singh
    Participant

    Hi,

    I found that those links are generated from the plugin Custom Profile Filters For BuddyPress and it only works on profile. So to get the same data with the link on members-loop.php we need to print fields like this:

    $data = bp_get_member_profile_data( 'field=Expertise' ); 
    echo '<a href="' . bp_get_members_directory_permalink() . '?s='.$data.'">'.$data.'</a>';

    Hopefully, this will help you.

    Thanks

    Prashant Singh
    Participant

    Hi,

    Please try to find the template named index.php in bp-templates/bp-nouveau/buddypress/common/js-templates/messages/index.php and there you will find the HTML. You just need to put that button code in condition of yours. That is if user role is this then only show otherwise not.

    You can try: if(current_user_can('manage_options')){ ?> // Button HTML Code here <?php }?>
    One last thing, if you have child theme then try to override the file there and then change otherwise on next update changes will be lost.

    Thanks

    ibes
    Participant

    Hi there,

    we want to change the look and feel of your members area to a more smooth and app like state.

    The site is based on bp-legacy (but with heavy template overloads). Before we base our new look on a basis that will be discontinued in a bit I try to see if a migration to bp-nouveau is possible.

    So far I find no information about that – is there just no migration path or is the change to young for enough people to care?

    I also try to get bp-nouveau running on our site (without worrying about breaking things as I do that in a sandbox). I fail to do that so far. I just get server errors, white pages, pages without content part.

    I would hope to find a good tutorial about the new templating system. Hope someone has a good resource.

    I already used the search but seems like my keywords are not helpful or I am searching on the wrong spots.

    About my knowledge background:
    I am heavily experienced with WordPress but quite a beginner with BuddyPress.
    Our site is poorly set up (quite some parts are not following WP and BP best practises). So as I join the project I want to upgrade the level of the code base.

    #278387

    In reply to: Translate the emails

    Prashant Singh
    Participant

    Hi,

    Please check this: https://buddypress.org/support/topic/translation-email/

    Just need to go to Dashboard > Emails and customize any email.

    Thanks

    #278385
    Prashant Singh
    Participant

    In these situations most probably plugins are getting conflicted and that’s why this issue is coming.
    I have just tested with BuddyPress and twentyseventeen theme and it’s working fine: https://screencast-o-matic.com/watch/cF6Qb7YY6Z

    Please try to disable plugins one by one and check if the issue remains same or gone.

    Thanks

    #278384
    raghav2417
    Participant

    Hi
    I need help with my Buddypress website, My website requires a functionality where a user can post the blog using the frontend. This I have achieved, However I want when a user clicks on view blogs, they should be able to see only the blogs written by themselves and any blog of which the current user is not an author should not be visible to the user.

    I am struggling with this right now and need help.
    All I want is the blogs to be private at frontend.

    Thanks in advance

    saskiachaotique
    Participant

    Hi!

    I’ve been searching the web for something like this but couldn’t find anything that would help me.
    I don’t have a website yet but I’m testing BP on another domain.
    Am currently running WordPress 4.9.8 with the Fagri theme and the Buddypress version 3.2.0.

    I’d like to have an anonymous community, which means: I don’t want usernames to be shown anywhere. Instead, a different custom profile field such as “Animal” or “City” which users will be able to pick an option from, may be displayed. Or I wouldn’t mind if the user_id is displayed instead.

    So I’ve thought of two options:
    1) Add some kind of function which generates random usernames, or which allows to use the user_id as the username.
    2) Replace every part of the templates where the username is shown and replace it with a code that would show the custom profile field (e.g. chosen “Animal”).

    The problem is my programming skills are zero. I’d be able to replace the codes within the templates but I have no clue how to generate such a code or function for either of the two options I’m mentioning.

    Couldn’t find anything such precise online, so I hope someone can help me with this.

    Btw: I did aim to remove the username from the URL with a function, so the user_id is currently being shown within the profile page URL.

    Thank you so very much! 🙂

    #278369

    In reply to: Activity/updates

    Prashant Singh
    Participant

    Create a file named bp-custom.php in the plugins folder and then put this code there. For reference: https://codex.buddypress.org/themes/bp-custom-php

    If not able to do it then the easiest way is to install the plugin Code Snippets https://wordpress.org/plugins/code-snippets/ and add a new snippet there, then paste this code.

    Thanks

    #278363
    Prashant Singh
    Participant
    #278358
    israel4lincelot
    Participant

    Hi Prashant, I should have maybe started with listing following information:

    1. Which version of WordPress are you running?
    WordPress 4.9.8

    2. Did you install WordPress as a directory or subdomain install?
    Subdomain

    4. Did you upgrade from a previous version of WordPress? If so, from which version?
    I installed the latest.

    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
    Yes

    6. Which version of BP are you running?
    Latest Version 3.2.0

    7. Did you upgraded from a previous version of BP? If so, from which version?
    No

    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
    BuddyDrive, Custom Profile Filters for BuddyPress, Gravity Forms, K Elements, Really Simple SSL, rtMedia for WordPress, BuddyPress and bbPress, Slider Revolution, What The File,
    WPBakery Page Builder

    9. Are you using the standard WordPress theme or customized theme?
    Customized.

    10. Which theme do you use ?
    Kleo Theme from seventhqueen

    11. Have you modified the core files in any way?
    Yes I have, but always in the child-theme.

    12. Do you have any custom functions in bp-custom.php?
    Yes
    <?php
    // hacks and mods will go here
    define( 'BP_DEFAULT_COMPONENT', 'profile' );

    ?>

    15. Which company provides your hosting?
    Compbell

    So to answer your other questions, I added a new Profile Field with checkboxes. Indeed you have to select it and that’s why I can’t just wrap it in an anchor tag because I need the fields to be clickable separately.

    In Profile fields the Expertises are individually links. In my Members page all the Expertises ar put in a Paragraph. But I’d like them to be individual links such as in Profile page.

    See Screencast here: https://screencast-o-matic.com/watch/cF6QiCYqw6

    Thx!

    stuartbennett2012
    Participant

    Hi there

    We want optimizepress to control look and feel of the site and buddypress to provide the online community aspect

    But it’s unclear how to use buddypress

    Lastly access to the community would be provided by Infusionsoft tags

    So I need to know how to make everything work together

    Bit Boy
    Participant

    Hello,
    You can change that by defining a constant in your bp-custom.php

    
    define( 'BP_FRIENDS_SLUG', 'colleagues');
    

    And yes, you can change slug for most of the component without affecting the functionality.

    You may find the details at the bottom of this page for changing other slug.

    Changing Internal Configuration Settings

    Best Regards
    B

Viewing 25 results - 7,551 through 7,575 (of 94,541 total)
Skip to toolbar