Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1,176 through 1,200 (of 3,787 total)
  • @danbp

    Participant

    Hi @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.css

    tr.field_1 {
     display: none!important;
    }

    @danbp

    Participant

    Hi @ariane1001,

    perhaps you need to echo the function ? Anywy, can you test this snippet, to ensure that fullname is fired correctly.

    Add it to bp-custom or to your child theme functions.php.

    
    function bpfr_user_fullname() {
            // uncomment below if you want this only for logged in users.
    	//if ( !is_user_logged_in() )
    		//return false;
    
    	echo bp_displayed_user_fullname();
    	
    }
    add_filter( 'bp_before_member_header_meta', 'bpfr_user_fullname' ); 
    //add_filter( 'bp_get_displayed_user_mentionname', 'bpfr_user_fullname' );

    If you see the fullname in the profile header, you could remove the actual filter and use the other one. Just uncomment the line and you’ll see @mention using the fullname instead of display_name.

    @danbp

    Participant

    Oh ! Some extra work for @djpaul. 🙂 Thank you @vapvarun for reporting.

    @danbp

    Participant

    Dashboard > Settings > Discussion settings > Other comment settings

    Enable threaded comments. Uncheck that option.

    @danbp

    Participant

    @harpodjc,

    please use CODE button when you publish code on the forum. Thank you.

    @danbp

    Participant

    @sbrajesh (BuddyDev) published a pretty cool tip about page titles:

    Using WordPress Page Titles for BuddyPress Directory Page heading & Titles

    In reply to: Profile Tabs

    @danbp

    Participant

    Hi @nnyorker,

    Try this plugin: BuddyPress profile tabs

    @danbp

    Participant

    Hi,

    You said you made some custom work. Review your work and search for WP_Widget occurence, there is probably a little error somewhere and the reason of the php notice. Culprit seems to come from your custom work. You have to debug ! 😉

    Difficult to say exactly what’s going on and where. It could be a call to widget from within your theme, or a custom function you added or a plugin you use. That call is using an old method, or some old php coding. It can also be a JS conflict, which could explain why you don’t receive group activities or even a missing BP class or ID name.

    Read here, perhaps you can get an idea.

    And don’t panic, a php notice is not a hot security alert, just a tech message. You can live with it or try to repair (which would be better).

    In reply to: Custom URL

    @danbp

    Participant

    Hello @nanettedp,

    don’t be sorry, we all started a day from 0.
    You exposed (very clearly) your problem, that’s great ! The next step is to learn how to do that.

    If you ask for aid on a support forum like this one, this implies in principle you already did something (who may not work as expected for ex.) In this case, you should show us what you’ve done, so somebody can help you.

    As yo ask for a doc like a how-to, you can search on this forum or google a bit to find one. They’re plenty topics here about this, with more or less explanation and comments.

    But you say you’re a newbie. It’s not like i don’t want to help you, but i can’t teach you this. You need some tech level, even a low one and i ignore which one you already have. It’s also time consuming and as mod i have other things to do here as teaching you. Hope you understand. 😉

    As you didn’t really understand the function i indicate you, i assume you’re not familiar with php and how to use it. So you’re like i was a few years back: a newbie.

    The only thing to do is to learn. You have to experiment, to read documentation, topics and what ever related to code, WP and BP… That’s how we all acquire experience !

    Or i’m completely wrong and you meaned by i need a bit more help give me the solution. In other words, make the work for me so i can add it to my site.
    If so, you can hire a developper from here.

    Your first topic started with Is there a way that I can create a custom URL.

    Yes there is a way. It’s you! Now it’s your turn to play: create and just do it!

    @danbp

    Participant

    Hi @pulseorth,

    do you see php messages when you enable wp_debug in wp-config while using the custom a la facebook install/theme ?

    @danbp

    Participant

    Hi @eutopia007,

    you say nothing about the theme, which could be the culprit. Activate one of the default WordPress Twenty theme and see if the error remain.

    In any case, a page named #gf_2 is not part of BuddyPress or WordPress. Check all your pages and their permalinks. If you find one using that, delete it. You should also clear your trash definetly as it could be you have that page in it.

    WordPress use page which should be unique and have unique names.

    For more information, read here.

    In reply to: BuddyPress Multisite

    @danbp

    Participant

    There is nothing to debug, it is how it works. BP is usually activated on the main site, and stays on the mainsite, whatever you build around with multisite or multinetwork or both.

    Read some explanation about multisite, multinetwork and how BP is displayed and working on such installs:

    BP menu on wp multisite

    @danbp

    Participant

    So the mainsite BP menu is not complete on subsite!

    That’s right, because on a subsite, you’re on a blog.
    BP is only active on the mainsite, as it’s where it is activated. On mainsite you see whole members fonctionnalities (friends, groups, messages and son on). On a blog, aka subsite, you’re like a user of a WP site whithout BP.

    That’s also the reason why enabling multiblog is deactivated by default and not usefull in most of case. This warning is given on the codex page i indicated you previously.

    Deactivate multiblog and revert to initial default configuration.

    On the toolbar, in top left corner, you have the usermenu with all BP items. This menu is accessible to logedin user, wherever he is. Mainsite or subsite. And that’s default behave !

    For a bit more understanding, in case you want insist to remove that menu to get it on the main nav (beside About, Home etc), please take a look to this topic.

    Cheers ! 😉

    @danbp

    Participant

    Disques is intended for WordPress (read plugin description), not BuddyPress, which use his own comment system through essentialy the site activities.

    You’re incorrect. See Trac to have an idea of what improvements are part of.

    @danbp

    Participant

    You should never hack core files, as you already said ,you will have to redo your customization after each update !

    1) https://codex.buddypress.org/themes/

    2) BP will be updated, and your custom work will remain intact, as long as you use a child-theme and bp-custom.php Child theme and bp-custom have priority when BP is loaded. Anything which is not in them will then be taken directly from BP or theme. Read about template hierarchy on codex.

    All this is detailled on codex. If questions, seacch the forum, they’re many topics around this.

    @danbp

    Participant

    Most of bp files are in php, so i can’t answer for YOUR php file.

    I you modify the register page, where xprofile fields are showing at first, the template file i’m talking about is in bp-templates/bp-legacy/buddypress/members/register.php.

    If you don’t know about template overload, read here first.

    Or if you use a custom function to fire your work via an action hook, perhaps you could try to use bp-custom.php

    @danbp

    Participant

    I see the members list (http://www.hostinggeeks.net/members/) !
    I see the site activity (http://www.hostinggeeks.net/activity/) !

    You have to debug your site.

    Use a Twenty theme while debuging and activate wp-debug in wp-config.php

    The k-elements plugin is throwing many warnings. Deactivate it and ask evtl. for help on it’s support forum.

    In reply to: Custom URL

    @danbp

    Participant

    @danbp

    Participant

    Still same answer as for your previous topic in 2015.

    @danbp

    Participant

    Do you try to create a button via a profile field ? Huh… Preferably do that via a template.

    If you want to enter some html, you could try to remove the one or other filter.

    This snipet (untested) handles the description field. Modify the filter to your nedd. Check bp-xprofile-filters.php to get the name.
    Not that i added some conditionnals for field and user.

    Try:

    function my_field_remove_html_filter() {
    
    if ( bp_is_active( 'xprofile' ) )
    
    $bp_this_field_name = bp_get_the_profile_field_name();
       
       if( 'is_super_admin' ) {
    	// field name (case sensitive)
    	if( $bp_this_field_name == 'FIELD_NAME' ) {	  
    	remove_filter( 'bp_get_the_profile_field_description', 'wp_filter_kses' );
          }
       }
    }
    add_action( 'bp_init', 'my_field_remove_html_filter' );

    Add it to bp-custom.php.

    @danbp

    Participant

    See https://wordpress.org/plugins/bp-auto-group-join/

    Or do you mean create a group for each new user ? So if you have 100 registration, you would have 100 groups ? Huh…

    In reply to: Create Group function

    @danbp

    Participant

    Do you mean a sub-group ? There is a plugin for that: https://wordpress.org/support/topic/warnings-with-bp25 (not updated, but is still working) – see the support if you have an issue.

    Or read on codex about Group API and how to add them a new page…

    Group Extension API

    @danbp

    Participant
    In reply to: Create Group function

    @danbp

    Participant

    > could this cause the problem?

    Most probably. The page for group should not be associated with anything. Give just a title. If you need a specific template, see how to overload templates on codex.

    @danbp

    Participant

    In my previous answer, i corrected the snippet.

Viewing 25 replies - 1,176 through 1,200 (of 3,787 total)
Skip to toolbar