-
Henry Wright replied to the topic 3rd Sized Avatar in the forum Creating & Extending 12 years, 2 months ago
You’d change
$avatar_size = ( ‘full’ == $type ) ? ‘-bpfull’ : ‘-bpthumb;to:if ($type == 'full' ) {
$avatar_size = '-bpfull';
} elseif ($type == 'thumb' ) {
$avatar_size = '-bpthumb';
} else {
$avatar_size = '-bptinythumb';
}But that approach wouldn’t be recommended because when you upgrade buddypress your changes will be lost.…[Read more]
-
Henry Wright replied to the topic 3rd Sized Avatar in the forum Creating & Extending 12 years, 2 months ago
I was thinking this?
1st: The thumb size
2nd: The full size
3rd: The original size -
Henry Wright replied to the topic 3rd Sized Avatar in the forum Creating & Extending 12 years, 2 months ago
Hi @darqpony
1. Thumbs
define ( 'BP_AVATAR_THUMB_WIDTH', 20 );
define ( 'BP_AVATAR_THUMB_HEIGHT', 20 );2. Full
define ( 'BP_AVATAR_FULL_WIDTH', 150 );
define ( 'BP_AVATAR_FULL_HEIGHT', 150 );3. Original
define ( 'BP_AVATAR_ORIGINAL_MAX_WIDTH', 300 );4. File size
define ( 'BP_AVATAR_ORIGINAL_MAX_FILESIZE', $max_in_kb );Now, you can…[Read more]
-
Henry Wright replied to the topic Warning: Missing argument 2 for bp_modify_page_title() in the forum How-to & Troubleshooting 12 years, 2 months ago
Definitely what @shanebp said! 🙂
-
Henry Wright replied to the topic Warning: Missing argument 2 for bp_modify_page_title() in the forum How-to & Troubleshooting 12 years, 2 months ago
Hi @mib314
It is likely that your theme is using
bp_modify_page_titlewith just one argument. Try searching your theme forbp_modify_page_title. If you find it, and it is passing just one argument then you have identified the problem. Then, it’s probably worth letting the theme author know.You’ll notice a comma is used to separate…[Read more]
-
Henry Wright replied to the topic Is profile fields treated as posts ? in the forum How-to & Troubleshooting 12 years, 2 months ago
No, they’re not treated as posts. They are called xProfile fields and form part of the xProfile component. They’re saved in their own table which I do believe is called wp_bp_xprofile_fields
-
Henry Wright replied to the topic BuddyPress 2014 Survey in the forum Requests & Feedback 12 years, 2 months ago
@mercime the visuals on the GitHub version are V impressive! Thanks again 🙂
-
Henry Wright commented on the post, 2014 BuddyPress Survey Results, on the site BuddyPress.org 12 years, 2 months ago
Hey @mercime great effort!
-
Henry Wright replied to the topic Housekeeping after delete-acount in the forum How-to & Troubleshooting 12 years, 2 months ago
Hi @ndh01
In my case, I would like to auto reassign to a different ID when a user deletes their account.
I think that functionality only happens when the member is deleted by the administrator in the WP dashboard. Posts aren’t reassigned if the member deletes their own account via the front end.
-
Henry Wright replied to the topic Performance issue. in the forum How-to & Troubleshooting 12 years, 2 months ago
Am using Twitter Bootstrap already
Have you customised it? See http://getbootstrap.com/customize/
The Customiser is great because you can get rid of the JavaScript and CSS you don’t need. I find I always need stuff like the CSS ‘the grid system’ but never use stuff like tooltips and popovers.
-
Henry Wright replied to the topic Performance issue. in the forum How-to & Troubleshooting 12 years, 2 months ago
Version 2.0 which is due for release in about 2 months time will have quite a few improvements in place related to performance. Caching is one of the main focus areas and reducing the number of queries is another.
In the mean time, you could disable and remove some of the plugins you don’t use (I noticed you have 46). You could make sure…[Read more]
-
Henry Wright replied to the topic what appears as a notification? in the forum How-to & Troubleshooting 12 years, 2 months ago
Humm… Looking at the proposal and the patch, it doesn’t look like ‘in-profile’ notifications are factored in yet. Just email notifications at the moment it seems.
bp_notifications_add_notification()does the adding of an ‘in-profile’ notification. See…[Read more] -
Henry Wright replied to the topic what appears as a notification? in the forum How-to & Troubleshooting 12 years, 2 months ago
Regarding notifications for activity comments, see this open ticket:
-
Henry Wright replied to the topic what appears as a notification? in the forum How-to & Troubleshooting 12 years, 2 months ago
Hi @deepbevel
The notification types in BP core are:
‘new_at_mention’
‘friendship_request’
‘friendship_accepted’
‘new_membership_request’
‘membership_request_accepted’
‘membership_request_rejected’
‘member_promoted_to_admin’
‘member_promoted_to_mod’
‘group_invite’
‘new_message’
Plugins might add their own notifications on…[Read more]
-
Henry Wright replied to the topic Undefined Function Error in the forum How-to & Troubleshooting 12 years, 2 months ago
Hi @cnaughton
The function should be defined? See here:
https://github.com/buddypress/BuddyPress/blob/master/bp-groups/bp-groups-template.php#L2660
Do you have the groups component activated?
-
Henry Wright replied to the topic No need for Members, Register, or Activate? in the forum How-to & Troubleshooting 12 years, 2 months ago
…can I just create those pages to satisfy BuddyPress and then just make them private?
You can. In fact, if you’re sure you’ll never need them you can perform a 301 permanent redirect to ensure they never show. For example:
function redirect_pages() {[Read more]
if ( bp_is_register_page() || bp_is_activation_page() || bp_is_members_component() )… -
Henry Wright replied to the topic Automatically create BP user in the forum How-to & Troubleshooting 12 years, 2 months ago
@joshwinkles With BuddyPress installed, try going to
yoursite.com/members/usernamewhilst logged in as a WP user. If you can edit your profile, change your avatar etc then it works! -
Henry Wright replied to the topic Stop BuddyPress SPAM in the forum How-to & Troubleshooting 12 years, 2 months ago
Akismet is a good plugin to have enabled. It’s free for personal websites and is completely unobtrusive:
But think of your fight against spam as a ‘strategy’. No single plugin will do the job. You’ll probably need to deploy a combo of plugin(s), manual moderation etc. Spammers are always changing their…[Read more]
-
Henry Wright replied to the topic Make members listing page private not using membership plugin? in the forum How-to & Troubleshooting 12 years, 2 months ago
Nice solution @barney92!
-
Henry Wright replied to the topic Make members listing page private not using membership plugin? in the forum How-to & Troubleshooting 12 years, 2 months ago
I can’t really tell for sure but reading your post it seems you have ‘private tags’ that you’re wrapping around stuff you’d like to keep private?
Maybe try wrapping these tags around the members loop
bp_has_members()? - Load More
@henrywright
Active 2 years, 1 month ago