-
Henry replied to the topic Use standard WordPress registration in the forum How-to & Troubleshooting 11 years, 1 month ago
Did that make sense? where I said “This would work well if (2) wasn’t happening to begin with. Then again if (2) wasn’t happening to begin with you wouldn’t have the problem.” – I should have actually said (1)!
-
Henry replied to the topic Use standard WordPress registration in the forum How-to & Troubleshooting 11 years, 1 month ago
This webpage has a redirect loop
This is likely to result from two redirects in place. 1. wp-login.php is redirecting to the BuddyPress login page. 2. The BuddyPress login page is redirecting back to the wp-login.php page.
From this, I’m assuming you’re using the
firmasite_redirect_bp_signup_page
function? This would work well if…[Read more] -
Henry replied to the topic Change color of my 'post update' button in the forum How-to & Troubleshooting 11 years, 1 month ago
You can do that by adding a style to your theme’s style.css document. You’d want to add something along the lines of this:
.btn {
background-color: #888;
}This won’t work unless the button has a .btn class so it will depend on your theme.
For more info on CSS and HTML – take a look here http://www.w3schools.com/css/ and here…[Read more]
-
Henry replied to the topic No sidebars? in the forum How-to & Troubleshooting 11 years, 1 month ago
Isn’t it up to the theme author to decide if they want to include a sidebar?
-
Henry replied to the topic Making the landing page the login page in the forum How-to & Troubleshooting 11 years, 1 month ago
@bphelp yeah, you’d have to create the page “login” first of course 🙂
-
Henry replied to the topic Making the landing page the login page in the forum How-to & Troubleshooting 11 years, 1 month ago
Also you could set the static front page to the “login” page in WP Admin.
-
Henry replied to the topic Adding classes to profile fields in the forum How-to & Troubleshooting 11 years, 1 month ago
@shanebp good shout!
-
Henry replied to the topic [Resolved] How to remove ”This field can be seen by:” in the forum Creating & Extending 11 years, 1 month ago
You can just comment out the line in register.php. So long as you’re just removing text, the registration process won’t be affected.
-
Henry replied to the topic Adding classes to profile fields in the forum How-to & Troubleshooting 11 years, 1 month ago
Ah I see what you’re trying to do.
$i = '1';
if ( $items = bp_get_profile_field_data( array( 'field' => 'Budget' ) ) ) {
foreach ( $items as $item ) { ?>
<div id="<?php echo 'size-' . $i; ?>">
<?php echo $item; ?>
</div>
<?php $i++; ?>
<?php… -
Henry replied to the topic Adding classes to profile fields in the forum How-to & Troubleshooting 11 years, 1 month ago
A unique ID is easy enough, just use the loop to output a unique value. e.g.
[Read more]
$i = '1';
if ( $items = bp_get_profile_field_data( array( 'field' => 'Budget' ) ) ) {
foreach ( $items as $item ) { ?>
<!-- put what you want here -->
<?php echo 'item-' . $i; ?>
<?php echo $item; ?>
<?php $i++; ?>
<!-- put… -
Henry replied to the topic Adding classes to profile fields in the forum How-to & Troubleshooting 11 years, 1 month ago
Is budget a field that you’ve set up under WP Admin > Profile Fields? and is it of type ‘checkbox’? also are you displaying the values on the user’s profile page? if yes to all of these then this should work:
if ( $items = bp_get_profile_field_data( array( 'field' => 'Budget' ) ) ) {
[Read more]
foreach ( $items as $item ) { ?>
<!-- put what you… -
Henry replied to the topic Adding classes to profile fields in the forum How-to & Troubleshooting 11 years, 1 month ago
Hi @applegateian – I think the problem might be the snippet you’re using to output the data string.
try doing something like this:
if ( $items = bp_get_member_profile_data( array( 'field' => 'Budget' ) ) ) {
[Read more]
foreach ( $items as $item ) {
// put whatever you want here
echo $item;
// put what you want here… -
Henry started the topic Problem with setting the static front page as "Register" in the forum How-to & Troubleshooting 11 years, 1 month ago
When I set the BuddyPress registration page as the static front page in WP admin I get to visit two pages:
example.com
example.com/registerI’m seeing duplicate content.
Should I still be able to view example.com/register or should I be redirected to example.com?
Note: I don’t see this problem when setting “about” or “contact” as the static front page.
-
Henry replied to the topic Turn avatar into link to profile in an author box in the forum How-to & Troubleshooting 11 years, 1 month ago
@3rdaxis just to note that’ll work on that page only. If you want to link an avatar that’s on a member’s profile page or in the members loop for example you’ll need to use a slightly different way of getting the user’s ID.
-
Henry replied to the topic How to remove "search these" text from search form? in the forum Installing BuddyPress 11 years, 1 month ago
You can filter
bp_search_form_type_select
.This will be the general idea:
function my_select_filter ( $selection_box ) {
// do your filtering here
return $selection_box;
}
add_filter( 'bp_search_form_type_select', 'my_select_filter' );Once you’re done, pop it in your theme’s functions.php file.
-
Henry replied to the topic activity stream gone in the forum How-to & Troubleshooting 11 years, 1 month ago
A child theme of bp-default? Make sure you have copied the files and folders over exactly. So for example:
bp-default/members/single/messages/compose.php
gets copied to
your-child-theme/members/single/messages/compose.php
-
Henry replied to the topic Email after activation in the forum Creating & Extending 11 years, 1 month ago
You could also try Welcome Pack by Paul Gibbs – it allows you to send a welcome email and also customise the various more emails BuddyPress sends out:
-
Henry replied to the topic Turn avatar into link to profile in an author box in the forum How-to & Troubleshooting 11 years, 1 month ago
<a href="/members/<?php echo bp_core_get_username( get_the_author_meta( 'ID' ) ); ?>/">
// put your avatar here
</a>
-
Henry replied to the topic Search for user role in the forum Creating & Extending 11 years, 1 month ago
@shanebp could the user’s role be assigned programmatically to an xprofile field? That would then be searchable using the standard member search
-
Henry replied to the topic Separate user photo and avatar in the forum Installing BuddyPress 11 years, 1 month ago
This can’t be done using BuddyPress as it comes out of the box. You’d need a plugin or some custom code which allows users to save a image file to their profile data.
- Load More
@henrywright-1
Active 9 years, 10 months ago