Forum Replies Created
-
In reply to: BuddyPress Activity Privacy Plugin
Hi bp-help :P, give me 5 minute plz to read all this posts
In reply to: Member Profile URL with User ID instead of UsernameHi,
I was made a hack for that and it work partially!!
The code need more tests, all feeback’s are welcome.
Add this code to your functions.php
In reply to: Plugin for profile rankhi,
mybe cubepoints-buddypress-integration plugin
https://wordpress.org/extend/plugins/cubepoints-buddypress-integration/
can help you, you need to install cubepoints plugin before then disable points for everything and enable only ranks.
In reply to: [Resolved] Removing BP Search boxes help please!hi,
there is no filter for the search UI (members and groups), the only why is to remove the function call in the template or to use css.
the template file :
buddypress\bp-templates\bp-legacy\buddypress\groups\index.php
just comment bp_directory_groups_search_form();or add this css code :
#group-dir-search{ display: none; } #members-dir-search{ display: none; }In reply to: [Resolved] Right Chinahi
try this css code :
`
div.friendship-button {
float: left;
margin-left:5px;
}
`In reply to: Suggest new friends in the member friends tabIn reply to: Can't change activation email?Hi,
1) Mybe the code source of Welcome Pack plugin (https://wordpress.org/extend/plugins/welcome-pack/ ) can help you in dev.
2) or check this link :
http://bp-tricks.com/featured/creating-a-custom-email-template-for-your-buddypress-emails/3) Check this code (from bp-members-functions.php line 1353). function bp_core_signup_send_validation_email
`
$to = apply_filters( ‘bp_core_signup_send_validation_email_to’, $user_email, $user_id );
$subject = apply_filters( ‘bp_core_signup_send_validation_email_subject’, $subject, $user_id );
$message = apply_filters( ‘bp_core_signup_send_validation_email_message’, $message, $user_id, $activate_url );
`With some filters i think you can change email, subjet of activation email, or the message.
In reply to: Howdy, community!Hi, Nice UI and Color schema,
I think there is some problems of allignement in WP ADmin Bar ? (in #adminbarlogin i think must float to right)
What difference between Persons and Communities ?
http://www.howdycom.com/members
http://www.howdycom.com/persons
http://www.howdycom.com/communitiesIn reply to: Custom Activity feed – need help with codeHi,
https://gist.github.com/dzmounir/5405475
This is short code i was made, you just need to edit or remove some css class for html code.
In reply to: [Resolved] This script blocks oEmbedYou can edit the activity,
but at the place of the link of the image, you will get html code of image.
In reply to: [Resolved] This script blocks oEmbedHi
just edit this line
`return ‘‘;`
to
`return ‘
‘;`
The proper way is by using css class.
In reply to: [Resolved] This script blocks oEmbedU Welcome 😛
In reply to: [Resolved] This script blocks oEmbedHi,
Add this code yo your functions.php, i was add filter to embed_maybe_make_link wp function.
It work!! but mybe there is more good solution for auto-embeding image in bp (personaly, i was search since for long time for solution, but i dont find it :p).
`
/**
* Check if url is image
* @param [type] $url
* @return boolean
*/
function isImage( $url ){
$pos = strrpos( $url, “.”);
if ($pos === false)
return false;
$ext = strtolower(trim(substr( $url, $pos)));
$imgExts = array(“.gif”, “.jpg”, “.jpeg”, “.png”, “.tiff”, “.tif”); // this is far from complete but that’s always going to be the case…
if ( in_array($ext, $imgExts) )
return true;
return false;
}function embed_maybe_make_image($output, $url) {
// this comented code check if is image by using getimagesize function, it use curl to check
// if is image or no, it little slow than isImage function
//if( getimagesize($url) != false ){
if(isImage($url)){
return ‘‘;
}
}
add_filter( ’embed_maybe_make_link’, ’embed_maybe_make_image’, 10, 2 );
`In reply to: Login and Register LinkHi,
Check your buddypress settings (pages tab) in wp admin,
make sure that Register and Activate pages are created, else create new pages, select them as Register and Activate pages then save.
In reply to: problem with members and groups widgetshi,
You need to add css class .widget to the .sidebar-box div (container of widget). check in functions.php of your current theme.
In reply to: Make Profile Name field visible by admin only?Hi @gsj,
Add this code to functions.php file of the current theme.
`
add_filter(‘bp_xprofile_get_hidden_fields_for_user’,’bp_define_hidden_fields’, 10 ,3 );
function bp_define_hidden_fields( $hidden_fields, $displayed_user_id, $current_user_id ) {
//if not admin or if not the the profile of the current user
if ( !is_super_admin( $current_user_id) && ($displayed_user_id != $current_user_id) ) {
//add name field ( id = 1 ) to the hidden fields
$hidden_fields[] = 1;
}
return $hidden_fields;
}
`In reply to: [Resolved] Logged in avatarhi,
just call bp_loggedin_user_avatar fuction, it print html code of the avatar (without echo)
bp_loggedin_user_avatar( ‘type=full&width=150&height=150’ );
In reply to: how to generate a page showing only certain groupsHi,
You can use bp-group-hierarchy plugin :
https://wordpress.org/extend/plugins/bp-group-hierarchy/
Or with shortcodes using bowe-codes plugin
https://wordpress.org/extend/plugins/bowe-codes/
Just create new wordpress pages, then use buddypress shortcodes from bowe-codes plugin to print what you want.
In reply to: [Resolved] Can't delete users from front endI was try again test in bp 1.7, delete work fine; after delete the page is redirect to home page but any message of success of operation is printed.
In reply to: [Resolved] Can't delete users from front endEven with default buddypress theme ? try to use default theme
In reply to: [Resolved] Can't delete users from front endHi,
You use bp 1.7 Beta version ?
I was same problem with bp 1.6.4 when i press delete, page redirect to home, i was test in bp 1.7 with fresh installation and the problem does not appear.
I think problem was start after update of bp 1.6.4.
In reply to: [Resolved] Logged in avatarhi,
you mean the members directory ?
In reply to: Hide Admin Bar Buddypress v. 1.6.1In functions.php file of your current theme 😛
In reply to: Avatar sizes in 1.7