-
Henry replied to the topic Displaying the search term or phrase on member search in the forum How-to & Troubleshooting 11 years, 1 month ago
OK i’ve come up with a solution but it feels dirty. Hoping someone can tell me if this approach is a bad one:
In header.php just above my search form I have
$standard_search_value = bp_get_search_default_text( 'members' );
$query_value = !empty( $_REQUEST['s'] ) ? stripslashes( $_REQUEST['s'] ) : $standard_search_value;// globalise the search…[Read more]
-
Henry replied to the topic BP site slow to load in the forum How-to & Troubleshooting 11 years, 1 month ago
Glad to see you’ve narrowed it down to the theme. It could well have been your theme loading too many resources or perhaps loading slow resources. What theme were you using?
-
Henry started the topic Displaying the search term or phrase on member search in the forum How-to & Troubleshooting 11 years, 1 month ago
Is there a function available to display the term or phrase the member has searched for?
-
Henry replied to the topic BP site slow to load in the forum How-to & Troubleshooting 11 years, 1 month ago
@micasuh BP shouldn’t add 20 seconds to the loading time so there is obviously an issue to be resolved somewhere.
Considering WP is zippy for you then that rules our your host being slow.
I’d try these steps:
1. Deactivate all plugins aside from BP (as you have already done)
2. Activate either bp-default or the Twenty Thirteen theme if you’re…[Read more] -
Henry replied to the topic BP site slow to load in the forum How-to & Troubleshooting 11 years, 1 month ago
@micasuh try running it through Pingdom to see which resource is loading slow…
-
Henry replied to the topic Disable messages autocomplete in the forum How-to & Troubleshooting 11 years, 1 month ago
I’d add it to bp-custom.php @applegateian
Be careful when enabling this on sites that have thousands of users. You might notice a slowdown in the autocomplete feature working, maybe.
-
Henry replied to the topic Disable messages autocomplete in the forum How-to & Troubleshooting 11 years, 1 month ago
Have you tried enabling autocomplete for all users?
define( 'BP_MESSAGES_AUTOCOMPLETE_ALL', true );
-
Henry replied to the topic Custom field update form in the forum How-to & Troubleshooting 11 years, 1 month ago
@martinbeaulne how are you processing your new form?
-
Henry replied to the topic BP site slow to load in the forum How-to & Troubleshooting 11 years, 1 month ago
@jf_trumpet what exactly is running slow? If the site is accessible you can run it through the Pingdom speed check at http://tools.pingdom.com to see what resource is loading slowly.
WordPress is very zippy as it arrives out of the box – try deactivating BuddyPress to see if there is any improvement in load speed. That way you’ll know if it is…[Read more]
-
Henry replied to the topic oEmbed needs line breaks? in the forum Ideas 11 years, 1 month ago
If you right-click on the video in Chrome you can usually find the option to “inspect element”. This will let you see the HTML. The next step is to use CSS to ‘style’ the HTML.
If you’re just starting out with HTML and CSS, then try taking a look over at w3schools:
http://www.w3schools.com/html/
They’ve got some…[Read more]
-
Henry replied to the topic oEmbed needs line breaks? in the forum Ideas 11 years, 1 month ago
Anyway, everything aside, have you thought about using CSS to style the HTML you’ve got?
-
Henry replied to the topic oEmbed needs line breaks? in the forum Ideas 11 years, 1 month ago
@number_6 just took a look through the plugin you’ve linked to. You’re right, it is modifying the HTML that you’re pulling from YouTube. So what you’re asking can be done easily enough. Have you asked the plugin author to modify the plugin for you?
-
Henry replied to the topic oEmbed needs line breaks? in the forum Ideas 11 years, 1 month ago
BuddyPress doesn’t rely on 3rd-party support as far as I know. oEmbed support is provided by WordPress.
Take YouTube for example. If you paste a YouTube video’s link into your blog post, your WordPress blog (the consumer) will make a request to YouTube (the provider). YouTube then responds with an oEmbed response. The HTML therefore…[Read more]
-
Henry replied to the topic oEmbed needs line breaks? in the forum Ideas 11 years, 1 month ago
I’m not 100% sure on this but isn’t it down to the oEmbed vendor to pass across the HTML markup once a request is made?
-
Henry replied to the topic Use standard WordPress registration in the forum How-to & Troubleshooting 11 years, 1 month ago
@starapple Did you try the function r-a-y wrote?
function my_disable_bp_registration() {
remove_action( 'bp_init', 'bp_core_wpsignup_redirect' );
remove_action( 'bp_screens', 'bp_core_screen_signup' );
}
add_action( 'bp_loaded', 'my_disable_bp_registration' );
You’d need to remove all the code you’ve added first then try adding that to…[Read more]
-
Henry replied to the topic Customising text outputted by bp_members_pagination_count() in the forum How-to & Troubleshooting 11 years, 1 month ago
will do!
-
Henry replied to the topic i cant get to the backend of my site in the forum Installing BuddyPress 11 years, 1 month ago
Try going to
yoursite.com/wp-admin
Hopefully you’ll be already logged in.
Else try logging in at:
yoursite.com/wp-login.php
Then the first link should work
-
Henry replied to the topic Customising text outputted by bp_members_pagination_count() in the forum How-to & Troubleshooting 11 years, 1 month ago
@hnla thanks. Could be the .pot file I’m using? i’ll try again with a fresh copy.
-
Henry started the topic Customising text outputted by bp_members_pagination_count() in the forum How-to & Troubleshooting 11 years, 1 month ago
On the members loop page
bp_members_pagination_count()
outputs something like:Viewing member 1 to 45 (of 45 active members)
I’m using a language file to customise labels like that but this particular label doesn’t seem to be customisable. Is anyone else who uses a language file able to verify this before I raise a bug report?
Thanks in…[Read more]
-
Henry replied to the topic [Resolved] Extend bp_members() – Custom Query in the forum Creating & Extending 11 years, 1 month ago
Hey @zintax
Have you tried hooking to the
bp_ajax_querystring
filter? This is a good way of modifying both the loop and the pagination.Hope this gives you a few ideas:
function modify_loop_and_pag( $qs=false, $object=false ) {// comma sep list of users to exclude from loop and pagination
$users = '1,2,3';if ( $object !=…[Read more]
- Load More
@henrywright-1
Active 9 years, 10 months ago