Search Results for 'buddypress'
-
AuthorSearch Results
-
September 16, 2013 at 2:59 am #171365
In reply to: How to change group avatar?
Eric J T
Participantthis page
https://codex.buddypress.org/user/setting-up-a-new-installation/group-settings-and-roles/
Says there’s supposed to be a place admins can change group avatars and do other things, but the functionality listed is nowhere to be found in the installation. What’s going on with this? If a user creates a group and doesn’t use their one chance to upload a group avatar there seems to be now way to change it.
September 16, 2013 at 2:40 am #171364In reply to: Why are display name char amounts not limited?
modemlooper
ModeratorIf you don’t want to edit core files then create the same files in your theme folder with the same folder structure and those files will override BP.
copy file from:
buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/edit.php
to:
your-theme-folder/buddypress/members/single/profile/edit.php
September 16, 2013 at 2:36 am #171363In reply to: Why are display name char amounts not limited?
modemlooper
Moderatoropen file edit.php in buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/edit.php
find:
<?php if ( ‘textbox’ == bp_get_the_profile_field_type() ) : ?> <label for=”<?php bp_the_profile_field_input_name(); ?>”><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( ‘(required)’, ‘buddypress’ ); ?><?php endif; ?></label> <input type=”text” name=”<?php bp_the_profile_field_input_name(); ?>” id=”<?php bp_the_profile_field_input_name(); ?>” value=”<?php bp_the_profile_field_edit_value(); ?>” <?php if ( bp_get_the_profile_field_is_required() ) : ?>aria-required=”true”<?php endif; ?>/> <?php endif; ?>change to:
<?php if ( ‘textbox’ == bp_get_the_profile_field_type() ) : ?> <label for=”<?php bp_the_profile_field_input_name(); ?>”><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( ‘(required)’, ‘buddypress’ ); ?><?php endif; ?></label> <input <?php if ( bp_get_the_profile_field_input_name() == ‘field_1′) : ?>maxlength=”10″<?php endif; ?> type=”text” name=”<?php bp_the_profile_field_input_name(); ?>” id=”<?php bp_the_profile_field_input_name(); ?>” value=”<?php bp_the_profile_field_edit_value(); ?>” <?php if ( bp_get_the_profile_field_is_required() ) : ?>aria-required=”true”<?php endif; ?>/> <?php endif; ?>that will limit the profile username form field. To limit the sign up name you add maxlength to the register.php form input for username. change max length to however long you want to cut the name off at.
<input maxlength="10" type="text" name="signup_username" id="signup_username" value="<?php bp_signup_username_value(); ?>" />September 15, 2013 at 11:04 pm #171355@mercime
Participant@gearmx whether BP is installed or not, only the Site/Super Admin can delete a member (delete_users, remove_users). Group Administrators can already Kick and Ban the member from the group and can contact Site Admin to delete the users if necessary. Having said that, if you still want WP Author roles to have capability of deleting users, contact plugin author or check if your Role Scoper plugin can add the function to delete a member by anyone with Author role.
September 15, 2013 at 8:51 pm #171353In reply to: User registration on multisite
@mercime
ParticipantSeptember 15, 2013 at 8:48 pm #171352In reply to: User registration on multisite
@mercime
Participantclosing duplicate of https://buddypress.org/support/topic/user-registration-on-multisite-2/
September 15, 2013 at 8:24 pm #171350palmdoc
ParticipantSeptember 15, 2013 at 7:43 pm #171349@mercime
ParticipantIf there’s a tutorial on how to convert the default pages into buddypress ones I’d take that too.
@ptvstudios BuddyPress components are in fact inserted into the default pages (page.php) of WordPress themes and have only the basic styles so that the elements of the BP components would take on the styles set up by your theme for a more seamless integration.If the BP pages are showing as full-width, it could most probably be because the default page of your premium theme is full-width in the first place. To make all BP pages 2 columns, find your theme’s template with a 2-column layout and copy source code over to a new file named buddypress.php, save and then upload buddypress.php to your theme folder in server. If this doesn’t work out for you, please contact the premium theme author to help you set up the buddypress.php file to 2 columns. Good luck!
September 15, 2013 at 2:25 pm #171347In reply to: Sitewide Activity
rameshwor.maharjan
ParticipantMy problem is I don’t want to display user specific activities. it should list all the activities regardless of which page you are on. However I have found the solution. On members profile page it takes scope=only-me parameter by default which forces to load activities from current logged in user. Below is the completed plugin for my project which I uploaded to WordPress.
Cheers!!! and thanks for the help.
https://wordpress.org/plugins/buddypress-activity-sidebar-widget-resubmission/
September 15, 2013 at 3:22 am #171342GearMX
ParticipantIf anyone has any advice, it’s much appreciated… if I can better explain:
I want authors of groups to add/delete members to their group, but they disappear on the dashboard (when not Admin)
September 14, 2013 at 10:33 pm #171339resistoyen
ParticipantThanks you a lot, apparently i solve the problem now by changing more the style.css of the child theme.
Here’s the working code of style.css but it needs the change of buddypress.php that @mercime gave us previously. The code may not be perfect as i copyed what i found on the net + i added a code that is present in the main style.css of oxygen theme, which refers to the full-width layout.
/* Theme Name: Oxygen Child Theme Author: Self-Help WordPress User Template: oxygen */ @import url("../oxygen/style.css"); #tertiary { display: none; } #content { margin-right: 0 !important; } .bp-full-width { width: 100% !important; } .bp-full-width #content { width: 100%; } .content-wrap { float: right; width: 79.78723404255319%; /* 750 / 940 = 0.79787234042553 */ } .bp-full-width{ width: 100%; } #content { float: left; width: 62.66666666666667%; /* 470 / 750 = 0.6266666666666667 */ margin: 0 0 30px 0; } .aside { float: left; width: 17.02127659574468%; /* 160 / 940 = 0.1702127659574468 */ } #sidebar-primary { float: left; width: 100%; /* 160 / 940 = 0.1702127659574468 */ } #sidebar-secondary { float: right; width: 33.33333333333333%; /* 250 / 750 = 0.3333333333333333 */ }Thanks again @mercime !!
September 14, 2013 at 8:01 pm #171336In reply to: hub.jmonkeyengine.org – Game engine community site
Unsal Korkmaz
ParticipantErlend, i would suggest you to wait commercial release for group customization. I am preparing those content blocks to work in user profiles & buddypress groups.
For people interesting, this is an example of content block usage in bbpress replies: http://theme.firmasite.com/support/topic/firmasite-as-a-childtheme/#content_block5
Think about using this in user profiles & buddypress groups !!September 14, 2013 at 6:31 pm #171334resistoyen
ParticipantThx a lot for you help here. There is some change but it’s not working yet.
Though, this is encouraging as it have now an effect, but not the good one.Here’s the screenshots of 2 tests
The code of my style.css of child theme
/* Theme Name: Oxygen Child Theme Author: Self-Help WordPress User Template: oxygen */ @import url("../oxygen/style.css"); .bp-full-width { width: 100% !important; }The effect is different: the bar go to left just under the main menu, which is the right place where it should be ! But the bar remains too little. I got the same effect with a 940 px width, which is the normal px of the full-width of oxygene.

Then i tryed to put 1500 px, or 200% to see if the bar go longer :

I searched for like one hour or two by now on google to find the right thing & still trying. I also tryed on main theme, changing the stylesheet. Same effect.
Here’s the codes of all this documents.
buddypress.php : http://pastebin.com/xs8BUN14
Again, thanks for your help
September 14, 2013 at 6:21 pm #171333In reply to: Problem Adding New Members to a Group
mirgcire
Participant@bp-help
Thanks for the suggestions, but, those manuals did not help. They did give me lots of things to divert my attention when I should have been working on solving this issue.
I am still trying to add someone to a group.
It seems there are two ways people can become users of a site, the first is to have the admin register them with “add user” and the other way is to allow them to self register. Currently I am exploring self registration, but still haven’t figured out what role buddypress plays in the registration process.
September 14, 2013 at 1:47 pm #171329In reply to: Leave Groups button appearing twice.
catwomanbadkitty
ParticipantI’m having the same problem on Buddypress 1.8.1 and latest WP 3.6. I am using Suffusion as my theme. The Leave Group button is appearing twice on the Groups list page on each group description.
To fix this I went into my child theme folder and edited groups/groups-loop.phpI deleted the following:
Line 40 <?php bp_group_join_button() ?>
Line 46 <?php do_action( ‘bp_directory_groups_actions’ ) ?>
If you do this then users will not be able to join groups from the Groups list page but will have to click on the link for a group and then click the Join Group button from the Group description page. If you want to keep a Join/Leave group button on the Group list page then you will have to experiment with leaving line 46 most likely.
September 14, 2013 at 2:52 am #171316@mercime
ParticipantI created a buddypress.php by copying the code tooked from the page-template-fullwidth.php. It didn’t work
@resistoyen sometimes it doesn’t work right away. To continue, using this page as reference:
https://themes.trac.wordpress.org/browser/oxygen/0.5/page-template-fullwidth.php?rev=24186a) Remove the following from your buddypress.php file
Line 3: Template Name: Full Width
Line 13-17:<div class="aside">to closing</div>b) Change Line 21 from
<div class="content-wrap">
to
<div class="content-wrap bp-full-width">c) Add this to your theme’s stylesheet
.bp-full-width { width: 100% !important; }September 14, 2013 at 12:11 am #171315September 13, 2013 at 11:19 pm #171314valuser
ParticipantSeptember 13, 2013 at 11:01 pm #171313danbp
Participanthi @valuser,
the bp_is_blog_page function is missing to hide the calendar when on BP pages.
The place with the weird output contains an overcomplicated method to show a title. IMHO there is no need to use so many conditionnals to show a post title…. So I replaced it by the h1 stuff used in Twenty Thirteen.
You will probably need some adjustment into CSS too. So far i can see there is no other trouble with BP. Nice theme !
remove/replace the following into /partials/part_article_header.php
<?php // Article calendar if ( bp_is_blog_page() ) : // if it returns true, it's not a BP page. if (!is_page() && !is_search()) : ?> <div class="calendar event_date"> <span class="month"><?php echo strtoupper(get_the_date('M')); ?></span> <span class="day"><?php echo get_the_date('d'); ?></span> <span class="year"><?php echo get_the_date('Y'); ?></span> </div> <?php endif; endif; // ending bp_is_blog_page ?> <h1 class="entry-title"> <?php if ( is_single() ) : ?> <?php the_title(); ?> <?php else : ?> <a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a> <?php endif; ?> </h1>September 13, 2013 at 10:27 pm #171312In reply to: How to add sidebar widgets to my activity streams?
rameshwor.maharjan
ParticipantSeptember 13, 2013 at 9:08 pm #171305In reply to: remove “activity” tab from user profile
catwomanbadkitty
ParticipantThe above plugin does not exist and the code must be outdated.
I am on Buddypress 1.8.1 and WordPress 3.6. I want to remove Activity from the member profile. I was able to style it out by placing the following into my childtheme CSS file:
#user-activity {
display: none;
}I then made my Profile tab display first using the following in bp-custom.php:
// define the profile tab that opens by default
define( ‘BP_DEFAULT_COMPONENT’, ‘profile’ );So activity does not appear, however if you type in the URL: mysite/members/username/activity the Activity stream is still there.
Any best practices for getting rid of Activity in the Profile.
I also want to make changes to the main Activity stream and Group Activity stream so a point to good resources would be great.September 13, 2013 at 6:18 pm #171300In reply to: Sitewide Activity
bp-help
Participant@rameshwormaharjan
Why try to reinvent the wheel? Try this:
If that doesn’t work for you then at least study the code to see where you are going wrong.September 13, 2013 at 6:04 pm #171298resistoyen
ParticipantOh sorry sure, thanks for the fast reply, my problem is that the page don’t want to show up with full-width as in the screenshorts here.

September 13, 2013 at 5:19 pm #171292@mercime
Participanthnla, valuser and I are long-time acquaintances 😉
@valuser Could be the missing opening and closing divs. Not going to be as easy as BP template pack IMHO 🙂We could try the alternative way for theme compatibility which is creating one file to take care of all the BuddyPress pages. So backup the buddypress/groups/index.php you made and delete the index.php along with the BP folders you created from your theme folder in server. Then create a file, buddypress.php and add http://pastebin.com/EsBMTpSG and upload this to the root of your theme folder in server i.e., wordstrap/buddypress.php
September 13, 2013 at 9:25 am #171281Hugo Ashmore
ParticipantPlease bear in mind primary purpose of support here isn’t providing solutions for third-party themes.
You’ll need to track down why it isn’t working, and as mercime suggests, create a custom override template for BP screens. -
AuthorSearch Results



