Forum Replies Created
-
In reply to: How to add a background image icon to a button
@shawn38, thanks for for input but thats not what am loooking for , your css will only change the background to image. what i am trying to do is to add a icon to object which already has a background e.g friendship button.
I know it should be : background-image : url(
). that is what is used for wordpress but why its not working is what i dont know.In reply to: Find friends option?@elgunvo, any news on this plugin?
Thanks
@funmi omoba:
At the top of members-loop.php replace the following code:
`
with: <?php /* My Custom Member Query to order alphabetical by default */
function my_query_filter_new ( $query_string ) {
$query_string .= ‘&per_page=15&type=alphabetical’;
return $query_string;
}
add_filter( ‘bp_ajax_querystring’, ‘my_query_filter_new’ );
?>`
Note : you can change per page to any number you want
work like a charm
regards
In reply to: Replies shouldn’t bump Activity Updates to topIf i could remember right, you can use the following code but i am not sure if it is outdated because i have it during BP 1.2.
function sort_alpha_by_default( $qs ) {
global $bp;
if (!$qs && ( $bp->current_component == BP_MEMBERS_SLUG || $bp->current_component == BP_GROUPS_SLUG) )
$qs = ’type=alphabetical&action=alphabetical’;
return $qs;
}
add_filter( ’bp_dtheme_ajax_querystring’, ’sort_alpha_by_default’ );In reply to: Strange Active Links in Member Profile FieldsFor the auto link in the profile , put this in your bp-custom.php, if you dont have bp-custom.php, create one in your plugin folder
function remove_xprofile_links() {
remove_filter( ‘bp_get_the_profile_field_value’, ‘xprofile_filter_link_profile_data’, 9, 2 );
}
add_action( ‘bp_init’, ‘remove_xprofile_links’ );In reply to: Message conversation bug@djpaul , i can confirm that this bug is still there and am using the latest bp. not 1.6
In reply to: Vertical Sub-menus@shivang, check this child theme am building out if thats what you mean http://suchworld.co.cc
Login:demo
pass: demoIn reply to: sidebar from right to left child themehi @poxtron, yes, you can do it with css, what you need is div#sidebar {float: left ! important;} amend accordingly.
@ravedance, Go to the admin dashboard, then click on setting,then general setting, on the list where it says membership, makesure you tick anyone can register and hit save.
let me know if that help.
regards
In reply to: [Resolved] Profile Privacy and Directory Browsing@djpaul, i must say a big congratulions on this new built in profile privacy, some people dont want to use BP because of privacy issue. IMO , this profile privacy will make BP much more valuable.
Regards
In reply to: Collapse and expand commentsIn reply to: I need a plugin to make everyone friends@cwhittl, not sure if this is what you looking for , but have a look at https://wordpress.org/extend/plugins/bp-automatic-friends/
regards
Thanks @mercime, the URL is http://suchworld.co.cc/
Exactly what i mean is the header site title and the header search bar.
Regards
In reply to: [Resolved] Removing Automatic Linking in Profiles@henrybaum, put the following code inside your bp-custom.php.
function remove_xprofile_links() {
remove_filter( ‘bp_get_the_profile_field_value’, ‘xprofile_filter_link_profile_data’, 9, 2 );
}
add_action( ‘bp_init’, ‘remove_xprofile_links’ );Regards
@juanmaguerrero, thanks so much, will be waiting….
Regards
@tjbrewers, try the below methood, thats what am using
/*Change the number of activity items to show per page */
function my_custom_query_filter( $query_string ) {
$query_string .= ‘&per_page=11’;
return $query_string;
}
add_filter( ‘bp_dtheme_ajax_querystring’, ‘my_custom_query_filter’ );@juanmaguerrero, i am not a coder, but i can place code in my function.php. you can please paste the complete code with a bit of explanation because of many nobe like me.
i know many will be so grateful if this function did work. auto load more function rocks
regards
@juanmaguerrero, please let me know if this works well as i will be interested in this aswell.
regards
@megainfo, @danbrellis, please can you explain which file i need to put the above code
regards
In reply to: Don’t Inherit BP-Default CSS Child ThemeAm having this problem aswell, i just tried solution provided by @Boone, but still same thing. i have been having the problem for a while which makes me switch back to bp 1.2
In reply to: 1.5 Child Theme Not Working@mercime, your code is not working for my child theme, i dont know why. it just dont recognise my child theme custom style.css.
In reply to: 1.5 Child Theme Not Working@mercime, your code is not working for my child theme, i dont know why. it just dont recognise my child theme custom style.css.
In reply to: Remove Mentions and favioute tab@martinavive, What is the URL to your site and i will tell you css to do that.
regards
@r-a-y, can i just add the following code to my child theme function.php and define my custom css in style.css as i dont want to use default theme css.
`if ( !function_exists( ‘bp_dtheme_enqueue_styles’ ) ) :
function bp_dtheme_enqueue_styles() {}
endif;`i will like to use my custom css.
Regards