Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 26,476 through 26,500 (of 94,560 total)
  • Author
    Search Results
  • #179356
    darqpony
    Participant

    Disclaimer: I know just enough to get me in trouble ( to whitescreen my site? LOL) I know to put some ‘things’ in some ‘places’ but I don’t know why. On the road to website optimization, gtmetrix.com told me to send ‘scaled’ images to my pages and one of the un-scaled cuprits? Avatars. Full and thumb avatars are being downsized to teeny tiny avatars. At this point, with only my five website users, it’s not such a big deal, but when I get miiiyyons of followers?!? (LOL *sarcasm*) Five long days later, trudging through many many website with the glimmer of hope tarnishing to dust, and while I’ve learned a lot, I’m gonna cheat now and ask for the answer… LOL At least I’ll understand the answer better? I hope? LOL

    So, on to the issue…

    I’m trying to get, and use a 3rd sized avatar. By copy-past-edit, I’ve been able to actually create that third size of avatar, cropped, which I call ‘tinythumb’. So in an individual user’s avatar folder, there are 3 avatars sized ‘full’, ‘thumb’ and ‘tinythumb’. Yaay, me!

    My issue is that I cannot figure out how to call it into action. I’ve used bp_member_avatar(‘type=tinythumb&width=20&height=20′) in the appropriate spot of my widgets and pages but it doesn’t show up unless I change the “type” from “full” to “tinythumb” down below. But then ALL my pics are being served from a “tinythumb” and upscaled all pixelated.

    On line 375 in bp-core-avatars.php, there is a phrase that says:

      ORIGINAL: $avatar_size = ( ‘full’ == $type ) ? ‘-bpfull’ : ‘-bpthumb’;

    If I put in ‘-bptinythumb’ in that line, I get the white screen of syntax error death. By trial and error, edit-upload-edit-reupload, it says there is an error with ‘:’ or the “;” or if I try to use a comma, “,”.

      ERROR: $avatar_size = ( ‘full’ == $type ) ? ‘-bpfull’ : ‘-bpthumb’ : ‘-bptinythumb’;
      ERROR: $avatar_size = ( ‘full’ == $type ) ? ‘-bpfull’, ‘-bpthumb’ , ‘-bptinythumb’;
      ERROR: $avatar_size = ( ‘full’ == $type ) ? ‘-bpfull’; ‘-bpthumb’ ; ‘-bptinythumb’;

    If I change the ( ‘full’ == $type ) to ( ‘tinythumb’ == $type ), I get a teeny tiny avatar blown up, blurry and pixilated so I know that it can ‘see’ the ‘tinythumb’ avatar, I just can’t get it into the second part of the phrase. Either somewhere it is telling wordpress or buddypress to only ‘look’ for two options OR, because I don’t know how to code (BIG understatement! LOL) I’m not putting it in the correct format.

    Also, I’m not sure if I haven’t explained to the code, the ‘–bp’ part of the ‘–bptinythumb’ so that might be the issue but I can’t tell because I don’t know where to tell it to do that.

    How do I get it to ‘see’ the ‘tinythumb’ avatar and use it? Is there an easier and better way?
    (Dear god make it so…:) ) Hopefully someone better than me will get to the heart of this and point me in the right direction. Thanks so much!

    http://delightfulhorse.com in case you want to see the site in question. If you see a white screen, it’s cuz I’m messing with stuff. Give it a minute and I’ll be re-uploading the original. Unless my internet goes out… (the horror!) LOL

    TheOptiMystic
    Participant

    Hi there-

    Apparently if you are using the Sitewide Notices widget, you no longer get a notice at the top of the page. I tested this with multiple themes and the same issue occurred, so it appears to be a BuddyPress bug (or “feature” perhaps). If you remove the sitewide notifications widget from any sidebars, the notice will immediately appear at the top after you refresh the page. If I activate the notifications widget in the sidebar they disappear.

    Please advise.

    Kim
    BP 1.9.2
    Buddyboss theme 3.1.4

    granville
    Participant

    Does anyone know if @megainfo, the author of the Buddypress Wall plugin, is okay?
    I love the Buddypress plugin but there has been no support comments from @megainfo for over a month. So I’m hoping that everything is okay with the developer and it is just that they are too busy to contribute at the moment.

    So as it is, does anyone else know how to work with the plugin to resolve the issues? I would appreciate hearing from them – I would be happy to contribute towards some of the costs of fixing the plugin, as long as it’s not through the roof.

    Thanks

    Doremdou
    Participant

    I tried to create a shortcode to show the join/leave button using the buddypress-functions but can’t make it to work… 🙁
    What am I doing wrong?

    I would like a shortcode like this :

    [groupbutton name=”party1″]

    I tried with this code for a join button only at first:

    add_shortcode( 'groupbutton', 'groupbutton_check_shortcode' );
    
    function groupbutton_check_shortcode( $attr ) {
    
    	extract( shortcode_atts( array( 'name' => 'read' ), $attr ) );
    
    	$current_group_id = BP_Groups_Group::get_id_from_slug($name);
    	$group = groups_get_group( array( 'group_id' => $current_group_id ) );     
    		if(bp_loggedin_user_id()) {
    			if( 'public' == $group->status ) {
    				echo '<a id="group-' . esc_attr( $current_group_id ) . '" class="join-group" rel="join" title="' . __( 'Join Group', 'buddypress' ) . '" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'join', 'groups_join_group' ) . '">' . __( 'Join Group', 'buddypress' ) . '</a>';
    			}
    		}
    }

    I am not a developer at all so I dont understand everything but I am trying… :/
    Cant figure what I am doing wrong… and why it does not display anything at all.

    Thank you for your help and sorry for my bad english 🙂

    PS: I would like to use all cases of buttons like here on the buddypress-functions.php:

    function bp_legacy_theme_ajax_joinleave_group() {
    	// Bail if not a POST action
    	if ( 'POST' !== strtoupper( $_SERVER['REQUEST_METHOD'] ) )
    		return;
    
    	// Cast gid as integer
    	$group_id = (int) $_POST['gid'];
    
    	if ( groups_is_user_banned( bp_loggedin_user_id(), $group_id ) )
    		return;
    
    	if ( ! $group = groups_get_group( array( 'group_id' => $group_id ) ) )
    		return;
    
    	if ( ! groups_is_user_member( bp_loggedin_user_id(), $group->id ) ) {
    		if ( 'public' == $group->status ) {
    			check_ajax_referer( 'groups_join_group' );
    
    			if ( ! groups_join_group( $group->id ) ) {
    				_e( 'Error joining group', 'buddypress' );
    			} else {
    				echo '<a id="group-' . esc_attr( $group->id ) . '" class="leave-group" rel="leave" title="' . __( 'Leave Group', 'buddypress' ) . '" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'leave-group', 'groups_leave_group' ) . '">' . __( 'Leave Group', 'buddypress' ) . '</a>';
    			}
    
    		} elseif ( 'private' == $group->status ) {
    
    			// If the user has already been invited, then this is
    			// an Accept Invitation button
    			if ( groups_check_user_has_invite( bp_loggedin_user_id(), $group->id ) ) {
    				check_ajax_referer( 'groups_accept_invite' );
    
    				if ( ! groups_accept_invite( bp_loggedin_user_id(), $group->id ) ) {
    					_e( 'Error requesting membership', 'buddypress' );
    				} else {
    					echo '<a id="group-' . esc_attr( $group->id ) . '" class="leave-group" rel="leave" title="' . __( 'Leave Group', 'buddypress' ) . '" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'leave-group', 'groups_leave_group' ) . '">' . __( 'Leave Group', 'buddypress' ) . '</a>';
    				}
    
    			// Otherwise, it's a Request Membership button
    			} else {
    				check_ajax_referer( 'groups_request_membership' );
    
    				if ( ! groups_send_membership_request( bp_loggedin_user_id(), $group->id ) ) {
    					_e( 'Error requesting membership', 'buddypress' );
    				} else {
    					echo '<a id="group-' . esc_attr( $group->id ) . '" class="membership-requested" rel="membership-requested" title="' . __( 'Membership Requested', 'buddypress' ) . '" href="' . bp_get_group_permalink( $group ) . '">' . __( 'Membership Requested', 'buddypress' ) . '</a>';
    				}
    			}
    		}
    
    	} else {
    		check_ajax_referer( 'groups_leave_group' );
    
    		if ( ! groups_leave_group( $group->id ) ) {
    			_e( 'Error leaving group', 'buddypress' );
    		} elseif ( 'public' == $group->status ) {
    			echo '<a id="group-' . esc_attr( $group->id ) . '" class="join-group" rel="join" title="' . __( 'Join Group', 'buddypress' ) . '" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'join', 'groups_join_group' ) . '">' . __( 'Join Group', 'buddypress' ) . '</a>';
    		} elseif ( 'private' == $group->status ) {
    			echo '<a id="group-' . esc_attr( $group->id ) . '" class="request-membership" rel="join" title="' . __( 'Request Membership', 'buddypress' ) . '" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'request-membership', 'groups_send_membership_request' ) . '">' . __( 'Request Membership', 'buddypress' ) . '</a>';
    		}
    	}
    
    	exit;
    }
    
    /**
     * Close and keep closed site wide notices from an admin in the sidebar, via a POST request.
     *
     * @return mixed String on error, void on success
     * @since BuddyPress (1.2)
     */
    function bp_legacy_theme_ajax_close_notice() {
    	// Bail if not a POST action
    	if ( 'POST' !== strtoupper( $_SERVER['REQUEST_METHOD'] ) )
    		return;
    
    	if ( ! isset( $_POST['notice_id'] ) ) {
    		echo "-1<div id='message' class='error'><p>" . __( 'There was a problem closing the notice.', 'buddypress' ) . '</p></div>';
    
    	} else {
    		$user_id      = get_current_user_id();
    		$notice_ids   = bp_get_user_meta( $user_id, 'closed_notices', true );
    		$notice_ids[] = (int) $_POST['notice_id'];
    
    		bp_update_user_meta( $user_id, 'closed_notices', $notice_ids );
    	}
    
    	exit;
    }
    #179347
    cyndimarie
    Participant

    After snooping around I can see that the tables for the profile fields are created in profile-loop.php and bp_the_profile_field_value is defined in bp-xprofile-template.php I’m not sure about editing these files though…

    I can’t seem to find the file that directs the items in a profile field to be separated by a comma, however I did find this topic: bp_the_profile_field_value and separating values

    Instead of separating the items in the <td class="data"><?php bp_the_profile_field_value(); ?></td> by commas, I want to make them into an un-ordered list.

    Any thoughts on how?

    #179344
    focallocal
    Participant

    hi, the buddypress users widget has a bug in firefox where when users havent yet uploaded it displays the “alt” text, which then displays over the top of the content of the widget, like the users names.

    anyone have any ideas for how to fix this?

    Ashley.Howie
    Participant

    My website is bookclub.ink-smith.com.

    I am frustrated by this! I originally tried setting up Buddypress on my parent website, http://www.ink-smith.com but had no luck. So I started this website, and it was so far so good. However now I can’t access anything. Any link you click takes you to a single page with my username that leads me back to my profile page/ profile tab links. I click anyone of those… let say groups to access the group page and it takes me back to the single page with my user name on it! HELP! I want to get this up.
    My plan is to use this site to pay people for book reviews and a book club.

    #179339
    BlinkyBill01
    Participant

    @mercime

    Ok, set up a throw-away account.

    URL: http://slamfans.com/wp/members/demouser01/
    Login: demouser01
    Pass: demo123

    On that demouser01 profile page, you should see where the Achievements link is forced to a second line but it’s still following the CSS positioning. If you visit another member page, you don’t see that error. I’m assuming that’s because you don’t see the Notifications link on other members profiles.

    I’m trying to remember how I did it on another Buddypress site where I was able to force all of the plugin links, like Achievements, into a second line so that the first line remains with all of the default links. I did that about 2-3 years ago and that since has since floated away into the aether. So dunno if it’s even possible anymore with recent changes to Buddypress.

    Hope there’s a solution to be had. (But thinking about it, it would be awesome if there was a plugin that could me made for custom WP themes that would allow you to position links in the order and places you’d like.)

    Thanks!

    #179338
    Boone Gorges
    Keymaster

    Hi @zippykid – Thanks for the post and for the gist of the EXPLAIN.

    We’ve made some massive improvements for 2.0 in the activity query, but we haven’t really changed the way that this COUNT query works. In any case, forcing an index on a COUNT that doesn’t need sorting doesn’t really make much sense anyway, so we should probably remove it. If you get a chance, please open an enhancement ticket at https://buddypress.trac.wordpress.org with the suggestion. If not, I’ll try to get to it later.

    #179336
    shanebp
    Moderator

    The link to your gist:
    https://gist.github.com/vidluther/9370018

    You’ll probably get a better response by opening a ticket at:
    https://buddypress.trac.wordpress.org/

    Vid Luther
    Participant

    Hi,
    We’re running into some performance issues with a couple of sites using BuddyPress 1.9.2 with WordPress 3.8.1 on our systems.

    The problem query seems to be called from the wp-activity-classes.php. At first glance of just the query itself, it seems that the explicit SQL HINT in the query is the culprit. Here’s a gist explaining it..

    <script src=”https://gist.github.com/vidluther/9370018.js”></script&gt;

    I don’t know the entire code base, or the history behind the decision to force SQL hints, so I wanted to ask here, before taking it to Trac.

    For the record, I’ve tried the same query on 3 separate machines, ranging from 128GB RAM, to 48GB RAM.. With the hint, I’ve never been able to get the query to run in less than 1 second.

    Running MySQL server from Percona version 5.5, and MySQL Community edition 5.6.

    Hi guys,
    I’ve got a WordPress 3.8.1 Multisite install with BuddyPress 1.9.1 network activated. My goal is to have ALL BuddyPress components globally activated (shared among all of my network subsites) EXCEPT for the Groups component.

    I need to display ONLY the groups that were created on that particular site. So if I create a group on my Support Site, only the groups that I’ve created on the Support Site will be displayed on the Groups List (groups-loop).

    I noticed that someone else created some functions for this, but it only worked for Buddypress 1.5 and earlier:

    Any suggestions on how I can update this code for the newer BuddyPress 1.9.1?

    Thanks

    #179329
    Lemmy
    Participant

    Wordpress 3.8.1
    Buddypress 1.9.1

    I would like to allow users to set up forums per site in Buddypress. So the admin of johndoe.blogcommunity.com would be able to have forums for his site, as would the admin of janesmith.blogcommunity.com for her site.
    Also, there would be forums for the ‘parent site’ blogcommunity.com, and for each Buddypress group.

    I have set up Sitewide and Group blogs for Buddypress using bbPress.
    The admins of each site are not shown a Forum menu option in their Dashboard menus.
    However, as super admin I can visit the johndoe.blogcommunity.com dashboard and create a forum for that site.

    So at the moment it is looking like a capabilities option – that non super-admins just don’t have caps to see the Forum creation menus.

    Is this the way it is intended to be set up, and is there a setting somewhere for enabling what I want?
    Or do I have to edit the capabilities settings in bbPress for that?

    Thanks.

    #179327
    astarina
    Participant

    @mercime Thanks, I’ve seen that plugin (I did extensive searching online before I posted my question). It doesn’t seem to do what I want it to do – ie for buddypress users to set up multiple stores.

    It seems like there is only one store and it shows feeds of what the users are buying, product groups, etc?

    #179324
    @mercime
    Participant
    #179320
    craftersuniversity
    Participant

    Sorry, but it doesn’t work. I can only find two activity-loop.php in the BuddyPress plugin folder, one in \buddypress\bp-themes\bp-default\activity which doesnt change anything when altered and one in \buddypress\bp-templates\bp-legacy\buddypress\activity which breaks the site, stops some plugins and refuses to show any activities at all when altered according to your instructions. I’ve also tried placing them in my child theme, but it doesn’t do anything…

    What could be the problem?

    By the way, i’m using a child theme of Twenty Eleven.

    mairaj
    Participant

    Hello!

    I need help regarding BuddyPress xprofile fields visibility. While setting up profile fields I choose – Per Member Visibility – Let members change this field’s visibility

    Only for some particular fields irrespective of what settings a user has, I want the fields viewable by

    1. profile owner (bp_is_my_profile)
    2. admin
    3. S2member level / Custom Role

    I know, irrespective of the settings the fields will still be available to the first 2 candidates. How can I add the 3rd?

    Also, I don’t want all fields available to the 3rd candidate (custom role). There are fields like contact number, email etc which I don’t want to be viewable by the 3rd candidate. So the customization is required to certain fields only.

    Kindly guide or please advise if a plugin can do this.

    Thank you in advance 🙂

    #179317
    Nishant Kumar
    Participant

    @backpackersunion, you are welcome.

    As per the ticket status. It was already fixed in trunk.

    https://buddypress.trac.wordpress.org/changeset/7740

    Thanks community.

    #179315
    @mercime
    Participant

    @bhself When did this issue start? If you deactivate BuddyPress, is the issue resolved? If not, have you tried deactivating other plugins to check which is causing the issue?

    cyndimarie
    Participant

    In the member directory I want to add an icon to the user profiles that distinguishes between types of members.

    Basically I have a profile field drop-down with two options. If they select option “A” I want icon “A” to be displayed on their profile. And then the same idea if they select option “B”.

    I found this thread however none of these solutions worked for me: Profile Field adds Award

    Here’s the code I have now in my members-loop.php, although nothing is showing up:

    <div class="role-icon">
           <?php if ( bp_get_the_profile_field_name() == 'A or B?' ) {
    	global $field;
    	if ( bp_get_the_profile_field_value() == 'A' )
    	echo '</Aicon.png />';
    	}
    	?>
           </div>
    BlinkyBill01
    Participant

    I remember having this issue a couple of years ago and was able to get help fixing it. For the life of me, I don’t remember how. So if anyone can help, it would be more than appreciated.

    So my theme compacts the total space of buddypress. So when viewing my profile, with all of the plugins I’ve added, the menus on the profile page breaks into two lines with links that break outside of the template space.

    I know it all deals with “#buddypress div.item-list-tabs ul li” having all of the default links in one line and the plugin links fill in.

    Is there a way to break up the menu links into two or more lines so that it doesn’t break my theme?

    #179301

    In reply to: Group Adm Avatars

    shanebp
    Moderator

    As you can see, the avatars are added by function bp_group_list_admins
    in this file:
    buddypress\bp-templates\bp-legacy\buddypress\groups\single\group-header.php

    Unfortunately, that function has no filters.
    So you’ll need to create a template over-ride of group_header.php in your theme.
    Then replace bp_group_list_admins() with a custom function that you create in plugins/bp-custom.php

    function bp_group_list_admins lives in
    \buddypress\bp-groups\bp-groups-template.php

    You can copy it and change the function name and the html output of the foreach loop.

    You’ll probably need to do the same thing for bp_group_list_mods()

    #179300
    virtualgeorge
    Participant

    I have both buddypress & paid membership pro installed.
    I want to use the registration page from buddypress because I need the optional additional fields on the reg page and that is working fine.

    So when I add PMP and put up a page with my membership levels where they can choose a free or paid membership:
    http://virtualgeorge.info/rcapa2/membership-account/membership-levels/

    It takes them to the PMP reg page
    http://virtualgeorge.info/rcapa2/membership-account/membership-checkout/?level=1

    I would like them to use the standard buddypress reg page
    http://virtualgeorge.info/rcapa2/register/

    I have seen this done on other sites and I have a theme I purchased, sweetdate that comes with buddypress & paidmembership pro and only the buddypress page is shown for registration.

    If needed I could just add a link to the activation page after they create and activate an new account and link them to the paid membership page. Not sure how to customize the buddypress activation page. Added text to the page I specified as the “activate” page but it doesn’t seem to show.

    Any tips would be appreciated, hope this isn’t too confusing 🙂

    thanks!!

    #179295
    icm76
    Participant

    hi,

    i have the following problem: I set up wordpress then buddypress as follows:
    1. BP setup – pages for “Activity Streams”, “User Groups” and “Members” are created automatically
    2. modify permalinks ans choose another one instead of the default
    3. test initial pages – OK
    4. create new pages and test their links (for “register” and “activate”) – OK
    5. BP setup -> pages -> choose pages for “register” and “activate” then save them using either the Save buttons beside the dropdowns or the global “Save settings” –> when I test the previous two pages I get, only for them, “404” while the initially created pages are working

    what should I do?

    (WP 3.8.1, BuddyPress 1.9.2, WAMP 2.4 with Apache rewrite_module working – step 3 above, PHP 5.4.16, root at http://localhost:8080/wp)

    Thank you,
    Catalin

    #179294

    Topic: Members Page URL

    in group forum Installing BuddyPress
    RocketMan66
    Participant

    Hi am an BuddyPress Newbie,
    I just installed BuddyPress into an active site which coincidently already had a “Members” page with an URL of “http://www.mysite.com/members/&#8221;, therefore when BuddyPress was installed, WordPress named the BuddyPress Members page as “http://www.mysite.com/members-2/&#8221;.
    Is this going to create problems with my BuddyPress installation? Will BuddyPress plugins attempt to use my other members page?
    I don’t really need the original members page, is there an easy way to clean this up?

    Regards
    Rocket

Viewing 25 results - 26,476 through 26,500 (of 94,560 total)
Skip to toolbar