Search Results for 'buddypress'
-
AuthorSearch Results
-
June 18, 2015 at 5:29 pm #240854
In 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 5:16 pm #240852In reply to: How to update Activation link
shanebp
ModeratorYou might want to google
printfso that you understand what%sdoes.You can do this:
printf( __( 'Your account was activated successfully! You can now <a href="%s">log in</a> with the username and password you provided when you signed up.', 'buddypress' ), 'http://mydomain.com/my-account/' ); ?>You can also replace the printf with:
echo 'Your account was activated successfully! You can now <a href="http://mydomain.com/my-account/>log in</a> with the username and password you provided when you signed up.';June 18, 2015 at 5:07 pm #240851In reply to: Remove BP profile link in BBPress
b2marketing
ParticipantHi Shane
Thanks for quick reply.
Its because I am using a badge plugin that requires Buddypress to be active before the badge plugin will work for bbPress.
I will check in the bbPress forum. Thanks
June 18, 2015 at 4:51 pm #240849In reply to: Remove BP profile link in BBPress
shanebp
ModeratorWhy are you using BuddyPress if you use Ultimate Member ?
Have you considered turning off the xprofile component in BP?
You might want to ask on bbPress forums about how to filter the author links in forums.
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: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:56 am #240830In reply to: SEO issues
Henry Wright
Moderatori edited the source code my self and added <form action=”#” which should sort the problem but by doing that everytime there is an update i will need to redo it myself
Yeah, that’s not recommended because, as you say, you will need to redo after each BuddyPress update.
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 7:25 am #240826In reply to: @mention autosuggest in visual editor
oliver_rub
Participant@danbp
Sorry for not writing that earlier. It seems that I need to work on my problem description skills. I enabled the visual tab already through an addon called bbpress-enable-tinymce-visual-tab, but since I used that for quite some time I forgot that the visual tab is switched off by default.
So my setting is: I have BuddyPress groups, with bbPress forums. I have the visual tab enabled (easier to use for non-techi persons). I have the @mentions feature enabled, but it only works in the text tab (the ‘quicktags’ argument on the bbPress link you gave me). So what I want is now somehow enable the @mentions feature also for the visual tab.
I thought that @oakcreative has a similar approach, thats why I joined the thread. But I´m not sure how to replicate his approach with bbPress…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 4:52 pm #240803In reply to: Registration Page Formatting Issue
BurkeKnight
ParticipantI made:
wp-content/plugins/buddypress/bp-templates/bke/buddypress/members/register.phpYet, any changes, do not show.
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 17, 2015 at 4:19 pm #240799In reply to: Copy data to wp_usermeta on profile save
shanebp
ModeratorLook at
function delete()andfunction save()in
buddypress\bp-xprofile\classes\class-bp-xprofile-profiledata.php
You’ll find before and after action hooks that you can use to delete or save profile data to usermeta.June 16, 2015 at 10:03 pm #240790In reply to: SEO for Member Pages
Jayell12
ParticipantAnybody? This must be a common need amongst people with buddypress sites? SEO-friendly profile pages should be a priority, no?
June 16, 2015 at 6:23 pm #240787In reply to: How to call groups by a different name
danbp
ParticipantYes, if you need that club appears everywhere where group is used by default !
No, if you want to modify only ONE string
https://buddypress.org/support/topic/help-changing-contact-in-profile/#post-233027June 16, 2015 at 6:18 pm #240786In reply to: Nickname on register page is hidden
danbp
ParticipantHi rené
when xprofile component is activated, the only field who should appear on register page is Name (in Base group field). There is no setting for this because it is mandatory !
Check visibility settings of Name first, and deactivate contact-form7 and see if field comes back.
June 16, 2015 at 3:29 pm #240779In reply to: bp_verify_nonce_request() not working
r-a-y
Keymaster@nithin270 @dineshravajani07 – Please help us debug
bp_verify_nonce_request():
https://buddypress.trac.wordpress.org/browser/tags/2.3.1/src/bp-core/bp-core-functions.php#L2005Judging by what you are doing, it appears that function is returning false.
Can you debug that function and find out whereabouts the function is failing for you?
Are your sites behind a reverse proxy?
June 16, 2015 at 2:14 pm #240775In reply to: How to call groups by a different name
David Cavins
KeymasterYour best best is to create a new language file, then you can customize nearly all of the strings:
June 16, 2015 at 1:33 pm #240770In reply to: Member import
David Cavins
KeymasterHi Zoe-
My memory is that users need to have usermeta with the key
last_activityand a value like2015-06-16 13:29:04to reliably appear in the members directory. You can “repair” this value once the users are imported by visiting (from wp-admin)Tools > BuddyPressthen selectRepair user "last activity" data. In fact, it probably wouldn’t hurt to run all of those repair tools one at a time since you’ve got a bunch of untracked users.June 16, 2015 at 7:26 am #240757In reply to: Need to remove URLs from activity stream
danbp
ParticipantRead here for a posible solution:
https://buddypress.org/support/topic/disable-html-in-activity-updates/#post-130454June 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 16, 2015 at 6:33 am #240754In reply to: bp_verify_nonce_request() not working
dinesh.ravajani07
ParticipantHello All,
I am also facing the same problem with bp_verify_nonce_request() function.
It proper works on my Localhost but on my live server its not working properly
In File : bp-members-screen.php file
} elseif ( isset( $_POST[‘signup_submit’] ) && bp_verify_nonce_request( ‘bp_new_signup’ ) ) {this will not work.. but if i will replace the above code with the below code then it will work
Below code will work properly
} elseif ( isset( $_POST[‘signup_submit’] ) || bp_verify_nonce_request( ‘bp_new_signup’ ) ) {I know that if i will make changes in Buddypress core files then after update my changes will be lost.
Is any Hook are available so that i can use in my functions.php file.
Please help me someone. Its urgent and i want to complete my project as soon as possible.Thanks
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 5:50 pm #240741In reply to: @mention autosuggest in visual editor
danbp
Participantto get @mention in bbpress topics, try this snippet
https://buddypress.org/support/topic/mention-autolink-to-profile/#post-237202 -
AuthorSearch Results