Search Results for 'wordpress'
-
AuthorSearch Results
-
May 6, 2018 at 1:00 pm #272782
In reply to: Disable BuddyPress Register Page?
Venutius
ModeratorThis thread seems to have a tip to help:
Disable buddypress login page and switch back to wordpress default login.
May 6, 2018 at 11:16 am #272777In reply to: sitewide notice
sugar7
ParticipantThe first file;
<?php
/**
* @package Boss Child Theme
* The parent theme functions are located at /boss/buddyboss-inc/theme-functions.php
* Add your own functions in this file.
*//**
* Sets up theme defaults
*
* @since Boss Child Theme 1.0.0
*/
function boss_child_theme_setup()
{
/**
* Makes child theme available for translation.
* Translations can be added into the /languages/ directory.
* Read more at: http://www.buddyboss.com/tutorials/language-translations/
*/// Translate text from the PARENT theme.
load_theme_textdomain( ‘boss’, get_stylesheet_directory() . ‘/languages’ );// Translate text from the CHILD theme only.
// Change ‘boss’ instances in all child theme files to ‘boss_child_theme’.
// load_theme_textdomain( ‘boss_child_theme’, get_stylesheet_directory() . ‘/languages’ );}
add_action( ‘after_setup_theme’, ‘boss_child_theme_setup’ );/**
* Enqueues scripts and styles for child theme front-end.
*
* @since Boss Child Theme 1.0.0
*/
function boss_child_theme_scripts_styles()
{
/**
* Scripts and Styles loaded by the parent theme can be unloaded if needed
* using wp_deregister_script or wp_deregister_style.
*
* See the WordPress Codex for more information about those functions:
* https://codex.wordpress.org/Function_Reference/wp_deregister_script
* https://codex.wordpress.org/Function_Reference/wp_deregister_style
**//*
* Styles
*/
wp_enqueue_style( ‘boss-child-custom’, get_stylesheet_directory_uri().’/css/custom.css’ );
}
add_action( ‘wp_enqueue_scripts’, ‘boss_child_theme_scripts_styles’, 9999 );/****************************** CUSTOM FUNCTIONS ******************************/
// Add your own custom functions here
?>
The second contains:
<?php
if ( !defined( ‘BP_AVATAR_THUMB_WIDTH’ ) )
define( ‘BP_AVATAR_THUMB_WIDTH’, 35 ); //change this with your desired thumb widthif ( !defined( ‘BP_AVATAR_THUMB_HEIGHT’ ) )
define( ‘BP_AVATAR_THUMB_HEIGHT’, 35 ); //change this with your desired thumb height?>
May 5, 2018 at 3:45 am #272740Varun Dubey
Participant@beo9999 It’s already fixed you can followup following discussion
https://buddypress.trac.wordpress.org/ticket/7391May 5, 2018 at 3:45 am #272739In reply to: choices for visibility of user name?
Varun Dubey
Participant@demiano Profile Name field is mandatory and it’s created at a time of plugin activation. It’s hard to add visibility control on it.
You can also check a related discussion on it
https://buddypress.trac.wordpress.org/ticket/7391May 4, 2018 at 6:24 pm #272731In reply to: WP GDPR Compliance
Venutius
ModeratorThis is a bit of a wordpress issue in general, not just BuddyPress, for example much of the user info is actually from the WP user db, it’s also to do with the applications that you choose to use on WP. I believe the plan is for WordPress to build into core a Privacy Policy management system whereby plugins will be able to register their privacy/compliance options and the system admin will be able to use those to put together privacy policies using the mechanisms made available within this framework. Plugins can of course choose to implement their own solutons to GDPR.
The discussion regarding BP’s response to GDPR is here:
https://buddypress.trac.wordpress.org/ticket/7698 looks like the BP solution to this will be in 3.x.
May 4, 2018 at 6:05 pm #272729In reply to: choices for visibility of user name?
Venutius
ModeratorYou could ask for this as a feature request on Trac
There is a premium plugin I know of that does this – BuddyPress Profile Visibility Manager by BuddyDev.
May 4, 2018 at 11:29 am #272716In reply to: custom xprofile field with options
shanebp
ModeratorDo you have a validation function in your class?
Something like:public function is_valid( $values ) { $this->validation_whitelist = null; return parent::is_valid($values); }For a fairly simple example of adding a custom xprofile field, see BP xProfile Location
( yes, I know it does not yet reflect the recent changes to the Google API, but it should pass validation for your purposes )May 4, 2018 at 10:50 am #272713In reply to: Disable Change Email Address?
yusareba
Participantyep, I figured that would be a problem :’)
it honestly blows my mind that nothing is generally available for wordpress to prevent users changing their email addresses. That seems pretty fundamental
May 4, 2018 at 7:21 am #272688In reply to: Disable Change Email Address?
Venutius
ModeratorSounds like you need to remove the nav item that corresponds to that link.
There’s two menu items that possibly need to be removed. the most common one could be removed with the
bp_core_remove_subnav_item( 'settings', 'general' );function.Do you also use the WordPress/BuddyPress adminbar?
May 3, 2018 at 8:16 pm #272665In reply to: WordPress Broken During BP Activate
ChuxMark
ParticipantWordPress 4.9.5 running Twenty Seventeen theme. The only change to WP is that I deactivated Hello Dolly and installed Jet Pack. There are no other files in public_HTML. If you have no other thoughts, I am going to try terming this cPanel user and starting with a fresh domain, then I will install BP on WP
- without
Jet Pack.
THANKS for getting me this far.
May 3, 2018 at 10:34 am #272644In reply to: Getting Error When Clicking on Profiles
Venutius
ModeratorI think I’d be tempted to raise this as a bug on trac:
May 3, 2018 at 5:16 am #272628Venutius
Moderatorhttps://buddypress.trac.wordpress.org/ticket/7792
I’ve raised a ticket for this.
May 3, 2018 at 12:59 am #272623Pound
Participant@vapvarun thank you very much. i’m very amateur who try to edit wordpress. you are help me so much.
May 2, 2018 at 2:18 pm #272606In reply to: Email solution
Varun Dubey
Participant@mrditt
You can switch in real time.
Mailgun will send email sent to WordPress or any other plugins including BuddyPress.
Mailgun has a free slot and paid stot, based on usages you can increase your plan.
When someone sends a message to Adam (just random username), Adam will get an email notification as well.You can find the doc here https://codex.buddypress.org/emails/
It will help you disable all bp emails, alter them and disable some emails based on their actions.May 2, 2018 at 1:24 pm #272600graphitewp2
ParticipantThank you Paul for commenting. I wish I was clearer.
I was referring to the Log In and Register buttons on the admin bar (which is Buddypress) in the top left.
Im using this to disable BuddyPress’ registration process and fallback to WordPress. I want to merely change the link of the Log In button so it goes to my custom login page. How do you go about doing it?
<?php /** * Disables BuddyPress' registration process and fallsback to WordPress' one. */ function my_disable_bp_registration() { remove_action( 'bp_init', 'bp_core_wpsignup_redirect' ); remove_action( 'bp_screens', 'bp_core_screen_signup' ); } add_action( 'bp_loaded', 'my_disable_bp_registration' ); ?>May 2, 2018 at 1:21 pm #272599shanebp
Moderator$wpdb->get_colreturns an array
$wpdb->get_varreturns a single value – try itMay 2, 2018 at 10:39 am #272587In reply to: duplicate group page
Varun Dubey
Participant@pandreas you can create group type with https://wordpress.org/plugins/bp-create-group-type/
and you can display them via shortcodes on any pages with group type parametersand with https://github.com/wbcomdesigns/shortcodes-for-buddypress you can have a shortcode to display groups with group-type anywhere as a shortcode
e.g. [groups-listing type=”sports”]May 2, 2018 at 10:19 am #272586In reply to: Email solution
Varun Dubey
ParticipantYou can use https://wordpress.org/plugins/mailgun/ and it will work perfectly. I am also using it on my sites.
May 2, 2018 at 10:09 am #272584In reply to: create a new user type
Varun Dubey
Participant@luke_devon You can check https://wordpress.org/plugins/bp-member-type-generator/, with their pro version you can also map them to user roles.
May 2, 2018 at 12:29 am #272576phucitol
ParticipantI should have mentioned
wordpress 4.9.4
buddypress 2.9.4May 1, 2018 at 11:36 am #272562Venutius
ModeratorLoop functions are a pretty basic feature of WordPress, in WP 101 terms it’s basically lesson 2 – how the posts page displays a list of all posts. It does this by having a loop – using a function to pull in all posts (or in bp members or groups) then using a while loop to iterate through all those posts, members groups etc, depending on the context.
So a bp Loop looks something like this:
If has_members: While has_members: print out the info you want End while Else // there were no membersMay 1, 2018 at 11:30 am #272561Venutius
ModeratorThe buddyPress toolbar is also the WordPress Toolbar. There is no function in BuddyPress to hide the toolbar completely, however there are a number of general wordpress plugins that will completely hide the toolbar.
I remember squirrelling around one site to find what had caused this and it turned out to be a front end publishing plugin that had a default setting to hide the toolbar.
So my first question is this – are you sure it’s BuddyPress causing this? have you deactivated all other plugins and still get the problem with BP loaded?
May 1, 2018 at 4:33 am #272546Varun Dubey
Participant@glenndavis007 use following plugin and you will be able to lock BP components and it will display login widgets when some logout member will try to access it.
April 30, 2018 at 8:39 pm #272544In reply to: Dropdown category when hover Add Friend button
Venutius
ModeratorI think you should submit this as a feature request in BuddyPress Trac
I would also like to see this as a feature. I think that it should integrate with messaging, you you can add a bunch of friends into a category and choose to message that category for example. I’d also like to see activity shares to these categories.
April 30, 2018 at 8:29 pm #272543Venutius
ModeratorWhat plugin did you use to add the option to only display a menu item to logged in users? Seems like that is what is not functioning. hiding the activity link by hiding the menu item does not hide the activity page from non logged in users, if they know the url they will still be able to view it, to prevent that you should explore the security options available to you. There a number of privacy plugins for bp with a range of features, is it only the Activity page you want to hide?
BuddyPress uses the default WordPress login page, there’s a number of customisers for this, for example: https://wordpress.org/plugins/admin-custom-login/
-
AuthorSearch Results