Search Results for 'theme'
-
AuthorSearch Results
-
July 24, 2016 at 9:24 am #256978
In reply to: Login and registration on one page
Slava Abakumov
ModeratorBuddyPress registration page is quite big, it has a lot of inputs.
You can install a widget, called(BuddyPress) Log in. Here is info about it.
If you use Jetpack, there is a module there, that gives ability to define widgets visibility. Here are other plugins: one, two & etc.
Thus you will have ability to define, that this widget should be displayed only on Registration page in sidebar (or any widget zone that is defined in your theme).Or you can manually edit BuddyPress template files and include a shortcode or PHP code to display a login form in any place of your registration page. See docs for that.
July 23, 2016 at 3:51 pm #256970In reply to: New templates??
shanebp
ModeratorYou can overload the BP templates in your theme. Read this…
Some sections do not use ajax. Changing them to ajax will be a huge task.
July 23, 2016 at 2:49 am #256957In reply to: Error after update to 2.6.1.1
binary10
ParticipantHello @danbp. Thanks for help but
- there is no such custom function because the error stays even if I delete the bp-custom.php
there is no such function in the theme also (I am not a coder but even after deleting the theme the error stays)
I do not use a membership plugin
No such error occurs in 2.6.0. This is only in 2.6.1.1 What is going wrong?
ThanksJuly 22, 2016 at 9:54 pm #256952In reply to: toolbar will not be displayed.
danbp
Participantdashboard > BuddyPress > settings > options > Main Settings and check
Toolbar [] Show the Toolbar for logged out usersIf it still doesn’t work, check your theme settings.
You could also test with Twenty Sixteen and see if there is a difference.July 22, 2016 at 9:48 pm #256950In reply to: Error after update to 2.6.1.1
danbp
ParticipantMay be a forgotten custom function in child theme or bp-custom.php ? May be a role or a membership plugin ? Who knows ?
You have to debug !July 22, 2016 at 3:50 pm #256941In reply to: Show member’s groups in members loop
shanebp
ModeratorPut this in your theme/functions.php or in bp-custom.php
July 22, 2016 at 12:43 pm #256926In reply to: Buddypress not sending activation emails
skitzpress
ParticipantThanks for the reply @danbp
I have not built the site and I also have very little technical and coding knowledge (sorry!) I will update WordPress later but wasn’t sure how to back everything up?
There is a lot of plugins installed:Admin Menu Editor, Advanced Custom Fields,Advanced Custom Fields PRO, bbPress,BuddyPress, DropBox Folder Share, Easy FancyBox, Gravity Forms, Gravity Forms + Custom Post Types, Gravity Forms CSS Ready Class Selector, Gravity Forms Remove Entries, jonradio Multiple Themes, Login Security, Members, No Page Comment, OPcache Dashboard,Page Specific Menu Items, PHP Code For Posts, Post Types Order, Social Media Feather, Styles with Shortcodes for WordPress,
TAO Schedule Update, WordPress Importer, WP Google Maps, WP Google Maps – Pro Add-on, wp_mail return-pathAre any of these know to conflict with BuddyPress?
Not sure on the custom functions as far as I know… I’m not confident enough to debug and the site it is also live so not sure what to do?
Think I will update WordPress then disable all plugins except BuddyPress and try on a twenty theme but if that doesn’t work, which seems like the case in other past posts, I’m not sure need help!
Thanks again
July 22, 2016 at 11:44 am #256922In reply to: How to stop Topic Creation for Groups
sharmavishal
Participanti think buddyboss people would help u more on this as its their theme
July 22, 2016 at 6:40 am #256910In reply to: [Resolved] Warning: reset() error message
LavishDhand
ParticipantIt seems there is no error using any of the Twenty’s themes. I have written to my theme’s developer now.
Thank you for the help!
July 21, 2016 at 5:59 pm #256900In reply to: Buddypress not sending activation emails
danbp
ParticipantWhy is your WP not updated ? Any particular reason ?
No plugins ?
No custom functions ?
Have you tested with a twenty theme and after deactivating all plugins ?
Do you see php errors when wp_debug is activated in wp-config ?July 21, 2016 at 2:35 pm #256889In reply to: Buddypress not sending activation emails
skitzpress
ParticipantI am having this issue with BuddyPress 2.6.1.1 & bbPress 2.5.10 plugins installed
I have used the BuddyPress repair tool but it didn’t work?
Running WordPress 4.4.4 and the Sparkling theme
Any ideas as this seems to be a common issue looking back through older topics
Irony is when I forgot my password to this forum it sent an email instantly!!!
Thanks in advance
July 21, 2016 at 1:09 pm #256887In reply to: Poor Avatar quality
danbp
ParticipantBuddyPress is not Photoshop. The cropper is only cropping, ie from too big to admitted default size.
Size is dimension (150x150px), not quality (dpi).Default avatar are registered in full-size of 150×150 and 50×50 for thumbnails. Both CSS adjusted depending where the avatar is used.
Adjusting a size from to big to smaller is generally better rendered as going from too small to bigger. But once a picture is cropped, his size fits to what is setup for default_size by WP/BP or you.
Picture format: jpg or png ? In brief; jpg remain static, png is more elastic. But nothing to do with BuddyPress img
handlingdisplaying (avatar, covers).To fit img quality – from mobile to retina – you need an original picture of at least 145 dpi, what ever the size and the picture format. Actually for best quality, 300 dpi is a common usage.
But who knows what your users upload for their avatar ? A 3mo jpeg in 72 dpi 2400 x 1850 or a 30ko jpeg in 150 dpi and 800x600px ? Or an exact and optimized (default) 150X150, jpeg/145dpi of 9 ko ?
Frankly the only thing you can do in regard of “quality” pictures for BuddyPress, is to use the default size for avatars, eventually adjusted by a few more pixel because of your theme and available place.
I won’t struggle much with code but inform clearly my user to use a picture of 250×250 max for custom avatar and to respect – so far as possible – the size indicated for a cover img, for which you can recommand a dpi of 150. But without any waranty they obey your recommandations.
To adjust max cropping size, you can add this to your bp-custom.php file:
/* AVATAR MAX CROP SIZING */ define ( 'BP_AVATAR_THUMB_WIDTH', 60 ); define ( 'BP_AVATAR_THUMB_HEIGHT', 60 ); define( 'BP_AVATAR_FULL_WIDTH', 175 ); define( 'BP_AVATAR_FULL_HEIGHT', 175 );July 21, 2016 at 9:17 am #256880In reply to: Redirect site title when clicked
things15
ParticipantThanks for the reply, I think I have a similar code in my theme’s header file but as I’m new to coding & don’t know what to change so could you please provide the correct code/function where site-title is activity page regardless of the front page which I can add to the header.php under a child theme. Thanks.
Here’s my site:
July 21, 2016 at 9:03 am #256878In reply to: Struggling with Group Invites
Henry Wright
ModeratorNo worries, good luck with your theme!
July 21, 2016 at 1:54 am #256871In reply to: Struggling with Group Invites
buddycore
ParticipantI’ve published the theme for sale now, if it gets enough interest I’ll roll in support for the other areas.
Thanks for the help.
July 20, 2016 at 10:35 pm #256859In reply to: Struggling with Group Invites
buddycore
Participantmy-theme/buddypress/groups/create.php
<?php if(bp_is_group_creation_step('group-invites')) : ?> <?php do_action('bp_before_group_invites_creation_step'); ?> <?php if(bp_is_active('friends') && bp_get_total_friend_count(bp_loggedin_user_id())) : ?> <div class="left-menu"> <div id="invite-list"> <ul> <?php bp_new_group_invite_friend_list(); ?> </ul> <?php wp_nonce_field('groups_invite_uninvite_user', '_wpnonce_invite_uninvite_user'); ?> </div> </div><!-- LEFT --> <div class="main-column"> <div id="message" class="info"> <p><?php _e('Select people to invite from your friends list.', 'buddypress'); ?></p> </div> <ul id="friend-list" class="item-list"> <?php if(bp_group_has_invites()) : ?> <?php while(bp_group_invites()) : bp_group_the_invite(); ?> <li id="<?php bp_group_invite_item_id(); ?>"> <?php bp_group_invite_user_avatar(); ?> <h4><?php bp_group_invite_user_link(); ?></h4> <span class="activity"><?php bp_group_invite_user_last_active(); ?></span> <div class="action"> <a class="remove" href="<?php bp_group_invite_user_remove_invite_url(); ?>" id="<?php bp_group_invite_item_id(); ?>"><?php _e('Remove Invite', 'buddypress'); ?></a> </div> </li> <?php endwhile; ?> <?php wp_nonce_field('groups_send_invites', '_wpnonce_send_invites'); ?> <?php endif; ?> </ul> </div><!-- MAIN --> <?php else : ?> <div id="message" class="info"> <p><?php _e('Once you have built up friend connections you will be able to invite others to your group.', 'buddypress'); ?></p> </div> <?php endif; ?> <?php wp_nonce_field('groups_create_save_group-invites'); ?> <?php do_action('bp_after_group_invites_creation_step'); ?> <?php endif; ?>my-theme/buddypress/groups/single/send-invites.php
<?php /** * BuddyPress - Groups Send Invites * * @package BuddyPress * @subpackage bp-legacy */ /** * Fires before the send invites content. * * @since 1.1.0 */ do_action( 'bp_before_group_send_invites_content' ); ?> <?php /* Does the user have friends that could be invited to the group? */ if ( bp_get_new_group_invite_friend_list() ) : ?> <?php /* 'send-invite-form' is important for AJAX support */ ?> <form action="<?php bp_group_send_invite_form_action(); ?>" method="post" id="send-invite-form" class="standard-form"> <div class="invite"> <?php bp_get_template_part( 'groups/single/invites-loop' ); ?> </div> <div class="submit"> <input type="submit" name="submit" id="submit" value="<?php esc_attr_e( 'Send Invites', 'buddypress' ); ?>" /> </div> <?php wp_nonce_field( 'groups_send_invites', '_wpnonce_send_invites' ); ?> <?php /* This is important, don't forget it */ ?> <input type="hidden" name="group_id" id="group_id" value="<?php bp_group_id(); ?>" /> </form><!-- #send-invite-form --> <?php /* No eligible friends? Maybe the user doesn't have any friends yet. */ elseif ( 0 == bp_get_total_friend_count( bp_loggedin_user_id() ) ) : ?> <div id="message" class="info"> <p class="notice"><?php _e( 'Group invitations can only be extended to friends.', 'buddypress' ); ?></p> <p class="message-body"><?php _e( "Once you've made some friendships, you'll be able to invite those members to this group.", 'buddypress' ); ?></p> </div> <?php /* The user does have friends, but none are eligible to be invited to this group. */ else : ?> <div id="message" class="info"> <p class="notice"><?php _e( 'All of your friends already belong to this group.', 'buddypress' ); ?></p> </div> <?php endif; ?> <?php /** * Fires after the send invites content. * * @since 1.2.0 */ do_action( 'bp_after_group_send_invites_content' ); ?>July 20, 2016 at 6:50 pm #256854In reply to: [Resolved] Warning: reset() error message
danbp
ParticipantGive details please.
Plugins ?
Theme ?
Custom functions ?
PHP version ?When did those errors appear ?
Can you check for JS errors ? Use browser tools or Firebug…
Can also come from avatars or malformed nav items (changed since 2.6), so it might be a theme issue. Activate one of Twenty’s theme and see if errors remain.July 20, 2016 at 6:42 pm #256853In reply to: [Resolved] Rename BuddyPress Profile Nav Items
danbp
ParticipantIs your custom language file in the correct folder ?
wp-content/languages/buddypress/buddypress-en_US.moCould also be your theme who contains some BP elements ?
Or you can also try what is indicated here:
July 20, 2016 at 5:57 pm #256848augustjohnston
ParticipantDid you use a child theme for this? any other problems?
can you explain this further “and I created a field and used the jquery validation plugin to validate.”? … not sure what you mean by ‘created a field’ and I’ve never used that plugin… is it required?
Thank you!July 20, 2016 at 7:09 am #256826In reply to: Registration for the second field group
sharmavishal
Participanti guess u need one more plugin along with that..not sure though on your requirements
check this..gives a video tutorial
July 20, 2016 at 1:02 am #256823In reply to: Buddypress Profiles Display In Wrong Order
danbp
Participant@eli225, please calm down. @sharmavishal is only trying to help you !
It’s not easy trying to help people asking questions without giving much details. It’s the case with this topic and your previous. Have you even read this before asking ?
This is not possible: Buddypress Profiles Display In Wrong Order as it is not BP but the site admin who determines this.
xprofile fields and xprofile field groups (what you call section i suppose ) are drag’n’dropable.
If despite a correct positionning in the backend, the order changed on front-end, two possibilities: the drag’n’drop was to fast or there is a js error/latentency/cookie somewhere. And this is generally due to the theme in conflict with a plugin (which could be BP).
Unfortunately, kleo is a premium theme for which you can’t expect assistance here, as we have no access to it’s code.
For the part related to BuddyPress, note that the actual version works flawlesly with the xprofile component. Nobody related a similar issue to yours recently.
So back to handcrafted annoying but very related questions:
What do you call section ?
Which type of field do you use ?Also related to general debug work:
Have you tested with another theme ?
Have you tested without any other plugin as BP ?July 19, 2016 at 11:45 pm #256820In reply to: WP theme support for sidebar.php
buddycore
Participantsidebar.php files should be placed in the root if you are using
get_sidebar('name');Otherwise you can load them withlocate_template();This will also point to the theme root, and not the BuddyPress root which is located atyour-theme/buddypress. You can go straight to BuddyPress root in your child-theme by usingbp_get_template_part()You just gotta know where and when to use each one.July 19, 2016 at 11:34 pm #256818In reply to: Incorrect all member number count
knowitallnz
ParticipantHi Jrzvw,
Were you able to fix this?
I can’t find where to start a new questions so i will just add to this one?
My current site only shows the members that were active. There is 50 WP members registered but only 22 showing on ALL MEMBERS page. I feel the amount of members showing will influence the amount that will join up. SO this one time I would like to have it show all registered members and after it can just add them as they are active.
I tried :
add_filter( ‘bp_get_total_member_count’, ‘bp_core_get_total_member_count’ );in the theme function.php and also bp-custom.php BUT it did nothing.I tried a few other suggestions e.g one that did make the last activity of all users registered to be a certain time, however this made all the Members look as they are logged in. Is there any code I can insert in function.php that will show the members registered and not just the active ones?
Cheers.
BP 2.6.11
WP 4.5.3July 19, 2016 at 11:11 pm #256817buddycore
ParticipantIf you look at wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/index.php That’s the template you need to edit in order to change that text.Inside
wp-content/themes/your-theme/Make a file calledbuddypress.php. In that file add the following…<?php get_header(); ?> <?php the_post(); the_content(); ?> <?php get_footer(); ?>By default BuddyPress will use a file located in your theme that currently exists, something like
page.phpas you can read about here.By creating a
buddypress.phpwe’re telling BuddyPress to use a custom template loader for all BuddyPress pages and components. Inside that file (buddypress.php) you can do anything you like for the “wrapper” around your BuddyPress stuff. In the code example above forbuddypress.phpwe’re grabbing the content but not bringing in things like<?php the_title(); ?>like you will find in a typicalpage.phpthat most WordPress themes will have.This will remove ALL page titles from BuddyPress pages, as you now have a custom “wrapper” for those areas the plugin will use.
If you wish to remove the title on a per page basis you may simply want to do a CSS solution and do target the
bodytag with CSS and then any suitable elements in the HTML. This means you could do something like…body.activity.directory div.page-inner h2 { display: none; }If you don’t want to do a CSS solution you can then look into component detection.
Hope that helps.
July 19, 2016 at 10:24 am #256794In reply to: Customize URL in Group Widget
danbp
ParticipantThe simplest way would be to create a copy of the group widget from within your child-theme functions.php file.
By doing this you can hardcode whatever you need to the original html. Once done, you use your widget instead the original widget. Only thing you have to take care is the function name which should be unique.
And voilà.
Of course, if you are a php ninja, you can probably extend the
BP_Groups_Widgetclass to get the same result. Many examples here. - there is no such custom function because the error stays even if I delete the bp-custom.php
-
AuthorSearch Results