Search Results for 'buddypress'
-
AuthorSearch Results
-
February 24, 2016 at 6:44 pm #250260
In reply to: Members connecting with eachother
dave8528
ParticipantHi @mcuk,
Brilliant! It works well. However, I seem to have had some issues with CSS file which once I reverted to the original, the “Add Friend” button showed up. I was trying to redesign the out-of-the-box BuddyPress, but failed. I need to find a better looking CSS to replace the original. Is there a boxed-up CSS designs out there for BuddyPress that you know of?
Again, thanks for all help!
February 24, 2016 at 5:59 pm #250259In reply to: Error in Release Candidate 2.5
mrjarbenne
ParticipantFebruary 24, 2016 at 3:31 pm #250254cybmeta
ParticipantOnce more test.
wp_registration_url()returnshttps://example.com/wp-singup.phpincorrectly.As soon I deactivate BuddyPress, it returns
https://example.com/wp-login.php?action=registercorrectly.With no other active plugin and using a core theme, this just confirm that the problem is in BuddyPress.
I’m really stuck with this issue.
I said it is not a multisite installation, and it is not,
is_multisite()returnsfalse. Which is probably what is generating the infinite redirection. In wp-signup.php there are these lines:if ( !is_multisite() ) { wp_redirect( wp_registration_url() ); die(); }But because
wp_registration_url()returns incorretly example.com/wp-signup.php when BuddyPress is active, I get the infinte redirection loop.February 24, 2016 at 2:45 pm #250252In reply to: Users automatically joining all groups
shanebp
ModeratorIf you disable learndash and signup as a new user – are you automatically a member of all groups?
If not, then issue is somewhere in learndash or a related plugin.
If you are, then you are running some custom code.
BuddyPress does not auto-join new members to groups.February 24, 2016 at 1:52 pm #250248cybmeta
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
Anonymous User
InactiveHi,
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/ -
AuthorSearch Results