Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 401 through 425 (of 4,122 total)
  • Author
    Search Results
  • #307408
    coolhunt
    Participant

    Hey Guys,

    Im trying to disable kses —
    Im the only one that will have access to adding profiles so Im pretty safe.

    #307393
    BuddyBoss
    Participant

    You could set a profile type as Business and then set profile fields for it that make sense for a business. That’s one option.

    One issue people sometime run into is that they want users to have a profile that represents a person, and then also have some business content like listings etc which are associated with that person. So then you’re back to using BuddyPress for the profiles and needing another plugin for the business content.

    So it really depends on what you’re trying to do. In most cases I think it’s cleaner to use a listing plugin and have it link to the buddypress profiles as the authors of the business listings.

    You could also use Groups to represent businesses. But that makes more sense if they are representing a company with members (employees), like a Facebook page. If you just want “listings” it’s overkill and then you’ve also lost the ability to use groups later on for what they’re really meant for.

    There is a plugin I really like for listings that is just simple to configure and use in my opinion. I have no affiliate with it, just have used it on some custom projects and found it easy to work with. This one, worth a look:

    Advanced Classifieds & Directory Pro

    #307374
    btees
    Participant

    In entry.php I’ve added the below form so that the person who posted the activity can edit it:

    
    <?php 
    $user = bp_get_activity_user_id();
    $viewer = get_current_user_id();
    if ($user == $viewer) :?>
    <form class="edit-hidder" id="posteditor-<?php echo bp_get_activity_id();?>" action="<?php echo esc_url( admin_url('admin-post.php') ); ?>?action=add_foobar" method="post">
    		 <input type="hidden" name="activity_id" value="<?php echo bp_get_activity_id();?>">
    		
    		<div id="whats-new-textarea">
    		<label>Edit Fields Below</label><br>
    		<label>Name of product or service *</label>
    		<input type="text" name="title" id="title" required="" style="outline: none;" value="<?php echo $title;?>">
    			<label>Description*</label><textarea required="" name="whats-new" id="new-post" class="bp-suggestions" cols="50" rows="10"><?php echo strip_tags(bp_get_activity_content_body());?></textarea>
    	
    </div>
    		 <?php $result = $wpdb->get_results ( "SELECT * FROM wp_bp_xprofile_fields WHERE id='2'" );
        foreach ( $result as $print )   { ;?>
    				<div class="halfer"><label>Industry*</label><select name="bpcat" id="bpcat" required>
    		  <?php $options = $wpdb->get_results ( "SELECT * FROM wp_bp_xprofile_fields WHERE parent_id='$print->id'" );
          foreach ( $options as $option )   { ;?>
        	
        <option class="<?php echo $option->name;?>" name ="field_<?php echo $print->id;?>_match_any[]"value="<?php echo $option->name;?>" <?php if ($insearchof == $option->name) { echo 'selected';}?>><?php echo $option->name;?></option>
              <?php } ;?> 
    		</select></div>
    		
    		<div class="halfer"><label>Region</label><input type="text" name="region" id="region" placeholder="Optional (e.g Toronto)" value="<?php echo $region;?>"></div>
    
    		<div class="halfer"><label>Bugdet</label><input type="text" name="budget" id="budget" placeholder="$" value="<?php echo $budget;?>"></div>
    		
    		<div class="halfer"><label>Payment Method</label><select name="paymeth" id="paymeth">
    		<option disabled>Any preferred method</option>
    <option <?php if ($paymeth == 'Credit') { echo 'selected';}?> value="Credit">Credit</option>
    <option <?php if ($paymeth == 'Debit') { echo 'selected';}?> value="Debit">Debit</option>
    <option <?php if ($paymeth == 'Cheque') { echo 'selected';}?> value="Cheque">Cheque</option>
    <option <?php if ($paymeth == 'Money Order') { echo 'selected';}?> value="Money Order">Money Order</option>
    <option <?php if ($paymeth == 'Cash') { echo 'selected';}?> value="Cash">Cash</option>
    <option <?php if ($paymeth == 'Payment Plan') { echo 'selected';}?> value="Payment Plan">Payment Plan</option>
    </select>
    </div>
    <div class="halfer"><label>Delivery Method</label><select name="delmeth" id="delmeth">
    <option <?php if ($delmeth == 'Any Method') { echo 'selected';}?> value="Any Method">Any Method</option>
    <option <?php if ($delmeth == 'Parcel') { echo 'selected';}?> value="Parcel">Parcel</option>
    <option <?php if ($delmeth == 'None') { echo 'selected';}?> value="None">None</option>
    <option <?php if ($delmeth == 'Hand deliver') { echo 'selected';}?> value="Hand deliver">Hand deliver</option>
    <option <?php if ($delmeth == 'Pick Up Depending On Location') { echo 'selected';}?> value="Pick Up Depending On Location">Pick Up Depending On Location</option>
    </select>
    </div>
    <div class="fullwidth"><label>Additional Notes</label>
    <textarea placeholder="Optional" name="addnotes" id="addnotes"><?php echo $addnotes; ?></textarea></div>
    		<input type="hidden" value="open" name="status">
    		<?php } ; ?>
    				<input type="submit" value="Submit">
    			</form>
    <?php endif;?>
    			

    Then in bp-custom.php the new info is submitted to the database like so:

    
    function prefix_admin_add_foobar( $activity_id ){ 
    global $wpdb;
    $table_name = $wpdb->prefix . "_bp_activity";
      $wpdb->update( 
    	'wp_bp_activity', 
    	array( 
    		'content' => $_POST['whats-new'] // string
    				), 
    	array( 'id' => $_POST['activity_id'] )
    );
      bp_activity_update_meta( $_POST['activity_id'], 'bpcat', $_POST['bpcat'] );
    	bp_activity_update_meta( $_POST['activity_id'], 'budget', $_POST['budget'] );
    	bp_activity_update_meta( $_POST['activity_id'], 'datereq', $_POST['datereq'] );
    	bp_activity_update_meta( $_POST['activity_id'], 'freq', $_POST['freq'] );
    	bp_activity_update_meta( $_POST['activity_id'], 'title', $_POST['title'] );
    	bp_activity_update_meta( $_POST['activity_id'], 'prodserv', $_POST['prodserv'] );
    	bp_activity_update_meta( $_POST['activity_id'], 'paymeth', $_POST['paymeth'] );
    	bp_activity_update_meta( $_POST['activity_id'], 'delmeth', $_POST['delmeth'] );
    	bp_activity_update_meta( $_POST['activity_id'], 'addnotes', $_POST['addnotes'] );
    	
    	    wp_redirect( home_url() . '/members/' . bp_core_get_username( get_current_user_id()).'/activity/my-posts/#item-body' ,302 ); 
       
    }
    
    add_action( 'admin_post_add_foobar', 'prefix_admin_add_foobar' );
    add_action( 'admin_post_nopriv_add_foobar', 'prefix_admin_add_foobar' ); 
    

    Is this safe?

    If not, how do I go about improving it?

    #307369
    coolhunt
    Participant

    Hello Gents, (directed towards @buddyboss @sbrajesh )

    not really a ‘problem’ but a request for feedback/opinion..

    Im curious what your thoughts are on using BUDDYPRESS as a Business Listing Directory.. Ive been using it as that for one of my sites.. and its not a ‘perfect fit’ — however I do love how easy and straightforward it is to add a new profile/listing..

    Im very hesitant to use a plugin that creates a CPT or extra fields that is not from vanilla install

    *however using BP as a business directory listing system seems to be not very SEO friendly and not very schema-micro-formats compliant

    Would you guys use BP as a Business Directory Listing System.. or Should I just use another plugin instead?

    Any insight of best-practices -or- what you guys have seen in the wild..

    CC: @imath (i know you are busy.. but would still love to hear your thoughts – when time permits)

    #307335
    Boone Gorges
    Keymaster

    You mean you want Twitter to turn into the embedded timeline, etc?

    Here’s a minimum script that’ll enable autoembeds for BP xprofile fields. Note that “476” is for illustration purposes – you’ll want to whitelist this for your own relevant field IDs. https://gist.github.com/boonebgorges/d4be14885d1a8ab8b6e5d7900a5fd220

    #307331
    Boone Gorges
    Keymaster

    Hi @sibahmed, and thanks for the post!

    Unfortunately, BuddyPress doesn’t have these kinds of fields built in. They’re called “nested” or “conditional” fields, and they’ve been requested in the past – see https://buddypress.trac.wordpress.org/ticket/579. It’s a large job to build it as a feature for BuddyPress, though it’d be easier to build a custom tool for yourself that does this.

    If you’ve got the technical experience, you could a custom BP_XProfile_Field_Type, whose edit logic would contain the markup and JavaScript to enable these sorts of fields. I did some quick searching, and it looks like someone was writing this at some point – see https://rimonhabib.com/coming-up-next-buddypress-nested-conditional-fields/. Maybe worth following up there?

    #307297
    BuddyBoss
    Participant

    Hey Brajesh!

    Sure, happy to provide some additional feedback.

    I have tried your releases and I am still wondering what prevented you/your team from contributing to BuddyPress? Did you try to contribute or was there some other reason for fork?

    There are a lot of reasons we decided to go our own way. The primary one is that at a very fundamental level, BuddyPress was not providing the experience our customers are looking for and was really holding us back in our ability to provide the features and usability they ask us for. We have many thousands of customers and do a large amount of custom development, and there are so many things they ask for and wish were different in BuddyPress. BuddyPress development moves very slowly, and the types of changes we have implemented and will continue to implement require major changes to BuddyPress, in a way that can only be done by forking the plugin. We do theme development and mobile app development, and it’s not good that the foundation we rely on for everything is not under our control, and actually has barely changed at all over the past 5 years. We need to control its direction completely to achieve what we are trying to do. We are making mobile apps and other things, and want complete vertical integration between everything to provide an amazing experience.

    is there any future plan available for the platform?

    We have a multi-year plan for features we want to add. We also build mobile apps that replicate BuddyPress functionality into a synchronized app, and we will continue to grow there over time. Now that we control our core platform we can move much faster.

    The features we add are determined primarily by our customers. So the order in which things are added will depend to a large degree on what people ask for, and which requests have the highest volume of requests. We have a big support team responding to and noting requests.

    One major area of focus right now is performance. With each release you will see the product get faster. BuddyPress falls apart when it has too many users. We plan to fix that.

    Since the forking of BuddyPress, can you please provide what kind of new feature other than merging your own/others plugin into the bundle have your team added.

    Sure, this is going to be a very long list. I am just listing the high level items, as we have done so many smaller changes throughout.

    Layout

    We have our new BuddyBoss Theme which is much more advanced than any BuddyPress theme. It is only possible because we forked BuddyPress and are able to change the templates as necessary to accomplish our designs. Because we control our platform now, we can be sure that every single feature added is always styled in a consistent way, and with a unified admin experience. It much more powerful, and simultaneously, simpler and lighter than anything we could provide before.

    Profile Fields > Proper “Name” fields

    BuddyPress has just one name field, which drives customers crazy. They want professional networks with First/Last Name, or private networks with just nickname. BuddyBoss Platform has dedicated name fields for First Name, Last Name, Nickname. The site admin can control how to display names sitewide using this. In BuddyPress it is actually impossible just to display First Name + Last Name in the profile and activity feed, something that 50% of customers want. In BuddyBoss it is very customizable. We also let users change their Nickname (handle) any time.

    Profile Fields > Repeater Fields

    This is a request we have gotten for years, and could never provide; the ability to have repeater fields (Jobs, Experience, etc) so you can make a profile like LinkedIn. That’s out of the box now.

    Activity

    We have completely overhauled activity feeds. Instead of separated tabs, which is super confusing, it’s one unified activity feed. And within the feed, we have added a bunch of features:

    – Emoji
    – Animated GIFs
    – Likes
    – Follow
    – Link previews
    – Media
    – Ability to add any custom post type into the feed (via the Settings)
    – Ability to enable/disable any default BP activity type (via the Settings)

    Messages

    We have completely overhauled Messages. In BuddyPress, messages is a really poor experience. It uses a Gmail convention with subject and content, which makes little sense on a social network. We changed it into a single threaded message, just like Facebook, LinkedIn, WhatsApp, and every other messenger works. This allows us to create a really amazing messaging experience (go play with our demo). Also we can extend this later into live chat, and messenger in our apps. Those features could not be built using BuddyPress messenger as it uses a Gmail style messenger. Imagine if Facebook messenger worked like Gmail, it would be awful.

    Media

    We added a native Media component for photos and albums, which provides a really amazing interface. It’s not just a fork of our old media plugin, it’s a total overhaul and is much nicer than anything out there for BuddyPress. And we will extend it over time for videos and other media.

    Private Network

    Out of the box, with one click you can make the whole site private from outsiders. This is a feature that more than 50% of BuddyPress users are doing but need to hunt for 3rd party plugins to figure out how to add. Our implementation is highly customizable also, in terms of what is public vs private.

    Network Search

    We added a new component for searching all content across the social network, with live results as you type. It’s not just a fork of our old BP Global Search plugin, it is a complete overhaul and is a much nicer experience.

    User Invites

    We added an invites system, to allow users to invite others into the network by email.

    Profile Types

    We added a built in interface for creating and managing Profile types, and many additional related options.

    Group Types

    We added a built in interface for creating and managing Group types, and many additional related options.

    Group Hierarchies

    We added a built in interface for creating and managing Group hierarchies, so you can have parent and child group relationships.

    Email Layouts

    Emails in BuddyPress look really bad. This is something we have had to hack up in the past on virtually every client site to give them something usable. Now, in BuddyBoss they look really beautiful out of the box, and are more customizable with logo options etc.

    Default Data

    This comes up constantly, people want to quickly add a bunch of default data into the site for testing. Now they can do it with the click of a button.

    And… that’s just the high level stuff. We have fixed usability issues all over the place and added minor options throughout. And don’t forget that we have been live to the public for less than 2 months. There is much more to come and we are moving fast. Revisit this in a year from now, and the list will be endless.

    #307275
    m4soN
    Participant

    Hi there,

    i haven`t found a solution for my question so i hope to find the answer here.

    Unfortunately my installed buddypress is displaying some information very ugly and i’d like to get rid of it.

    So far i haven´t figured out where i can change the look of following table:

    <table class=”profile-fields bp-tables-user”><tbody><tr class=”field_1 field_name required-field visibility-public field_type_textbox”><td class=”label”>Name</td><td class=”data”><p>martin</p></td></tr><tr class=”field_3 field_dci-nummer optional-field visibility-public alt field_type_number”><td class=”label”>DCI Nummer</td><td class=”data”><p>9315451735</p></td></tr></tbody></table>

    Can you please be so nice and tell me where i find the settings of that table exactly? I am not a trained coder but i am good at learning when someone leads me in the right direction. So please bare with me a little.

    Thanks

    sibahmed
    Participant

    Hi i want some help that i want to make profile fields city dropdown which is that at the time of registration as a buddypress member when user select a country from country dropdown then against that country cities want to appear in city dropdown to select please help Thank You !

    #307224
    Blake
    Participant

    I have an issue where I have https://sucuri.net locking down the wp-admin interface for security purposes to specific IP addresses.

    The BuddyPress plugin profile and cover image upload fields, on the profile page, appear to be using the wp-admin/admin-ajax.php file to upload images to the site. I also have users who log into the site, but only on the front-end of the site. They do not have access to the admin section. These users are not able to upload images since the admin section is locked down.

    One thinking I noticed was that if I disable javascript in my browser for the profile photo upload screen the UI falls back to a PHP based upload mechanism. Is there a way to make the PHP method the default for all forms in BuddyPress so that I don’t have to unlock my admin interface?

    Thank you for any help.

    erickatbattle
    Participant

    I have a few profile fields and I am trying to add more options to a dropdown field I have for Nationality, which has a list of countries, but when I save it gives me this message:

    The link you followed has expired.

    I search in WordPress and other people were getting the same message, but in other areas and for some it helped to update the php.ini values to have greater value, like this:

    upload_max_filesize = 64M
    post_max_size = 64M
    max_execution_time = 300

    But in my case it didn’t help, it seems like it has to do with Buddy press specific.

    Can you please advice, thanks

    #307189
    rupalifairshare
    Participant

    I am using buddypress form for wplms. I want to take profile feidls i created in wp settings->user->profile fields in my buddy press form. How to integrate these new fields in buddypress form.

    coolhunt
    Participant

    Hey Guys,

    Im in the PROFILE FIELDS section and there are a few profile fields that cant be deleted.. strangely.. my other nearly identical BP/WP install do not have this problem.

    Im trying to delete.. “LAST NAME” text profile field — I didnt add that profile field.

    Any ideas?
    Thanks in advance

    ahmadsuhaib
    Participant

    Hey this is how you can do it:

    ?>
    <h3><?php _e(“Appointments+ Settings”, ‘appointments’); ?></h3>
    <form method=”post” action =” “id=”appointment-edit-form” class=”standard-form”>
    <table class=”form-table”>
    <tr>
    <th><label><?php _e(“My email for A+”, ‘appointments’); ?></label></th>
    <td>
    <input type=”text” style=”width:25em” name=”app_email” value=”<?php echo get_user_meta( $profileuser->ID, ‘app_email’, true ) ?>” <?php echo $is_readonly ?> />
    </td>
    </tr>
    <tr>
    <th><label><?php _e(“My Phone”, ‘appointments’); ?></label></th>
    <td>
    <input type=”text” style=”width:25em” name=”app_phone” value=”<?php echo get_user_meta( $profileuser->ID, ‘app_phone’, true ) ?>”<?php echo $is_readonly ?> />
    </td>
    </tr>
    <input name=”action” type=”hidden” value=”save_xprofile” />
    // Add other fields like location etc .. here if needed

    </table>
    <div class=”submit”>
    <input type=”submit” action = “” name=”appointment-edit-form-submit” id=”appointment-edit-form-submit” value=”Save” />
    </div>
    <?
    https://www.jlsprockets.com/

    #306880
    snorklebum
    Participant

    Hi,
    When you go to Dashboard-> Users-> Profile Fields you can edit the fields and change the visibility. If you are still seeing the data after saving these changes ensure you have cleared cache and you are not logged in as an account that has access to view this data.

    #306875
    shadowmere
    Participant

    I got a client who has a site with BuddyPress installed, it has about 2500 users registered, and who made the website created a field with sensible information with “Profile fields” and left its visibility as “Public”, now everyone has access to those informations. Is there a way to change every registered user’s visibility in that field? I will consider even SQL queries, or any database info about it. Thanks a lot!

    #306869

    In reply to: BP xProfile Location

    shanebp
    Moderator

    > How to make a custom registration form

    Not sure what you mean, but if you add a Location field to the Base (Primary) Group of the Profile Fields, it will appear on the registration form.

    #306859
    ranjanmania
    Participant

    Hi,

    We are using Buddypress for a users based group similar to an academic system- i.e. students, teachers, principal and based on these different user groups we want to create profile fields which are visible to the respective user group only.

    Is it possible in Buddypress? if yes, how to implement/customize Buddypress for our usage.

    Thank you

    #306844
    Alen
    Participant

    Hello,

    I want to remove fields such as visibilty settings tab and under profile “view profile” tab

    How can i do this?

    Thank you for your time !

    #306824
    subhamkotnala
    Participant

    Hi, I have Bbpress X profile fields in my site. I want to prepopulate some of the fields such as Email, First name, Last name from the users data. How can I achieve that?
    Thank you.

    #306820
    Gabriel Filgueiras
    Participant

    Can you help-me with this problem, please?
    This is in portuguese
    This is the link to the print
    https://photos.app.goo.gl/7g6kLiWrC9kdy28bA

    “There was an error saving the group. Try again.”
    “You have no groups.”

    I’m trying to create profile field, and I do not have any profile fields

    ctatarau
    Participant

    Hi all!

    I’m creating a site with profile fields which can have up to 40000 options. I already loaded the options into the db via csv file. Now, the site loads very slowly and is basically unusable. Once loaded, everything works fine, including the profile search. How can I prevend Buddypress from loading all options for this field by default?

    I’m using select2 multiselect fields, which can load small chunks of data via AJAX/PHP. I now just need to prevend loading the field when the site loads. I’m grateful for any hint!

    #306697
    manuelguillegil
    Participant

    Hello! Thank you!! Now I am working with another server and now if I see the registration page without problems

    What I want to do is the following: I want on my page that the moment a new user registers, it is entered in the fields that in the simple selection questions: A and B (which are profile field of Buddypress), if the person has more than 50% of questions A or questions B, this user will be of a specific type or group (for example: Group A or Group B)

    I was checking online and I think there is little content regarding this

    Thank you!!

    #306696
    manuelguillegil
    Participant

    Hello! Thank you!! Now I am working with another server and now if I see the registration page without problems

    What I want to do is the following: I want on my page that the moment a new user registers, it is entered in the fields that in the simple selection questions: A and B (which are profile field of Buddypress), if the person has more than 50% of questions A or questions B, this user will be of a specific type or group (for example: Group A or Group B)

    #306694
    metalhead505
    Participant

    Therw’s a plugin called “conditional profile fields” which you can use to achieve this.

Viewing 25 results - 401 through 425 (of 4,122 total)
Skip to toolbar