Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 69,801 through 69,825 (of 94,579 total)
  • Author
    Search Results
  • #86023
    @mercime
    Participant

    @sbrajesh I am happy to stand corrected, thank you :-)

    Boone Gorges
    Keymaster

    It’s going to be more complicated to save items into wp_usermeta (which is I assume what you’re doing, given the link) with update_user_meta() from the BP profile page. You’ll have to hook a function to somewhere in the BP loading process that will catch the value of $_POST and manipulate the data manually.

    Can I ask what might be a silly question? Why don’t you just use BP profile fields? Dashboard > BuddyPress > Profile Field Setup. That’ll add new fields to the profile that can be displayed and updated natively through BuddyPress.

    sicksight
    Participant

    @mvvspr Sorry, I don´t know about this would save bandwidth, but maybe! I thought just about usability. ;)
    I hope this could solved! hrhr

    mvvspr
    Participant

    +1 for the idea of ajax button for members,groups and blogs directory.This would be cool.
    @sicksight
    Does this save bandwidth?
    I am not a developer, I am asking just for knowledge.

    #86006
    Boone Gorges
    Keymaster

    Open buddypress/bp-themes/bp-default/members/single. Individual member profiles are created with profile.php and profile/profile-loop.php. There are do_action definitions throughout those templates. Try hooking your function to anyone of them.

    mediabros
    Participant

    I have a function that add some custom profile fields in to the user profile in the backend wp-admin/profile.php. This is WordPress only so do not get confused.

    here you can find the function

    http://justintadlock.com/archives/2009/09/10/adding-and-using-custom-user-profile-fields

    There are four actions added.

    add_action( ‘show_user_profile’, ‘user_show_define_category’ );
    add_action( ‘edit_user_profile’, ‘user_show_define_category’ );
    add_action( ‘personal_options_update’, ‘user_save_define_category’ );
    add_action( ‘edit_user_profile_update’, ‘user_save_define_category’ );

    The function will add a input field into the backend user profile of WP. /wp-admin/profile.php

    What i am looking for are the equivalents of the WP show_user_profile, edit_user_profile, personal_options_update and edit_user_profile_update for Buddypress.

    So that the input field will show up on the frontend profile in g.e. /members/username/profile and /members/username/profile/edit/group/1

    so

    instead off

    add_action( ‘show_user_profile’, ‘user_show_define_category’ );

    something like

    add_action( ‘show_buddypress_user_profile’, ‘user_show_define_category’ );

    #86003
    nit3watch
    Participant

    thanks r-a-y I’ll give it a try

    Edit: Yip seems to work nicely. Ta @r-a-y

    #85997
    zanzaboonda
    Participant

    @r-a-y this helped me out so much… you have no idea. Thank you!

    One more question, though, if you are available to help.

    Is there a way to turn an xprofile field into a tag? I’m trying to track posts by country so we could then click on the country and see all the posts from that country. (I have a drop down of all countries as a required registration field.)

    Or is there a better way to go about it? I don’t mind learning/doing work, I just have no idea how to go about it. Any ideas?

    Thanks and best wishes,
    Kristen

    zanzaboonda
    Participant

    Hey all-

    I’ve literally been searching for days and days so if anyone can help I would so appreciate it.

    I’m trying to automatically show the post location near the author’s information. I would like this to be clickable so we can see all of the posts at that location. Specifically I just want the author’s country to appear. A non-Wordpress example is at http://fmylife.com.

    I’ve added an xprofile field with a drop-down menu for all of the countries as a mandatory registration field and thanks to a post reply from @r-a-y have figured out a way to show the author’s country in each of their posts.

    Is there a way to turn the profile field into a tag for the post?

    Or, even better, is there a way to determine the author’s IP address and turn that into a tag? I know there are a lot of plugins that do this for visitors and put their locations on maps, etc. but I don’t know if they can be altered to work for the author’s.

    Anybody have any thoughts or ideas on this? I would be very grateful.

    Thanks and best wishes,
    Kristen

    #85991
    sicksight
    Participant

    @nickmy Grüße aus Essen! ;)

    Maybe you could try these Plugins (not testet):
    https://wordpress.org/extend/plugins/buddypress-multilingual/
    https://buddypress.org/community/groups/bp-translate/

    SickSight

    #13515

    Topic: OpenID

    Mark
    Participant

    I’ve seen a lot about the need for openID about a year ago. Did it ever get potted for buddypress? If not buddypress isn’t really web 2.0 is it?

    #85988
    Anton
    Participant

    I’ve followed the instructions on activating the plugin but when activated nothing is displayed and I get a blank page

    Edit: Fixed

    sicksight
    Participant

    Thanks @crashutah ! I would do this! ;)

    sicksight
    Participant

    Hey @modemlooper ! ;)

    Thanks for your reply, but it doesn´t work… To remove the action bp_get_displayed_user_nav(), I need the hook to which the function to be removed is hooked.
    https://codex.wordpress.org/Function_Reference/remove_action

    I think bp_get_displayed_user_nav()… isn´t hooked anywhere! :(

    Edit: Need a function like replace_action( $function_to_replace, $function_to_add, $priority, $accepted_args )! :D :D Like str_replace in php, or something!^^

    #85980
    Archie Webmaker
    Participant

    @r-a-y Thank a million for the tip. you saved my day

    #85979
    Sofian J. Anom
    Participant

    Editing the header.php, I was also thinking that way. And the code that you gave, is what I need.

    Thank you very much, @sbrajesh. It’s really useful. :)

    #85981
    Anton
    Participant

    Thanks for all the help guys. It works @hnla

    #85978
    Brajesh Singh
    Participant

    well, since members tab link is a matter of theme, if we hack the url, it will affect other tabs too(say activity/forums etc which i think you don’t want to redirect on main blog), so easy way will be to to edit the header.php and change the lines for member tab link in theme(forum does not allow here html so the link on pastebin).

    here is a link to pastebin http://bpdev.pastebin.com/0EXgZ4Sf

    #85977
    Sofian J. Anom
    Participant

    @sbrajesh, thanks for the code and your quick respons. It’s works well for user profile pages. Then, what about the members list page (tab/menu), whether there is also a code that could make it redirected to the main blog?

    #85976
    Hugo Ashmore
    Participant

    Change ‘loggedin_user’ to ‘displayed_user’

    I was originally using displayed_user changed to loggedin_user but realised it wasn’t the result I wanted.

    #85975
    stoi2m1
    Participant

    @d-a-n My captcha never verifies and gets the same error no matter the condition of the captcha response field. If its empty, wrong or correct I get the error ‘That reCAPTCHA response was incorrect’. Ive tried changing the logic around and the only other outcome is the captcha is always true.

    Can you tell me what you did to fix it?

    #85974
    Anton
    Participant

    Thanks for the code snippet @hnla and @r-a-y

    It works if you are logged in but then it only displays your data – following and followers. When browsing to another member’s profile, your count is displayed and not theirs. If you are not logged in, it shows 0 for both following and followers

    #85973
    Brajesh Singh
    Participant

    @lightcapturer @mercime
    It is possible.
    Try following code in bp-custom.php

    add_filter("bp_core_get_user_domain","only_for_root_domain");

    function only_for_root_domain($url){
    $url_parts=explode("/", $url);
    //find the username part
    $username=$url_parts[count($url_parts)-2];//the last tocken

    $root_domain=get_blog_option( BP_ROOT_BLOG, 'home' );
    /* If we are using a members slug, include it. */
    if ( !defined( 'BP_ENABLE_ROOT_PROFILES' ) )
    $domain = $root_domain. '/' . BP_MEMBERS_SLUG . '/' . $username . '/';
    else
    $domain = $root_domain . '/' . $username . '/';
    return $domain;

    }

    here is a pastebin link in case the above code does not et posted
    http://bpdev.pastebin.com/cqiHNnsx

    #85972
    Sofian J. Anom
    Participant

    Ok, @mercime, thanks for the answer. :)

    modemlooper
    Moderator

    remove_action( ‘bp_get_displayed_user_nav’ );

    Should be that to remove an action.

    https://codex.buddypress.org/how-to-guides/modifying-the-buddypress-admin-bar/

Viewing 25 results - 69,801 through 69,825 (of 94,579 total)
Skip to toolbar