Search Results for 'wordpress'
-
AuthorSearch Results
-
May 16, 2017 at 10:14 pm #266029
In reply to: REST API design
shanebp
ModeratorDesigning endpoints is perhaps the major issue for this API and the subject of much discussion.
I would encourage you to use the Issues tab on the repo:
https://github.com/buddypress/BP-RESTThere is also a BuddyPress Slack channel. From the repo readme:
Weekly BP REST API dev chat are held on Wednesdays at 22:00 UTC in WordPress Slack channel #buddypressMay 15, 2017 at 9:57 pm #266011In reply to: Group header file problems
David Cavins
KeymasterI think I finally understand what is going wrong here. If you pass a bad group object to
bp_group_has_moderators()or don’t pass a group object and the global$groups_template->groupisn’t set, this error can occur.If you’ve had this problem, can you please respond telling me what theme you’re using? Furthermore, look in your theme where
bp_group_has_moderators()is called, and tell me if it’s being called with a$groupargument (likebp_group_has_moderators( $group_object )) or without an argument (likebp_group_has_moderators()).Do you also see an entry in your error log like the following or not?
Trying to get property of non-object in /Users/dcavins/Sites/develop.git.wordpress.org/src/wp-content/plugins/buddypress/src/bp-groups/bp-groups-template.php on line 2576Thanks for your help,
-David
May 15, 2017 at 7:13 pm #266007In reply to: Notification to all users at bottom of the page
@mercime
Participant@vanessenstudio Given the screenshot, I can only guess that your theme’s stylesheet is missing lines 601 through 614 which are necessary to move the notice to the top of the page.
May 15, 2017 at 11:25 am #265991In reply to: Dynamic Profile Links in Menu Solution
ripulkr
ParticipantTry this : https://bpdevel.wordpress.com/2016/08/05/nouveau-a-bp-template-pack-story/
I am also building a plugin for this, which would be available within few days.May 15, 2017 at 11:03 am #265990In reply to: Adding a tab to profiles
ripulkr
ParticipantBuddyPress themes are basically WordPress themes. Technically all themes “should” be compatible with BuddyPress.
If you’re looking more into template overriding then check the documentation link above.Try this : https://themeforest.net/item/kleo-pro-community-focused-multipurpose-buddypress-theme/6776630, https://themeforest.net/item/wplms-learning-management-system/6780226 , https://themeforest.net/category/wordpress/buddypress
Regarding your question :
Check existing topics in this forums, this has been answered several times.May 12, 2017 at 5:49 pm #265965In 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@
-
AuthorSearch Results

