Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 18,501 through 18,525 (of 94,539 total)
  • Author
    Search Results
  • #243079
    atfpodcast
    Participant

    I was using an addon that hid the admin bar from non admins and i noticed that most info in buddypress can be accessed from there I tried

    show_admin_bar( true ); in functions.php but it’s not showing up.

    #243075
    @mercime
    Participant

    @atfpodcast Sorry, not quite clear what you mean. What exactly do “other BuddyPress themes have for the profile” that you want? Can you post a link to the other BP themes profile page URI so we can identify what you mean?

    #243072
    danbp
    Participant

    The mistake comes from you ! You probably confused bp-legacy and bp-default. You must use the id’s and classes used by bp-default theme, not thoose comming from buddypress legacy templates.

    BP-default was designed to be used by BP < 1.7/1.9. Now, BP can be used with any theme…

    When you check for CSS names, read the page source (right click on browser screen > show source).

    First screenshot is the whats-new form. You highlighted the CSS and can see that it has nothing to do with the css rule you try to apply to activity avatar.
    The div there is called whats-new-avatar and the class is photo.

    Code source is in bp-default/activity/post-form.php

    Try
    div#whats-new-avatar .photo {}

    Idem for the second screenshot. It’s the activity page of bp-default theme, which use different names as the actual buddypress template.

    Bp-default theme is building a list for activities. Means you’re in a ul/li serrie. Avatars are somewhere inside a li.
    You have to try something like

    ul#activity-stream .photo {}

    All concerned templates are in bp-default/activity/

    Can’t help you more as i stopped to use bp-default since a few years now. Simply keep in mind that you’re working on an old theme which has not much to do with the way BP is currently handling with themes.

    Codex contains some old reference to bp-default if you have other issue with that theme.

    Keep your eyes open and have a nice day. 🙂

    #243070
    ajay25
    Participant

    Hi,

    Completely deleted the functions.php from child theme and bp-custom.php from the plugins folder. Used only the below mentioned code in style.css file which is located in the child theme. Unable to know where I am doing the mistake. There was no change after I did this.

    /*
    Theme Name: My Theme
    Theme URI: http://example.org/themes/dusk/
    Description:
    Version: 1.0
    Author: Admin
    Author URI:
    Template: bp-default
    Tags: buddypress, two-column, grey, dark
    */
    #buddypress div.activity-avatar img.avatar {
    height: 80px!important;
    width: 80px!important;
    }
    #243065

    Hey There

    I am looking for a little help with BuddyPress user roles. I am working on a site (domain reference: http://217.199.187.200/lovethelittleguys.co.uk/ and using WordPress version 4.2.4 along with BuddyPress version 2.3.2.1

    This site will be a member site with 2 types of customer. The first member is categorised as a business user. The second member is categorised as a customer.

    Basically I need to be able to use all the features of BuddyPress for the business members (which I can and have no problems with) and just a search ability for the Customer members. So to be clear, all Customer Members will not have access to their own BuddyPress Profile. I just want them to be able to view Business Members profiles however not have one of their own.

    Is there an easy option for this?

    I first thought of using a role defining plugin, however I am struggling to figure this out.

    Any help would be great =)

    Thank you in advance…

    #243060
    danbp
    Participant

    I tested the snippet on Buddy theme, so i’m pretty sure you have a user menu. This menu is on WP’s Toolbar. You see it when you’re logged in.

    counter menu on Buddy theme

    To choose an item position, you have to do it differently, as explained here:

    [Resolved] Position Notification Counter Bubble after Specific Navigation Tab ID

    For more about menu handling and functions, see WP Codex, as this is not really related to BuddyPress. Now it’s your turn to work a little !

    Weshaw
    Participant

    Years ago, I set up an install of Buddypress for a client. They’ve now come back and want me to update it to the current version.

    The site is currently running BP 1.7.2 on WordPress 3.5.1. I know this isn’t going to be painless — I know things will break. And I’ve been working with WP for years, so I’ve gone through the upgrade to white screen fun enough times to expect that and to not panic when it does. Still I’d like to minimize the cursing and tearing out of my hair and hope that somebody here has lessons learned the hard way that’ll help.

    For example, would it make any sense for me to upgrade incrementally (e.g, from 1.7.2 to 1.8 to 1.9, etc)? I’m assuming I’d begin by upgrading WordPress fully, too, but maybe I go back and forth incrementally upgrading WP then BP until I get to current versions? Or do I just install newest version of wp, upgrade DB as necessary, then do the same for BP?

    I’ll back everything up so I’m not terribly worried about losing data. Just, as I say, hoping that somebody might have tips to help minimize the number of times I have to start over.

    Thanks much, everybody.

    thekristensam
    Participant

    I would like to include a “send private message” button, which is a Buddypress function, into an author box type of feature. I need this button to show in two place… 1) within the search results of GeoDirectory and 2) on a CPT author box. If I could have this as some kind of shortcode or something… that would be cool! I am willing to pay someone to set this up for me. Thanks

    Similar to: https://buddypress.org/support/topic/send-private-message-link-to-the-author-of-the-post/

    #243056
    Quinn Goldwin
    Participant

    Special thanks to Brajesh Singh at Buddy Dev for coming up with a solution!

    change css with php in wordpress / buddypress

    danbp
    Participant
    #243052
    ajay25
    Participant

    Hi,

    I added the above mentioned code in the style.css of my child theme an the result is negative.

    Code that I added to the style.css is as mentioned below.

    #buddypress div.activity-avatar img.avatar {
    height: 80px!important;
    width: 80px!important;
    }

    I checked the same in “twentyfifteen” theme and the issue is the same.

    #243033
    lo133
    Participant

    Thank you for your answer, but like you said, BuddyPress not google +, not Twitter, not facebook, but it is not a normal social networking sites, long live, long live, I find the plug-in, that is bp-reshare, see: http://premium.wpmudev.org/forums/topic/a-plugin-that-allow-users-to-share-status-update-on-bp

    I love bp-reshare
    I love BuddyPress
    I love you all

    #243030
    djsteveb
    Participant

    @toggerybob
    change your permalinks to pretty permalinks in the wordpress settings,
    then activate bp.. then go run through the config / page associations (https://codex.buddypress.org/getting-started/configure-components/ )

    should be good to go at that point.. you may need to create a few blank “pages” like activate and register – or they may populate…

    #243023
    danbp
    Participant
    jessy
    Participant

    Paste this into members/single as index-action-compose.php

    <?php get_header(); ?>
    
    <form action="<?php bp_messages_form_action('compose' ); ?>" method="post" id="send_message_form" class="standard-form" enctype="multipart/form-data">
    
    	<?php
    
    	/**
    	 * Fires before the display of message compose content.
    	 *
    	 * @since BuddyPress (1.1.0)
    	 */
    	do_action( 'bp_before_messages_compose_content' ); ?>
    
    	<label for="send-to-input"><?php _e("Send To (Username or Friend's Name)", 'buddypress' ); ?></label>
    	<ul class="first acfb-holder">
    		<li>
    			<?php bp_message_get_recipient_tabs(); ?>
    			<input type="text" name="send-to-input" class="send-to-input" id="send-to-input" />
    		</li>
    	</ul>
    
    	<?php if ( bp_current_user_can( 'bp_moderate' ) ) : ?>
    		<input type="checkbox" id="send-notice" name="send-notice" value="1" /> <?php _e( "This is a notice to all users.", "buddypress" ); ?>
    	<?php endif; ?>
    
    	<label for="subject"><?php _e( 'Subject', 'buddypress' ); ?></label>
    	<input type="text" name="subject" id="subject" value="<?php bp_messages_subject_value(); ?>" />
    
    	<label for="content"><?php _e( 'Message', 'buddypress' ); ?></label>
    	<!-- <textarea name="content" id="message_content" rows="15" cols="40"><?php bp_messages_content_value(); ?></textarea> -->
    	<?php 
    
    	$editor_settings = array(
    		'content' => bp_messages_content_value(),
    		'textarea_name' => 'content',
    		'editor_id' => 'message_content',
    	);
    	wp_editor( bp_messages_content_value(), "message_content", $editor_settings); ?>
    
    	<input type="hidden" name="send_to_usernames" id="send-to-usernames" value="<?php bp_message_get_recipient_usernames(); ?>" class="<?php bp_message_get_recipient_usernames(); ?>" />
    
    	<?php
    
    	/**
    	 * Fires after the display of message compose content.
    	 *
    	 * @since BuddyPress (1.1.0)
    	 */
    	do_action( 'bp_after_messages_compose_content' ); ?>
    
    	<div class="submit">
    		<input type="submit" value="<?php esc_attr_e( "Send Message", 'buddypress' ); ?>" name="send" id="send" />
    	</div>
    
    	<?php wp_nonce_field( 'messages_send_message' ); ?>
    </form>
    
    <script type="text/javascript">
    	document.getElementById("send-to-input").focus();
    </script>
    
    <?php get_footer(); ?>
    #243018
    danbp
    Participant

    When you override CSS, use !important to get the new rule to work. Cibling the ID is also a good practice in this case.

    #buddypress div.activity-avatar img.avatar {
    height: 40px!important;
    width: 40px!important;
    }
    #243017
    danbp
    Participant

    This is not a BuddyPress related question. Please read here:

    https://codex.wordpress.org/Installing_on_Microsoft_IIS
    http://www.microsoft.com/web/wordpress

    #243016
    ajay25
    Participant

    Hi Danbp,

    Thank you for the reply.

    Yes, I went through the document that you have suggested and only after that I did as mentioned above by me.

    In the document, it is mentioned as below.

    “BuddyPress allows for changing the default avatar sizes using a constant. These constants are set up in /bp-core/bp-core-avatars.php. If you want to change their values, you will need to create and/or edit your bp-custom.php file. Here are the available options:

    define ( ‘BP_AVATAR_THUMB_WIDTH’, 50 );
    define ( ‘BP_AVATAR_THUMB_HEIGHT’, 50 );
    define ( ‘BP_AVATAR_FULL_WIDTH’, 150 );
    define ( ‘BP_AVATAR_FULL_HEIGHT’, 150 );
    define ( ‘BP_AVATAR_ORIGINAL_MAX_WIDTH’, 640 );
    define ( ‘BP_AVATAR_ORIGINAL_MAX_FILESIZE’, $max_in_kb );”

    But this only changes the avatar but not the avatar that is in the activity stream.

    #243014
    danbp
    Participant

    Note: I am using the default theme of buddypress.

    Weird ! Have you tried with Twenty Fifteen ?

    First, read here:

    Customizing BuddyPress Avatars

    Try to add the define to your child-theme functions.php, instead of bp-custom.

    Spare bandwidth… define ( 'BP_AVATAR_ORIGINAL_MAX_WIDTH', 640 ); Are you sure you want to allow such a big size for a picture who use as max full width a default size of only 150 px ? 😉

    #243012
    productvoice
    Participant

    we have created sales improvement based tool for manufacturer and retailers at digitalized customer engagement sales tool. now we have planned to use both wordpress for cms management and buddypress for social mangement. how was it possible to manage with windows server?

    #243011
    danbp
    Participant

    Hi @lo133,
    there is nothing out for what you’re looking for. Answering to “why” is easy, even if it sounds ridiculous: because BP is not FB or Twitter or Google. @djsteveb already gave some other good advice.

    Basically, BP is using the built-in favorite feature and doesn’t “share” activities from one to one user, but from one to all. To get individual activities, users have to go to a profile.

    That said, maybe considering one of these solution could help you ?

    New Plugin Adds BuddyPress Activity as a Wire/Wall to User Profiles


    http://buddydev.com/plugins/facebook-like-user-activity-stream-for-buddypress/ (premium)

    #243010
    ajay25
    Participant

    Hi,

    I have gone through around 10 topics on this issue and all of them have given the solution of changing the avatar size. But, I am looking forward for changing the avatar size that is seen in the activity and comments.

    I created bp_custom.php file and tried the below mentioned code but it was of no use. Please help me.

    <?php
    define ( 'BP_AVATAR_THUMB_WIDTH', 80 );
    define ( 'BP_AVATAR_THUMB_HEIGHT', 80 );
    define ( 'BP_AVATAR_ORIGINAL_MAX_WIDTH', 640 );
    define ( 'BP_ACTIVITY-AVATAR_THUMB_WIDTH', 80 );
    define ( 'BP_ACTIVITY-AVATAR_THUMB_HEIGHT', 80 );
    ?>

    I also tried using the code as mentioned below in CSS but of no use.

    div.activity-avatar img.avatar {
    height: 40px;
    width: 40px;
    }

    Note: I am using the default theme of buddypress

    danbp
    Participant

    Mention stuff is in buddypress/bp-activity/css and buddypress/bp-activity/js

    To modify the text color of the name list, add this into your child-theme style.css.
    Use !important for the new rule.

    .atwho-view {	
    color: #e30472!important;
    }
    #242998
    djsteveb
    Participant

    @lo133 – So – you want to find something within your own buddypress site – and click to share this on your “friend’s activity / all” ? – I THINK your friends can see activity of their friends with a simple click (eg – /members/admin/activity/friends/ ) – so anything you have shared on your profile would display in that feed..

    Or (and?) – you want to be on another web site and share something from some other place onto your own activity wall? (I think that is easiest done with wpmudev’s activity plus plugin)

    There IS an option to kind of send something to your friend’s “wall” – on their profile if you click “public message” then it opens a box and adds @myFriendsName… which kind of does what you may be asking about.

    I would imagine there would be a cool modification to the WP “press this” button code – where a person may be able to highlightsomething and include a list of friends to @MyFriendsName them – however I think it could get bloated if you have a lot of friends…

    I myself think it better to just post an activity update and if your friends want to see it then can click to see friend’s activity – or you could make that display the default display when people log in … and if you needed to get a site notification to someone – say post a picture of a sunset – it shows in your activity, and your friend’s would see it on friend’s activity – and if that sunset reminded you of someone particular, you would @MyFriend Mention them – and they MAY get a notification sent to them.

    Still not exactly sure what content you are wanting to share with friends, and where you think that should show up.

    It may be that you want to customize how activity is displayed to logged in users and solve what you are going for. Not sure really.

    U2BSeen
    Participant

    How to control the Group and Profile sub nav tabs?

    I am using the latest WordPress and Buddypress versions.

    I am trying to control the visibility of the sub nav tabs. At the moment the standard behavior is that the Settings tab is only visible to the owner of the profile.

    How do I make it so that the Friends tab is also only visible to the owner? (Not visible to logged out people and other members)

    Assistance in this matter would be greatly appreciated.

    Ian

Viewing 25 results - 18,501 through 18,525 (of 94,539 total)
Skip to toolbar