Search Results for 'buddypress'
-
AuthorSearch Results
-
October 31, 2015 at 10:28 pm #246189
In reply to: The name feild at registration
Brajesh Singh
ParticipantHi,
Since I got this same question in my email today. Assuming that it was you or a coincidence, I will post the code here as well for everyone else.1. BuddyPress Needs the field_1, so you can not delete it. That gives us a solution, we can hide it using css/js and set it’s value to the value of username.
There are two possible approaches.
The first step is use following in cssdiv.field_1{ display:none; }
That will hide the input box on the form.
Now, we can update it using the js or PHP. I will post the simple solution using js
You can put the following code in your bp-custom.php or functions.php
function buddydev_disable_firstname() { ?> <script type="text/javascript"> jQuery(document).ready(function(){ var jq=jQuery; jq("#signup_username").on("blur",function(){ jq("#field_1").val(jq("#signup_username").val()); }); }); </script> <?php } add_action( 'bp_after_register_page', 'buddydev_disable_firstname');
That should do it.
There is another pure php solution by settings $_POST[‘field_1’] to the other value but I will leave that for others to figure out ๐
October 31, 2015 at 1:02 pm #246177In reply to: [Resolved] Change the default avatar
silversurfer.wf
ParticipantDude, that is weird. I figured it out. When BuddyPress forums emailed me your response, it added extra characters in the Email. Then, when I cut and paste it back into BuddyPress forums, the extra characters were removed. I changed the code to remove the extra characters the Email added and the error went away.
October 31, 2015 at 11:00 am #246171In reply to: [Resolved] Change the default avatar
Brajesh Singh
ParticipantFor that purpose, please put the following line too in your bp-custom.php
add_filter( 'bp_core_fetch_avatar_no_grav', '__return_true' );
That forces BuddyPress to avoid using gravatar and use local avatars for default(when no avatar is uploaded).
Hope that helps
vysakhnair
ParticipantThanks for your reply, I have got one more plugin
https://wordpress.org/plugins/buddypress-first-letter-avatar/October 30, 2015 at 9:47 pm #246161In reply to: Include custom wordpress field in registration
chriotte
ParticipantThis is how it looks on the front end with the input added to my code.
(Telefon = Phone)
I simply need som guidance on how to update user_meta on buddypress registration submit.October 30, 2015 at 4:44 pm #246152In reply to: Link avatar to custom nav instead of profile nav
danbp
ParticipantHi,
assuming the link page has a tab named Bourbon (it’s an example) ๐
Define a constant Bourbon and each time you want to go to a profile, by clicking an avatar or so, you’ll be directed directly to Bourbon page of that profile, instead of the default profile Activity page.
Read here:October 30, 2015 at 10:09 am #246145danbp
ParticipantBuddyPress use Gravatar by default, like WordPress.
If your user uploaded custom avatars, you may usebp_core_fetch_avatar
in place of wp’sget_avatar
http://oik-plugins.eu/buddypress-a2z/oik_api/bp_core_fetch_avatar/
More about avatars here and search for “avatar”
http://hookr.io/plugins/buddypress/#index=aOctober 30, 2015 at 9:57 am #246143In reply to: how comments are posted on buddypress?
danbp
ParticipantHi,
check that here and enter “comments” to search box
http://hookr.io/plugins/buddypress/October 30, 2015 at 9:47 am #246141In reply to: wp_signup and wp_user sequence out of synch
danbp
ParticipantHi,
a typo error in WP… it’s fixed.
read here:
https://buddypress.trac.wordpress.org/ticket/6692October 29, 2015 at 10:49 am #246116In reply to: CSS for Registration Form
William
Participant@konberg, if you this code, all labels on the registration form will be lower case.
#buddypress .standard-form label, #buddypress .standard-form span.label { text-transform: lowercase; }
If you just use the other code below, only labels on radio buttons will be lower case.
#buddypress .standard-form div.radio div label { text-transform: lowercase; }
because other fields, not radio boxes, also got lowercased
This is so because you used this code.
#buddypress .standard-form label, #buddypress .standard-form span.label { text-transform: lowercase; }
October 29, 2015 at 2:38 am #246113In reply to: Buddypress in multisite
mrjarbenne
ParticipantWith the upcoming custom header, and a plugin like this to customize the background of your profile, you are pretty close to the customization allowed on Twitter.
October 29, 2015 at 2:33 am #246111In reply to: restricting a user to only one group
mrjarbenne
ParticipantDoes this help?
October 29, 2015 at 2:25 am #246110In reply to: Disable modify name field
mrjarbenne
ParticipantThis plugin will force usernames only across the site. If your usernames are their real names, that might be a fix: https://github.com/r-a-y/buddypress-usernames-only
Small caveat from the plugin readme:
By default, display names are enabled in the member header on profile pages. If you prefer usernames to be shown, add the following snippet to your wp-config.php file:
`define( ‘BP_SHOW_DISPLAYNAME_ON_PROFILE’, false );
October 29, 2015 at 2:22 am #246109In reply to: BBpress & BuddyPress on Multisite
mrjarbenne
ParticipantCan you expand on that?
In a traditional install, on a Multisite network, BuddyPress is Network enabled by default. This doesn’t mean you have a social network on every site in your network, by default, when BP is network enabled, all it’s functions live on your main domain. The network activation allows that main domain to collect all of the activity from all of your subdomains. If one of your subdomains has bbpress active, then the forum posts from that subdomain are populated in the activity stream on the main domain. The main domain becomes the hub on which all activity from across your entire network of subsites is collected and can be seen.
If you don’t want your main domain to be the one that is collecting everything, and instead want that to be some other subsite on your network, you need the instructions I provided above.
October 28, 2015 at 7:07 pm #246101In reply to: CSS for Registration Form
konberg
ParticipantSorry, I meant this code, that’s what they had
form label,
#buddypress .standard-form label, #buddypress .standard-form span.label{
font-weight: 300;
text-transform: uppercase;
}October 28, 2015 at 3:52 pm #246097In reply to: CSS for Registration Form
Henry Wright
ModeratorUnfortunately, this code did not work at all ๐
Likely you’ll need to change the selector
#buddypress .standard-form div.radio div label
so that it’s appropriate for the theme you’re using.October 28, 2015 at 3:37 pm #246096In reply to: Hide All Admins from All Buddypress Activities
shanebp
Moderator
…which I have uploaded to the root of the buddpress folder
It should go in the root of the plugins folder.
October 28, 2015 at 12:14 pm #246091In reply to: Buddypress in multisite
mc9625
ParticipantHi, actually I’ve already added
add_post_type_support( 'recipe', 'buddypress-activity' );
to bp-custom.php in /wp-content/plugins. The recipes are counted in the “member activity stream”, but only the ones posted directly in the parent site, not the ones posted in the member’s blog.
I think it’s a pity you can’t use a “blog” as the user profile page, or at least give the user profile page, the same kind of customisation as a full blog install. I think this is more a “Facebook” kind of approach, everyone will have more or less the same kind of page, with minimal customisation option (I guess the header profile). But since WordPress already has a multisite option, and Buddypress already support multisite environment, have the chance to use the user’s blog as if it were his “user profile” would have been a huge facility.
October 28, 2015 at 9:53 am #246090In reply to: Help loop activities
William
Participant@RafVin Here’s how to hide “All Members” tab with CSS.
Find a file called “style.css” in the wordpress active theme, add the code below and re-upload the file.
#buddypress div.item-list-tabs ul li.selected a { display: none !important; }
Warning! When you update your theme, you’ll loose these CSS changes so try doing this in a child theme if youโd like to retain the changes when you update your theme.
Showing custom tasks under personal? Well that requires some custom PHP coding or probably a plugin. Hopefully, someone will help you with this.
October 28, 2015 at 9:37 am #246089In reply to: CSS for Registration Form
William
Participant@konberg find a file called “style.css” in the wordpress active theme, add the code below and reupload the file.
#buddypress .standard-form div.radio div label { text-transform: lowercase; }
Warning! When you update your theme, you’ll loose these CSS changes so try doing this in a child theme if you’d like to retain the changes when you update your theme.
Let me know if that works.
October 28, 2015 at 2:40 am #246085In reply to: Buddypress in multisite
mrjarbenne
ParticipantI’m not sure what you mean by the “Top Tab Recipe”. If your theme is adding a custom post type, then you need to register that post type in order for it to populate the activity stream, and the user profile activity. BP should do exactly what you are looking to do once you do that: https://codex.buddypress.org/plugindev/post-types-activities/ Maybe your theme is doing this for you already if you are seeing activity generated when you post a recipe in the custom post type area.
Your alternative idea in the last paragraph would also certainly work. You don’t need multisite for that. Make every member of your community an Author on the main site: everything they publish will appear in the Custom Post Type “Recipes” archive, along with all the posts appearing on each users profile: this is their customized space, particularly once header profile images launch in BP 2.4. This would also give you more control over the experience. You could create a publishing checklist to make sure all the recipes are categories and tagged appropriately: https://github.com/danielbachhuber/Post-Checklist
October 27, 2015 at 9:42 pm #246080In reply to: Hide All Admins from All Buddypress Activities
webguru13
ParticipantThanks for the reply on this and sorry just now getting back…life got in the way…can you explain in newbie elementary terms exactly what you were discussing in regards to having me show up as admin and not just looking like a logged in user on buddypress…what is happening is…when I log into my wordpress I show up on my webpage as like a logged in user..doesn’t say admin or anything…I want to be displayed as a admin/moderator for the site…how do I do this…in elementary terms please as I am new to WordPress although I have learned so much and have actually almost put up a complete website…but I am even newer to buddypress although I have it up on my site…these little kinks such as this one are getting in the way…thankful for this buddypress support forum….if you could help I would greatly appreciate it!! Rhonda
October 27, 2015 at 9:25 pm #246079In reply to: CSS for Registration Form
konberg
ParticipantGee, guys, thanks for not helping at all.
The name of the element is exactly what I am trying to figure out. If my registration form looks like thisL
WHAT IS YOUR GENDER
[] MALE
[] FEMALEI am trying to change words MALE and FEMALE to lowercase. I went through ALL CSS files in my theme, and tried replacing text-transform: uppercase with text-transform: none but it did not help at all!
So more specifically, my questions are:
1) what exactly controls the lowercase/uppercase of profile field answer options. Something like this:
#buddypress .standard-form #basic-details-section – but what the hell exactly and howand
2) where to find itThank you!
October 27, 2015 at 6:20 pm #246071In reply to: BuddyPress Profile Updation
Henry Wright
ModeratorCan you describe the steps you took? Also provide any error messages you got along the way. We also need details of your environment (see When Asking for Support).
October 27, 2015 at 2:00 am #246042In reply to: Buddypress in multisite
mrjarbenne
ParticipantIt doesn’t work like that. In a multisite instance, your users can all have their own blogs (think wordpress.com). What BuddyPress does is allow you to see all of the activity from those subsites in one Activity feed (among other things).
I have set up the categories in the main site, and I expected to see the same categories on every site, but it doesnโt work.
Although this isn’t a BP feature, there is a plugin that does this. It hasn’t been updated in a while, but you could test it out, or purchase support from Brajesh and request a fix if you run into issues:
http://buddydev.com/plugins/mu-global-terms/. There’s a write-up on the plugin here: http://wptavern.com/wordpress-multisite-global-terms-plugin-share-taxonomies-across-a-networkAlso in the user activity stream I cannot see the posts the user has written in his own blog.
That SHOULD work. You mention a custom post type though: is that the activity you are hoping to see? By default BP only shows posts and comments, not custom post types. You can register custom post types: https://codex.buddypress.org/plugindev/post-types-activities/
If the subsite that you are hoping registers activity is set to discourage search engines in Settings/Reading then it won’t register on the main site.
You may also want to try one of the default themes (twentyxx) to see if it’s your theme screwing things up. Many themes that tout themselves as BuddyPress-Ready, are doing some funky things best left to plugins in their functions.php file.
-
AuthorSearch Results