Forum Replies Created
-
You’ll probably want to use a plugin such as Mediapress.
In reply to: Unable to Upload Profile PictureThe problem might be related to the theme you’re using. Try activating the TwentyFifteen theme to see if you can upload.
In reply to: Unable to Upload Profile PictureHi Rhonda
Which theme are you using?
In reply to: How to create custom function for functions.phpPlease wrap code in backticks when pasting into a post. It helps format it so it’s easily readable.
In reply to: missing small detail to add bp_loggedin_user_domainYou’re using it as a string. Try removing the
'delimiters. For example:bp_loggedin_user_domain()Note, you also don’t need the semicolon
;In reply to: Re-Code BuddyPress to use Custom Post TypesBuddyPress was released in 2009. Custom Post Types were introduced into WordPress in mid-June 2010 so there was no way the original BuddyPress crew could have used them.
Also, the use of custom tables isn’t always a bad thing. If the situation calls for them after careful consideration then you should use them.
In the case of BP, the database schema is sound, queries are optimised and everything is generally done “the WordPress way”. Personally, I don’t think of BP tables as “custom”. I think of them as an extended set of WordPress tables that get activated if you want social features with WordPress.
In reply to: Re-Code BuddyPress to use Custom Post TypesWhy was BP coded so oddly in the first place?
What parts of the BP code do you find odd?
In reply to: Warning message when posting statusYou should post this question on the plugin’s support forum as this related to the buddypress-activity-privacy plugin.
In reply to: Custom Profile FieldsYes. Check out the WordPress Custom Fields article.
In reply to: Exclude groups from get_total_group_countYou can use the
bp_get_total_group_count_for_userfilter. For example:function my_func( $count, $user_id ) { // Do something with $count, using $user_id if you wish. return $count; } add_filter( 'bp_get_total_group_count_for_user', 'my_func', 10, 2 );In reply to: Re-Code BuddyPress to use Custom Post TypesCan BuddyPress be re-coded to use custom post types?
Yes, but not very easily. An almost complete re-write of the project would be needed.
In reply to: Script Error IssuesThese all boil down to invalid arguments being supplied to various functions. The problem could be related to the same variable not being set properly but some investigation into your set-up would be needed.
In reply to: Users not able to view the members page/members/ should be a perfectly acceptable slug to use. There must be a conflict somewhere. Likely some custom code or a plugin.
In reply to: Users not able to view the members pageDo you have any plugins activated aside from BuddyPress?
In reply to: business pageIf you can think of business pages as “groups” then BuddyPress comes with that functionality. You just need to enable the Groups component and your members will be able to create and invite more members to join the group.
In reply to: will the buddypress be compatible with php7?It looks as though BuddyPress has got PHP 7 in the bag 🙂
In reply to: will the buddypress be compatible with php7?Good question! This is likely to being looked at by the core team.
See this post which describes what is being done by the WordPress core team: https://make.wordpress.org/core/2015/09/10/wordpress-and-php7/
My guess is the BuddyPress core team are doing something like that. Maybe @djpaul can add something here?
i am missing 22and this is friend id. so please solve my problem.
Are you using
bp_friend_accept_request_link()outside of the loop? That might be the reason you’re not getting the friendship ID.Inside
bp_friend_accept_request_link(),friends_get_friendship_id()is used to get the ID. This function accepts 2 arguments, the first is the ID of a particular user and the second is the ID of the logged-in user. If you use the function in the wrong context, the first argument is likely not set.In reply to: List or grid format for members or groups directoryThis could quite easily be theme functionality rather than something that is added to core.
In reply to: Best Theme for Busy Community?Hey @wecreatehype
Feel free to show off your community in the Your BuddyPress forum. It’ll be great to see a live version of Boss “in the wild”.
In reply to: BP vs Theme conflict, page blank500 is a very general error. Try the following:
- Clear your browser cache
- Delete cookies
- Remove all custom code from functions.php or bp-custom.php
- Activate the TwentyFifteen theme
- Disable all plugins
- Check your .htaccess file for errors
The problem may also result from a file or folder permissions error.
In truth, 500 errors are very hard to diagnose because they could result from almost anything.
In reply to: Do I need Xprofiles, can’t i just use User MetaYou can disable the xProfile component and there shouldn’t be any ill effects associated with doing that. You obviously won’t get that functionality but of course you’re free to use the WordPress-based usermeta to store profile data instead.
In reply to: Contact form on profileYou could try the BuddyPress Ideas forum:
In reply to: Exclude groups from get_total_group_countYou might also want to exclude hidden groups, just as the default group count function does. For example:
status != 'hidden'In reply to: Contact form on profileCool idea. I haven’t seen a plugin which can do this myself. Did you check the Plugin Directory?