-
Henry replied to the topic Confirmation Message in the forum Installing BuddyPress 11 years ago
Hey @mercime
The answer on Stack Overflow changes the subject line and body text of the activation email. The text @derock299 would like to change is displayed on the registration page (registration.php template). Probably worth changing both though, for a complete custom look and feel 🙂
-
Henry replied to the topic Confirmation Message in the forum Installing BuddyPress 11 years ago
You could use a language file. See this article for more info:
-
Henry replied to the topic Image gallery plugin with buddypress in the forum Third Party Plugins 11 years ago
I have to agree with @danbp‘s rtMedia suggestion. It is one of the best media plugins I have come across. That said, I haven’t had the chance to use the Pro version yet.
-
Henry replied to the topic Extra Stylesheets & Javascript being added in the footer? in the forum How-to & Troubleshooting 11 years ago
Hi @unit9
You’re right.
<?php do_action( 'bp_footer' ); ?>
and<?php do_action( 'bp_after_footer' ); ?>
are points at which things can be inserted. If you want to remove (dequeue) the CSS documents and script, you can useremove_action()
See this helpful tutorial on how to remove scripts and…[Read more]
-
Henry started the topic Noindex members directory subpages in the forum How-to & Troubleshooting 11 years ago
Does anyone know of a way to noindex members directory subpages?
I’d like
example.com/members/
to appear in Google’s search results but notexample.com/?upage=2
andexample.com/?upage=3
andexample.com/?upage=4
etc -
Henry replied to the topic Pages semi-transparent in the forum How-to & Troubleshooting 11 years ago
Have you tried
opacity: 0.5;
-
Henry replied to the topic [Resolved] Filter for notifications slug in the forum How-to & Troubleshooting 11 years ago
Thanks @djpaul
-
Henry replied to the topic Filtering bp_format_time in the forum How-to & Troubleshooting 11 years ago
Ah got ya! Thanks @shanebp i’m on your wavelength now.
$date
being a string I can perform some operations on. -
Henry replied to the topic Filtering bp_format_time in the forum How-to & Troubleshooting 11 years ago
I’m actually looking at formatting the date in private messages and in that case WP doesn’t call the function with
true
.$just_date
is set to false by default so that part is all good.as you say I think i’ll have to write my own custom
bp_format_time
function. Thanks for your help! -
Henry replied to the topic 'THIS WEBPAGE HAS A REDIRECT LOOP.' in the forum How-to & Troubleshooting 11 years ago
@tatjanalekic glad you got to the bottom of the problem!
-
Henry replied to the topic Filtering bp_format_time in the forum How-to & Troubleshooting 11 years ago
Hi @shanebp
If you take a look at the
bp_format_time
function (I have copied to Pastie.org for easy access) you’ll see the$date
variable that is being returned needs both the$date
and$time
variables (see line 22):return apply_filters( 'bp_format_time', $date )
only seems to allow me to pass$date
to my filter…[Read more] -
Henry started the topic Filtering bp_format_time in the forum How-to & Troubleshooting 11 years ago
I’m trying to filter
bp_format_time
inbp-core-template.php
apply_filters( 'bp_format_time', $date );
allows me to pass$date
to my filter function but surely I need to pass the$time
variable as well? Not entirely sure how this can be done? -
Henry replied to the topic 'THIS WEBPAGE HAS A REDIRECT LOOP.' in the forum How-to & Troubleshooting 11 years ago
Redirect loops are pesky. Try deactivating all plugins, 1 by 1 until you find the culprit. By default – BP doesn’t cause redirect loops so it is highly likely a plugin is to blame.
Perhaps you have a HTTPS plugin installed?
-
Henry replied to the topic Redirect for members re entering a community in the forum Installing BuddyPress 11 years ago
@yvonnetaylor no problem! I like your site by the way, I have a golden retriever 🙂
-
Henry replied to the topic Page not found error on wordpress pages in buddypress in the forum Showcase 11 years ago
Have you tried Using the default theme to see if the problem happens? You should deactivate all plugins too, 1 by 1 until you find the source of the problem.
-
Henry replied to the topic Redirect for members re entering a community in the forum Installing BuddyPress 11 years ago
the way that I have the site at the moment if the user wants to click out of the community to other parts of my site there is no way back in unless they log out first
This isn’t standard behaviour. Does this happen when you’re using the default theme?
To redirect logged in users away from community page, try adding this snippet to your theme’s…[Read more]
-
Henry replied to the topic Page not found error on wordpress pages in buddypress in the forum Showcase 11 years ago
@gyan-gaurav I navigated around for about 2 minutes and didn’t come across page not found at all.
-
Henry replied to the topic Redirect for members re entering a community in the forum Installing BuddyPress 11 years ago
So let me see if I understand what you’re trying to do.
If a user is logged in and visits your community page
http://www.thedogsclub.com/testing/community/
you would like them to be redirected to the member’s activity pagehttp://www.thedogsclub.com/members/username/activity
If a logged out user visits the community page then…[Read more]
-
Henry replied to the topic Restricting User Group Profiles in the forum How-to & Troubleshooting 11 years ago
Ah, you want profile group not profile field. Sorry. But it shows you the general way PHP can be used
-
Henry replied to the topic Restricting User Group Profiles in the forum How-to & Troubleshooting 11 years ago
Well first you’d need to write some code
// find the user's role
$user = new WP_User( bp_displayed_user_id() );
$role = $user->roles[0];// find the profile field value you want
$location = bp_get_profile_field_data( 'field=Location' );// perform a conditional check making sure the user has a specific role and has completed the profile field…[Read more]
- Load More
@henrywright-1
Active 9 years, 10 months ago