Search Results for 'buddypress'
-
AuthorSearch Results
-
February 24, 2016 at 1:52 pm #250248
cybmeta
ParticipantI’ve made some more tests.
In the database, the bp-pages row seems correct and the “register” option is correctly set to the page ID for registration.
If I do this in the header.php of the theme:
var_dump( bp_get_signup_page() );I get the incorrect value `https://example.com/wp-singup.php
If I do this inside the function
bp_get_signup_page()(I’ve tried to include the full code function but the system gives error submiting the post, so I’ve include only the modified lines of the function):var_dump( $page ); return apply_filters( 'bp_get_signup_page', $page );I get the correct value
http://example.com/register/.If I remove the filter
bp_get_signup_pageinsidebp_get_signup_page(), just to check if there is some filter altering the value:return $page;Then I get the correct value in the header.php of the theme, but if I go to
http://example.com/register/, the page doesn’t shows the registration form.It seems that there is some
bp_get_signup_pagefilter changing the value but the problem exists without any other active plugin and with a core theme, so it have to be a filter insdie BuddyPress itself. Anyway, with the correct value ofbp_get_signup_page(), the registration page doesn’t work.February 24, 2016 at 12:06 pm #250243Neeraj Kulkarni
ParticipantIt can be an issue of wordpress installation of multisite and that causing conflicts with the buddypress. Not sure though.
February 24, 2016 at 11:59 am #250242Neeraj Kulkarni
ParticipantThe buddypress community is alive because of the people willing to contribute to the development of this platform. Cheers.
February 24, 2016 at 10:37 am #250240celziobiaz
ParticipantI use Rumbletalk group chat room to do exactly that.
1 – Decide the type of allowed logins to the room.
So if you define GUESTS and Registered users (RumbleTalk), than your Buddypress users will be logged in automatically, guests would provide a name and then they could enter the chat.
2 – Now, users could talk in a group or in private chats.
** They could also have live “one on one” Video Calls or audio calls.
Note, Since they use WebRTC (google video protocol) you will need that your chat will be secured (https/SSL) to make audio and video chats.February 24, 2016 at 10:06 am #250238Paul Wong-Gibbs
KeymasterOoh. Hi @paddy33! Sounds like you’ve got yourself an interesting challenge. I’m very interested to keep in touch to learn about what it’s like to upgrade a site between these versions.
My initial thoughts:
1)
template-user-account.phpis not/has never been the name of a template part bundled with any version of BuddyPress, so we’re dealing with a custom theme integration, which will make things a bit trickier for us to help (since we can’t see its code).2) While the Original site might be BP 1.7.2, it doesn’t mean the templates were built with *that* version; it could have launched on 1.5 or 1.6, etc. In this case, it’s quite possible theme compatibility was explicitly disabled.
Does this line appear anywhere in your codebase?
add_theme_support( 'buddypress' );3) I think you’re going to have to debug (hopefully in a development environment or development server)
bp_core_load_templateand compare where its looking for a template vs. where the template actually is.February 24, 2016 at 4:28 am #250230In reply to: members-loop.php – Not Updating?
zigsolutions
ParticipantFound it! I needed to make the change to my-child-theme-directory/buddypress/groups/single/members.php instead of the members-loop.php in my-child-theme-directory/buddypress/members/.
That took a while but glad I was able to find it. Now instead of the Activity information I want to display the Company field which is a custom field. I think I saw the code to do this and will try it tomorrow but it should be pretty straight forward right?
Thanks again for all your help!!
February 23, 2016 at 7:56 pm #250222In reply to: members-loop.php – Not Updating?
zigsolutions
ParticipantHere are the items that I’ve tried based on your previous suggestion:
– Add text to different parts of the members-loop.php file and it doesn’t show up
– Where it calls the page in the members/index.php I’ve commented that call out:<div id=”members-dir-list” class=”members dir-list”>
<?php /* bp_get_template_part( ‘members/members-loop’ ); */ ?>
</div><!– #members-dir-list –>– Checked the plugins/bp-custom.php that I created and removed the code in that file.
– Disable all the plugins that are attached to BuddyPress
– Renamed the members folders in the following locations to members2 to see if it affected displaying the members and it doesn’t seem like it references any of the locations: buddypress/bp-templates/bp-legacy/buddypress/members/, buddypress/bp-templates/bp-legacy/buddypress/members/ and my-child-theme-directory/buddypress/members/
– The last thing I tried was to copy the buddypress/ folder into the WP 2013 theme and run it through that completely and still I don’t see the changes. Even after I change the theme to the BuddyPress Default theme and update members-loop.php it still shows that information.Not sure what else to try :P. Thank you for all your help so far! I’m very stumped!
February 23, 2016 at 6:11 pm #250214In reply to: Needing BuddyPress Event Calendar
Henry Wright
ModeratorHave you tried BuddyPress Simple Events?
February 23, 2016 at 3:55 pm #250207In reply to: members-loop.php – Not Updating?
zigsolutions
ParticipantThat was great thinking! I tried to enable 2013 with the change made to members-loop.php with no luck. It still shows the Activity.
The theme that I am using is not a true BuddyPress theme. It’s just a normal WordPress theme but I know that shouldn’t really matter for what we are talking about I don’t think.
I’ve also tried changing it in the bp-themes/bp-default/ which I believe is not really used anymore correct?
Thank you so much! Any other suggestions?
February 23, 2016 at 3:33 pm #250204In reply to: Sort Members Alphabetically by Default
zigsolutions
Participant@kmw1130 … I’m having the same issue. Just trying to comment out the activity of the users that show up in the list for a specific group. Any changes I make to members-loop.php are not showing up. Not sure if I’m updating the correct file myself to make this change.
Does anyone know how or where to make changes to the members-loop.php file so they show up in the latest version of BuddyPress?
Thank you so much!
February 23, 2016 at 5:21 am #250190In reply to: Missing Add Friend Button
dave8528
ParticipantSince I could not find bp-custom.php and I found out that it not a default file, so the directions here: https://codex.buddypress.org/themes/bp-custom-php/ says to create it manually – which I did and added the above code as you directed. Then I located member-header.php in following directory tree shown below and added your code:
/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/member-header.phpBut, I don’t see it working! Did I get the files mixed up?
Thanks for all help.February 23, 2016 at 4:45 am #250188In reply to: Members connecting with eachother
@mcuk
ParticipantJust replied to another post which might be what you are after….see below. Saves me typing it out again ๐
https://buddypress.org/support/topic/missing-add-friend-button/
February 23, 2016 at 4:42 am #250187In reply to: Missing Add Friend Button
@mcuk
ParticipantHi @missgridiron,
Add this to your bp-custom.php:
function add_another_friend_button() { $user_id = get_the_author_meta( 'ID' ); $mybutton = bp_add_friend_button( $user_id ); if ( ( is_user_logged_in() && ! bp_is_my_profile() ) ) { echo $mybutton; } } add_action( 'button_here', 'add_another_friend_button' );Then add the code below to wherever you want the button to appear (e.g. in the member-header.php file of your child theme if you want a button in your profile page header):
<div id="another-friend-button"> <?php do_action( 'button_here' ); ?> </div><!-- #another-friend-button -->for reference: https://buddypress.org/support/topic/add-friend-button-everywhere/
February 22, 2016 at 5:04 pm #250171ying-sun
ParticipantFebruary 22, 2016 at 1:44 pm #250167In reply to: pages are being redirected to groups directory
tolisp
ParticipantI have changed theme, disabled all plugins but the problem persists…
Anyone heard of something similar happen again? The buddypress is in a subsite domain/portal. I am thinking maybe the rewrite rules are the ones to blame.This is my htaccess
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]February 22, 2016 at 8:48 am #250157In reply to: Avatar Upload ‘Wrong Size’ Message Is Wrong
Mathieu Viet
ModeratorHi,
By default the avatar sizes are :
– 150x150px for Full size
– 50x50px for thumb sizeIf a message is asking for a different minimum size, then it’s meaning a plugin or a theme is using some of our filters/constants to edit these sizes.
You can search for this filter
bp_core_avatar_full_widthor this constantBP_AVATAR_FULL_WIDTHoutside of BuddyPress to find who’s setting the size to be 580x580px.February 22, 2016 at 8:35 am #250156In reply to: Using Buddy Press to create a media sharing site
Henry Wright
ModeratorYou can add functionality to BuddyPress using plugins. If a particular feature isn’t available as a plugin you could try implement it yourself or ask a coder for help. BuddyPress has a huge API that will help.
The look and feel of your website is governed by the theme you choose.
If you already have a dev site operational, try out some different plugins and themes to see which ones work best for your project.
Ref:
https://en-gb.wordpress.org/plugins
https://en-gb.wordpress.org/themesFebruary 20, 2016 at 9:46 pm #250130In reply to: Restrict Add Group Page by Membership
superbikerider69
ParticipantThanks very much for the reply
So trying to understand, I copy the create file from the buddypress to the theme buddypress then add a conditional at the top of that copied file to check membership level?
February 20, 2016 at 9:02 pm #250127In reply to: Restrict Add Group Page by Membership
shanebp
ModeratorCreate a template overload of this file:
buddypress\bp-templates\bp-legacy\buddypress\groups\create.phpAdd a conditional that checks user level at the top.
Or use the do_action hook ( read 2nd answer ) at the top of that file:
do_action( 'bp_before_create_group_page' );
and write a function in yourtheme/functions.phpFebruary 20, 2016 at 5:48 pm #250120danbp
ParticipantHi,
normally you have a filter upon the activity stream so you can sort it by different activities. By default, a stream use “anything”.
Settings > BuddyPress > Settings -> Activity Settings and make sure that โAllow activity stream commenting on blog and forum postsโ is checked. And also “Allow search engines”.
While testing, i recommand that you use one of Twenty’s theme first. Just in case of… ๐
February 20, 2016 at 9:05 am #250102In reply to: BP Activity @mention display_name
danbp
ParticipantYou’re welcome ๐
Meanwhile, have you found this ?
http://hookr.io/plugins/buddypress/2.4.3/functions/bp_core_get_user_displayname/February 20, 2016 at 8:52 am #250100In reply to: Notes Empty
danbp
ParticipantHi,
i have several installs in french without any error at this level, so it’s difficult to tell you what’s going wrong for you.
If you have a local install, i would suggest
1) make a new test site and activate Twenty Thirteen or Fourteen. There should be only one user (you, as admin) at this stage. Once installed and workink, create a new user within admin, with subscriber status.
2) upload a new copy of BuddyPress and bbPress and add Bp Default Data plugin, with all data options enabled.
3) use WordPress in english for a first try. If ok, set it to french and re-testFebruary 20, 2016 at 12:20 am #250096In reply to: Notes Empty
aerostar1974
ParticipantHi,
I have enabled Options de Notifications (In Settings/Buddypress/Components, all is enabled, in Settings all is enabled except “Enable group creation for all users”)
I haven’t touch anything in bp-custom or theme-functions, and more, i have tried the web site with many differents Themes, and with no plugin exept buddypress, and always the same problem.
I have tried in english, and i have the same problem.
February 19, 2016 at 9:46 pm #250093In reply to: Hold Specific Member Types for Manual Activation
Andrew Tibbetts
ParticipantSolution:
There is an action to hook to inside
bp_core_activate_signup()that fires right after activating the account ( user clicked the link in the email ), so when the user hits/activatethis will fire and reset the user_status to3(1is spammer I guess ). Now to figure out the rest…Here is the code ( the second function disallows the user from logging in with custom message ):
add_action( 'bp_core_activated_user', 'custom_bp_core_activated_user' ); function custom_bp_core_activated_user( $user ) { if ( empty( $user ) ) { return false; } if ( is_array($user) ) { $user_id = $user['user_id']; } else { $user_id = $user; } $member_type = bp_get_member_type($user_id); if ( $member_type == 'member_type_to_manually_activate' ) { global $wpdb; $wpdb->query( $wpdb->prepare( "UPDATE $wpdb->users SET user_status = 3 WHERE ID = %d", $user_id ) ); } } add_filter( 'authenticate', 'custom_authenticate', 30 ); function custom_authenticate( $user ) { if ( is_wp_error( $user ) || empty( $user ) ) { return $user; } if ( 3 == $user->user_status ) { $member_type_name = bp_get_member_type($user->ID); $member_type = bp_get_member_type_object($member_type_name); return new WP_Error( 'invalid_username', __( '<strong>ERROR</strong>: All ' . $member_type->labels['name'] . ' accounts require manual confirmation from an admin. You might be contacted soon to verify your identity. You will recieve an email once your account is approved.', 'buddypress' ) ); } return $user; }February 19, 2016 at 7:15 pm #250085In reply to: Remove Cover Photo Option
shanebp
ModeratorThe images are not stored in the database.
They are stored in the uploads folder.
For a member with user_id = 1:
/wp-content/uploads/buddypress/members/1/cover-image/To remove the cover photo, use the ‘Delete My Cover Image’ button at the bottom of this screen:
.../members/designloud/profile/change-cover-image/If you don’t see that button, it may be an issue with your theme.
To confirm, try switching momentarily to a WP theme like 2013 -
AuthorSearch Results