Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 4,026 through 4,050 (of 22,693 total)
  • Author
    Search Results
  • #259734
    danbp
    Participant

    You posted another question on Buddypress Profile Search support, where it appears that you try to remove the member search form.

    In regard of the BuddyPress support forum, you use at least two third party plugins aside BP and perhaps proceeded to template customization !

    You have to isolate the culprit: one of your plugins or your theme customization. BuddyPress is not concerned. Sorry.

    #259711
    danbp
    Participant

    @djpaul ‘s advice is wise !
    But you could try following which doesn’t compromise your security and will avoid the sky falling on your head !

    First remove the filter hack, we don’t need it.

    Then built your drop-down list and add only the site name instead the whole URL.

    For example,
    – create a new field
    – call it Test drop down
    – enforce visibility
    – disallow clickable
    – add some options: buddypress.org, wordpress.org
    – save
    Go to your profile > edit and choose buddypress.org. Save.
    You see now buddypress.org on your profile

    Now we have to make this text clickable and linked to bp.org

    For this, you can use this snippet, placed in bp-custom.php

    
    function bpfr_set_checkbox_output( $field_value ) {
    
    // ensure xprofile is activated
    if ( bp_is_active( 'xprofile' ) )
    
    // call the field
    $bp_this_field_name = bp_get_the_profile_field_name();
    
    	// field name (case sensitive)
    	if( $bp_this_field_name == 'Test drop down' ) {	
    	// here we change site name to url
    		$field_value = str_replace('buddypress.org' ,'http://buddypress.org', $field_value);	
                    $field_value = str_replace('wordpress.org' ,'http://wordpress.org', $field_value);			
    	}
    
    	// fire the result!
    	return $field_value;
    }
    add_filter( 'bp_get_the_profile_field_value', 'bpfr_set_checkbox_output' );
    #259697
    danbp
    Participant

    Hi,

    that’s a wordpress question (related to wp_nav_menu_items).

    See WP Codex for answers:

    wp_nav_menu_items

    wp_get_nav_menu_items()

    wp_nav_menu_objects

    Many similar related topics also on BuddyPress forum. Ie. :
    https://buddypress.org/support/topic/how-to-get-notification-count-code/

    #259687

    In reply to: Online Status

    danbp
    Participant

    Hi,

    check the code you used for “16 minutes ago”. You will find it in the buddypress-de_DE.po file. Normally, you should have %s ago -> vor %s. If you omit % or s, the string won’t be translated.

    If it’s not a typo error of yours:
    – where is this untranslated “ago” string showing ? Site activity, profile, widget, other ?

    – do you use a specific “buddypress” theme ?

    – does the issue remain when using the “official” translation file ? If not, download it here (po & mo). Don’t forget to remove your version before adding the original one into wp-content/languages/plugins/

    #259685

    In reply to: Online Status

    Venutius
    Moderator

    How about setting the theme to 2015? IF that fails then there must be something up with your basic WordPress install.

    #259669
    danbp
    Participant

    @r083r7,
    glad you got it to work ! 😉
    Not sure if it is a theory or simply how it works, but deactivating/reactivating (plugins, themes) will in most case recalculate the permalinks.

    #259656
    giuseppecuttone
    Participant

    I will be your savior,
    for same rasons, wordpress decided not show admin bar like default in mobile.
    It is so,maybe, because when user log in in mobile device, a lot of menu will be showed… really I dont know why…
    But if you dont have this problem, and want show admin bar for log in an log out users, you must add in CSS the following codec:

    @media screen and (max-width:782px) {
        #wpadminbar {
            display:block;
        }
        html {
            position:absolute;
            top:-46px;
        }
    }

    The codec where say html position absolute is for delete noise black bar located in the up side zone.
    If you want, you can also show the notification icon (I think it is named budlle notification) into the admin mar, adding the following codec in CSS zone:

    /* Show only default top level items */
    	#wp-toolbar > ul > li {
        		display: block;
    	}

    I have gone mad to find the solution, but now we have it.
    If you dont want show menu in admin bar to the suscriptors, colaborator and authors, you can use the AG CUSTOM ADMIN plugin. It hide them and help you in a clean design. (you can also hide wordpress logo, and so much things…)

    Now, I have only a litlle / big problem:
    the drop down menu, when I click in the “notification icon” in the admin bar, is not showed correctly… It is showed from the “notification icon” to the right zone, so in mobiles user can red the title of the notification.
    The solution is show the dropdown menu from the “notification icon” to the left zone. So, also in mobiles users can red the title of the notification.
    Can you help me for to make that?
    I have helped you, now I hope someone can help me 😉
    Thank for your support and have funny

    #259612
    Slava Abakumov
    Moderator

    Try WordPress SEO plugin AND this hack:
    https://github.com/Yoast/wordpress-seo/issues/1971#issuecomment-227008322

    That will fix titles. There is no solution for meta descriptions, unfortunately.

    Slava Abakumov
    Moderator

    AFAIK, installing BuddyPress on a subdomain of WordPress MultiSite won’t give you BP widgets (and other content) on a main site, thus you won’t be able easily (without coding) display BuddyPress content on any site in the network, excerpt the BP-site.
    So BuddyPress content will be available only on site where you activated BuddyPress.

    I hope I’ve answered your question.

    #259606
    Slava Abakumov
    Moderator

    So bp.example.com is the subdomain, that you use for BuddyPress. Does it have separate WordPress installation (not related to example.com)?
    Is WordPress on your example.com MultiSite or ordinary?

    #259602

    In reply to: Activity BuddyPress

    Slava Abakumov
    Moderator

    That’s quite a lot of custom code.
    All that activities are not related to BuddyPress directly. Although you can store them in activity directory when that action was performed using bp_activity_add() function.

    But as everything you described is not a default WordPress and BuddyPress functionality – I strongly advice you to find some developers, that will implement all that.

    #259601
    danbp
    Participant

    Hi @kida18,

    i would suggest to use this premium plugin:

    WordPress Restrict Email Domains


    For < 20$, i think it’s worth ! 🙂

    #259590

    In reply to: Groups on Buddy press

    jillparks
    Participant

    Very helpful. Yes, I use Yammer now, and I can have my post (not a blog post, more like a FB post) email everyone in the group.

    Sounds like https://wordpress.org/plugins/groups-members-mail/ will work. Thank you!

    #259589

    In reply to: Groups on Buddy press

    danbp
    Participant

    Hi,

    if you mean mailing blog posts to members and if you use BuddyPress only for it’s group component, you have better to use WP Groups plugin. You don’t need BP.

    if you mean group notices, you can code something yourself or use this plugin or this one and send the post permalink to the group users.

    Not exactly what you asked for, but i have no better idea.

    For the phone question, i’ve never heard about such an app.

    #259583
    danbp
    Participant

    hi @sherissa_r,
    i asked on Slack where @hnla answered that “clearly something is wrong”. I opened a ticket, just in case of.

    Now we’ve to wait a little moment the time a dev can investigate this.

    #259554
    danbp
    Participant

    Hi,

    you’re on the BuddyPress support forum where we can’t help for third party plugins.
    If you have questions related to bbPress (if you use this plugin), you have to ask on their support.

    For BuddyPress for Sensei plugin or WC Sensei, you can check the doc and/or ask on the plugin support too.

    danbp
    Participant

    Hi,

    by reading the first topic, it sounds like you try to use more than one child theme !

    I already have activated my other child theme

    If it is the case, it’s not the way to proceed. 😉

    1) You should have only one child-theme activated.
    2) in this child, you add a folder called buddypress.
    3) if you need to modify some BP templates, you copy the original from wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/ into the child BP folder.

    Example of what you should have:
    wp-content/themes/XYZ theme
    wp-content/themes/XYZ-child/

    Let’s say you want to modify BP’s register page.
    wp-content/themes/XYZ-child/buddypress/members/register.php
    or you want to modify the profile header template
    wp-content/themes/XYZ-child/buddypress/members/single/member-header.php

    And that’s it ! The only thing you have to do is to pick the right file and add it to the child by respecting the original path who starts at: /buddypress/path/to/file.php

    Inside the template file, yo can manipulate html tags and find different action hooks ( do_action( 'something' ); ). Take care to not rename or remove the existing class/ID names whithout knowing what you do.

    In bp-custom.php, you can manipulate BP’s behave by adding custom functions.

    In the child-theme style.css, you manipulate whatever related to your theme layout – for the entire site, including BP or other plugins.

    And as all this is done via the child, anything will remain after any update of BuddyPress, your original theme, WordPress or plugins.

    Reading actively the forum will bring you other answers, tips and tricks.

    #259547
    danbp
    Participant

    Hey, do you mean this ?

    #259541
    danbp
    Participant

    Ok, i misunderstood the whole… The initial question was:
    what I am trying to link to is
    http://localhost/wordpress/community/profile/<displayed_user>/

    Try this:

    function tab_custom_link_to_page() {
    
    	if ( bp_is_activity_component() || bp_is_page( BP_MEMBERS_SLUG ) ) {
    
    		// link to what you want		
    		$link = bp_get_root_domain() . '/community/profile/'. bp_get_displayed_user_username();
    		echo '<li><a href="'. $link .'">Community</a></li>'; 
    	}  
    }
    add_action( 'bp_member_options_nav', 'tab_custom_link_to_page' );
    #259540
    Slava Abakumov
    Moderator

    The only option is to use CSS (in style.css) in your child theme to modify that. Or some plugins, that give ability to apply styles without modifying files (Siteorigin CSS).

    #buddypress #register-page label { 
        font-size:120%;
    }
    #259536
    wolfpup64
    Participant

    That seems to work for pulling the appropriate user, I input it into the line shane provided

    function communityprofile_screen() {
       bp_core_redirect( site_url( '/community/profile/'.bp_get_loggedin_user_link()() ) );
    }

    but it looks like it gets overwritten by the slug in the aforementioned code that makes the tab appear and leads me to the url:

    http://localhost/wordpress/users/*username*/communityprofile/

    once again, if I try to remove the slug from the line the tab itself disappears. oh man this has been frustrating.

    #259534
    danbp
    Participant

    No, nothing like that. This can only be achieved within site admin. And by default a group mod is a simple subscriber which has no access to group members administration.

    The first option is to promote mods to group admin, and in this case he can from front-end, kick/ban user, promote or remove users and nothing else.

    The other option would be to give them a WP role who let them access to group members admin and evtl. using a plugin to block their access to all other admin parts… (ie. user role editor)

    In addition, you could also get some dev’s opinion to this…
    https://buddypress.trac.wordpress.org/ticket/5543
    https://buddypress.org/support/topic/how-could-a-group-moderator-edit-group-details/

    bermudastream
    Participant

    I would like to keep the activity stream short – 7-10 updates only. Where can I set the number of activities to return?

    Thanks
    Mark M.

    Site-Wide Activity

    Buddypress Version 2.6.2
    WordPress 4.6.1

    #259520
    danbp
    Participant

    Hi,
    Shane’s answer is related to the BP way to get a user name inside a redirection. wpF use probably a similar method, but certainly also his own function(s) for that. You have to find out how it does. Unfortunately, this plugin doesn’t provide documentation at the moment.

    Accordingly to wpForum support, there is still a button to wpforum on each profile. If you have difficulties to tweak the default behave, you have to ask for on their support.

    https://wordpress.org/support/topic/buddypress-compatibility-plans/

    #259408
    Toni
    Participant

    I’M deleting the entire installation and reinstalling WordPress.

Viewing 25 results - 4,026 through 4,050 (of 22,693 total)
Skip to toolbar