Search Results for 'theme'
-
AuthorSearch Results
-
June 20, 2015 at 9:06 am #240900
In reply to: Unable to update user avatar as user
danbp
ParticipantHi,
not clear what is your issue.
First screenshot is related to Core bp-xprofile folder. No interest for this case, we have already BP installed.
Please read Getting Started guide and ensure anything is correctly setup first.
Use one of WP built-in theme while installing/testing BP.As of 2.2.3, BP use a new feature for users profile phot, so you can’t find much related informations about this feature on Google or elsewhere…
Also, note that users can modify their photo on front-end from their profile page, whithout accessing WP’s dashboard.
June 19, 2015 at 8:56 pm #240894In reply to: Multisite Registration / Change From BP Prmary
Doctor Psyringe
ParticipantWould “Theme My Login” work with BuddyPress if only enabled for the Root Site and BP’s Primary was a SubSite?
Here’s a link to that; https://wordpress.org/plugins/theme-my-login/
Just spit-balling. More to come, I imagine, until the Ticket is Resolved.
June 19, 2015 at 3:05 pm #240890In reply to: Buddypress Messaging
shanebp
ModeratorSince the issue is in your theme, your best bet is to ask the theme author.
June 19, 2015 at 12:06 pm #240881In reply to: Buddypress Messaging
jourdesign
ParticipantSo I am using WordPress 4.2.2 running Cinematix theme and I am using Buddypress Version 2.3.2.1. As you suggested I changed the theme and it worked perfectly any ideas on how to fix it ?
June 19, 2015 at 7:39 am #240870In reply to: Language change not working
danbp
ParticipantHi @thesmartone,
I even changed wp_config.php, variable WPLANG
This is no more necessary since WP 4.0If your WP is in portugese, BP should be in same language automatically (except if you deactivated this feature)
BP translation can be found on GlotPress. pt_BR is translated to 96% (see here)
The po/mo files goes to wp-content/languages/plugins/buddypress-pt_BR.moYour comment is awaiting moderation, is a default WP string. In many cases, it can also be in theme. To ensure this, activate 2013 or 2015 and test all translations for WP and BP.
Deactivate all other plugins while doing this.And before claiming about buggypress, check for PBCK. Or better, read the doc before installing something. 😉
June 19, 2015 at 1:48 am #240865r-a-y
KeymasterThis should work:
function my_remove_secondary_avatars( $bp_legacy ) { remove_filter( 'bp_get_activity_action_pre_meta', array( $bp_legacy, 'secondary_avatars' ), 10, 2 ); } add_action( 'bp_theme_compat_actions', 'my_remove_secondary_avatars' );Untested, but let me know if it works!
June 18, 2015 at 10:53 pm #240863shanebp
ModeratorYou’re talking about the value of
$thisin the filter call inclass BP_Legacy extends BP_Theme_Compat?
add_filter( 'bp_get_activity_action_pre_meta', array( $this, 'secondary_avatars' ), 10, 2 );Good question.
And I’d be interested in the answer.There must be a simple way to disable secondary avatars…
You might want to ask about this on Slack.Meanwhile, this works, not very efficient ‘tho.
Hook is inbp-activity\bp-activity-template.phpfunction remove_secondary_avatar( $item_id ){ $item_id = ''; return $item_id; } add_filter( 'bp_get_activity_secondary_avatar_item_id', 'remove_secondary_avatar' );And this works, but I don’t know why :<
function remove_activity_secondary_avatars( $action, $activity ) { if ( $activity->component = NULL ) { // don't do anything } return $action; } add_filter( 'bp_get_activity_action_pre_meta', 'remove_activity_secondary_avatars', 10, 2 );June 18, 2015 at 9:55 pm #240861In reply to: Buddypress Messaging
shanebp
ModeratorPlease use the
codetag. Edited to remove full path.What versions of WP and BP are you using?
Have you tried switching to a theme like WP 2013 to confirm that the issue is not in your theme?
June 18, 2015 at 5:29 pm #240854In reply to: Registration Page Formatting Issue
BurkeKnight
ParticipantI’m working on another site, and did as did on the first site. However, different theme (child).
Added: wp-content/themes/flat-child/buddypress/members
Now, whatever I do to register.php should show, but does not.
Could this be due to having to set the child theme up this way:Enqueue both parent and child stylesheets
Select this option if stylesheet link tags are hard-coded into the header template (common in older themes). This enables the child stylesheet to override the parent stylesheet without using @import.June 18, 2015 at 3:17 pm #240839shanebp
Moderatorafaik, The ‘Upload Image’ is not part of BuddyPress.
So it is in your theme or some other plugin.June 18, 2015 at 2:48 pm #240837In reply to: Activity Stream
The Majestic One
ParticipantHi,
The theme is okay, it was working fine until the last update after 2.2
I am using Sweetdate from 7th Queen.
Thanks again
June 18, 2015 at 2:38 pm #240836In reply to: How to update Activation link
shanebp
ModeratorPlease don’t double post. Your other thread has been deleted.
Unless you are specifically using the bp-default theme, you should create a template overload of this file:
buddypress\bp-templates\bp-legacy\buddypress\members\activate.php
And make your changes there.June 18, 2015 at 2:30 pm #240833In reply to: Need to show group as DropDown on Group page
shanebp
ModeratorSo instead of a listing of all the groups, you want a dropdown?
Create a template overload of this file:
buddypress\bp-templates\bp-legacy\buddypress\groups\groups-loop.php
And replace the listing layout with a dropdown.June 18, 2015 at 11:35 am #240828In reply to: SEO issues
Henry Wright
ModeratorThe W3C validator is saying you can’t have an empty form action attribute. So instead of:
<form action=""you will need to provide a value like this:
<form action="some-script.php"You could open a ticket on Trac or alternatively you could solve the problem by providing a value yourself. Check out the BuddyPress Template Hierarchy article for details on how to override templates.
June 18, 2015 at 6:25 am #240825In reply to: Buddypress Plugin all files inactive troubleshooting
ct25
ParticipantToday I found there was a member-loop.php added to my theme files. Could this be part of the problem? Should I add the member template file to the theme as well?
<?php /** * BuddyPress - Members Loop * * Querystring is set via AJAX in _inc/ajax.php - bp_dtheme_object_filter() * * @package BuddyPress * @subpackage bp-default */ ?> <?php do_action( 'bp_before_members_loop' ); ?> <?php if ( bp_has_members( bp_ajax_querystring( 'members' ) ) ) : ?> <div id="pag-top" class="pagination"> <div class="pag-count" id="member-dir-count-top"> <?php bp_members_pagination_count(); ?> </div> <div class="pagination-links" id="member-dir-pag-top"> <?php bp_members_pagination_links(); ?> </div> </div> <?php do_action( 'bp_before_directory_members_list' ); ?> <ul id="members-list" class="item-list" role="main"> <?php while ( bp_members() ) : bp_the_member(); ?> <li> <div class="item-avatar"> <a href="<?php bp_member_permalink(); ?>"><?php bp_member_avatar(); ?></a> </div> <div class="item"> <div class="item-title"> <a href="<?php bp_member_permalink(); ?>"><?php bp_member_name(); ?></a> <?php if ( bp_get_member_latest_update() ) : ?> <span class="update"> <?php bp_member_latest_update(); ?></span> <?php endif; ?> </div> <div class="item-meta"><span class="activity"><?php bp_member_last_active(); ?></span></div> <?php do_action( 'bp_directory_members_item' ); ?> <?php /*** * If you want to show specific profile fields here you can, * but it'll add an extra query for each member in the loop * (only one regardless of the number of fields you show): * * bp_member_profile_data( 'field=the field name' ); */ ?> </div> <div class="action"> <?php do_action( 'bp_directory_members_actions' ); ?> </div> <div class="clear"></div> </li> <?php endwhile; ?> </ul> <?php do_action( 'bp_after_directory_members_list' ); ?> <?php bp_member_hidden_fields(); ?> <div id="pag-bottom" class="pagination"> <div class="pag-count" id="member-dir-count-bottom"> <?php bp_members_pagination_count(); ?> </div> <div class="pagination-links" id="member-dir-pag-bottom"> <?php bp_members_pagination_links(); ?> </div> </div> <?php else: ?> <div id="message" class="info"> <p><?php _e( "Sorry, no members were found.", 'buddypress' ); ?></p> </div> <?php endif; ?> <?php do_action( 'bp_after_members_loop' ); ?>June 17, 2015 at 10:00 pm #240812In reply to: Nickname on register page is hidden
danbp
ParticipantBase field name can be modified (from Name to Whatever), you’re right there are no visibility settings for this (required) group.
If you made some custom work, (in bp-custom or theme’s functions.php) it’s important to revert back to original code first.
You use Profildetails as group title. Is this the modified Base name ?
On Boss live demo, Name is appearing.Have you tested with another theme like 2015 ?
June 17, 2015 at 7:12 pm #240809In reply to: Forums not sending email on new topic
Antipole
ParticipantPS and I have switched to theme 2013.
June 17, 2015 at 5:57 pm #240806In reply to: Registration Page Formatting Issue
shanebp
ModeratorTemplate overloads go in the theme dir, not the plugins dir.
Remove your changes to BP plugin and re-read the codex article.June 17, 2015 at 4:22 pm #240801In reply to: Registration Page Formatting Issue
shanebp
ModeratorCreate a template overload of this file:
buddypress\bp-templates\bp-legacy\buddypress\members\register.php
and adjust the layout.June 16, 2015 at 8:41 pm #240789In reply to: Activity Stream
shanebp
ModeratorLooks like a problem in your theme.
Try switching to a theme such as WP 2015 to confirm.June 16, 2015 at 1:16 pm #240768In reply to: [Resolved] Groups function is broken
pihla
ParticipantYes, this is exactly the case, it does not create the second group, because the id is 0 so the auto-increment is not working (and the first one created a row in the database, but does not show in the front end)
Yes, there is nothing wrong with the id 0 with the forum, I was just wondering why does it give duplicate entry warning with this:
WordPress database error: [Duplicate entry ‘0’ for key ‘PRIMARY’]
INSERT INTO wp_bp_groups ( creator_id, name, slug, description, status, enable_forum, date_created ) VALUES ( 22, ‘Vanhat talot’, ‘vanhat-talot’, ‘Vanhat talot’, ‘public’, 0, ‘2015-06-16 08:25:16′ )and the only 0 in this insert is the enable_forum which should not be primary, but well this might just refer to the group_id field that is not auto incremented.
I even updated the themes Buddy Press and bbPress files (Kleo-theme) and updated again Buddy Press, even though it was in version 2.3.1, did not help…
@shanebp where did you find the information about the non-BP reports where WP 4.2.2 $wpdb->insert_id returns 0? I could try to find the info from there.June 16, 2015 at 6:34 am #240755In reply to: @mention autosuggest in visual editor
oliver_rub
Participant@danbp
Thanks for your suggestion Dan.
I already tried that. There are two problems with that snippent. The first being that the is_bbpress() is returning false when i access bbpress forums in a buddypress group (theme: firmasite). Thats easy to solve through eliminating that check.
The second problem is that currently the @mentions system isn’t working for the visual tab in tinyMCE, it works only for the text tab. Also discussed briefly between Paul Gibbs and Unsal Korkmaz here: https://buddypress.org/support/topic/buddypress-2-1-patsy/ (see comments)One of the requirements for our platform is that users can use those fancy buttons in the visual tab, but having the mentions autocomplete only in the text tab is a little bit ..you know…unexpected for users 😉
Thus i hoped i can somehow manage to reproduce the approach of OakCreative, but I havent been successful.
Maybe also updating the at.js is a way to go, but the jump from the used version (0.5.2) to the current (1.3.0) seems to be to big to work just with replacing the script.
So this is my current knowledge about this topic. Does anyone know how to proceed? Or should i create a ticket for this, so that the devs can have a look into this in future releases? I havent found any ticket dealing with exactly this.June 15, 2015 at 8:39 pm #240747In reply to: Sort Members Alphabetically by Default
VentureCore
ParticipantOK, so here’s the solution…
<?php /* Querystring is set via AJAX in _inc/ajax.php - bp_dtheme_object_filter() */ ?> <?php do_action( 'bp_before_members_loop' ) ?> <?php if ( bp_ajax_querystring( 'members' ) ==""){ $queryString = "type=alphabetical&action=alphabetical&page=1";} else {$queryString = bp_ajax_querystring( 'members' );} ?> <?php if ( bp_has_members( $queryString) ) : ?>Depending on how/if your theme developer has written their members-loop.php you will want to replace these two entries…
<?php do_action( 'bp_before_members_loop' ); ?> <?php if ( bp_has_members( bp_ajax_querystring( 'members' ) ) ) : ?>This not only gives you the ability to have buddypress default to listing names Alphabetically, it also maintains your ability to sort ‘Last Active’ and ‘Newest Registered’. This should be the default way to display the members directory. IMOP
Now, if you want to then change the alphabetical listing default to return names by the lastname of your members you would add the following code to your theme’s function.php file. Preferably to the child theme’s function.php file.
/** Sort alphabetical name listings by lastname */ function alphabetize_by_last_name( $bp_user_query ) { if ( 'alphabetical' == $bp_user_query->query_vars['type'] ) $bp_user_query->uid_clauses['orderby'] = "ORDER BY substring_index(u.display_name, ' ', -1)"; } add_action ( 'bp_pre_user_query', 'alphabetize_by_last_name' );Good luck!
June 15, 2015 at 3:07 pm #240732In reply to: [Resolved] Groups function is broken
David Cavins
KeymasterHi Pihla-
I can’t reproduce the problem you’re having. Can you add a tracer to your theme’s functions file or to
bp-custom.phpthen try to create a group?https://gist.github.com/dcavins/a9197f21d7f31b6594bc
I added this to my theme’s
functions.phpand the file that it created (groups_group_after_save_args.txt) ended up at the root of my site. It looked like this:newly created group args: BP_Groups_Group Object ( [id] => 8 [creator_id] => 4 [name] => Number 5 [slug] => number-5 [description] => Will this be recorded? [status] => public [enable_forum] => 0 [date_created] => 2015-06-15 14:59:00 [admins] => [mods] => [total_member_count] => [is_member] => [is_invited] => [is_pending] => [last_activity] => [user_has_access] => [args] => Array ( [populate_extras] => ) )Please let me know if you can do this test and what the results are.
June 14, 2015 at 6:38 pm #240709In reply to: Groups no longer working
Dr.Raven0
Participant@danbp
Yes everything is setup the right way as it was for months before the update, every thing was working before the update.It’s not the theme, it does the same thing with the default theme and ever theme I’ve tried.
ByteHost uses a Linux OS and yes it’s the latest PHP.
There is only one group function, why don’t you sign up to my site and see for your self. And I’m only going to write this one last time beore I lose my temper. I’ve given you all the details of the problem, I’ve already gone thru the damn process of deactivating the all the plugins and it still does the same thing. It was working fine for months before the update. What more do you want from me. I’ve already wrote that it in the post that it work fine before the update, that alone should have told you that it’s not a fresh install of either.
@shanebp
No I can’t create groups on the backend, it does the same thing. -
AuthorSearch Results