Search Results for 'wordpress'
-
AuthorSearch Results
-
May 12, 2017 at 5:49 pm #265965
In reply to: How to hide Buddypress for visitors ?
shanebp
ModeratorHave you tried: BP Simple Private ?
May 12, 2017 at 12:34 pm #265940In reply to: How to hide Buddypress for visitors ?
vanessenstudio
ParticipantWithout code it might be a bit more work but definitely doable.
If you want most of your site blocked off for non members you could use a plugin like BuddyPress members only
For specific blocking of pages, I would use the buddypress settings in combination with Advanced Access Manager
the latter will allow you to be very narrow with you access permission.Good luck 🙂
May 12, 2017 at 3:11 am #265938In reply to: required Username twice at Registration
manm0untain
ParticipantExtended Buddypress profile fields demands an additional name / username field. This is the case whether you are using Buddypress Usernames Only plugin or not.
This is only relevant if you require extended profile fields. If you don’t, then go into Buddypress settings and turn off extended profiles. That will remove the requirement for a second name on the registration / profile area.
If you want to use extended profile fields on BP, but you don’t want the second username / name field uglying up your registration flow, you can do the following.
You have to be careful with this, because if you hack it, remove the second required name / username field, or any of a dozen other solutions I’ve found – the registration will break down. You will get 500 errors, missing confirmation emails etc.
The solution I used for this is as follows.
1. Assuming you just want to use a singular Username for your site – install the Buddypress Usernames Only plugin. It says the plugin is old but it is still working as of WP version 4.7.4 (for me at least). This deals with the display / access of various username / name / fullname / nickname issues throughout the WP / Buddypress install.
2. Next you’ll need to hide the extra name / username field on the registration area, and the BP profile area. Stick this CSS into your theme custom CSS under Appearance > Customize:
#profile-edit-form .field_1 { display: none;} #signup_form .field_1 { display: none;}(I have seen a 3rd line of CSS on other solutions – #register-page p { display: none;} – all this did for me was to hide the confirmation message after the user registers. You probably want that so I’d leave that line out).
3. The fields should now be hidden, but the system still requires that information to process properly. So next create a file in notepad and save it as name_remove.js
In that file put the following javascript:
document.getElementById("signup_username").onchange = function() {myFunction()}; function myFunction() { var x = document.getElementById("signup_username"); document.getElementById("field_1") .value = x.value }Save that file and upload it to your theme folder (same folder as functions.php etc). This javascript automatically populates the hidden field with the username, so the system does not complain or fall over.
4. Finally you need WordPress to pick this javascript file up. You can do that with a function, using file enqueing. Copy and paste this function into your themes functions.php file Appearance > Editor
function wpb_adding_scripts() { wp_register_script('name_field_remove', get_stylesheet_directory_uri() . '/name_remove.js', array('jquery'),'1.1', true); wp_enqueue_script('name_field_remove'); } add_action( 'wp_enqueue_scripts', 'wpb_adding_scripts' );You have to be careful about the path. If it’s not working at this point, you can view the page source of your register page, and search for “name_remove.js” – look at the path on that script line. If the path is wrong, tweak it in the function above (you might need to change the get_stylesheet_directory_uri() part, or the path part after it. You can check if the path is correct by clicking the link to the .js file in the page source. If the path is wrong, you will get a 404 error. If the path is right, you should see the script code contained in the js file. Fiddle around with the path until it’s correct.
At that point, you have hidden the fields with CSS, and populated the second hidden username / name field automatically with javascript. Test your registration / confirmation email etc to make sure everything is working. But you should be good to go.
Hope that helps someone. Thanks to the folks I cobbled this solution together from.
May 5, 2017 at 9:02 pm #265846In reply to: Upload avatar after activation
Henry Wright
ModeratorI did a quick search and found Buddypress Upload Avatar Ajax. Not sure if it helps?
May 4, 2017 at 12:02 am #265809In reply to: Adding pagination to buddypress tab content
Nahum
Participanthttps://codex.wordpress.org/Pagination Look over here
May 3, 2017 at 11:45 pm #265808In reply to: Questions about a new community project
Nahum
ParticipantPlus this https://wordpress.org/plugins/buddypress-simple-events/ maybe? In the pro version, users can mark if they will attend(“register on it”).
May 2, 2017 at 4:14 pm #265765In reply to: Can’t upload profile pic with ipad or iphone
r-a-y
KeymasterHi @elijeh,
Can you try the following fix?
https://buddypress.trac.wordpress.org/attachment/ticket/7416/7416.01.patchApril 28, 2017 at 1:44 pm #265683In reply to: Member Directory Added To Profile Dropdown
shanebp
ModeratorTo prevent non-members from viewing the members directory you can use this plugin:
BP Simple PrivateApril 28, 2017 at 6:27 am #265668In reply to: Membership
danbp
ParticipantHave you found this plugin ?
April 27, 2017 at 2:09 pm #265647In reply to: Solved – Customize the login page of wordpress
Henry Wright
ModeratorCheck out the article on Page Templates.
April 26, 2017 at 8:03 pm #265633In reply to: Ephemeral Messages
shanebp
ModeratorYou could also do it manually using BP Bulk Delete.
April 26, 2017 at 6:22 pm #265629In reply to: Ephemeral Messages
Henry Wright
ModeratorYou’d need to build a custom solution because I don’t think there’s anything available, at least for BuddyPress.
Take a look at the WordPress Transients API. That might help.
April 25, 2017 at 12:20 pm #265616In reply to: Changing Editing Activation Email
eslunite
Participantto change the email wordpress@ use
Easy WP SMTP plugin
April 25, 2017 at 11:57 am #265615Henry Wright
ModeratorDid you move WordPress? If so, check out the Moving WordPress article.
April 25, 2017 at 11:32 am #265614In reply to: Best gallery to use in BP
Henry Wright
ModeratorThere are a few to choose from. I haven’t tried lately myself but these seem to be popular:
April 25, 2017 at 11:27 am #265613In reply to: Solved – Customize the login page of wordpress
Henry Wright
ModeratorIf you’re having problems with Theme My Login, try Customizing the Login Form instead.
April 25, 2017 at 8:43 am #265611danbp
ParticipantSorry for you, but you have to debug.
Also, activate a default Twenty theme and deactivate all plugins exxcept BP.
WP+BP should work correctly with a Twenty theme before activating any other plugin or custom theme.If you use some custom code in your theme (or child theme), deactivate it provisory. Same thing if you use bp-custom.php
https://codex.wordpress.org/Debugging_in_WordPress
Search also the forum as they are many related topics for debuging BP.
April 25, 2017 at 7:13 am #265608danbp
ParticipantHi,
WP’s toolbar is not part of BP, and not part of your theme. This bar belongs to WP.
I suggest that you don’t remove(or deactivate) the whole bar, but only remove any menu item belonging to WP, except the “howdy” menu where BP install his sub-menu items.
To do this, you have to use some custom functions related to wp_admin_bar class.
Use
$wp_admin_bar->add_nodeor$wp_admin_bar->remove_nodeCodex reference:
https://codex.wordpress.org/Function_Reference/remove_node…and a little tutorial, in case of!
April 25, 2017 at 2:03 am #265600zsauce
ParticipantThis is the bar and menu I am trying to get rid of:

While this is the bar I’m trying to maintain, but all of these options disappear when I hide the WordPress Admin Bar above:
April 24, 2017 at 12:08 pm #265580In reply to: Changing Editing Activation Email
giilour
Participantalso how to change who the email is sent from? at present its wordpress@
April 23, 2017 at 6:09 am #265567Marc
ParticipantHi Jeff,
Sorry I don’t remember, but keep in mind that wp-login and the password reset function of WordPress doesn’t get translated by WPML. The only way around is to use another login and password reset mechanism (that is compatible with WPML), most premium themes have that and certain plugins have it as well.
Best,
MarcApril 21, 2017 at 9:26 pm #265547In reply to: Using wp_mail and emails
Henry Wright
ModeratorYou can change the content type of WordPress emails using the
wp_mail_content_typefilter:add_filter( 'wp_mail_content_type', function( $content_type ) { $content_type = 'text/html'; return $content_type; } );April 20, 2017 at 7:12 pm #265524In reply to: verification email link needs https
r-a-y
KeymasterIf you’re talking about this specific instance where a user has registered a site during registration:
Then, I’ve added a fix for this here:
https://buddypress.trac.wordpress.org/attachment/ticket/7508/7508.01.patchApril 20, 2017 at 6:34 pm #265522In reply to: verification email link needs https
r-a-y
KeymasterYou should use HTTPS throughout your site if you want to force the email to use SSL links.
Or force HTTPS on individual pages like the registration page so activation email links will use SSL.
The other alternative is filtering the email tokens to use HTTPS:
https://buddypress.trac.wordpress.org/browser/tags/2.8.2/src/bp-core/bp-core-functions.php#L3120If you’re a WordPress developer, hook on to the
'bp_after_send_email_parse_args'filter and do checks against the'tokens'array key.For more info on the
'bp_after_X_parse_args'filter, see:
https://codex.buddypress.org/developer/using-bp_parse_args-to-filter-buddypress-template-loops/April 20, 2017 at 6:25 pm #265521r-a-y
KeymasterThis is not a BuddyPress problem; this is a bbPress problem, which is scheduled to be fixed in bbPress 2.6.
See:
https://bbpress.trac.wordpress.org/ticket/2690Until then, you can manually apply the following change:
https://bbpress.trac.wordpress.org/changeset/5857 -
AuthorSearch Results

