Search Results for 'buddypress'
-
AuthorSearch Results
-
June 2, 2016 at 12:56 pm #254045
In reply to: BuddyPress Pages
sharmavishal
ParticipantGo to buddypress settings and in the pages section assign the pages
June 2, 2016 at 12:19 pm #254044In reply to: Page display problems Activity of Buddy Press
sharmavishal
ParticipantNo I meant your theme supports buddypress? Try with 2016 theme to see if it happens or not
June 2, 2016 at 11:57 am #254042In reply to: Page display problems Activity of Buddy Press
sharmavishal
ParticipantHow did you install buddupress? This is a custom theme right? You see activity page in your pages? In settings-buddypress have you activated activity component? Have you associated your activity page in the pages setting of buddypress?
June 1, 2016 at 10:18 pm #254021In reply to: How would I do this in BuddyPress?
danbp
Participanti suppose you already read the codex, thousand of topics and of course, that you have some php knowledge. 🙂
Groups
Add following conditionnal to the what’s new form of the group activity page.bp_current_user_can( 'bp_moderate' )To do this, you need a child-theme and to overload the template file. The original file is here:
wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/post-form.php
Copy it to child to get:
wp-content/themes/child-theme-name/buddypress/activity/post-form.phpMembers
See if these plugins can be usefull.
Geo myWP or one or the other of @shanebp ‘s Geo plugins.June 1, 2016 at 10:17 pm #254020In reply to: Custom Post Type Support for Activity
ineedyou
ParticipantSorry for my english…
I can show everything about Music CPT buddypress activity (site-wide and members activity) with below code by @imath -also thanks for all other plugings 🙂 –My Question or Problem.
I am using types tools pluging and i have a – frontend – add new music form (about music CPT) and members use this form to add new music with different fields. Also using rich editor and can add media from URL… Buddypress activity stream can show this form body (actually show post body normally). If i add also image from URL to this frontend music CPT form, we can see this image also on buddypress activity. Well i love buddypress.. Flexiable, great..
1 – But if i add video URL on this form do not show embed video on activity stream. I mean that, i tried 100 times frontend or backend, embed video (if use in any CPT) do not show on buddypress. When i click this activty open page and i can see video. I know missing something.
2 – If my author create any music CPT –backend admin side– with Visual Composer, there 3 different actions.
Action:1 – First, Buddypress activty show all font color or image, or texts created by visual composer. Its ok. Love buddypress. But when i select (site-wide or members activty) show post, friendship or comment than turn to everything or music cpt, buddypress now do not display this music CPT, so i must refresh the page. I mean that when a user select everything to post (or comment) or commet to everything: page must otomatically refresh to display my visual composer codes. If i dont refresh the page, activiy stream show like that [vc_row][vc_column][vc_text][/vc_column][/vc_row].
Action 2: When i edit this CPT -backend and created by VC-, buddypress sometimes dont load any activity.. If i delete this post from again backend, everything is ok, all activity is coming back. I dont know how try search this on forum.
Action 3: I am on backend admin and creating a new music CPT without visual composer.. No problem, all edit can show on buddypress again. Such as i shared music 3 hours ago but now editing. I can see this new edit when i scroll actvity page 3 hours ago… BUT, What i want, buddypress activtiy can create a new music post (for this edit) and can say “edited music” … Maybe we can put icon or color original (3 hours ago) cpt, also same time can create clone music for same cpt 🙂 on activity stream… I dont know how to search this 🙂
Long sentences long, i know 🙂 … Maybe someone help me… Becuase i am not developer just copypaste code user 🙂
add_post_type_support( 'music', 'buddypress-activity' ); function customize_page_tracking_args() { // Check if the Activity component is active before using it. if ( ! bp_is_active( 'activity' ) ) { return; } bp_activity_set_post_type_tracking_args( 'music', array( 'component_id' => 'activity', 'action_id' => 'new_music', 'bp_activity_admin_filter' => __( 'My Music', 'custom-domain' ), 'bp_activity_front_filter' => __( 'Music', 'custom-domain' ), 'contexts' => array( 'activity', 'member' ), 'bp_activity_new_post' => __( '%1$s published <a href="%2$s">Music Suggest</a>', 'xxx' ), 'bp_activity_new_post_ms' => __( '%1$s published <a href="%2$s">Musik/a>, on the site %3$s', 'xxx' ), ) ); } add_action( 'init', 'customize_page_tracking_args', 1000 );June 1, 2016 at 9:57 pm #254019In reply to: How would I do this in BuddyPress?
Henry Wright
ModeratorGroup posting by administrators and moderators only isn’t possible out-of-the-box. You’d need to write some custom code or find a plugin that can do that.
@shanebp has been working on a geo-location plugin for BuddyPress which might be useful to you.Hope this info helps!
June 1, 2016 at 8:17 pm #254006In reply to: Registration and Edit Profile Issue
Earl_D
ParticipantThank you I am having hard time convincing folks that this is an issue https://buddypress.org/support/topic/users-cannot-register-since-update-2-53/
Are you using any plugins or just plain BP?June 1, 2016 at 2:57 pm #253994matzeso
ParticipantI will answer to myself if anyone ever finds this post and needs the same.
What I needed was exactly this:June 1, 2016 at 1:42 pm #253992In reply to: Membership Codes
danbp
Participantit’s possible. I suppose you need a unique code for some later user specific actions. But that code exist nowhere when a user register. What can we do ?
1) generate a 6 digit code and show it on the register page
2) asign that code to the user
3) show the code on his profile1 – we use php mt_rand to generate the code and one of the available action hook on the register page for his output. Add this snippet to bp-custom.php
function bpfr_digit_generator() { $num = mt_rand ( 0, 0xffffff ); $output = sprintf ( "%06x" , $num ); echo '<strong>Your personnal code: '. $output .'</strong>'; } add_action( 'bp_after_account_details_fields', 'bpfr_digit_generator' );2) create a new xprofile field, call it Personnal Code or whatever. Make it mandatory and asign it the visibility level you want. In field description, ask the user to copy/paste in the code.
3) as the user entered the code in a xprofile field, you get automagically this field on his profile.
I’m a bit unsure how to insert this field value in the activation email, or if it’s even possible. Perhaps somebody else can help you. See email on codex.
A bit raw, but at least you have a start point how to do that.
Here also another method, you may use if you don’t want the user to copy/paste the code.
June 1, 2016 at 1:35 pm #253991In reply to: Membership Codes
Henry Wright
ModeratorYes. Every member in your install will have a user ID. So both BuddyPress and WordPress users will get a number. In fact, at the back end WordPress users and BuddyPress members are the same thing.
June 1, 2016 at 1:26 pm #253990In reply to: Membership Codes
maganiza
Participantthank you for the speedy response. If I am not mistaken the article is more related to signed in/loggen in user IDs.
I am looking at a solution whereby I will even view the member ID numbers on the list with the backend buddypress/wordpress system. Also I would like for these numbers to be static. For example if I run a search I want the numbers to be populated. Is this possible?
June 1, 2016 at 12:57 pm #253988In reply to: Membership Codes
Henry Wright
ModeratorUser IDs are assigned automatically so you don’t need to activate them. With reference to displaying the number on your BuddyPress site, check out this article:
June 1, 2016 at 12:20 pm #253984In reply to: Solved – BP 2.5 Emails not sending
Pierre from DesignBots
ParticipantHi, i’ve a working solution for those like me who did not receive any buddypress email with html format (because there was a 3rd party plugin which was redeclaring wp_mail for eg.), here is the code to put in your functions.php file in your theme :
/** * Provide an HTML template for all your BuddyPress emails * BuddyPress 2.5 introduced a new stylised HTML email system. * By default the HTML system doesn't work if a 3rd party transactional email plugin is active * (e.g. wpMandrill or SendGrid), and reverts to sending plain text emails. * * This function allows the stylised BuddyPress HTML emails to be sent using some 3rd party plugin. * It does this by sending the email through wp_mail() rather than directly with PHPMailer. * * @author Mecanographik * * inspiration : * @link https://github.com/21applications/bp-wpmandrill * */ add_action( 'init', 'my_prefix_bp_wp_mail_html_filters' ); function my_prefix_bp_wp_mail_html_filters() { add_filter( 'bp_email_use_wp_mail', function( $bool ) { return false; }, 10, 1 ); }hope this helps 😉
June 1, 2016 at 12:19 pm #253983In reply to: Admin approval for profile changes
danbp
Participantnothing out of the box on hand, but what if you make any of the fields with “only me” visibility level as default , for everybody ? If site admin approve the content, he can change the level to something more public.
For email notification, a solution is given in this topic.
Perhaps you can also use this plugin, with some custom restriction/adaptation.
June 1, 2016 at 12:07 pm #253980In reply to: Maintenance Mode message appears in login page
danbp
ParticipantMaintenance mode is related to WP. BuddyPress was updated 24th may and WordPress 6th may.
Have you tried to debug by deactivating theme and all plugins (except BP) ? Use one of Twenty’s theme for that test and see if the notice remains.
Read also here to have a global overview of how this notice is coming up.
June 1, 2016 at 9:10 am #253968In reply to: Wierd Buddypress Issue
Paul Wong-Gibbs
KeymasterI have no idea where or what BuddyPress might be doing to cause that. More likely, it’s causing some issue with custom code. I think you might have to debug it, if you know PHP.
May 31, 2016 at 11:24 pm #253959In reply to: Users cannot register since update 2.53
Earl_D
ParticipantThis is another person experiment registration issues which seems to be connected to the extended profiles. https://buddypress.org/support/topic/registration-and-edit-profile-issue/
May 31, 2016 at 9:00 pm #253954In reply to: First Name Visibility Only Me
danbp
ParticipantSorry, no, it’s not a perfect solution, just a workaround. Best practice would be to use what is explained here.
As said previously you cannot change the Name field, and to exclude or modify his description you can’t even (so far i know) modify the default view level (All) for that field.
So you have to use another CSS trick and perhaps add an “only me” message to the Name field description.
#field-visibility-settings-toggle-1 { display:none!important; }May 31, 2016 at 6:38 pm #253947In reply to: First Name Visibility Only Me
danbp
ParticipantHi @ma3ry,
it’s impossible !
But there is an all or nothing trick. You can apply a CSS rule.
Try to add this to your child-theme style.csstr.field_1 { display: none!important; }May 31, 2016 at 6:26 pm #253946In reply to: Registration and Edit Profile Issue
Earl_D
ParticipantDo you mind telling what version of Buddypress you are running since I am experiencing the same issue.
May 31, 2016 at 3:38 pm #253939In reply to: Users cannot register since update 2.53
Earl_D
ParticipantI am running the lest version of Buddypress and WordPress on a VPS server NOT running multisite. Tiny framework is the theme I am using. However the first thing I did to trouble shoot was try to replicate problem without any plugin and using 2012 theme (which tiny frame is based on) and 2016 theme. The issues remained the same with but those thems and th social me theme.
I will try to check the MYSQL question as I am familiar with that having done MYSQL database programming. However I have narrowed done the problem to something related to the extended profile fields component. Through trial and error and some research I surfaced the correlation which one other person seems to have referred as well. If extended profile fields are turned OFF the registration is completed and the activation email sent. If it is on the registration process is not completed. I tested this extensively turning on and off and it followed that pattern. I currently have the component turned off and users are able to register. When I turned on again I was unable to complete a registration.
It may be unrelated but no registration spam protection plugins will work now either I have tried several with recaptcha and without and in every case the registration process short circuits.
Thanks for any help in advance. I would like to get the extended field working again.
EarlDMay 31, 2016 at 1:20 pm #253937In reply to: bp_displayed_user_fullname() stopped working
ariane1001
ParticipantAfter searching further I found out the problem is Buddypress is not using the theme override I made in my (child) theme. Everything is exactly as described here: https://codex.buddypress.org/themes/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/ and it worked before.
What can be wrong?
I am using a childtheme for http://acoda.com/dynamix/Thanks again,
ARianeMay 30, 2016 at 5:31 pm #253903John James Jacoby
KeymasterThanks for the post, and thank you everyone that chimed in to alert the OP about the protocol for security concerns. Understanding it’s possible there’s a communication gap here, this topic does also read (to my eyes) as condescending & inflammatory, which is honestly not going to yield a very positive conversation. I think y’all did a great job staying positive, and I for one greatly appreciate that.
To be clear to anyone else that runs into this topic, what the OP sees is not a BuddyPress or bbPress bug; this is WordPress doing it’s best to show published content from public post types.
About BuddyPress:
* Neither BuddyPress nor bbPress modify this core behavior
* BuddyPress does not use this interface; bbPress does
* The .org sites have not disabled this, they just do not have any unusual content to leakThe gist:
* If plugins allow for private content, it’s up to those plugins to protect it
* If you create roles with content limitations, it’s up to you to confirm they’re workingFor anyone looking to modify or restrict content that appears in this list, use the
wp_link_query_argsandwp_link_queryfilters to do so.Here is how WordPress calculates the results in this list. Note that it only uses published posts from public post-types:
$pts = get_post_types( array( 'public' => true ), 'objects' ); $pt_names = array_keys( $pts ); $query = array( 'post_type' => $pt_names, 'suppress_filters' => true, 'update_post_term_cache' => false, 'update_post_meta_cache' => false, 'post_status' => 'publish', 'posts_per_page' => 20, );
WordPress has a built-in way to calculate privacy scope using
'perm' => 'readable'and even that is not used here (though bbPress does use this in its own loops.) WordPress instead takes a strict position of published public content by default.If anything unexpected is appearing here, it is not because of BuddyPress or bbPress, and we are still happy to help anyone discover the source of this in a new & more friendly topic.
May 30, 2016 at 5:12 pm #253901danbp
Participant@sbrajesh (BuddyDev) published a pretty cool tip about page titles:
Using WordPress Page Titles for BuddyPress Directory Page heading & Titles
May 30, 2016 at 4:13 pm #253895In reply to: Email Notifications on Group Activity
Henry Wright
ModeratorIs there a formal process for requesting this feature?
Yes. The formal place to request features is Trac.
-
AuthorSearch Results