Forum Replies Created
-
Hi @elshobokshy
Take a look at Customizing BuddyPress Avatars
In reply to: Please help – Use WordPress Avatars not BuddyPress?Hi @multimartin
I just tried searching the WP plugin repo and came across an old plugin that may be of some help. Take a look at Remove Avatars
Hi @laxmanvel
This functionality isn’t available in BuddyPress by default. You may have some luck searching the WP plugin repo although I haven’t seen anything like this myself. Let us know if you find anything!
In reply to: Not getting the activation mailHave you tried checking your junk mail folder?
In reply to: [Resolved] Editing User "Homepage"Regarding your Bootstrap navbar markup, it doesn’t look quite right to me. For example
navbar-fixed-topshould be a class on<nav>@micasuh great stuff, glad you found the problem in the end!
@micasuh
_e( $text )will search for the translation of$textand print it to screen. If a translation doesn’t exist, it’ll print$text. You might also come across__( $text ). This does the same but it returns instead of printing.So yeah, these functions are definitely related to translating.
In reply to: Extending ajax parametersI see what you mean about having multiple callbacks but it is an option to keep in mind if the dev team consider your request too custom. If they agree to make the changes then great but there is a plan B available if that doesn’t happen.
In reply to: Extending ajax parameters2nd thoughts, there is a way of doing this without requiring changes to the core.
bp_legacy_theme_new_activity_comment()is the function where your comment form’s data is passed. You could write your own function in either a plugin or your theme’s functions.php which handles your custom data separately. You’d just need to hook it to your own custom action then write your own ajax call.Something like:
$.ajax({ type: 'POST', url: ajaxurl, dataType: 'json', data: { 'action': 'yourcustomaction', 'security': for_the_nonce_check, 'str': $( '#yourform' ).serialize() },...Then in your PHP script:
function my_function() { // Do some processing just like bp_legacy_theme_new_activity_comment() does and pass whatever back to your JS } add_action( 'wp_ajax_yourcusomaction', 'my_function' );In reply to: Extending ajax parametersWhat data were you planning on passing?
I don’t want to modify the core of BuddyPress, so is there an other way to do this ?
No but you could try asking the guys over at Trac if they could extend what data can be passed. If they agree, the changes usually take a minor version or two to make it into core but until then you could apply the patch to your own installation.
If you’re using BuddyPress 2.0.2 with WordPress 3.9.2 with no plugins activated or even installed in the plugin folder and the Twenty Fourteen theme enabled then everything should work fine as this is a tried and tested combo. The only variables left are a) your server and b) your database.
Perhaps try rolling back your database? And also make sure there has been no changes on your server since you noticed the issue.
@micasuh humm. Perhaps try grabbing a fresh copy of the BP plugin code? https://wordpress.org/plugins/buddypress/
Something may have become corrupted in the actual plugin.
@micasuh the .mo file is most likely being loaded from your theme’s functions.php file. Alternatively, it may be loaded from a plugin. Or, maybe even bp-custom.php (if you have one of those).
Look for something such as the following and try removing it to see if it resolves the issue:
if ( file_exists( WP_LANG_DIR . '/buddypress-en_US.mo' ) ) { load_textdomain( 'buddypress', WP_LANG_DIR . '/buddypress-en_US.mo' ); }If it doesn’t resolve the problem then we know your translation file is OK.
If you still believe the issue is a virus in your database then you could try rolling back. Do you keep database backups? But, to be honest, I’m more inclined to think this is occurring as a result of some rogue theme or plugin code.
In reply to: How to use SSL Over Entire BuddyPress site?Check out this article: https://yoast.com/wordpress-ssl-setup/
If only the text strings are affected, language files spring to mind. Are you using any of these to translate strings? Looks like BP strings only are affected. Could your buddypress .mo file be corrupt? (If you have one?)
What makes you think the db is corrupted? In theory what you see in the screenshot could simply be caused by some rogue front-end CSS.
Themes can also interfere with the admin area. Which theme are you using? Does the problem happen with Twenty Thirteen activated?
@eable good idea to test on the Twenty Thirteen parent theme. If it works then you’ll know something is up with the child theme.
Will I mess up WordPress’s ability to see them all, if I drag them all over?
There’s no harm in dragging them all over. And yes, you do need to retain the folder structure.
@eable apologies I didn’t realise you were using a child theme. You’re right, just style.css is required in that case.
@eable so your theme contains just the /buddypress/ folder and style.css and 404.php files? I think that might be your problem. Themes must include an index.php file. Try adding one and see if the problem is resolved.
I copied the buddypress folder that is contained in bp-legacy. Is that not was what the directions meant?
That sounds right to me.
If I did this right, why are the files not visible in the WordPress back end at Themes > Editor > mytheme?
If you’re not working on localhost, you’ll need to upload the files to your web server. Have you done that?
Hi @eable,
The directions look like they mean for me to move the whole of /buddypress/ into my child theme
Be careful not to copy the whole BuddyPress plugin to your child theme. Just the templates should be copied. As you mention in your post, the templates are found here /bp-templates/bp-legacy/buddypress/
Also worth mentioning is you only need to copy the templates you need. So for example, if you want to modify the members loop, then you can just copy members-loop.php into folder /your-theme/buddypress/members/members-loop.php
In reply to: Forwarding Messages@bphelp sounds like you have your next project idea right there? 😉
In reply to: Forwarding MessagesIn reply to: Forwarding Messages