Search Results for 'theme'
-
AuthorSearch Results
-
March 16, 2016 at 3:11 pm #251328
In reply to: Names show twice on the profile cover image
@mcuk
ParticipantThe easiest way is to probably just use CSS on the ID of the name you wish to remove and insert into your style.css file:
#id { display: none; }(find the ID using your browser’s developer tools).
The other option is to find the file creating the second name using its ID and delete the code creating it. If it’s BuddyPress then copy the file into your child theme first before deleting. If it’s your bp-cover plugin creating it, then the approach with CSS is probably easiest.
March 16, 2016 at 12:22 pm #251323In reply to: Registration page does not work
Manuel5cc
ParticipantI am going to change my theme in a few days, I will try then and find if it was theme-related.
March 15, 2016 at 11:03 pm #251308In reply to: what widget ?
Paul Wong-Gibbs
KeymasterIt’s hardcoded. If you know how to customise a theme and write PHP, you can see the implemetnation: https://meta.trac.wordpress.org/browser/sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/functions.php#L355
bbPress does have shortcodes, I’d suggest doing that instead. I don’t know what the shortcode is, I’d suggest searching on bbpress.org.
March 15, 2016 at 7:49 pm #251300@mcuk
ParticipantThe code doesn’t remove the bar, it just removes the WordPress logo in the top left.
The code is put in your functions.php file. It is a file you create (if you haven’t already done so) and put in your child theme folder.
March 15, 2016 at 6:15 pm #251291In reply to: Compose private message issues in BP v2.5.0/2.5.1
Thorsten :-)
ParticipantHi @henrywright,
thank you for your answer. Please take a look to the screenvideo I made for you https://drive.google.com/file/d/0B04CBuSaY-1iVFNHbUlmN2FRcHM/view
As you can see, a user tries to compose a private message and enter the first letter of a friend. The name appears and the user clicks on it. You will see a space between the name and the profile symbole. The message cannot be sent.
After this, the user visits the profile of the person he wants to send a private message and clicks on private message. Now the name appears right without any space between name and profile symbole and the message can be sent successfully.
Do you understand the issue better now?
I used the theme Twenty Fourteen for testing. And unfortunately the built-in Emails in BP v2.5.1 doesn’t work for me, but can’t say why. Before I updated to BP v2.5.x everything worked like a charme and updated because of the new features inBP v2.5.x
Best Regards,
ThorstenMarch 15, 2016 at 5:55 pm #251289In reply to: Missing Add Friend Button
@mcuk
ParticipantHaven’t encountered that problem myself so wouldn’t really know where to start. The code above does work fine with notifying the person you are trying to be friends with (I’ve just double checked on my project).
Might even be a conflict with something in your theme or another plugin you are using. You could also try disabling other plugins to check if that is an issue and switching themes to one of the WordPress default themes to see if it works as it should.
Only other suggestion I can give is to start a new forum thread and maybe someone else has encountered that issue.
March 15, 2016 at 5:20 pm #251283In reply to: Missing Add Friend Button
@mcuk
ParticipantMaybe ask the wplms authors for help as to why your cover images aren’t working? I haven’t used that theme so can’t help there.
Glad you finally got there!
March 15, 2016 at 5:13 pm #251281In reply to: Missing Add Friend Button
pedrohgl18
Participantsorry for my dumb questions.
my cover imagens aren’t working 🙁 . i tried update but dont change the image.let me explain, i’m using a wlms theme and not a buddypress theme
this is what i did, first i try tu edit the files functions and cover-image-header from this folder
/public_html/wp-content/plugins/buddypress/bp-themes/bp-default
not work this way.So finally i WIN !! thanks for u ! hahaha
this is the folder u have to edit ( for future questions by another users )
i edit insite the child theme
/public_html/wp-content/themes/wplms_modern functions.php
and
/public_html/wp-content/themes/wplms_modern/members/single member-header.phpMarch 15, 2016 at 4:46 pm #251279In reply to: Missing Add Friend Button
@mcuk
ParticipantSo you are using cover images but they aren’t working? Or do you just mean the button isn’t appearing?
Since you are using cover images the second code segment (number 2 above) needs to be placed in cover-image-header.php . It won’t appear if you put it in member-header.php because that is for profiles when you haven’t activated the use of cover images.
That’s correct it won’t be in your child theme unless you’ve already put it there to make modifications. So it sounds like you need to copy the cover-image-header.php into your child theme following the same file structure. Something like:
mychildtheme>buddypress>members>single
(it goes in the single folder).
Hopefully you’ll see the button now
March 15, 2016 at 4:29 pm #251277In reply to: Missing Add Friend Button
pedrohgl18
Participantyes, i have, but doesnt work too.
and i cant find this file cover-image-header.php in my child theme, only in main theme. that’s correct ?
btw thanks for the fast replyMarch 15, 2016 at 4:05 pm #251275In reply to: Missing Add Friend Button
pedrohgl18
Participantyes, that’s what i did.
i put the first code in functions.php and the second on member-header.php of child theme.March 15, 2016 at 3:38 pm #251272In reply to: Missing Add Friend Button
@mcuk
ParticipantHi @pedrohgl18,
and another in single.php child theme too.
Do you mean you used the same code twice? i.e. one in functions.php and one in single.php?
1. This code goes in either your bp-custom.php or functions.php (preferably the bp-custom.php):
function add_another_friend_button() { $user_id = get_the_author_meta( 'ID' ); $mybutton = bp_add_friend_button( $user_id ); if ( ( is_user_logged_in() && ! bp_is_my_profile() ) ) { echo $mybutton; } } add_action( 'button_here', 'add_another_friend_button' );2. Then insert the code below into the file where you wish your button to appear:
<div id="another-friend-button"> <?php do_action( 'button_here' ); ?> </div><!-- #another-friend-button -->March 15, 2016 at 2:57 pm #251267In reply to: How to make the admin bar transparent?
@mcuk
ParticipantAlso to remove the bar itself for non admins put this in your functions.php :
function remove_admin_bar() { if ( !current_user_can( 'administrator' ) && !is_super_admin() ) { show_admin_bar(false); } } add_action( 'after_setup_theme', 'remove_admin_bar' );March 15, 2016 at 2:54 pm #251264In reply to: Missing Add Friend Button
pedrohgl18
Participanti have the same problem,
i did the same solution but didnt work.i put this code in funcions.php child theme
function add_another_friend_button() {
$user_id = get_the_author_meta( ‘ID’ );
$mybutton = bp_add_friend_button( $user_id );
if ( ( is_user_logged_in() && ! bp_is_my_profile() ) ) {
echo $mybutton;
}
}add_action( ‘button_here’, ‘add_another_friend_button’ );
and another in single.php child theme too.
any other solution ?
March 15, 2016 at 10:50 am #251245Henry Wright
ModeratorIf you use the Theme My Login plugin, you can customise the login template quite easily.
March 15, 2016 at 3:50 am #251236marcus540
ParticipantI have the exact same issue, it’s the multi-select ‘checkbox’ fields that display (0 selected) instead of the descriptive placeholder text, that tells users what they should be selecting.
I’m also using the Kleo theme however the Kleo support says it has nothing to do with the responsiveness of their theme. Which I’m inclined to believe, since changing the theme results in the same problem, like Mickey mentioned. So it must be happening somewhere in the Buddypress or BP-search form code. Can we get any help with this? There was one other topic posted 10 months ago, with the same issue and no information was received there either?
March 15, 2016 at 1:03 am #251232In reply to: How to make the admin bar transparent?
@mcuk
ParticipantAdding this to your style.css in child theme should work:
#wpadminbar { background: transparent; }March 15, 2016 at 12:50 am #251231In reply to: Minor changes to user profile edit form
richdal
ParticipantThanks! I was able to copy that to my child theme
/wp-content/themes/genbu-child/buddypress/members/single/profile/edit.php
and can do some basic edits. Not familliar with making these types of changes but how would I change up some of the form field information. As an example I wanted to add some description text next to the 3 date fields for the Birth Date. If looked like those were getting generated here…
<?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?> <div<?php bp_field_css_class( 'editfield' ); ?>> <?php $field_type = bp_xprofile_create_field_type( bp_get_the_profile_field_type() ); $field_type->edit_field_html();but not sure how to change those up.
March 14, 2016 at 6:28 pm #251213WalkerDesign1
ParticipantI revised bp-custom.php to have the following code –
<?php
// hacks and mods will go here
define ( ‘BP_AVATAR_THUMB_WIDTH’, 60 );
define ( ‘BP_AVATAR_THUMB_HEIGHT’, 60 );
define ( ‘BP_AVATAR_FULL_WIDTH’, 150 );
define ( ‘BP_AVATAR_FULL_HEIGHT’, 150 );
define ( ‘BP_AVATAR_ORIGINAL_MAX_WIDTH’, 640 );
define ( ‘BP_AVATAR_ORIGINAL_MAX_FILESIZE’, 20000 );
add_filter( ‘bp_do_register_theme_directory’, ‘__return_true’ );
?>By changing the line – define ( ‘BP_AVATAR_ORIGINAL_MAX_FILESIZE’, 20000 ); to have the numeric value of 20000 it now allows me to upload an avatar image.
But now it will now allow me to crop the image.
Error message reads – There was a problem cropping your profile photo.
March 14, 2016 at 8:27 am #251190In reply to: buddypress upload button gone
xxsemmiexx
ParticipantHi Henry,
It’s not about the theme, cause it was working fine till the last buddypress update.
but the theme that i am using is “Point” from the wordpress theme site.
http://PROUDLesbians.nlPlugins that i am using are:
Advanced Ads
Akismet
Birthdays Widget (for buddypress)
BP stickers
Code PHP in widget
Contact Form 7
Custom Login Page
Jetpack
Loco Translate
Loginizer
Quick Chat
WP Smush
WP-Optimize
YOAST Seo.March 13, 2016 at 8:23 pm #251181hellojesse
ParticipantSame thing for theme Twenty Fifteen
Into theme create /buddypress/groups/single/index-action-admin.php copy content from /buddypress/groups/single/admin.php with get_header() and get_footer()
March 13, 2016 at 4:30 pm #251173rosyteddy
ParticipantAnd how to disable the threaded reply buttons …. so that an easy UI is there ?
Any responsive theme that does this ?March 13, 2016 at 11:04 am #251165In reply to: Group forum style question
Henry Wright
Moderatorbuddypress.php is a generic template to be using. Take a look at the Template Hierarchy article for info on the various templates available to BuddyPress.
This bbPress article will also be useful: https://codex.bbpress.org/themes/theme-compatibility/
March 13, 2016 at 10:55 am #251161In reply to: Registration page does not work
Henry Wright
ModeratorI’m trying to think if there’s anything else you can check. Humm? Usually in cases such as this the problem is caused by either:
- a plugin
- your active theme
- something inside bp-custom.php (if you have one)
- something inside functions.php
It’s strange things work in Chrome but not in FF. I’m wondering if the issue could be JavaScript related?
March 12, 2016 at 10:36 am #251149In reply to: buddypress upload button gone
Henry Wright
ModeratorHi Sammy
What theme are you using and what plugins do you have activated?
-
AuthorSearch Results