Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 5,426 through 5,450 (of 32,678 total)
  • Author
    Search Results
  • #261030
    danbp
    Participant

    Deactivate https://fr.wordpress.org/plugins/smart-countdown-fx/, activate 2016 theme and give a try

    It seems that this plugin throws an error.

    You may also deactivate all plugins, but BP and search for an issue by reactivating them one by one.
    And if nothing found for plugins, you have to debug the theme.

    https://buddypress.org/support/topic/when-asking-for-support-2/

    aapi001
    Participant

    Hello I had a question in continuation of the topic below ref removing the delete-group from group admins using the code provided below :
    https://buddypress.org/support/topic/how-to-remove-tabs-from-group-admin-nav-2/#post-261003

    function turker_remove_group_admin_tab() {
    	if ( ! bp_is_group() || ! ( bp_is_current_action( 'admin' ) && bp_action_variable( 0 ) ) || is_super_admin() ) {
    		return;
    	}
    
    	// Add the admin subnav slug you want to hide in the
    	// following array
    	$hide_tabs = array(
    		'group-avatar' => 1,
    		'delete-group' => 1,
    	);
    
    	$parent_nav_slug = bp_get_current_group_slug() . '_manage';
    
    	// Remove the nav items
    	foreach ( array_keys( $hide_tabs ) as $tab ) {
    		bp_core_remove_subnav_item( $parent_nav_slug, $tab );
    	}
    
    	// You may want to be sure the user can't access
    	if ( ! empty( $hide_tabs[ bp_action_variable( 0 ) ] ) ) {
    		bp_core_add_message( 'Sorry buddy, but this part is restricted to super admins!', 'error' );
    		bp_core_redirect( bp_get_group_permalink( groups_get_current_group() ) );
    	}
    }

    Dan writes:

    Get Ready! 2.4.0 will introduce important changes in Groups homes

    “The function is still working, but not completely (tabs aren’t hidden). You probably need to complete it with $component (read above document)”

    This code was written circa 2.2. Im not sure where/how to add the $component to get the code to work. Any assistance is appreciated thank you.

    #261019
    mashauri
    Participant

    I have a user who keeps being unable to access their account. They get a message that they are using incorrect passwords. I have tried:

    Putting in new passwords from the administrative area (multiple times)
    Resetting their passwords using “forgotten password” (multiple times)
    I have checked the database and the account looks to be normal. I have checked the database to be sure the password changes when we change it – and it does.
    I deleted the account and opened a new one. That worked for a while, but then they got locked out again with the same message.
    The only clue I have is that if I go into “users” and go to their account and click “log out everywhere”, the account seems to open again.

    Please help – he is a paying customer and I have had to refund him a months fee because of this problem. (I also had a previous user with the same problem – although with their new account that seems to be OK now).

    As admin I am able to login OK.
    Other users can also login OK.

    I am using WPLMS and buddypress 2.7.2
    WordPress 4.6.1 running WPLMS theme.
    My site is http://www.mashauri.org

    #261017
    aladinDr
    Participant

    not bug just in WordPress your company show that your plugin compatible up until 4.5.4

    #261015
    zxbchris
    Participant

    Or maybe is there a way that I can link the default wordpress description to the custom field created in BBPress?

    #261013
    zxbchris
    Participant

    Hi,

    Thanks for your prompt response.

    Do you mean that, as I know where does the theme call it, which i found it :

    <div class=”gdlr-post-author-inner”>
    <div class=”post-author-avartar”><?php echo get_avatar(get_the_author_meta(‘ID’), 90); ?></div>
    <div class=”post-author-content”>
    <h4 class=”post-author”><?php the_author_posts_link(); ?></h4>

    <?php echo get_the_author_meta(‘description‘); ?>
    </div>
    <div class=”clear”></div>
    </div>

    the ‘description’ is the place where it called the default wordpress User description.

    So now I will like to replace it with the custom field that I created, which i think its called field_2, do I need to create one php in the theme with this function:

    $user_id = get_the_author_meta( ‘ID’ );

    $bio = xprofile_get_field_data( ‘field_2’, $user_id );

    echo $bio;

    and use the bio created here to replace with the description above?

    Sorry that my php knowledge is quite limited, Hope you can help me in this 🙂

    Thanks!

    #261008
    danbp
    Participant

    @dkelm,

    if you’ve found a bug, please refer it on Trac.
    Login with same credential as on this forum, describe the issue and give any details to reproduce it.

    https://buddypress.trac.wordpress.org/report

    #261005
    Bingo Bongo
    Participant

    Hey Guys –

    I’ve done some searching, but can only find posts from X years ago that suggest manually editing the DB.

    The situation with our site (www.zetaunit.com) – is that it was first a WordPress site – then installing bbpress for forums, and now buddypress. So all our Members were registered before installing BuddyPress.

    I imagine this is not an uncommon situation, but I’m not sure.

    We have 100+ Members – but if I go to e.g. http://www.zetaunit.com/members/ – only 15 show up.

    If not implemented already (maybe I missed it?) – a simple button in Tools, to Activate All Members, would be a great feature for these cases where Buddypress is not installed with zero Members first.

    I want our community to be able to just go to Members, and start adding friends – but at the moment, unless I’ve missed something, they can’t do that, only with the 15 that recently posted in the bbpress forums, or however that ‘recent activity’ thing works.

    Maybe I missed an obvious option somewhere? If so, please point me in the right direction 😉

    Many Thanks,
    (WP V 4.6.1, Avada Theme V 5.0.3)

    Venutius
    Moderator

    Have you thought about just using BP Registration Groups?

    #260995
    ukmgc
    Participant

    WordPress version 4.6.1
    BP version 2.7.2
    website – http://www.uk-mgc.com

    Hello,

    So I have recently installed BP, but I can’t seem to figure out how to get the registrations working. I have searched the forums and the standard advice of enabling pretty permalinks, allowing user registrations and setting pages etc, all checks out, but I am still pulling blanks.

    Any help would be great.

    Thanks

    #260989
    antaluk
    Participant

    Hi all,

    First things first, I am using the below version of WordPress and BuddyPress.

    WordPress 4.6.1
    BuddyPress 2.7.2

    Don’t want to make the site public as it is for internal use for our company only, but the issue is pretty straight forward but complicated to fix. Since BuddyPress has been updated the user profiles will no longer function correctly, instead whenever any one clicks on their profile it redirects them back to the main home page.

    So far I have tried resetting Permalinks, checking for spaces in usernames and reverting back to older versions but nothing seems to work.

    It isn’t just the basic profile that this happens to, all the buddypress functions inside push a redirect to the home page.

    Any suggestions would be great appreciated!

    Regards
    Gary

    danbp
    Participant

    hi @matt2006,

    a partial solution could be https://wordpress.org/plugins/bp-auto-group-join/
    Total solution: the partial + premium complementary plugin.

    Or “do-it-yourself” by adapting auto group join for example.

    #260986
    EMar
    Participant

    Hardly paranoid considering we’re talking about a piece of software.

    What I meant was, the toolbar is belong to wordpress, as you mentioned.
    It’s strange that they add a feature and don’t include any options to remove different
    elements of the toolbar, like it didn’t matter or they left it up to someone else to deal with.

    I thought I added the two links myself actually with some customizer plugin, not the case.

    BexxBl
    Participant

    I’m currently want to display a ribbon on certain profile pictures depending on the membership level my users have.

    I’m currently rocking this code to achive this on the member listing and friendship listing:

    CSS:

    #buddypress #members-list li{padding-left:20px;}
    #buddypress #members-list li .action{margin-right:20px;}
    #buddypress #members-list li.premium {background-color:#fdf8e8;}
    .ribbon {
      position: absolute;
      left: -5px; top: -5px;
      z-index: 1;
      overflow: hidden;
      width: 75px; height: 75px;
      text-align: right;
    }
    .ribbon span {
      font-size: 10px;
      font-weight: bold;
      color: #FFF;
      text-transform: uppercase;
      text-align: center;
      line-height: 20px;
      transform: rotate(-45deg);
      -webkit-transform: rotate(-45deg);
      width: 100px;
      display: block;
      background: #79A70A;
      background: linear-gradient(#E9AD00 0%, #F79E05 100%);
      box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
      position: absolute;
      top: 19px; left: -21px;
    }
    .ribbon span::before {
      content: "";
      position: absolute; left: 0px; top: 100%;
      z-index: -1;
      border-left: 3px solid #F79E05;
      border-right: 3px solid transparent;
      border-bottom: 3px solid transparent;
      border-top: 3px solid #F79E05;
    }
    .ribbon span::after {
      content: "";
      position: absolute; right: 0px; top: 100%;
      z-index: -1;
      border-left: 3px solid transparent;
      border-right: 3px solid #F79E05;
      border-bottom: 3px solid transparent;
      border-top: 3px solid #F79E05;
    }

    functions.php:

    function bp_visibility_add_member_visibility_css_class( $classes ) {
    	global $members_template;
    
    	if (user_can($members_template->member->id,'s2member_level1')){
    		$classes[]  = 'premium';
    	}
    	if (user_can($members_template->member->id,'s2member_level0')){
    		$classes[]  = 'basic';
    	}
    	
    	return $classes;
    
    }
    add_filter('bp_get_member_class','bp_visibility_add_member_visibility_css_class'); //Mitgliederliste
    add_filter('bp_user_query_populate_extras','bp_visibility_add_member_visibility_css_class'); //freundesliste
    
    function add_ribbon(){
    	global $members_template;
    
    	if (user_can($members_template->member->id,'s2member_level1')){
    		echo "<div class='ribbon'><span><i class='fa fa-diamond' aria-hidden='true'></i></span></div>";
    	}
    }
    
    add_action('bp_directory_members_item', 'add_ribbon');

    As you can see i added my function ‘bp_visibility_add_member_visibility_css_class’ to the 2 different filters with:

    add_filter('bp_get_member_class','bp_visibility_add_member_visibility_css_class'); 
    add_filter('bp_user_query_populate_extras','bp_visibility_add_member_visibility_css_class'); 

    It works just fine but i also need to ribbon to apear in the following places on every member profile with the membership level 1:

    profile picture/avatar
    activity feed
    group activity stream
    Does anyone knows to hooks/filters i need to attach my function and achieve this.

    By the way I’m currently running WordPress Version:4.6.1. and BuddyPress Version 2.7.2

    Thanks for the help guys. It’s much appreciated.

    If you need more Information please ask.

    #260982
    danbp
    Participant

    Hi @vickievik,

    the right question here would be how to make my theme compatible with buddypress.

    The thing to understand is that BP use dynamic content for its page and that these page are NOT ordinaty WP pages.
    For each content, BP fires a so called template-part.
    Lets take as example a profile page

    The slug is /members/ which exist as “page” on wp’s page list. This wp page has no content and also no model or template. It’s just a “slug” in the wp ecosystem.

    When you’re on a profile you have the page(aka /members/) but also many template parts, depending what you’re doing on that profile. Aside the common parts header – content – footer, you’ll find also personnal activity, frineds, groups, mentions, notifications, messages and not the worst, profile settings. All this on the same “page”.

    Most theme mistakes are at this point. People try to design the page, instead to work the template parts.

    When you design a theme, you usually design something for a page, independantly from any plugin. This structure is used by any Twenty Theme and you can follow them as model, because these themes are bullet proof and systematically used by all wp devs when building (in our case) BuddyPress

    BP can be used with almost any existing theme, so far this theme is respecting WP’s coding standarts.

    If you have brocken elements, and specially thoose using JS, it could be due to missing ID or class or even more simple, some missing instructions/conditionnals in your theme.

    BP’s template parts are designed to fit with a majority of themes. The best to do, at least while creating your first theme, is to use BP “as is” and build your theme around thoose existing parts and not to remove/modifying BP arts to fit your creation.

    #260980
    danbp
    Participant

    Hi,

    the toolbar belongs to WordPress. How to remove items is explained here:
    https://codex.wordpress.org/Function_Reference/remove_node
    Searching the forum will certainly bring you some more hints too.

    #260977
    adambware
    Participant

    I want non-users of the website to be able to view a Private Group’s member list. But I cannot find anywhere I can catch this redirect.

    So far I’ve found..

    This no access redirect must be happening from a call to the function bp_core_noaccess

    I found the filter bp_group_user_has_access within the function bp_groups_group_access_protection … But this does not appear to fire for the group members screen when a logged out user tries to access.

    I’m currently on WordPress version 4.5.4 and BuddyPress version 2.5.2

    Thanks in advance!

    #260973
    Masoud
    Participant

    @danbp
    hi.
    1 – first of all i have to thank you for your time, and complete explanation on this. i’m so grateful for that.
    ———
    2 – second, i have to apologize for my limited knowledge.
    i am at the beginning and still learning about php, DB, wordpress, and bp.
    so sorry if i had mistakes in codes.
    ———
    3 – third, i have to say that:
    i was not aware of this, that the usage of components are not the same. just like the example you said about buddy nav bar.
    in this code (which was not working) :

    <?php
     if ( !defined( 'BP_DEFAULT_COMPONENT' ) ) {
     if ( bp_is_active( 'activity' ) && isset( $bp->pages->activity ) )
     $bp->default_component = 'mentions' ;
    }
    ?>

    my logic was : if ( !defined( 'BP_DEFAULT_COMPONENT' ) ) i use this code to understand if it’s a component or not.
    then after with this bp_is_active( 'activity' ) it will be checked , if it’s activity or not
    and with this isset( $bp->pages->activity ) to check if activity is to check whether activity is set or not.
    and if all true, then set and define a new nav default tab to mentions with this $bp->default_component = 'mentions'

    but it seems that my logic/codes are wrong from the start 🙁
    ———
    or for this code that i tried, and also went wrong:
    <?php define( 'BP_ACTIVITY_DEFAULT_EXTENSION', 'mentions' ); ?>
    my logic was, the <?php define( 'BP_ACTIVITY_DEFAULT_EXTENSION' part will force the bp, to set the default landing tab to activity.
    and with the second part , 'mentions' ); ?> it will force the Activity component to load on mentions sub-nav item.
    ———
    4 – i have to thank you for the group example. i didn’t know that set such a thing is possible.
    it was clear . i read it. and i’m trying to learn more about it.

    at last , i have to thank you again for the clear explanations.

    #260971
    vickievik
    Participant

    Hello friends,

    I spent a long time to learn using wordpress and create my own beautiful custom wordpress themes…

    But for the last 3 days I am tryiing to run BuddyPress with the custom theme I designed…and after 3 days I am stuck tired of not being able to make my theme compatible with Buddypress…

    I searched n read hundreds of topics but still I m confused…and buddypress is not working welll with my theme…

    Kindly someone help and let me understand how to make buddypress compatible with my theme…or you can say how to make a buddypress compatible wp theme

    problems
    – cover image is not showing
    – activation page not loading
    – registration page not loading
    – profile image cropper not working…

    and a lot of other errors.. Pls let me know how to add buddypress to my theme… and make it work properly….

    Million Thanks in Advance
    Vickievik

    #260967
    Lars Henriksen
    Participant

    The defer%20onload is a sign that you might be using a plugin to do something to all WordPress javascript enqueued files.

    Sorry, I disabled a code snippet that defers javascript – that solved the problem.

    shubhambenara
    Participant

    Hi,

    Wanted a permanent solution so that if a person puts down wrong login details. Still my website doesn’t gets blocked by hosting firewall.

    Please suggest a way or plugin

    shubhambenara
    Participant

    Hi

    Since wordpress login email id will be unique. So i want that same email id should be inserted automatically in a profile parameter.It will help a customer to search somebody by unique mail id.

    OR else suggest a different way to search unqiue person in buddypress.

    #260949
    matt2006
    Participant

    Hi guys,
    I need a solution to add people that signed up via gravity forms “User Registration Add-On” to a specific buddypress group.

    Group-o-Matic Plugin looks like a very good solution:
    https://wefoster.co/buddypress-group-o-matic-adding-members-to-groups-based-on-profile-fields/
    https://wordpress.org/plugins/buddypress-groupomatic/

    But it is very outdated. Or does it still run on an up-to-date Buddypress and WordPress installation?

    Do you know an alternative? Or another solution for my problem?

    Thankyou for your support!
    Cheers,
    Matt

    #260937
    professorq
    Participant

    Hello everyone,

    I just made a fresh installation of WP and BP (by uploading it by FTP) and when I try to activate the plugin, the website returns a “500 error”.

    The website runs on Ubuntu and there’s the error log from Apache :

    [Fri Nov 11 10:26:19.101841 2016] [:error] [pid 3931] [client …] PHP Fatal error: Call to undefined function bp_is_user_inactive() in /srv/www/…/wordpress/wp-content/plugins/buddypress/bp-core/bp-core-caps.php on line 390, referer: http://www&#8230;../wordpress/wp-admin/plugins.php

    Could anybody guess what the problem is ?

    Thank you very much !

    #260930

    In reply to: Hiding register link

    Venutius
    Moderator

    I think you are looking for BP Registration options – that provides you with new member moderation.
    https://wordpress.org/plugins/bp-registration-options/

    If you are new to BuddyPress I’m developing a site aimed at helping people get the most out of BuddyPress http://buddyuser.com

Viewing 25 results - 5,426 through 5,450 (of 32,678 total)
Skip to toolbar