Forum Replies Created
-
In reply to: considering BuddyPress
1. members are searched by profile fields
2. you can create unlimited profile fields
3. there may be an events plugin
4. BP has invite only private groups
5. there was a geo plugin, not sure its up to date
6. members are unlimitedIn reply to: Database Schema MapThat is not the current schema. That is for version 1.3 and there has been a ton of changes to make the database more efficient since 1.3
bp_get_member_profile_data
In reply to: What does this mean?Missing an argument
In reply to: What does this mean?Missing an argument
super simple. If your theme has a full width page template just copy it and rename it buddypress.php
https://codex.buddypress.org/theme-development/theme-compatibility-1-7/template-hierarchy/
In reply to: BuddyPress Notifications PluginBuddyPress already has notifications, what is the benefit of your plugin?
In reply to: BPAZBuddyPress would need some core changes to make privacy work on things like individual activity items. You can get some type of privacy by blocking pages. BuddySuite has a few options for users to block certain profile pages to friends only.
In reply to: Why are display name char amounts not limited?You still need to use a maxlength on input for the user. If you want to block a bypass then you can filter
http://etivite.com/api-hooks/buddypress/trigger/apply_filters/xprofile_data_value_before_save/
In reply to: Plugin Dev – Group Admin Add subnav form nonce failsall a nonce does is send a parameter in the POST and then on the back end it verifies the value. There isn’t much that would cause an error. Where and what is the error?
In reply to: Why are display name char amounts not limited?If you don’t want to edit core files then create the same files in your theme folder with the same folder structure and those files will override BP.
copy file from:
buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/edit.php
to:
your-theme-folder/buddypress/members/single/profile/edit.php
In reply to: Why are display name char amounts not limited?open file edit.php in buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/edit.php
find:
<?php if ( ‘textbox’ == bp_get_the_profile_field_type() ) : ?> <label for=”<?php bp_the_profile_field_input_name(); ?>”><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( ‘(required)’, ‘buddypress’ ); ?><?php endif; ?></label> <input type=”text” name=”<?php bp_the_profile_field_input_name(); ?>” id=”<?php bp_the_profile_field_input_name(); ?>” value=”<?php bp_the_profile_field_edit_value(); ?>” <?php if ( bp_get_the_profile_field_is_required() ) : ?>aria-required=”true”<?php endif; ?>/> <?php endif; ?>change to:
<?php if ( ‘textbox’ == bp_get_the_profile_field_type() ) : ?> <label for=”<?php bp_the_profile_field_input_name(); ?>”><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( ‘(required)’, ‘buddypress’ ); ?><?php endif; ?></label> <input <?php if ( bp_get_the_profile_field_input_name() == ‘field_1′) : ?>maxlength=”10″<?php endif; ?> type=”text” name=”<?php bp_the_profile_field_input_name(); ?>” id=”<?php bp_the_profile_field_input_name(); ?>” value=”<?php bp_the_profile_field_edit_value(); ?>” <?php if ( bp_get_the_profile_field_is_required() ) : ?>aria-required=”true”<?php endif; ?>/> <?php endif; ?>that will limit the profile username form field. To limit the sign up name you add maxlength to the register.php form input for username. change max length to however long you want to cut the name off at.
<input maxlength="10" type="text" name="signup_username" id="signup_username" value="<?php bp_signup_username_value(); ?>" />In reply to: Plugin Dev – Group Admin Add subnav form nonce failsA form only needs one nonce, are you trying to add all these to one form?
In reply to: Guidance with Streaming Data from Facebook etc..Those two plugins are the only known facebook integration plugins. Facebook does not allow you to pull content from it’s site. You can only post to Facebook
HashBuddy or the outdated plugin?
In reply to: #Hashbuddy Plugin Bug: Can’t change font colorsany # that has a space in front will change to a link.
instead of: color: #ffffff
use: color:#ffffff
if you dont have header-buddypress.php file then it falls back to the default header.php
In reply to: Easy way to add tab to profileIn reply to: Private Portal with BuddyPressbp_is_profile is used to test if its a profile page. try that in a conditional.
In reply to: Need to resize avatar images to 50×50Avatar specific settings can be changed:
define ( ‘BP_AVATAR_THUMB_WIDTH’, 50 );
define ( ‘BP_AVATAR_THUMB_HEIGHT’, 50 );
define ( ‘BP_AVATAR_FULL_WIDTH’, 150 );
define ( ‘BP_AVATAR_FULL_HEIGHT’, 150 );
define ( ‘BP_AVATAR_ORIGINAL_MAX_WIDTH’, 640 );
define ( ‘BP_AVATAR_ORIGINAL_MAX_FILESIZE’, $max_in_kb );
define ( ‘BP_AVATAR_DEFAULT’, $img_url );
define ( ‘BP_AVATAR_DEFAULT_THUMB’, $img_url );In reply to: Allow all characters in a PHP “explode” functionIn that plugin does it have an admin option you enter for specific extensions? Also, it’s a bit dangerous to allow everything accept a few file types. Could open up a security flaw.
In reply to: Allow all characters in a PHP “explode” functionor use pathinfo() to get extension
In reply to: Allow all characters in a PHP “explode” functionshouldn’t you check type at the upload point? This is an example not tested
$array = array( one, two, three );
$type = $_FILES[‘upload_file’][‘type’];if ( in_array( $type, $array ) ) return false;
browser cookie is saved when you select and then if cookie exists BP displays that content
In reply to: Verified accounts?LOL auto correct in osx grrr!