Search Results for 'theme'
-
AuthorSearch Results
-
November 5, 2015 at 11:23 pm #246408
In reply to: Breaking Media and a few other things: error message
shanebp
ModeratorHow are you creating the custom taxonomy pages?
re: ‘We get this annoying error’ – yes it is annoying.
It also indicates that something is calling BuddyPress or a WP user function too early in the load process – usually via a hook.
Unfortunately, many themes and plugins do that and there is no warning – but BP will issue the warning.
Tracking down the culprit can be difficult.That warning notice will not appear if you are only using WP and BP with a standard WP theme like 2015.
November 5, 2015 at 10:20 am #246375Topic: Unable to create new groups
in forum How-to & Troubleshootingmushroominternet
ParticipantI have a Buddypress installation on a WP multi-site. Everythings working great but the Groups. I currently have 8 groups, however when I try to create a new one something strange is going on.
Once I’ve choosen a group name and description the next step seems to be missing (See image below)
http://i0.simplest-image-hosting.net/picture/group-fail.pngAfter I click Finish I get taken to this screen confirming ‘Are you sure you want to do this?’ (See image below)

The starnge thing is that once I click try again the group gets added but seems to remove another group in it’s place. This means everytime I try to add a new group one get’s removed. The groups are all in the database but for some reason Buddypress only ever shows 8 groups.
I’m running a custom built theme built on top of the default 2012 theme. I have tried disabling all plugins but Buddypress, and reverting to the default theme with no luck. I have also uninstalled Buddypress and reinstalled it but that didn’t work either.
Any help would be greatly appreciated.
November 4, 2015 at 10:52 pm #246369In reply to: Custom Hook Help
shanebp
ModeratorI just tested it and it works properly. [ Don’t use an ‘exit’. ]
function test() { echo "<br>test worked!<br>"; } add_action('bp_after_registration_confirmed', 'test');Are you using a custom register page?
If so, does it have the do_action hook you’re trying to use?Also try it with a standard WP theme like 2015.
November 4, 2015 at 9:42 am #246354In reply to: change the registration page text
danbp
ParticipantHi,
this can be done by template overload and a child-theme.
November 3, 2015 at 2:47 pm #246305In reply to: Custom Hook Help
shanebp
ModeratorAfter you register a user, do you see a message that starts with You have successfully created your account! ?
If you do, your function should work.
You could try putting it in the theme/functions.php
Putting code directly into a template is okay if you create a template overload.
November 2, 2015 at 5:29 pm #246262shanebp
ModeratorThe right way is to use a template overload.
November 2, 2015 at 9:23 am #246232In reply to: Displaying cover image BuddyPress 2.4
danbp
ParticipantPlease, read a possible answer in this new codex article:
November 1, 2015 at 8:53 pm #246215In reply to: Can’t upload Group Avatars
Plucker
ParticipantHi shane, thanks for the very prompt response – I’m getting nothing on screen with debug on and nothing in the file if I also switch the debug log file on.
This is with BuddyPress active, bbpress de-activated and with t013 theme and no other plug-ins installed.
I have the same (or very similar) error with member avatars.
Upload Failed! Error was: The uploaded file could not be moved to wp-content/uploads/avatars/1/avatars/1.November 1, 2015 at 7:00 pm #246212In reply to: Number of comments on that entry
slawek247
ParticipantHello again.
Thank you very much, it helped me a lot and it works fine.
But after click in “Load More” in bottom of page, older post has been loaded. Then thoses posts are loaded with all comments. Seems, the function bp_legacy_theme_hide_comments does not work for load more. Can you confirm it? Or maybe it’s a kind of bug, or maybe other other function is responsible for this? (I tried to find some other function but without success).Thank you in advance.
November 1, 2015 at 4:43 pm #246207In reply to: Can’t upload Group Avatars
shanebp
ModeratorThat is odd.
It’s difficult to suggest a solution when replicating the issue is nigh impossible.
But maybe more info about the issue can be generated…Try using a WP theme like 2013, deactivating bbPress and turning debug on in wp-config.php
https://codex.wordpress.org/WP_DEBUGThe file is getting uploaded to “wp-content/uploads/group-avatars/4/” but doesn’t appear on the group.
Does anything appear on the group? View source or use a browser code inspector to take a close look.
October 31, 2015 at 11:55 pm #246192In reply to: Customizing group creation
paragbhagwat
ParticipantOk i figured out part question 1 and 2. Basically i copied create.php in my theme and customized the text as needed. Now the remaining questions are
1)Add additional tab or fields to existing tab for the group.
2) I want to enforce each group having a forum is there a way i can remove the section?Thanks,
paragOctober 31, 2015 at 10:39 pm #246190In reply to: Number of comments on that entry
Brajesh Singh
ParticipantHi,
You need to override this js functionbp_legacy_theme_hide_comments(There are many ways to do it. You can either put the following code in your theme’s js file
function bp_legacy_theme_hide_comments() { var comments_divs = jq('div.activity-comments'), parent_li, comment_lis, comment_count; var max_show = 2; if ( !comments_divs.length ) { return false; } comments_divs.each( function() { if ( jq(this).children('ul').children('li').length < max_show ) { return; } comments_div = jq(this); parent_li = comments_div.parents('#activity-stream > li'); comment_lis = jq(this).children('ul').children('li'); comment_count = ' '; if ( jq('#' + parent_li.attr('id') + ' a.acomment-reply span').length ) { comment_count = jq('#' + parent_li.attr('id') + ' a.acomment-reply span').html(); } comment_lis.each( function(i) { /* Show the latest 5 root comments */ if ( i < comment_lis.length - max_show ) { jq(this).addClass('hidden'); jq(this).toggle(); if ( !i ) { jq(this).before( '<li class="show-all"><a href="#' + parent_li.attr('id') + '/show-all/" title="' + BP_DTheme.show_all_comments + '">' + BP_DTheme.show_x_comments.replace( '%d', comment_count ) + '</a></li>' ); } } }); }); }or you can put the following php code in your bp-custom.php/functions.php
function buddydev_override_legacy_theme_hide_comments_js() { ?> <script type="text/javascript"> function bp_legacy_theme_hide_comments() { var comments_divs = jq('div.activity-comments'), parent_li, comment_lis, comment_count; var max_show = 2; if ( !comments_divs.length ) { return false; } comments_divs.each( function() { if ( jq(this).children('ul').children('li').length < max_show ) { return; } comments_div = jq(this); parent_li = comments_div.parents('#activity-stream > li'); comment_lis = jq(this).children('ul').children('li'); comment_count = ' '; if ( jq('#' + parent_li.attr('id') + ' a.acomment-reply span').length ) { comment_count = jq('#' + parent_li.attr('id') + ' a.acomment-reply span').html(); } comment_lis.each( function(i) { /* Show the latest 5 root comments */ if ( i < comment_lis.length - max_show ) { jq(this).addClass('hidden'); jq(this).toggle(); if ( !i ) { jq(this).before( '<li class="show-all"><a href="#' + parent_li.attr('id') + '/show-all/" title="' + BP_DTheme.show_all_comments + '">' + BP_DTheme.show_x_comments.replace( '%d', comment_count ) + '</a></li>' ); } } }); }); } </script> <?php } add_action( 'bp_after_activity_loop', 'buddydev_override_legacy_theme_hide_comments_js' );Both will work. you can change the max_show to any value. Hope that helps.
October 29, 2015 at 10:52 am #246117In reply to: CSS for Registration Form
William
ParticipantNow, there is a “Custom CSS” section in my Theme. Will pasting the modified code there work?
I’m not sure give it a try.
October 28, 2015 at 9:33 pm #246106In reply to: Issues with messages page
shanebp
ModeratorIt looks like an issue with your theme.
To confirm – try switching to a WP theme like 2015 and see if the problem remains.October 28, 2015 at 7:04 pm #246100In reply to: CSS for Registration Form
konberg
ParticipantPhew, it worked this time! After I saw it in IE!!! Thank you, William!!
I am not sure if it was your code that helped – because other fields, not radio boxes, also got lowercased. Perhaps, it was this code that i found in style.css
form p{
text-transform: uppercase;
margin: 15px 0;
display: block;
width: 100%;
}I simply replaced uppercase with none.
Now, there is a “Custom CSS” section in my Theme. Will pasting the modified code there work? It did for other things in my Child theme? Thank you again!!!
October 28, 2015 at 5:57 pm #246099In reply to: CSS for Registration Form
William
Participant@konberg you probably did not create the child theme properly. Try pasting that code directly in “style.css” of your active theme and see if it works. Don’t paste it in child theme first.
I tested the code from my end and it worked.
It’s also likely that your web browser has cached your website. Try clearing the cache, restart your browser, and see if you notice the changes. If that does not work try visiting the website from another web browser such IE, Google Chrome, Firefox etc. You can even use a different computer to do so.
October 28, 2015 at 3:52 pm #246097In reply to: CSS for Registration Form
Henry Wright
ModeratorUnfortunately, this code did not work at all 🙁
Likely you’ll need to change the selector
#buddypress .standard-form div.radio div labelso that it’s appropriate for the theme you’re using.October 28, 2015 at 3:37 pm #246096In reply to: Hide All Admins from All Buddypress Activities
shanebp
Moderator
…which I have uploaded to the root of the buddpress folder
It should go in the root of the plugins folder.
October 28, 2015 at 2:48 pm #246095In reply to: CSS for Registration Form
konberg
Participanthi William,
This is the best advice I have seen so far, thank you so much! Unfortunately, this code did not work at all 🙁
Yes, I am using the child theme and I did it in active folder (child theme’s folder).
October 28, 2015 at 9:53 am #246090In reply to: Help loop activities
William
Participant@RafVin Here’s how to hide “All Members” tab with CSS.
Find a file called “style.css” in the wordpress active theme, add the code below and re-upload the file.
#buddypress div.item-list-tabs ul li.selected a { display: none !important; }Warning! When you update your theme, you’ll loose these CSS changes so try doing this in a child theme if you’d like to retain the changes when you update your theme.
Showing custom tasks under personal? Well that requires some custom PHP coding or probably a plugin. Hopefully, someone will help you with this.
October 28, 2015 at 9:37 am #246089In reply to: CSS for Registration Form
William
Participant@konberg find a file called “style.css” in the wordpress active theme, add the code below and reupload the file.
#buddypress .standard-form div.radio div label { text-transform: lowercase; }Warning! When you update your theme, you’ll loose these CSS changes so try doing this in a child theme if you’d like to retain the changes when you update your theme.
Let me know if that works.
October 28, 2015 at 2:40 am #246085In reply to: Buddypress in multisite
mrjarbenne
ParticipantI’m not sure what you mean by the “Top Tab Recipe”. If your theme is adding a custom post type, then you need to register that post type in order for it to populate the activity stream, and the user profile activity. BP should do exactly what you are looking to do once you do that: https://codex.buddypress.org/plugindev/post-types-activities/ Maybe your theme is doing this for you already if you are seeing activity generated when you post a recipe in the custom post type area.
Your alternative idea in the last paragraph would also certainly work. You don’t need multisite for that. Make every member of your community an Author on the main site: everything they publish will appear in the Custom Post Type “Recipes” archive, along with all the posts appearing on each users profile: this is their customized space, particularly once header profile images launch in BP 2.4. This would also give you more control over the experience. You could create a publishing checklist to make sure all the recipes are categories and tagged appropriately: https://github.com/danielbachhuber/Post-Checklist
October 27, 2015 at 9:25 pm #246079In reply to: CSS for Registration Form
konberg
ParticipantGee, guys, thanks for not helping at all.
The name of the element is exactly what I am trying to figure out. If my registration form looks like thisL
WHAT IS YOUR GENDER
[] MALE
[] FEMALEI am trying to change words MALE and FEMALE to lowercase. I went through ALL CSS files in my theme, and tried replacing text-transform: uppercase with text-transform: none but it did not help at all!
So more specifically, my questions are:
1) what exactly controls the lowercase/uppercase of profile field answer options. Something like this:
#buddypress .standard-form #basic-details-section – but what the hell exactly and howand
2) where to find itThank you!
October 27, 2015 at 9:08 pm #246078In reply to: Buddypress send PM not refreshing after sent.
shanebp
ModeratorMembers need to be logged in before they can send a PM.
If you’d like to provide a user / pw, somebody might take a closer look.You’re using a custom theme – does its member-header.php include
do_action( 'template_notices' );?
If not, the feedback messages will not appear.October 27, 2015 at 3:22 pm #246059In reply to: Error Logs with BuddyPress
shanebp
Moderatori’ve discussed this with the theme creators and was told it was an issue with the plugin.
Try switching to a WP theme like 2015.
Do the warnings stop appearing?
If so, then the problem is caused by something in your preferred theme. -
AuthorSearch Results