Search Results for 'theme'
-
AuthorSearch Results
-
March 20, 2016 at 6:10 pm #251561
In reply to: Member pages won’t display members. Please help!
kory27
ParticipantI turned them both off and switched to 2014 theme. I don’t have 2013 installed, but I’m skeptical that’s it anyway.
Nothing. I activated the Activity page too, nothing.
I’m quite frustrated with this plugin that’s billed to work so well with so many things, yet everyone seems to have tons of issues with it, including what is supposed to be a seamless integration with Membership Pro.
I’d love to adopt, learn, and build out upon it, but I don’t get why the simplest things that it bills itself to do, i.e. Members page, are seemingly monumental issues.
Any one have any insight into a solution?
Thanks in advance.
March 20, 2016 at 2:51 pm #251553@mcuk
ParticipantHi @mosesyoon,
If you find the file that is creating the avatar picture, wrapping the avatar code in something like this might work:
<a href="<?php bp_displayed_user_link(); ?>">AVATAR PICTURE FUNCTION/CODE HERE</a>Example below is from the buddypress cover-image-header.php file. Once you have found the file, ensure that you copy it into your child theme before making modifications.
<div id="item-header-avatar"> <a href="<?php bp_displayed_user_link(); ?>"> <?php bp_displayed_user_avatar( 'type=full' ); ?> </a> </div>(not really familiar with the blog side as i don’t use it nor do i know your site setup, so this approach is more a shot in the dark)
March 20, 2016 at 9:15 am #251542In reply to: How to display a “My Profile” page
danbp
ParticipantHi,
which theme do you use ? The blue navigation menu is not a BP reference.
On a first install, you enable BP and all pages related to default activated components are created. These pages are not ordinary pages, but dynamical pages intended for internal use only. A kind of placeholders where BP applies a specific template, depending the context.
Out of the box you have 3 BP pages in BP’s settings: Members (mandatory), Site activities, Groups.
These pages and any other created later if you use other components in addition to defaults, should stay empty, without shortcodes, content or template sssignation, CPT’s or whatever.
Just a page and a title. Anything that should appear on such pages is handled by BP’s templates (bp-themes/bp-legacy/buddypress).
For now, delete the profile page you created and clear it from trash (important).
Profiles are handled by/on the mandatory Members page. No need to create an extra page for them.
Read the install documentation for more details.
Now the user profile link. This is a dynamic link who varies for each user. Something like (your_site/members/USERNAME/profile).
Read here how you can do that.
And as you’re trying to customize BP, read the documentation about child-theme first.
March 20, 2016 at 6:19 am #251532In reply to: Registration page does not work
jrytesting
ParticipantHello, I had this same problem and this is how I fixed it. It was mentioned in this thread
(https://buddypress.org/support/topic/bad-link-to-profile-edit/)
that there may be a problem in the database table “wp_bp_xprofile_groups”. For some reason the first item id there is not “1” but something else. As you change the id to 1, everything works. Then it also shows the Profile details side Name field (required) in the registration page.Also there was a problem to edit profile, it went to “Page not found”. This gets fixed also now, now you can edit the fields.
This seems to be some kind of bug in the installing process in some circumstances. I tested this by removing the BuddyPress and also deleting the BuddyPress database tables. They must be deleted manually, they wont get out by deleting the plugin.
New installation put the first id number to “3” to “wp_bp_xprofile_groups” table. Even the group_id in the table “wp_bp_xprofile_fields” was “1” (after I activated some components in BuddyPress menu, before that the tables were empty) for the first field item. So now the field item and the group item never matched.
Hopefully this helps someone. It seems that there are a lot of discussion of this problem, and this is a very annoying problem if you are really using BuddyPress.
Basically the registering had a workaround for example by using plugin “Theme my login”. The registering also looks simpler as there is not that “extra” name field. It is however unknown how BuddyPress works without that name field. Well, but perhaps that is an another story.
March 19, 2016 at 6:49 pm #251516r-a-y
KeymasterThanks for the report.
We do support default WordPress themes, however new color schemes for default themes is something we really haven’t taken into consideration.
I’m going to ping @hnla here since he’s our resident companion stylesheet guru.
hnla – I haven’t looked into this yet, but if 2016 adds a
<body>CSS class to denote the new dark scheme, it might be possible to change our BP colors in our 2016 companion stylesheet to reflect 2016’s dark scheme.March 19, 2016 at 7:05 am #251487In reply to: Display notifications
neijisly
ParticipantI am installing ribosome theme and do the same thing, work fine. Login for see. For you: try to desactive all plugins without buddypress if no work send me the code that you have put in header
March 19, 2016 at 5:26 am #251481In reply to: Display notifications
neijisly
ParticipantOk go in editor theme, click in header.php and try to ad this code just before </nav><!– #site-navigation –>
<?php if(bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ) > 0 ) { ?>
-
<#li>
<#a href=”<?php echo bp_loggedin_user_domain() ?><?php echo BP_NOTIFICATIONS_SLUG ?>”><span style=”font-weight: bold; background: #37b5e4; padding: 2px 2px 2px 2px;”><?php echo bp_notifications_get_unread_notification_count( bp_loggedin_user_id() );
?></span> Notifications<#/a>
<#/li>
<?php } ?>
<#li>
<#a href=”<?php echo bp_loggedin_user_domain() ?><?php echo BP_MESSAGES_SLUG ?>”><?php if(messages_get_unread_count() > 0 ) { ?><span style=”font-weight: bold; background: #37b5e4; padding: 2px 2px 2px 2px;”><?php echo messages_get_unread_count();
?></span><?php } ?> Messages<#/a>
<#/li>
<#/ul>
( please delete all # symbol in this code )March 19, 2016 at 4:55 am #251480In reply to: Display notifications
sumierm
ParticipantI am using ribosome theme. You can log in to the site using the info above to see how the menu is set up, it is a bit hard to explain.
March 19, 2016 at 4:48 am #251479In reply to: Display notifications
neijisly
ParticipantWhat theme are you using? And how are you building your actual menu?
March 18, 2016 at 8:31 pm #251456In reply to: 2.5 HTML email styling not working
abuyaman
ParticipantI tried disabling BP Email using the below two links instruction on how creating bp-custom.php & disabling code:
However, I am still getting the plain text mail!
Please advise..
March 18, 2016 at 8:16 pm #251455In reply to: Custom member directory styling
kamarr
ParticipantP.S. I’ve tried adding the code from in index.php from wp-content\plugins\buddypress\bp-templates\bp-legacy\buddypress\members\index.php to the code in my themes index.php however the problem still exist.
As you stated before I believe creating another directory template in the Buddypress plugin would be best. That way the plugin could still interact within itself, pulling the proper php and css.
How can I add a custom directory to the plugin to be made available on the BuddyPress Settings page?
What file should I edit?
Is there codex on the topic?
Thanks again
March 18, 2016 at 6:38 pm #251447In reply to: How to redirect to user profile
alexandra55
Participant@bowromir thank you so much for your reply. Unfortunately, it did not work for me. It seems that there is a problem with the following function: function themename_redirect_author_archive_to_profile
shanebp
ModeratorDid you read this:
https://codex.buddypress.org/themes/bp-custom-php/‘bp-custom.php does not exist by default’
You need to create it.March 18, 2016 at 1:32 pm #251426In reply to: Custom member directory styling
danbp
ParticipantPlease donβt call out people individually (this was already told to you by @shanebp)
bp-default is no more the default theme for BP. You can use almost any other existing theme.
While testing, i recommend you to use one of the Twenty’s theme shipped with WordPress.Then to create a child theme and copy into it the needed file from wp-content/plugins/buddypress/bp-templates/buddypress/
As reminder, a page structure contains at least a header, a content and a footer template, and sometimes a sidebar, depending the theme you use.
If you open index.php from wp-content\plugins\buddypress\bp-templates\bp-legacy\buddypress\members\index.php you should get the search form in that template.
Though if you asign the Member page as home page in WP’s Read settings, you won’t have to struggle much with customization.
Read Codex attentively by starting from here.
You may also explain what you want to do exactly and tell which theme you use.
March 18, 2016 at 9:44 am #251419In reply to: How to redirect to user profile
Bowe
Participant@alexandra55 you can achieve this by adding a little snippet to your bp-custom.php or functions.php.
add_action( 'template_redirect', 'themename_redirect_author_archive_to_profile' ); function themename_redirect_author_archive_to_profile() { if(is_author()){ $user_id = get_query_var( 'author' ); wp_redirect( bp_core_get_user_domain( $user_id ) ); } }Hope this helps!
March 18, 2016 at 9:23 am #251416In reply to: cover images won’t work on 4.2.2 latest buddypress
Paul Wong-Gibbs
KeymasterHave they ever worked before for you? What plugin or theme or WordPress changes have you made since then?
March 17, 2016 at 11:24 pm #251398In reply to: Special characters in initiator.name token
richdal
ParticipantThanks for the recommendation. I tried adding that to the child-theme’s functions.php file but didn’t have an affect. I experimented a little by trying to append text and replace the problem text, but could only get the append to work. I opened a ticket.
March 17, 2016 at 11:21 pm #251397In reply to: BP_AVATAR_DEFAULT_THUMB issue
@mcuk
ParticipantHi @danbp,
Thanks for reply. Yeah I’ve already got the gravatar code in bp-custom and all the define’s here work fine apart from the
BP_AVATAR_DEFAULT_THUMBfor some reason.Is
define ( 'BP_AVATAR_DEFAULT', $img_url );supposed to change thumbnail avatars too as that is what is happening (which seems to compensate for the thumb define not working but is odd)?In addition to that, are there equivalents for setting the cover-image dimensions? The closest I have come across is the filter
apply_filters( 'bp_attachments_get_cover_image_dimensions', $wh, $settings, $component );. Is that the right one to use?Cheers
March 17, 2016 at 11:25 am #251377In reply to: 2.5 HTML email styling not working
abuyaman
ParticipantThanks Paul for your quick reply π
That’s a valid point! I am using Easy WP SMTP right now! I need to deliver situation like subscription and welcome emails..
To make clear, would you please advise which plugin is compatible with buddypress! I guess buddypress situation giving me some cool features such as user engagement. However, I wonder if it is integrated with the theme I’ve installed WPLMS since it delivers some emailing features related to courses status as well does WooCommerce.
Thanks again for your support
Cheers
AbuyamanMarch 17, 2016 at 10:44 am #251375In reply to: mytheme/buddypress not working as it should
riofriz
ParticipantHi, i am so sorry for the double post, but i have a urgent need to finish this project, and i am still stuck on the buddypress personalization. On your articles you say is the easiest thing to do, but i find it pretty complicated. Also all the guides i found are probably out to date (we are talking about stuff from 2013/2014, plenty of versions ago.
If i create a folder called buddypress (or community) and paste the bp-legacy content in there, nothing changes.
If i paste the bp-legacy content directly in the theme folder instead, the changes apply, but it looks like buddypress can’t read the stylesheets and js and nothing works.Am i missing something? Maybe i am not good in searching stuff and you have some up to date guides on how to implement buddypress on your wp theme.
Please help me out,
regards,
Fernando.March 16, 2016 at 10:09 pm #251352pattz2016
Participanthi,
I have created a child theme , named it Frontier-child and pasted the code as below. But still the WP LOGO is there.<?php
//
// Recommended way to include parent theme styles.
// (Please see https://codex.wordpress.org/Child_Themes#How_to_Create_a_Child_Theme)
//
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
wp_enqueue_style( ‘child-style’,
get_stylesheet_directory_uri() . ‘/style.css’,
array(‘parent-style’)
);
}
//
// Your code goes below
//function remove_wp_logo( $wp_admin_bar ) {
if ( !current_user_can( ‘administrator’ ) && !is_super_admin() ) {
$wp_admin_bar->remove_node( ‘wp-logo’ );
}
}
add_action( ‘admin_bar_menu’, ‘remove_wp_logo’, 999 );March 16, 2016 at 8:17 pm #251348In reply to: Names show twice on the profile cover image
Georgio
ParticipantYes, I use a child theme everytime it is possible! Thanks π
March 16, 2016 at 7:43 pm #251344r-a-y
KeymasterI cannot duplicate this problem with Theme My Login.
I’m using the default Theme My Login settings untouched and was able to go to the
registerpage and successfully submit the form with no redirections.Make sure for BuddyPress that you selected the BuddyPress “Register” page and not TMLs.
Also disable any plugins that might be interferring with registration like New User Approve, etc.
March 16, 2016 at 7:35 pm #251343In reply to: Names show twice on the profile cover image
@mcuk
ParticipantGreat π
Just remember (if you don’t know already) that when modifying code, do it in a child theme otherwise the next time you update your theme/plugins, your modifications are lost. But glad you sorted it!
March 16, 2016 at 7:08 pm #251340ngoegan
ParticipantSo, I finally got an answer on a different forum. I’m still not sure why no one here is responding, but I’ll continue the conversation in case someone else has this issue and needs help.
According to Jeff Farthing, author of Theme My Login plugin he said this can be corrected by editing the Register page, making sure the “Custom Fields” box is checked under Screen Options at the top of the page, then enter a new custom field with the name _tml_action and the value register.
I tried that and it gives me an error “Please provide a custom field value.” as if I didn’t. So I searched for a solution and everything seems to say that it has something to do with ajax and the mysql dabatase and that it was patched in MySql version 3.1.23
I checked my database and repaired it through cpanel and it still isn’t working. Still hopeful maybe someone can help… π
-
AuthorSearch Results