Search Results for 'buddypress'
-
AuthorSearch Results
-
July 4, 2016 at 3:32 pm #255773
danbp
ParticipantJuly 4, 2016 at 2:46 pm #255770In reply to: bp_activity_add strips html
Paul Wong-Gibbs
KeymasterThe
contentproperty is run through KSES and the permitted HTML tags are set here: https://buddypress.trac.wordpress.org/browser/trunk/src/bp-activity/bp-activity-filters.php#L206You COULD unhook this function from the filter (see: lines 16-25, same file) but I would not recommend it, because other people will use this to inject malicious markup. Instead, consider using the
bp_activity_filter_ksesfilter and whitelist a few extra HTML funtions that you need (i.e. just the paragraph tag).July 4, 2016 at 10:43 am #255764In reply to: auto-refresh “load newest” not working
maxgx
Participantok, moved on a clone, disabled all plugins and tested it throughout and i found it out:
new activity notifications do work ok, what is missing are notifications of comments to activity – actually, it’s not a problem with my setup, it’s really a (very much needed, badly missed, imho) missing feature…
luckily, BP Live Notification does seem to do the job, but it’s yet another addition to the ever growing list of plugins needed for covering up the lack of (quite obvious, always imho) features…
you could mark this as resolved, i guess (tho it’s not quite, really)
July 4, 2016 at 8:34 am #255761In reply to: Approve users by custom email
danbp
ParticipantHi @pulidomate,
By default, it’s not possible. But you can try to code it.
That said, registering users is reserved to site admin or editors. So far i understand your question, you’re talking about group admins (admins = teachers)and member types (teachers and students).
Registration and user management is a core thing for users with WP roles/capabilities. It is not the same thing as Teachers and Students within BuddyPress.
Group admins are, by default, users with a WP role of subscribers. Same thing for students. BP distinguish those users inside a group only, but for WP they still emain as “subscribers”.
May be you can use a plugin, but i haven’t tested it. Try:
https://wordpress.org/plugins/new-user-approve/July 3, 2016 at 11:51 pm #255677In reply to: Refresh activity, private message etc.
danbp
Participant@maxgx, please don’t double post.
I answered you here: https://buddypress.org/support/topic/auto-refresh-load-newest-not-working/Topic closed.
July 2, 2016 at 11:38 pm #255664In reply to: How to make a timeline view for the activity stream
dsantoschabrier
ParticipantTo make this happen. Do I Have to modify the bp-activity-functions.php or buddypress.js?
July 2, 2016 at 8:24 pm #255660In reply to: conflict buddyPress with woocommerce
rezza72
ParticipantHI
i use SocialChef theme .all active plugins :
bbPress
BuddyPress
ITRO Popup Plugin
TablePress
TablePress Extension: Responsive Tables
Telegram for WordPress
TinyMCE Advanced
Wise Chat
WooCommerce
WP Statistics
WR PageBuilderJuly 2, 2016 at 4:48 pm #255658ekruep
ParticipantOkay, just in case anyone else is wanting to do this, my developer helped me implement a solution!!
Here is the function he wrote and placed in the bp-custom.php file.
function add_front_menu_item( ) { global $bp; $args = array( 'name' => __('Home', 'buddypress'), 'slug' => 'front', 'default_subnav_slug' => 'public', 'position' => 10, 'show_for_displayed_user' => false, 'screen_function' => 'bp_custom_user_nav_item_screen', 'item_css_id' => 'custom-class' ); bp_core_new_nav_item($args);I hope this helps someone else save time and frustration!
July 2, 2016 at 3:59 pm #255657In reply to: bp-portfolio: Fatal error in X Theme
andrewlavila
Participant@nickdanks I’m having this same issue. I was thinking maybe it’s due to the latest Buddypress update, since its affected some of my other plugins already. Did you happen to find out anything about what causes this issue or come up with a solution?
July 2, 2016 at 2:28 am #255648In reply to: Activity embeds in activity stream
binary10
Participantit is not working really but what I see is that if you add ?embed=true after the Permalink and open it in a new tab then it returns the embed content so that means buddypress is working correctly but somehow it doesn’t work in the activity stream. Can I add buddypress as an oembed provider to make it work?
ThanksJuly 1, 2016 at 11:24 pm #255647In reply to: Confirmation Email
Dono12
ParticipantThanks for your prompt response and your help but that function did not achieve the goal I was looking for. I wanted the activation Key to come from Cymi User Extra Field. I found a solution from someone with a similar problem but it is a little too extreme for me. The result you get is a Cymi User Extra Field Key/URL, Looks like This(cimy_key=88fddcb568dcf2d6). It involved editing a core Buddypress file wp-content/plugins/buddypress/bp-core/bp-core-filters.php. Can you help with a function for my functions.php or bp-custom to achieve the same goal. If it’s not too much maybe generate the Cymi-Key in the Buddypress Email Template though not a priority. I’m fully aware that editing core files is not practical, especially being that you lose it during updates.
https://buddypress.org/support/topic/activation-email-key-doesnt-work-i-may-have-the-fix/
function bp_core_activation_signup_user_notification( $user, $user_email, $key, $meta ) { $activate_url = bp_get_activation_page() . "key=$key"; $activate_url = esc_url($activate_url); $admin_email = get_site_option( 'admin_email' ); if ( empty( $admin_email ) ) $admin_email = 'support@' . $_SERVER; // Then it ends with, on line 255 add_filter( 'wpmu_signup_user_notification', 'bp_core_activation_signup_user_notification', 1, 4 );July 1, 2016 at 10:55 pm #255646In reply to: Hide admins from group member list
danbp
ParticipantHi @allisonnance,
Use a child theme to do this.
Copy member.php from bp-templates/bp-legacy/buddypress/groups/single/members.php
to
your-child/buddypress/groups/single/members.phpRemove line 11
<?php if ( bp_group_has_members( bp_ajax_querystring( 'group_members' ) ) ) : ?>and replace by this one:
<?php if ( bp_group_has_members( 'exclude_admins_mods=1'. bp_ajax_querystring( 'group_members' ) ) ) : ?>Save. You’re done.
If you want to remove also Group Admin and Mods from the group header, remove the whole div content of <div id=”item-actions”> in group-header.php, in same directory as above members.php
Also to do from within child theme.Reference:
July 1, 2016 at 7:04 pm #255638In reply to: Confirmation Email
David Cavins
KeymasterI’m not sure what behavior you’re aiming for, but this snippet will disable the confirmation email and log the user in automatically upon successful registration.
<?php add_action( 'bp_core_signup_user', array( $this, 'disable_validation_of_new_users' ) ); add_filter( 'bp_registration_needs_activation', '__return_false' ); add_filter( 'bp_core_signup_send_activation_key', '__return_false' ); function disable_validation_of_new_users( $user_id ) { // Get the user's activation key for BP. This is the activation_key in user_meta, not the key in the user table. $user_key = get_user_meta( $user_id, 'activation_key', TRUE ); // Activate the signup $awuser = apply_filters( 'bp_core_activate_account', bp_core_activate_signup( $user_key ) ); // Automatically log the user in. // Thanks to Justin Klein's wp-fb-autoconnect plugin for the basic code to login automatically $user_info = get_userdata($user_id); wp_set_auth_cookie($user_id); do_action( 'wp_signon', $user_info->user_login ); bp_core_add_message( __( 'Your account is now active!', 'my-plugin-slug' ) ); buddypress()->activation_complete = true; }July 1, 2016 at 1:50 pm #255631In reply to: PHP Fatal error on BP 2.6.1 activation
danbp
ParticipantIf you have FTP access to your site, rename the buddypress folder like this: wp-content/plugins/xxxx_buddypress
This will deactivate the plugin and let you come back to your site admin. Once you have access to your admin, upload latest BuddyPress 2.6.1.1. Before to activate it, go back to FTP and delete xxxx_buddypress.
Now you can activate BP and normally, anything should work.
July 1, 2016 at 1:44 pm #255629In reply to: Translation stop working after update
jangolin
ParticipantI had the same problem and my solution was what I wrote before
Make a new po file in poedit and mo file, upload the to your buddypress and theme language maps
Check your General settings that you still have Danish as your language
Clear all cache and refresh site
You can also try to translate with Loco translate plugin and see if it makes any difference
July 1, 2016 at 1:41 pm #255628In reply to: Translation stop working after update
danbp
ParticipantThe Danish translation is not complete… so the automatic translation doesn’t work.
Read from here to go further:
July 1, 2016 at 1:37 pm #255627In reply to: Help me sort out my BuddyPress install
danbp
Participantpositionning: check CSS pseudo class :before or :after
buddypress.pot: this file does nothing! It contains only the strings you can translate. If you need a translation, you have to create a po and a compiled mo file. To do this you need a tool like poEdit.
Any code placed in bp-custom.php stays untouched after an update. It works like a child-theme.
July 1, 2016 at 1:23 pm #255626In reply to: Translation stop working after update
hisselfandco
ParticipantHi jangolin
Thanks for your reply – KLEO Theme language files are there…
Problem I have is finding how to make buddypress find the Danish translations .po and .mo I have in wp-content/languages/plugins/
I have no problems with other plugins only buddypress….July 1, 2016 at 1:17 pm #255625In reply to: PHP Fatal error on BP 2.6.1 activation
jfking
ParticipantHi please am having this problem….
Fatal error: Class ‘BP_Members_Component’ not found in /home/agxiscom/public_html/wp-content/plugins/buddypress/bp-members/bp-members-loader.php on line 23
couldnt access http://agxis.com.ng/wb-admin or anything and cant fix the problem from my cpanel….
please what can i do to solve this problem…… my people are complaining……
July 1, 2016 at 1:00 pm #255622In reply to: Buddypress
sharmavishal
Participantcheck this 2 plugins
https://wordpress.org/plugins/buddypress-docs/
https://wordpress.org/plugins/buddydrive/
…you can create hidden groups then….you can disable the activity component via settings-buddypress
July 1, 2016 at 12:55 pm #255621In reply to: Link to User’s Group’s Forums
sharmavishal
Participant“bbpress group forums associated with the user” this is not possible. you can associate bbpress forums to a specific group only
July 1, 2016 at 12:53 pm #255620In reply to: Getting error saying Buddypress Group photo large?
sharmavishal
Participant@pfeufer start from here…see if you got the basic requirements on for BP install
July 1, 2016 at 12:40 pm #255618In reply to: Translation stop working after update
hisselfandco
ParticipantUsing v 2.6.1.1
I do NOT have a folder: wp-content/buddypress/languages/
And I DID add the .po and .mo to wp-content/languages/plugins/
I am not using loco translateHave checked po language files and translation is still there….
July 1, 2016 at 12:05 pm #255615In reply to: Translation stop working after update
danbp
Participantyou used the wrong directory for translation.
The directory to use IS NOT wp-content/buddypress/languages/
if you manually upload a po/mo for BP, add it to
wp-content/languages/plugins/buddypress-xx_XX.mo / po
July 1, 2016 at 11:41 am #255614In reply to: Translation stop working after update
hisselfandco
ParticipantThanks for the tip
Using KLEO theme – can see that the language file is still there.
Still having problems with getting buddypress to find the translations…. -
AuthorSearch Results