Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 2,101 through 2,125 (of 3,608 total)
  • Author
    Search Results
  • #135370
    enderandrew
    Member

    I’m looking to do something similar but for a template. I’d like to have an author bio at the top of author pages.

    shanebp
    Moderator

    If you’re trying to load members-overview.php as a separate page, take a look at this plugin:
    https://wordpress.org/extend/plugins/allow-php-in-posts-and-pages/

    If not, then use the bp-custom approach I mentioned above – you’ll need to learn it anyway.

    Basically, you need to ask better questions, ie. what, where – exactly, why etc.
    Use http://pastie.org/ and show your code.

    thirstcard
    Member

    members-overview.php only loads when i put locate_template( array( ‘members/single/members-overview.php’), true ); into member-header.php and then display the member profile page.

    I need to get members-overview.php to work outside the loop. The idea is to be able to display profile fields anywhere and not just display them on the member profile page.

    odarma
    Participant

    @mercime i reinstall everything form 0 using a backup of my Data Base and it fail, so i think its an error in my DB what is wrong, so maybe ill have to reset my page :(

    shanebp
    Moderator

    Are you sure members-overview.php is loading ?
    Do a simple echo in that file to check.

    also try : locate_template( array( ‘members/single/members-overview.php’), true );

    thirstcard
    Member

    Thanks shanebp but I do need to create members-overview.php.

    How can I insert profile data into this file once i’ve created it?

    bp_get_profile_field_data( ‘field=Location’ ); doesn’t seem to work so I am assuming I need to have a loop somewhere which makes the profile data available to that file?

    Hope someone can give me some pointers on this?

    odarma
    Participant

    @mercime it didn´t work so ill to reinstall from 0 and then mount a backup of my DB and my wp-content y hope it fix it.

    shanebp
    Moderator

    So overview.php creates some html that you want to reuse in various template pages ?

    You probably better off just creating a function in bp-custom.php.
    Then call that function wherever you like.

    #135237
    perywinkle
    Participant

    Hey Thanks @shanebp
    I’ll give that a try…

    gmxperry
    Participant

    Actually, I think I got it. I’ve just put a link in the BP profile and WP profile so at least the user can access those fields to edit.

    gmxperry
    Participant

    That’s true, I hadn’t even thought of that. Is there any way for me to add a link in the “Edit” profile option which will direct them to the WP profile?

    I guess I should say, I’m sure there’s a way, I’m just not sure which file I would have to make changes to in order to get that to display properly.

    Thanks for your reply!

    Paul Wong-Gibbs
    Keymaster

    Even if you hooked it to the correct place, I doubt that the form save handler would work.

    gmxperry
    Participant

    Another update: Right below where I found those hooks, I also found the code that actually generates the fields and whatnot. If there is a way for me to directly copy-and-paste that right into the BP profile edit page somehow – or even create fields that can be associated with those liveTV fields – I’ll do that too.

    Thank you again for any help!

    #135136
    fallingup
    Participant

    I created a new user, and still can not edit default (name) fields

    #135135
    @mercime
    Participant

    With Gravity Forms disabled, register a new account with only BP profile fields you created. Then check if you can edit profile with default BP profile fields.

    gmxperry
    Participant

    Okay, I think I’ve identified the fields in question and the code in question, but I’m not sure how to implement it. Here’s the section of code from the addon that hooks the new user fields into the WordPress profile:

    `//Now hook to create extra profil fields`
    `add_action( ‘edit_user_profile’, ‘livetv_show_extra_profile_fields’ ); `
    `//When the current on the current profil has capabilties to edit -> display`
    `add_action( ‘edit_user_profile_update’, ‘livetv_save_extra_profile_fields’ ); `
    `//When the current on the current profil has capabilties to edit -> update`

    `add_action( ‘show_user_profile’, ‘livetv_show_extra_profile_fields’ ); `
    `//When the current on the current profil has capabilties to show -> display`
    `add_action( ‘personal_options_update’, ‘livetv_save_extra_profile_fields’ ); `
    `//When the current on the current profil is the current and edit -> update`

    I can see where it hooks the new fields into the default user profile, but how do I update those hooks for BuddyPress? I found some hooks that sounded similar but none would actually add those to the proper spot in the “Edit” page for the extended profile.

    Help please! Thank you!

    #135098
    Sandie
    Participant

    I’m looking for a Buddypress compatible membership application plugin with functionality along the following lines:
    – The user should be presented with an application/registration form, with some mandatory and non-mandatory fields.
    – On completion, the application is submitted to a pending queue.
    – From the pending queue selected user roles should be able to ‘approve’ or ‘reject’ the application.
    – unapproved applicants have no access to the member content

    ‘Nice to have’ extras:
    – ability to select which of the registration fields (if any) should be displayed on the member register
    – ability to e-mail user: (i) confirming application submitted (and add a message regarding typical review times, etc.) (ii) approval/rejection e-mail templates and triggers, (iii) Welcome e-mail
    – application management in the front-end
    – ability to grant unapproved members limited access to membership areas, e.g. possibly to one forum only.

    I’m wondering whether something already exists? Be good to hear from anyone with suggestions. Many thanks.

    @mercime
    Participant

    Deactivate all plugins except BuddyPress and change to bp-default theme to begin isolating what’s causing the strange behavior.

    #135066
    bojan85
    Participant

    I have looked over the forums and found several threads concerning this function but there seem to be no apparent solution to this issue. I would love an answer from somebody who has deeper understanding of buddypress to see if this is possible to accomplish or not.

    Is it possible to create multiple different registration forms or different fields to fill in depending on what the user selects when registering?

    All help would be much appreciated!

    odarma
    Participant

    @mercime thanks for helping me… i upgrade WP in each version is out (with a delay of 2 weeks to give time for the plugins i use to be upgraded too), my BP as i remember i upgrade from 1.2.10 to 1.5.2 and then 1.5.5

    #135056
    andricor
    Participant

    I had the same register problem. I couldn’t see any group in “Profile Fields”.
    I tried to create another one, i was getting a success message but still not able to see any group.
    So i checked in the db and I noticed that there was a the column “group_order” missing in the wp9_bp_xprofile_groups table:

    mysql> desc wp9_bp_xprofile_groups
    -> ;
    +


    +


    +


    +


    +


    +


    +
    | Field | Type | Null | Key | Default | Extra |
    +


    +


    +


    +


    +


    +


    +
    | id | bigint(20) unsigned | NO | PRI | NULL | auto_increment |
    | name | varchar(150) | NO | | NULL | |
    | description | mediumtext | NO | | NULL | |
    | can_delete | tinyint(1) | NO | MUL | NULL | |
    +


    +


    +


    +


    +


    +


    +
    4 rows in set (0.01 sec)

    I reached that finding because I compared with another buddypress installation I have.

    I added the column to the table and then everything was working again:

    mysql> desc wp9_bp_xprofile_groups;
    +


    +


    +


    +


    +


    +


    +
    | Field | Type | Null | Key | Default | Extra |
    +


    +


    +


    +


    +


    +


    +
    | id | bigint(20) unsigned | NO | PRI | NULL | auto_increment |
    | name | varchar(150) | NO | | NULL | |
    | description | mediumtext | NO | | NULL | |
    | can_delete | tinyint(1) | NO | MUL | NULL | |
    | group_order | bigint(20) | NO | | NULL | |
    +


    +


    +


    +


    +


    +


    +
    5 rows in set (0.08 sec)

    Here you are how I added the column:
    mysql> alter table wp9_bp_xprofile_groups add column group_order bigint(20);
    mysql> alter table wp9_bp_xprofile_groups modify group_order bigint(20) not null;

    The “Base” group was again visible in the administration page and those fields were visible again in the registration page.
    I could not find out what modified that table. Also reinstalling the whole buddypress doesn’t help as I noticed that the buddypress tables in the db are not deleted.

    Hope this helps.

    @mercime
    Participant

    What versions of BP/WP did you upgrade from? You mentioned webpages from two years ago. If you upgraded from BP 1+/WPMU, then you have to upgrade major version by major version as in BP1.0+ to BP1.2/WPMU 2.9.1 to BP1.5/WP3.2.1 to BP1.5.5/WP3.3.2
    WP versions download – https://wordpress.org/download/release-archive/
    BP versions download – https://buddypress.trac.wordpress.org/browser/tags

    odarma
    Participant

    @mercime Yea i need all the help i can get, the ticket hasn´t even been readed, and here i get 1 answer thats good.

    @mercime
    Participant

    Just posting trac ticket you created https://buddypress.trac.wordpress.org/ticket/4217

    odarma
    Participant

    @mrjarbenne Thanks but it is setted in “No” i am desesperate, if i dont find a solution ill have to restart my 2 years old webpage :( , because reinstall WP and BP hasn’t even work

Viewing 25 results - 2,101 through 2,125 (of 3,608 total)
Skip to toolbar