Search Results for 'buddypress'
-
AuthorSearch Results
-
February 8, 2018 at 10:03 am #270669
In reply to: I’m confused about template packs
Venutius
ModeratorI the next release or so the BuddyPress team are planning to launch a new bp theme – nouveau –
February 7, 2018 at 5:18 pm #270658In reply to: backslash apostrophe bug
David Cavins
KeymasterHi @mbv-
The data should be slashed on the way into the database. When you call the activity content using
bp_get_activity_content_body(), many filters are applied, includingstripslashes_deephere: https://buddypress.trac.wordpress.org/browser/tags/2.9.3/src/bp-activity/bp-activity-filters.php#L82If you’re displaying activity using an activity loop (like BuddyPress does in its default theme parts), then the results are as expected. If you’re accessing the data some other way, you’re going to need to apply the needed filters to it. Check out the link above to see all the filters that applied to
bp_get_activity_content_body.February 7, 2018 at 4:49 pm #270654In reply to: Translate Buddy press
David Cavins
KeymasterHi @jungdchinese-
In the short term, you can copy the .pot file out of the 2.9.2 release and replace the bad one in the 2.9.3 file. You can download the 2.9.2. .pot here: https://plugins.trac.wordpress.org/export/1817522/buddypress/tags/2.9.2/buddypress.pot
February 7, 2018 at 3:45 pm #270650In reply to: group superuser role
David Cavins
KeymasterHi @louie171,
You are correct that group permissions are mostly independent of WP roles. The exception is that WP “administrators” can basically do everything that a group admin can do, but in any group. Site admins are always allowed to do things that are protected by this permissions check:
bp_current_user_can( 'bp_moderate' ). This is not limited to the groups component, though.I’m not sure exactly how you’d accomplish what you’re wishing to do. You could filter the
bp_current_user_can( 'bp_moderate' )check to return true in the groups component for a certain role or set of users, and then remove admin tabs that you don’t want them to have access to, using code like this: https://codex.buddypress.org/developer/navigation-api/#remove-subnav-tabs-from-group-settingsYou’ll have to be careful to make sure you’re not allowing those users to do things you don’t want them to do.
February 7, 2018 at 2:03 pm #270649JC
ParticipantStill not working, only when sending from BuddyPress to Hotmail, it DO works when sending from WordPress:
1) Contacted Microsoft support, IP not blocked and everything is correct.
2) Changed activation e-amil template: removed activation related words. I have sent emails with “test” subject and body and only are delivered to gmail, yahoo, etc NOT Hotmail accounts
3) Sent from another IP, same issue.
4) Changed “from” using the “bp_email” action.
5) Done all the steps above again from a clean WP installation with only BuddyPress activated.It must be a BuddyPress issue. There are a few topics related, something is happening when sending to Outlook.com and no one seems to support.
February 7, 2018 at 12:23 pm #270644Venutius
ModeratorWhat does the error log look like with only BuddyPress active and with the 2017 theme?
February 7, 2018 at 9:58 am #270641amiya36
Participantmy error log?
WordPress database error Unknown column ‘profile’ in ‘where clause’ for query SELECT a.* FROM wp_buddyboss_media_albums a WHERE a.user_id=886 AND ( a.group_id NOT IN ( SELECT id FROM wp_bp_groups WHERE status != ‘public’ )
OR a.group_id IS NULL ) AND ( a.privacy IN ( ‘public’) ) AND a.id IN (profile) ORDER BY a.date_created DESC LIMIT 0, 20 made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/woffice/buddypress.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, bp_replace_the_content, apply_filters(‘bp_replace_the_content’), WP_Hook->apply_filters, BP_Members_Theme_Compat->single_dummy_content, bp_buffer_template_part, bp_get_template_part, bp_locate_template, load_template, require(‘/themes/woffice/buddypress/members/single/home.php’), bp_get_template_part, bp_locate_template, load_template, require(‘/themes/woffice/buddypress/members/single/plugins.php’), do_action(‘bp_template_content’), WP_Hook->do_action, WP_Hook->apply_filters, buddyboss_media_template_albums, buddyboss_media_load_template, include_once(‘/plugins/buddyboss-media/templates/members/single/buddyboss-media-album.php’), buddyboss_media_has_albums, BuddyBoss_Media_Albums->__construct, BuddyBoss_Media_Albums->fetch_albumsFebruary 7, 2018 at 8:33 am #270624otty-dev
ParticipantIt might be difficult to get the follow button on the bottom of each blog post because it seems like the follow button on the profile page is only visible for logged in members
But, the second part: making it so that when someone clicks “view all posts by author”, it goes to their buddypress members page not the author page would be really crucial because now I realized that many of the members don’t have an author page because they are not registered as a author on the wordpress backend.
February 7, 2018 at 8:19 am #270623In reply to: Members not showing for ‘Vendor Admin’ roles only
Varun Dubey
Participant@richardparry do you have BuddyPress and WooCommerce active at the same primary domain or at different subsites?
Members page is not restricted to roles unless you have some custom codes. I have tested with Astra and latest WooCommerce and WooCommerce Vendor plugin, all seems working fine for both vendor admin and vendor manager role.
https://screencast-o-matic.com/watch/cFnijDopjE
It might be a site-specific issue, I will suggest checking with your developer.February 7, 2018 at 3:34 am #270611amiya36
Participantbuddypress default theme? I have not seen one of those since 2012 do they even work?
February 6, 2018 at 2:59 pm #270603In reply to: Emails new tokens ?
Venutius
ModeratorThere’s a couple of mass messaging plugins for BuddyPress, neither have this as an option but you could see if the developers would add this as an option?
February 6, 2018 at 10:24 am #270601In reply to: Group Forum Permalink Structure
Abolfazl Ahani
ParticipantThanks Paul
I hope you are doing well.
- I read this topics: https://bbpress.org/forums/topic/change-the-permalink-of-topics-from-name-to-id-bbpress-plugin/ and according to JJJ, future versions of BP will use proper rewrite rules.
- I also followed the BP trac and found ticket 4954, it seems this ticket is awaiting contributions.
There is still no sign of this long-awaited enhancement.
Best Regards
February 6, 2018 at 6:56 am #270597Venutius
ModeratorI’ve just looked at a group on one of my sites and pagination of group members works. So it’s something up with your install. Have you paired back the install to just BuddyPress and a default theme?
February 5, 2018 at 5:59 am #270575otty-dev
ParticipantHi @mastershas
Thanks so much for this and for your help with the other query I had! I was able to successfully update the member profile page. For example here
and add the profile box at the end of the post page like here
How can I add the follow button in this profile box? I tried to add this code snippet, but I got an error:
<div class="follow_button"> <div class="follow_icon"> <?php $args = array('leader_id' => bp_displayed_user_id(), 'follower_id' => bp_loggedin_user_id(),); echo bp_follow_get_add_follow_button($args); ?> </div> </div><div class="clear_follow"></div>Also, how can I make it so that when someone clicks “view all posts by author”, it goes to their buddypress members page not the author page
February 4, 2018 at 5:03 pm #270570In reply to: Create a forum of WordPress site?
Paul Wong-Gibbs
KeymasterIf you want a traditional forum, you want to use bbPress not BuddyPress. See https://bbpress.org.
February 3, 2018 at 6:34 pm #270563In reply to: This forum is impossible
David Cavins
KeymasterKeep in mind that BuddyPress is developed and supported by an all-volunteer community.
If you are in need of more specialized help or more immediate help than this forum can provide, I’d recommend that you develop a business relationship with a local WP developer. Any WP developer who understand the filters/actions approach of WordPress will be able to develop for BP.
February 3, 2018 at 6:29 pm #270562In reply to: I don’t have the same setting on my buddypress
David Cavins
KeymasterHi, the settings are at wp-admin > BuddyPress > Options:
See this image: https://imgur.com/ySqPNZw
If you’re not seeing it, then someone could have set a filter that prevents cover options. (Check for custom code or a plugin.) Or, you could be using a really old version of BP, I guess.
February 3, 2018 at 5:49 pm #270561In reply to: Register Not Working (Logged Out)
David Cavins
KeymasterTo clarify, you can visit the registration page and fill out the form, but submitting your registration results in no request being generated and you are redirected to your home page?
Can you check your BP setup at wp-admin > Settings > BuddyPress > Pages and verify that there are pages assigned to each of the BP components?
When WP_DEBUG is set to true, you’re not seeing any errors or notices in your
debug.log?February 2, 2018 at 9:03 pm #270549peterfae
Participantyah that’s not working. Basically, I know it can be done, somehow. If I install BP on a secondary blog when it’s FIRST installed, then the feed shows up on the secondary blog. Yet when I move it over after the fact, the feed doesn’t show. This is the issue. I want to move it over to a secondary blog that I can dedicate to buddypress and leave the main site as something else. Or, alternatively, have a secondary buddypress installation on the secondary blog. Help?
February 2, 2018 at 5:21 pm #270548valuser
ParticipantThis link could be useful! Potentially Useful Link
Each site has separate tables in the database.
February 2, 2018 at 6:17 am #270540Shashi Kumar
ParticipantHi @ottiya
I am sorry to hear the same. I saw the test site and just wanted to recheck a few questions.
1. In the directory path buddypress > members > single > cover cover-image-header.php, did you created cover-imgae-header.php in the cover directory or under single directory. It should be under single directory.
2. I think you have not enabled allowing user to upload cover image. Could you please check and confirm ?
If the same is not enabled you can edit member-header.php under buddypress > members > single.February 2, 2018 at 3:56 am #270539In reply to: Members Component has no Associated Pages
Scott Hartley
ParticipantIt sounds more like a potential plugin conflict or PHP error. When you are setting the page in BuddyPress’ setting page and hitting save, I am assuming that your page is reloading without error but the page is not set once you hit save correct?
You could try checking WP_Debug to see if there are any errors being generated or by checking your servers error logs as well.
February 2, 2018 at 3:54 am #270538In reply to: Sub-forums inside a group?
Scott Hartley
ParticipantActually, I believe this is in the correct space.
Currently, my understanding is in BuddyPress we are making an association between the forum that you add during the setup screen and then retrieving the topics of the associated forum.
Which means this is, in fact, a BuddyPress issue. However, I don’t know how much of an issue this is because while subforums are possible within bbPress, the implementation in BuddyPress has no way to add Subforums (or to even create a forum as a category for that matter). This simply means the use case would only be those who have an administrator level and can create those from the backend.
February 1, 2018 at 11:44 pm #270535In reply to: Show Follow Button on Each Member’s Profile Page
otty-dev
ParticipantCorrect, I added a plugin that replaces add friend with follow.
I created a new directory of buddypress > members > single > cover-image.php and tried to add the following code but no luck:<div id="item-header-content"> <?php }else{?> <div class="follow_button"> <div class="follow_icon"> <?php $args = array('leader_id' => bp_displayed_user_id(), 'follower_id' => bp_loggedin_user_id(),); echo bp_follow_get_add_follow_button($args); ?> </div> </div><div class="clear_follow"></div> <?php }?>February 1, 2018 at 11:38 pm #270534otty-dev
Participant@mastershas and @djpaul
I was trying this for four hours yesterday with a developer highly experienced in php (but no experience with buddypress) and we weren’t able to get anywhere :S
I created a directory on my child theme folder: buddypress > members > single > cover cover-image-header.php (did this here)
tried to add for example to display Name + 15 word bio under
<div id="item-header-content">:<?php $name = xprofile_get_field_data('Name' , bp_displayed_user_id()); ?> <p class="user-nicename"> <input type="text" id="ht_user_name_box" value=""> </p> <p class="user-nicename" id="ht_user_name"><?php echo (!empty($name) ? $name : bp_displayed_user_mentionname()); ?></p> <?php endif; ?> <?php $desc = xprofile_get_field_data('Your Bio in less 15 words or less' , bp_displayed_user_id()); ?>to add the follow button:
<?php }else{?> <div class="follow_button"> <div class="follow_icon"> <?php $args = array('leader_id' => bp_displayed_user_id(), 'follower_id' => bp_loggedin_user_id(),); echo bp_follow_get_add_follow_button($args); ?> </div> </div><div class="clear_follow"></div> <?php }?>None of the code seems to be showing up on the test subdomain
-
AuthorSearch Results