Search Results for 'buddypress'
-
AuthorSearch Results
-
June 19, 2014 at 1:11 am #184200
jasonsherwin
ParticipantHi Guys,
I’m also experiencing this issue with a broken registration form.
Fresh wp + buddypress install.WP_DEBUG doesn’t report anything… the registration form just fails silently on submit.
I don’t have any weird directory naming going on like hope mentioned above^
I just had a fresh test wp install setup on mamp at http://localhost:8888/wordpress/
Tried renaming this dir in case it was some reserve word issue with ‘wordpress’… still no luck.wp 3.9.1
bp 2.0.1cheers,
– jason
June 18, 2014 at 10:27 pm #184197In reply to: redirect user login
modzirra
ParticipantSo, I’ve been combing these forums for weeks for a very similar problem, and being that this is the closest solution post, I thought I would ask here, extending the support for this problem.
I would like to redirect users during login in the following manner:
If logging in from the front page (site, not user): redirect to user profile
If logging in from anywhere else: redirect to original url (where original url is the url where the login process was initiated)Currently I am forced to run the following for backwards compatibility reasons:
WP: 3.7.3
php: 5.3.10
bbPress: 2.5.3
BuddyPress: 1.9.2 +5 complimentary pluginsActive Plugins
45+ with the most relevant being:
BadgeOS: 1.3.5 +4 complimentary plugins
Bowe Codes: 2.1
BP My Home: 2.0
BP RedirecttoProfileforBuddypress: 1.2
BP Simple Front End Post: 1.1.4
BuddyBlog: 1.0.4I’ve tried to edit the redirect plugin mentioned often here as well as with no luck.
Here is a sample of one of my latest attempts (a modification on redirect to profile plugin):
add_filter("login_redirect","bpme_redirect_to_profile",100,3); function bpme_redirect_to_profile( $redirect_to_calculated, $redirect_url_specified, $user ){ /* if no redirect was specified,let us think we want the current page */ if( empty( $redirect_to_calculated ) ) $redirect_to_calculated=$redirect_url_specified; /* if the user is site admin or not and it's the front page,redirect to his/her profile */ if( is_super_admin( $user->ID ) && is_front_page() ) return bp_core_get_user_domain( $user->ID ) . 'profile/'; if( !is_super_admin( $user->ID ) && is_front_page() ) return bp_core_get_user_domain( $user->ID ) . 'profile/'; else return $redirect_to_calculated; /*if site admin or not logged in,do not do anything much*/ }(I recognize that the admin user check is redundant, that was part of some debugging I was doing)
I find that every time I try to check for the front page, something happens to interrupt the redirect process. Without a check for front page: Working great! With the check for front page: No Bueno! I’ve been using several debugging plugins and if I understand them correctly, most of the issue has to do with the sidebar login location (it seems to ignore wp_login and login_redirect hooks/filters) and checking for the front page.
I tried many other plugins and most of the code (with minor adjustments for my needs) that was offered on the forums here, including the Ajax one, but most of our login process is done through the sidebar and they just don’t ever get called or triggered during the sidebar login process.
I would love some advice on how to adjust what I have and get it working properly.
Your help is appreciated, thanks!
June 18, 2014 at 9:22 pm #184194In reply to: How do I move profile subnavs to Settings subnav
Henry Wright
ModeratorHi @josephfrio13yahoocom and @lflier
Component navigation is set-up in the component’s class. For example, the
setup_navmethod within theBP_Friends_Componentclass does this for the Friends component. See here for exactly how it’s done.To my knowledge, there is no easy way to move subnavs around.
June 18, 2014 at 8:22 pm #184191In reply to: Auto-add to a group as a reward?
LeafyGrove
ParticipantNevermind found: “CubePoints Buddypress Integration” joining someone to group seems to be part of it.
June 18, 2014 at 9:40 am #184174In reply to: Hide admin activity in BP 2.x
nirgalo
Participanta nice article on how to modify the member’s loop display here. Just need to check in the loop for presence of an admin and not display it.
June 18, 2014 at 9:13 am #184172In reply to: Hide admin activity in BP 2.x
nirgalo
ParticipantI found out the code displaying content of the Members page is buddypress/bp-templates/bp-legacy/buddypress/members/index.php. Since I am using BP 2.0.1, is this normal code from bp-legacy is executed?
June 18, 2014 at 7:23 am #184170In reply to: [Resolved] xprofile group description
shpitzyl
ParticipantHi @sylmurray sorry for the late replay. Saw your post just now.
It is located at bp-templates/bp-legacy/buddypress/members/single/profile/Copy the file to your child theme, create this directory structure:
[Your-child-theme]/buddypress/members/single/profile/
June 18, 2014 at 6:05 am #184164In reply to: Hide admin activity in BP 2.x
@mercime
ParticipantJune 18, 2014 at 2:45 am #184162In reply to: [Resolved] Buddypress teams
@mercime
ParticipantMy members can join groups, but the problem is that if they click on teams they can’t create them.
Please clarify. Did you create a new BuddyPress teams component or are you referring to your groups as “teams”? If you are referring to your groups as “teams” did you enable group creation for all users in Settings > BuddyPress > Settings ?
June 18, 2014 at 2:31 am #184161@mercime
Participant@titoesco Activate BuddyPress and configure BP settings activating the Extended Profiles component only. BP is compatible with nearly all WordPress themes.
June 18, 2014 at 12:25 am #184159jeremykamiya
ParticipantYes, clearing history and cache seemed to work for me. I am still in the development stages of my site, but I feel good (enough) about my hypothesis and am not freaking out when I run into the “no activity found” message – so far, every time I reset my browsers it restores the activity. If you find different results, please post.
For front-end stuff, I’m using WP-toolset ( http://wp-types.com/ ). I’m not sure that this is best, but without a formal (“paid for”) coding education this is what I choose. I think buddypress and bbpress will do the job for me for now.
June 18, 2014 at 12:08 am #184157Tommy White
ParticipantResolved in THIS THREAD
June 17, 2014 at 10:05 pm #184153touomiwilly
ParticipantI had the same issue, and I resolved it without deleting files and database.
To show group avatar, Buddypress uses a setting from wordpress. When it is disabled, Buddypress won’t show your group avatar. So, in admin, go to Settings > Discussion and make sure Show avatars is checked in Avatars section (you can find it at the bottom of the page).
Once I checked it, avatars started to show on my site. I hope it will be the same for you.
June 17, 2014 at 2:39 am #184134In reply to: Help with profiles
blu3shad0w
Participantwell the idea being is that I’m after creating a guild/clan plugin for the community that well kinda of sits on/makes use of wordpress and buddypress….
There are some plugins out there, but they don’t go far enough in terms of the way they do it.
If not create a plugin then well a how to so people can config it…
In regards to the conditional fields plugin is there a way to alter it so that the lower level can be say a picture, a number, a text field that you enter…or are you restricted to just a set option that you already fill out….
June 16, 2014 at 11:50 pm #184129In reply to: [Resolved] Missing BuddyPress Menu Links
@mercime
Participant@tjr3217 Go to Appearance > Menus and click on the “Screen Options” tab at the upper right hand area of the screen to open up the contextual help panel. Top line of the panel, check BuddyPress to “Show on Screen”.
Strange that the BuddyPress page links didn’t show up under either the “Most Recent” or the “View All” tab of your Pages metabox.
June 16, 2014 at 6:34 am #184108In reply to: change the "term" avatar to "profile photo"
Nasongo
ParticipantWas this issue sorted out.I have been biting my brains for along time now with the same issue. I f yo could assist. I need to change the words “Avatar” to Profile pictures. DO I do it from the control panel or should I have to do it through the Buddypress “Editor” option.
Any assistance will be highly appreciated.
Kind regardsJune 16, 2014 at 3:01 am #184102In reply to: Front End Profile Editing
paton400
ParticipantNo, I need to grant the user role permission to ‘edit users’. But by granting that, I’m granting them access too much access.
I want only want them to be able to change the information in other users profile fields. I don’t want them to be able to read private messages.
Is this a question for Buddypress, WordPress or my user role permissions plugin?
June 15, 2014 at 5:46 pm #184098In reply to: Trouble with Members Loop
shanebp
ModeratorIs your sidebar in a BuddyPress page ?
Take a look at the BP_Core_Members_Widget
June 15, 2014 at 4:58 pm #184094In reply to: [Resolved] Custom Display on Members Directory
shanebp
Moderator>As an alternative solution, is it possible to exclude all members in the above list if they had selected ‘N/A’ for Dog Breed?
Yes, there are 2 ways:
1) https://codex.buddypress.org/plugindev/using-bp_parse_args-to-filter-buddypress-template-loops/
2) https://codex.buddypress.org/developer/loops-reference/the-members-loop/#code-examples>Is it possible for me to not display the line for ‘N/A No Dog’ whenever a member has specificed “No Dog” in the ‘Dog Breed’ field on their profile?
Yes, use bp_get_member_profile_data instead:
$dog_size = bp_get_member_profile_data('field=Dog Size'); if ( $dog_size != false ) echo $dog_size;June 15, 2014 at 12:35 pm #184087In reply to: adding / modifing the budypress member page links
dromy
Participantjust to add buddypress member link to the members page URL the #main encore.
instead of http://www.website.com/members/username/
a like with ancore http://www.website.com/members/username/#mainBTW, trying this, removing the <?php before the script and ?> after creates the line as text on page boxy.
June 15, 2014 at 12:15 pm #184085In reply to: Register Format and Avatar
Henry Wright
Moderator@pietro_sferrino as a general guide to how templates work check out the BP Template Hierarchy
The template for the registration page would normally live here:
/your-theme/buddypress/members/index-register.phpYou can edit that file if one has been set up by Mingle but as I say, I’m not sure what Mingle does because it’s code isn’t available.
June 15, 2014 at 9:35 am #184074In reply to: adding / modifing the budypress member page links
dromy
Participantso, just to make this clearer to me:
I add to the [theme]/buddypress/function.php this:function bpfr_my_directory_setup_nav() { echo’#main‘; // link to what you want } add_action( ‘bp_members_directory_member_types’, ‘bpfr_my_directory_setup_nav’ );or any thing I want on the echo field between the two ‘.
Did I get it right?
June 15, 2014 at 8:44 am #184071In reply to: Help with profiles
danbp
ParticipantIt’s a field builder plugin, not a filter, so no it wouldn’t help you. BuddyPress already do this (building fields and fields section) for xprofile component, so such a plugin is not to use with BP.
Conditionnal fields is an old and remaining “must have” thing, but the state of the art is far away i guess.
https://buddypress.org/support/topic/buddypress-conditional-profile-fields-available-now/i would take a try over Gravity Form at your place.
June 15, 2014 at 8:27 am #184070In reply to: Trouble with Members Loop
danbp
ParticipantWhere do you use this code ?
Read here and see especially the recommendation at the end of the post:
or view more here:Add custom filters to loops and enjoy them within your plugin
June 14, 2014 at 1:00 pm #184049In reply to: [Resolved] Hide BP Search Bar
danbp
ParticipantAre you aware about css styling ?
The css goes into your theme style.css, not in the core file.Please read a little the codex before asking for such basic things !
Read about child-theme and buddypress customization. On BP’s codex and WP codex too.
You can also learn a lot by only reading topics on this forum. -
AuthorSearch Results