Search Results for 'buddypress'
-
AuthorSearch Results
-
August 5, 2014 at 10:14 pm #185996
shanebp
ModeratorI’m still not clear on what you’re trying to do.
Those hooks should provide a starting point.
But adding profile fields dynamically and adding/setting dynamic values to existing fields are 2 different things.See:
buddypress\bp-xprofile\bp-xprofile-admin.php
re adding adding profile fields dynamically.The latter item should be quite straightforward.
Then, as you point out, there is the lamentable difference between field handling in reg and profile.
August 5, 2014 at 9:49 pm #185995In reply to: Rename "Messages" nav to "Mails"
Henry Wright
ModeratorHi @sundev
Check out the Customizing Labels, Messages, and URLs article. To customise the label I think you’ll need to use a language file.
If you also want to change the slug in the URL, try adding this to your bp-custom.php file
define( 'BP_MESSAGES_SLUG', 'mails' );August 5, 2014 at 8:58 pm #185992Ross Wintle
ParticipantThanks Shane.
I was thinking more of something that’s like profile fields, that you edit in the member sign-up and profile edit screens, rather than creating new screens. What I’d REALLY like is something like the Group extension API for users. But instead the registration/register.php and /members/single/profile/edit.php templates seem to have a large amount of almost-duplicated code and inconsistent hooks.
Yeah, I know – if I want an extension system I should contribute it, right? 🙂
Any thoughts on adding profile fields with dynamic values in the way that I need? The best way would seem to be to use something like the bp_custom_profile_edit_fields and bp_signup_profile_fields action hooks, but I’m not sure that they are specific enough.
Thanks
Ross
August 5, 2014 at 5:36 pm #185977In reply to: Customize Request Membership Tab
shanebp
ModeratorThe template is here:
buddypress\bp-templates\bp-legacy\buddypress\groups\single\request-membership.phpI don’t know of any plugins that handle customizing that area.
> Is there an easy way to customize this tab?
Easy?
Yes, fairly easy, if you have some skills as a WP / BP developer.August 5, 2014 at 11:43 am #185960In reply to: Create new entrance
danbp
ParticipantWhat do you mean by new entrance ? You’re working on a WordPress powered site using the BuddyPress plugin.
To get a chance for help on this support forum, please read also here.August 5, 2014 at 11:38 am #185959In reply to: i want a simple pic as Default avatar.
August 5, 2014 at 11:29 am #185958In reply to: Ok Im Completely Lost Need Help Please
shanebp
ModeratorAugust 5, 2014 at 8:33 am #185955In reply to: Register Page redirects to wp-admin page
Sokrates
ParticipantHi Arpit2011,
Either
1. Copy the register.php page from the BuddyPress plugin bp-templates\bp-legacy\buddypress\members directory into the root of your theme directory and amend it to your requirements
or
2. Install Gravity forms and the Gravity forms user registration plugins and create a form that maps to the extended BuddyPress profiles, and insert it into the page you have chosen in BuddyPress settings.
After doing either, make sure you have the following in your theme functions.php file
add_theme_support( ‘buddypress’ );
August 4, 2014 at 9:51 pm #185947In reply to: Font Awesome breaks ajax on delete link
shanebp
ModeratorIt’s the jquery in global.js
The ‘target’ becomes the icon rather than the a tag.
Soif ( target.hasClass('delete-activity')fails.Changing to this gets the right target:
if ( target.hasClass('icon-trash') {And then you need to change:
var link_href = target.attr('href');to:
var link_href = target.closest("a").attr("href");otherwise the nonce won’t be found and the ajax will fail.
Note: why is global.js being loaded from BuddyPress Default Theme when BP Legacy Theme is being used? Don’t know, but something is funky in this particular client’s installation.
August 4, 2014 at 6:18 pm #185939In reply to: Font Awesome breaks ajax on delete link
shanebp
ModeratorThis issue gets stranger the farther I dig…
1. We aren’t using the BP Default theme, so why is the activity stream using global.js instead of buddypress.js from the legacy theme?
2. in either /js, this click handler is never triggered if an image is used in the < a > tag for activity->delete or activity->fav
jq('div.activity').click( function(event) {August 4, 2014 at 5:41 pm #185936VictorTookes
ParticipantAhh, so it worked to show me only my friends joining. Which is work-able.
But now I get
Warning: Division by zero in /home/recivity/public_html/wp-content/plugins/buddypress/bp-activity/bp-activity-template.php on line 783August 4, 2014 at 2:28 pm #185927In reply to: Register Page redirects to wp-admin page
Sokrates
ParticipantHi @arpit2011,
Logon to your site Dashboard and from the settings sidebar item select BuddyPress.
At the top of the BuddyPress settings page you will see three tabs: components, pages and settings. Click on the pages tab, and from here you will see an option to select the register page. Unless you create a new custom registration page in your theme (called register.php), you won’t see much of a difference from the default registration page 🙂
August 4, 2014 at 9:31 am #185914In reply to: Template / Theme Question
peter-hamilton
ParticipantMake a new folder in your theme root and call it “buddypress”.
Inside you can make five more folders
1. activity
2. forums
3. groups
4. members
5. blogsInside these folders you can copy the template files from the buddypress plugin.
The template files are in the buddypress plugin here:plugins > buddypress > bp-templates > bp-legacy > buddypress
To alter profile pages you need to change the files in “member”.
Hope that helps
P.H.
August 4, 2014 at 2:57 am #185900lpatmo
ParticipantThanks for responding, @shanebp! I don’t see bp_group_create_button() in line 1890 in wp-content/plugins/buddypress/bp-forums/bp-forums-template.php, though. Instead, line 1890 contains this comment:
* Output the ID of the current post in the loop.
Also, I’m confused: if I need to edit something from the core BP plugin to do something small like change the content of the text, how should I edit it? Is there such a thing as “child” plugins for the BP plugin?
August 3, 2014 at 11:49 pm #185898In reply to: Template / Theme Question
@mercime
ParticipantI am using the Divi theme
@osirisravenwood last I heard, Divi was not compatible with BuddyPress. Please check at premium theme’s forums or with theme author whether this is no longer the case. To make the theme compatible, author could create abuddypress.phpfile for theme compatibility.is there a way i could say use the layout of a really cool buddypress theme
BuddyPress renders the BP templates in compatible WP themes for the different BP components you’ll activate. You could style those accordingly with CSS tweaks or use BP template hierarchy as explained at https://codex.buddypress.org/themes/theme-compatibility-1-7/
August 3, 2014 at 9:52 pm #185892greatwebdesign
ParticipantHi,
I tried sending a link to the site but apparently this forum is blocking my message with link. Please go to the ThemeForest website and search for the Sweet Date theme (WordPress version). That is the theme that I’m using with BuddyPress.
Thank you!
August 3, 2014 at 9:12 pm #185889Henry Wright
Moderator@marriagebroker login details aren’t necessary. I just need to locate the source code of the widgets to see what hooks are available. Are they default widgets in BuddyPress (I don’t currently have BuddyPress installed so cannot check that myself)? Or are they part of a plugin etc?
August 3, 2014 at 8:13 pm #185884In reply to: BP Block Non Friends Activity
bp-help
Participant@informerfrk
You failed to mention it is a paid plugin and being that you are a new developer according to this thread: https://buddypress.org/support/topic/i-am-a-new-buddypress-plugin-developer-and-busy-to-create-a-new-plugin/
I don’t think it would be wise at this juncture in your development to expect people would pay for a small mod of the “friends only activity” plugin authored by Rich Fuller as well as Sarah Gooding which is old and that is what it appears to be according to your other thread here: https://buddypress.org/support/topic/need-some-modification-for-friends-only-activity-plugin/
I believe folks should make money on plugins but not by using a majority of someone else’s code from a previous and a kinda old plugin. Plus @megainfo has a really great free plugin on the repo that is very flexible here: https://wordpress.org/plugins/buddypress-activity-privacy/
And if one doesn’t need all those features then @shanebp offered a code solution which works well here: https://buddypress.org/support/topic/only-friendsyou-in-activity-feed-has-solution-been-found/
Either way good luck!August 3, 2014 at 6:06 pm #185878In reply to: BuddyPress Not Letting Users Register!
porter_hughes
ParticipantOk I deactivated all of my plugins except BuddyPress. It didn’t work. I deactivated BuddyPress and tried to register it worked. But do you know what I need to do to let it work with BuddyPress? @mercime
August 3, 2014 at 5:55 pm #185876In reply to: BuddyPress Not Letting Users Register!
@mercime
Participantit was the only elway to get anyone’s attention
@porter_hughes We’re all volunteers here living in different time zones, please be patient. Closed your original post with link to this topic.At this stage, deactivate all plugins except BuddyPress, keep on using the Twenty Thirteen theme, then try to register. If that still doesn’t work, deactivate BP then check if registration works. If registration still doesn’t work in standard WP install, please post at WP forums to resolve the issue.
August 3, 2014 at 5:52 pm #185874In reply to: BuddyPress not letting users register.
@mercime
ParticipantClosing this duplicate for https://buddypress.org/support/topic/buddypress-not-letting-users-register-2/
August 3, 2014 at 4:41 pm #185873In reply to: BuddyPress Not Letting Users Register!
porter_hughes
ParticipantOk gosh well it was the only elway to get anyone’s attention because no one answered my last 3 pots. Anyway I installed WordPress locally on Mac using MAMP. I have not tried deactivating BuddyPress. I’m Using the 2013 Theme at the moment with some other plugins. And I justing using a single installation of WordPress
August 3, 2014 at 4:01 pm #185871In reply to: BuddyPress Not Letting Users Register!
@mercime
Participant@porter_hughes first of all, do not SHOUT in the forums by using ALL CAPS, thank you.
We need to know more about your installation in order to help you.
– Where were you installing WP? – locally or webhost (Windows/Linux/etc ?)
– If you deactivate BuddyPress, does your registration work then?
– Are you testing registration using Twenty Fourteen and only the BP plugin activated?
– Are you testing on standard WP or WP Multisite?August 3, 2014 at 3:28 pm #185870@mercime
ParticipantAugust 3, 2014 at 3:19 pm #185869 -
AuthorSearch Results