Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 4,001 through 4,025 (of 4,122 total)
  • Author
    Search Results
  • #41121
    takuya
    Participant

    thanks for the reference, but I’d like it fixed within the next releases. In fact, it’s the only “about me” section, and I like the auto linking for other fields.

    #41051
    enlightenmental1
    Participant

    @ Manoj

    thanks for answering me on your site… I\’ll move my issues to this thread

    while the \”Full Name\” field cannot be changed, I was able to change it by duplicating the url to change a different field…

    example:

    when you edit any of the xprofile fields, the url shows somwthing like this:

    http://mysite.com/wp-admin/?edit=profile_pageID=2

    i just changed the \”2\” to a \”1\” and hit refresh…that allowed me to change the \”Full Name\” field to \”first name\”

    my install is very customized, so I simpley can\’t \”roll back\” to a fresh install…

    I will try changing the profile name back to \”Full Name\” and see if that works….

    (more to follow)

    @ theBigK

    Well that would be bit difficult but not impossible because we have about 2200 users to be imported from old database. I also need to import their other profile data. Is this possible?

    it doesnt look like you can add any additional information currently, however this plugin isn\’t super-complex, so you could probably add the functionality to add more user data by adjusting the PHP code (not sure how though)

    you may also be able to export your SQL file in a | \”pipe\” delimited fashion

    something like this:

    \’

    SELECT * FROM TABLE

    ORDER BY ID INTO OUTFILE \’out.file\’

    FIELDS TERMINATED BY \’|\’;

    \’

    I dont know much about this, but google it and Im sure you\’ll find something

    #40923
    fishbowl81
    Participant

    1. congrats on the members

    2. I don’t believe it has been done yet.

    Depending on your mysql abilities, you may find it easier to just write a quick and dirty php file with a mysql connect to show members. The overhead that wordpress and buddypress would add to this process wouldn’t be worth the minimal gains of the buddypress functions.

    But if you don’t know much mysql, then you may be forced to do it inside of an admin plugin.

    Here are a few quick and dirty sql lines to get you started:

    find all users:

    SELECT user_nicename FROM wp_users;

    find all users, and show full name (from profile fields)

    SELECT users.user_nicename , profile.value FROM wp_users users, wp_bp_xprofile_data profile WHERE users.ID = profile.user_id AND profile.field_id =1

    #40849
    gpo1
    Participant

    Thanks for the effort…please create a plugin for it. Also is it a ebay widget,so if can one get lastFM widget?

    #40829
    enlightenmental1
    Participant

    thank you

    #40821
    keston
    Participant

    I’ll try to set a little plugin or something later, but for the moment you can follow this method, it’s the Fishbowl81’s code adapted for ebay editor kit:

    Edit your bp-xprofile-filters.php by placing the following code after the custom buddypress filters:

    /* Display ebay listings field */

    function bp_profile_ebay_display( $field_value ="", $field_type = "", $field_id = "" ) {

    { // clean up input

    return "<script language='JavaScript' src='http://lapi.ebay.com/ws/eBayISAPI.dll?EKServer&ai=lwa%7Bfwvw%7Esa%7Cwsyw%60&bdrcolor=CCCCCC&cid=0&eksize=1&encode=UTF-8&endcolor=FF0000&endtime=n&fbgcolor=FFFFFF&fntcolor=000000&fs=0&hdrcolor=FFFFFF&hdrimage=1&hdrsrch=n&img=y&lnkcolor=75179C&logo=3&num=5&numbid=n&paypal=n&popup=n&prvd=9&r0=4&shipcost=n&si=".addslashes($field_value)."&sid=BP&siteid=0&sort=MetaEndSort&sortby=endtime&sortdir=asc&srchdesc=n&tbgcolor=FFFFFF&tlecolor=FFFFFF&tlefs=0&tlfcolor=000000&toolid=10004&track=5336248810&watchcat=63850&width=350'></script>";

    }

    }

    function bp_profile_ebay_groups( $group_name ="") {

    if($group_name == "My Ebay listings"){

    remove_filter( 'bp_the_profile_field_value', 'xprofile_filter_link_profile_data', 2);

    add_filter( 'bp_the_profile_field_value', 'bp_profile_ebay_display', 2, 3);

    }else{

    add_filter( 'bp_the_profile_field_value', 'xprofile_filter_link_profile_data', 2, 3);

    remove_filter( 'bp_the_profile_field_value', 'bp_profile_ebay_display', 2);

    }

    return $group_name;

    }

    add_filter( 'bp_the_profile_group_name', 'bp_profile_ebay_groups', 10, 1 );

    Also it depend of your css code but it can be useful to put this in your member theme’s stylesheet (base or your custom stylesheet).

    td.data table td{

    margin:0px;padding:0px;

    Then create a profile field group named “My Ebay listings” and a profile field like ebay username and you’re done!

    #40809
    enlightenmental1
    Participant

    @keston, I like your ebay plugin. Can you share it?

    #40803
    gpo1
    Participant

    @keston, I like your ebay plugin. Can you share it?

    #40729
    keston
    Participant

    It did the same thing to me.I fixed that by deleting bp-music.php and puting the code directly in bp-xprofile-filters.php.I don’t know if it’s a good issue but it’s currently working, thanks Fishbowl81.

    I’ve also adapted the code to display user’s ebay listings: http://lesitedelasneaker.com/bp/users/members/admin/profile

    (Sorry for my english)

    #40559
    enlightenmental1
    Participant

    quick question:

    I uploaded the BP-music.php file to the mu-plugins folder

    and the styles/css for the entire site went crazy

    …almost like the “remove filter” removed everything from everything…

    I had not yet created a group called “Audio Details” when i uploaded the file…

    is that why it didn’t work?

    #40521
    fishbowl81
    Participant

    The magic line is this:

    amzn_wdgt.keywords='”.addslashes($field_value).”‘;

    I have started working on other versions, which could show netflix queue, hulu queue, or youtube streams. They all revolve around similar ideas.

    This method has sort of been replaced by custom boxes, but due to the profile loop showing all fields, there is no easy way to get the users “favorite song, artist, band”, without it also displaying inside of the loop

    #40464
    modemlooper
    Moderator

    it pulls from your text a keyword and gets the player from amazon

    #40454
    enlightenmental1
    Participant

    one more hint plz…. can you give an example of what would be entered into the profile field…. does it have to be a music file?

    so, http://mywebsite.com/mysong.mp3 ?

    I’m confused as to where the audio file is located/uploaded/pulled from….

    does the user upload a file? or simpley enter a link to an audio file? or enter artist names/song name and it’s pulled from amazon?

    (thanks)

    #40349
    bingoneighbour
    Participant

    Actually it’s pretty easy to see what profile fields are called in the DB – Check the wp_bp_xprofile_fields table and you’ll have an ID associated with each field which you should be able to use to call them.

    #40347
    enlightenmental1
    Participant

    it appears the profile fields are being named rather generically…

    i.e.

    field_1

    (first name)

    field_2

    (xprofile field #1)

    field_3

    (xprofile field #2)

    I need a way to manually call/insert these values… and Im assuming they aren’t named “field_3” in the database

    I was hoping if i add an extra field and call it “Referred by” that the DB table name would be “referred_by”

    this this a correct presumption?

    I have little knowledge of functions and this code has ALOT of them….

    #40336
    enlightenmental1
    Participant

    I think i understand what you mean…. well… not really

    function bp_the_profile_field_value() {

    global $field;

    $field->data->value = bp_unserialize_profile_field( $field->data->value );

    echo apply_filters( ‘bp_the_profile_field_value’, $field->data->value, $field->type, $field->id );

    }

    you’re saying add a “if” statement, so if the “x_profile fields = this” do “this”…..

    I dont know enough about php….

    #40283
    Burt Adsit
    Participant

    You’ll have to modify the member theme functions that display the fields in the profile. That gets generated in: /buddypress-member/profile/profile-loop.php

    by the function: bp_the_profile_field_value() in /mu-plugins/bp-xprofile/bp-xprofile-templatetags.php

    There’s a filter in there that you can hook: echo apply_filters( ‘bp_the_profile_field_value’, $field->data->value, $field->type, $field->id );

    So that you can detect these specific fields and change what gets generated by bp.

    #40234
    enlightenmental1
    Participant

    I see, I see… thanks

    by “make plugin” you mean just handcode what i want….

    can you tell me which files to edit:

    wp-signup.php

    (edit this to add extra fields to registration once I remove x_profile functionality)

    how about the “edit profile” page?

    which PHP file is that?

    I still need to display those fields as “readonly”

    thanks again

    #40232
    nicolagreco
    Participant

    “you can do that making a plugin sure”

    i said :D

    For plugins i mean doing the thing you’ve thought

    #40231
    enlightenmental1
    Participant

    Hey Nicola,

    I don’t mean to disagree with you, and Im sure you know more than me, but I think this IS possible….I’ve done it on other WP installs

    once the extra profile fields are created, I just need a way to call them back.

    (I realize I would be removing the “get additional fields” function and just code it by hand)

    For example if I wanted to display the users first name, I would use this:

    Register Page:

    <input type="text" name="first_name" id="first_name" class="input" value="" size="25" tabindex="20" /></label>

    Profile Page:

    <input type="text" name="first_name" id="first_name" class="input" value="<?php echo $_GET['first_name']; ?>" size="25" tabindex="20" READONLY=READONLY /></label>

    so rather than displaying the form fields dynamically(x_profile), I would just hand code them in based on what “extra fields” I’ve created

    that will work won’t it?

    I just need to know which files to modify….

    thanks for brainstorming with me

    #40216
    nicolagreco
    Participant

    It can’t be done right now, but you can do that making a plugin sure

    Nicola

    #40176

    You can currently use the bbGroups plugin by BurtAdsit to do this with group forums. He’s paused integration for other Extended Profile fields and non-group forums for now, but that is the closest integration available currently.

    Take a look over at http://code.ourcommoninterest.org/

    Science Content!


    The problem with doing it any other way right now, is that without grabbing and caching forum specific BuddyPress profile info and putting it into a convenient user_meta array, it would require an additional query into the database for each user that you want each piece of info for. So lets say you not only want the avatar, but their fullname, and another piece of profile info that you’ve made up. That’s three queries a person, per post, per page. A page with 10 posts just gave you 30 extra queries. The bbGroups plugin works great to counter act this, but I’ve been the primary beta tester experiencing hiccups and Burt has patiently been trouble shooting with me to figure out why. The past week life has sort-of halted my ability to test, but it is a priority for me to address.

    #40142

    Unfortunately not yet, but I suspect this will be something that someone will come around and make, if not to be introduced into the core later on.

    Currently the search is global, searching all fields for one particular phrase. This could probably pretty easily be filtered and narrowed down via a plugin, but currently none exists.

    #40123
    Burt Adsit
    Participant

    To do this you’ll have to replace the current bp function xprofile_add_signup_fields() with your own. In bp-custom.php create a new function that renames the current function like so. Just copy the whole thing over and rename it.

    function my_xprofile_add_signup_fields(){

    <body of existing bp function>

    <your mods to the avatar area>

    }

    remove_action( ‘signup_extra_fields’, ‘xprofile_add_signup_fields’ );

    add_action( ‘signup_extra_fields’, ‘my_xprofile_add_signup_fields’ );

    #40098
    fishbowl81
    Participant

    We need to get Andy to changed the member theme not to show private profile fields, and then use those private profile fields in custom boxes to diaplay stuff. This would be a great way to ask for zipcode, and build a custom module to show a Google Map, or ask for birthday and just show a count down timer until their birthday.

    Where I don’t expect this to be in the 1st version, but would be nice to get the details hammered out in early post release versions.

    Brad

Viewing 25 results - 4,001 through 4,025 (of 4,122 total)
Skip to toolbar