Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)

  • csimpson
    Participant

    @csimpson

    absolutely brilliant! thank you.


    csimpson
    Participant

    @csimpson

    Hi Hugo, unfortunately i’m not much of a programmer at the moment, ive searched the web for an answer out there already but with no success.

    Also discussed with plugin author and on post here at BP HQ, but this appears to be best/easiest option.


    csimpson
    Participant

    @csimpson

    the purpose is too hide the obvious lack of members from the start, so id like to start at something like 3212, then it increments upwards


    csimpson
    Participant

    @csimpson

    hi again! thanks for comments i got this to display the number perfectly.

    my only issue was getting past starting the numbers at 1, then 2, 3, 4 etc – default ids.

    I though if i edited the last user id in database core to something like 3111, then the next would be 3112, and so on. But i had no luck, it just resumed where it left off in terms of member number.

    any thoughts friends out there? regards Craig


    csimpson
    Participant

    @csimpson

    Hi thanks, any idea which file to add this too. I’ve tried many files with no success for other aspects. Many thanks. This is a starting point if no other suggestions arise. I thought a membership I’d would have been a popular thing to do.


    csimpson
    Participant

    @csimpson

    wow, thanks for help everyone. I will investigate both plugin and other options. best wishes craig


    csimpson
    Participant

    @csimpson

    i found this somewhere online after hours of searching! wored for me… add to functions.php

    function my_member_username() {
    	global $members_template;
    
    	return $members_template->member->user_login;
    }
    add_filter( 'bp_member_name' , 'my_member_username' );
    
    function my_bp_displayed_user_fullname() {
    	global $bp;
    
    	return $bp->displayed_user->userdata->user_login;
    }
    add_filter( 'bp_displayed_user_fullname' , 'my_bp_displayed_user_fullname' );

    csimpson
    Participant

    @csimpson

    wow, and thank you so much danbp! it worked a treat. i am very grateful for this. best wishes craig


    csimpson
    Participant

    @csimpson

    ah thats a shame, but thanks for the auto-add code, i may decide on adding this… have to see where i can go from here


    csimpson
    Participant

    @csimpson

    hi there, ive found something that appears to do the job tonight as i require this to.

    You will need to use “xprofile-fields” plugin and then use the wp plugin at https://geomywp.com/ used in conjunctions with their paid add-on found here: https://geomywp.com/add-ons/xprofile-fields/

    regards Craig


    csimpson
    Participant

    @csimpson

    sorry forgot this, WP 3.8 and BP 2.0. thanks

Viewing 11 replies - 1 through 11 (of 11 total)
Skip to toolbar