Search Results for 'wordpress'
-
AuthorSearch Results
-
February 20, 2018 at 10:10 pm #270932
In reply to: Buddypress Group Extension API Not Working
ethanstein
ParticipantYes, definitely helpful. Any idea how to implement the solution within the groups index page as a bulk option as oppose to having to go into the individual group?
I tried using wordpress’s bulk admin similar to the example pertaining to load-users.php, but it isn’t working.
add_filter( 'handle_bulk_actions-toplevel_page_bp-groups', 'add_bpgroups_to_bpgroup', 10, 3 ); function add_bpgroups_to_bpgroup($redirect_to, $doaction, $group_ids) { trigger_error($doaction); trigger_error($redirect_to); if( bp_is_active('groups') ): if ( $doaction !== 'assign_parent_group' ) { return $redirect_to; } trigger_error(print_r($group_ids,TRUE)); $redirect_to = add_query_arg( 'groups_assigned' , implode(',', $group_ids) , $redirect_to ); endif; return $redirect_to; } add_filter( 'bulk_actions-toplevel_page_bp-groups', 'register_bulk_assign_parent_action' ); function register_bulk_assign_parent_action ($bulk_actions) { $bulk_actions['assign_parent_group'] = __( 'Assign Parent Group', 'assign_parent_group'); //form submission add_action( 'admin_footer', function() { ?> <script type="text/javascript" charset="utf-8"> jQuery("#doaction").click(function(e){ if(jQuery("select[name='action'] :selected").val()=="assign_parent_group") { e.preventDefault(); gid=prompt("Enter a Group ID","1"); if (gid != null) { jQuery(".wrap form").append('<input type="hidden" name="bp_gid" value="'+gid+'" />').submit(); } } }); </script> <?php }); return $bulk_actions; } add_action( 'admin_notices', 'bulk_assign_parent_action_admin_notice' ); function bulk_assign_parent_action_admin_notice() { if ( ! empty( $_REQUEST['groups_assigned'] ) && ! empty( $_REQUEST['assigned_group'] ) ) { $groups_assigned = $_REQUEST['groups_assigned'] ; $parent_id = $_REQUEST['assigned_group']; $parent_group = groups_get_group($parent_id); if ($parent_group->id == 0) { printf( '<div id="message" class="error">Unknown group ID %s</div>', $parent_id); return; } $group_ids = explode(',' , $groups_assigned); foreach ($group_ids as $group_id) { $group = groups_get_group( $group_id ); if (false === groups_edit_group_settings($group_id, $group->enable_forum, $group->status, false, $parent_id )) { printf( '<div id="message" class="error">Failed to add group %s to %s.</div>', $group->name, $parent_group->name); break; } } printf( '<div id="message" class="updated fade">Successfully ' . _n( 'assigned %s group', 'assigned %s groups', $groups_assigned, 'assign_parent_group' ) . 'to %s</div>', $groups_assigned, $group_name ); }It fires the
add_filter( ‘bulk_actions-toplevel_page_bp-groups’, ‘register_bulk_assign_parent_action’ );correctly but seems to completely ignore
add_filter( ‘handle_bulk_actions-toplevel_page_bp-groups’, ‘add_bpgroups_to_bpgroup’, 10, 3 );
Any ideas?
February 20, 2018 at 8:20 pm #270922David Cavins
KeymasterThis plugin is awfully close to what you’re trying to do. You might try modifying it to show groups in a drop down instead of the options offered:
I doubt that any plugin is going to support group creation at registration; group creation is a multi-step process, and is too much to ask a new user to do at the same time as registration.
February 19, 2018 at 8:26 pm #270895In reply to: Members Page Will Not Associate with Buddypress
baccoeur
ParticipantNo pages will register, however WP says that the settings are saved.
I also have Buddypress Version 2.9.3 and WordPress Version 4.9.4
February 19, 2018 at 6:54 pm #270878In reply to: New user not receiving activation email
David Cavins
KeymasterHi, there are a lot of reasons that email fails. There’s a current issue with non-SSL domains and Outlook.com for instance: https://buddypress.org/support/topic/buddypress-emails-not-going-out/
If you’re not receiving any emails from your WordPress site, start by testing your site setup with this plugin: https://wordpress.org/plugins/check-email/
In any case, we’ll need more detail, like what the user’s email address domain is, to help you troubleshoot.
David Cavins
KeymasterSounds like you could use a non-user-specific site wide notice for that. Something like this, maybe:
February 19, 2018 at 6:48 pm #270876David Cavins
KeymasterHi @jcrr-
Please open a ticket about this issue: https://buddypress.trac.wordpress.org/
Sounds like you’ve gathered some useful/interesting/disturbing info about the underlying issue.
Thanks!
-David
February 19, 2018 at 6:42 pm #270875In reply to: Are there any limitations in users count?
John James Jacoby
KeymasterHey Kristjan,
Congrats on the success of your community!
BuddyPress is designed and architected to scale quite elegantly, so long as the underlying hardware can also support it. It’s a bit of a non-answer, but is ultimately what it boils down to.
(For example, WordPress.org has about 13 million registered user accounts, and on any given day they are active across the various connected properties, but there are a few dozen web servers handling the constant database reads & writes, API calls for software updates, caching various parts, etc…)
Group creation (and subsequent user memberships) all eventually just bubble down to a singular and easy to use function call, so depending on your parameters, and with a small custom plugin, could be automated pretty easily. Nothing exists in BuddyPress itself to facilitate the automation part, but there’s nothing preventing it either.
Perhaps to more directly answer your question, there is no technical limitation to the number of users or groups or group members your community could have, beyond the limitations of MySQL, PHP, and modern computing itself (maximum 32 bit integer value, etc…)
February 16, 2018 at 8:04 pm #270815In reply to: Select box value pairs
Venutius
ModeratorI don’t think they work that way, I also looked at BuddyPress Xprofile Custom Fields but that did not allow for that, just a single field to enter the value. You might want to suggest it as a feature request on BuddyPress Trac:
February 16, 2018 at 6:13 am #270809In reply to: exporting data, users, and whole bp
djsteveb
ParticipantThanks for pointing this out @espellcaste!
Would it be good for me, or anyone else, to add some info to the ticket(s) (not sure if https://buddypress.trac.wordpress.org/ticket/7393 marked as dupe is kicking it back to the other one, of if the other is kicking it back to this one) –
anyway, would it be good, or be considered rude to mention that this may be required by the ggrp thing that the countries in Europe are expecting web sites to provide with possible fines for violating?
I kind of want to add some info to one of the tickets there, again not sure which one would be the appropriate one, but would like to add that since they are thinking about data in regards to groups, we may need to consider stripping info that others may have posted, whether it be in groups, or in private messages, as someone could end up with an export of info that had been set to be deleted or otherwise blocked / removed from the other user – and so it may be innaopriate to include messaging from groups or otherwise that was not added by the user him/herself.
Also I think we would need a way to include media, pictures used for avatars and used via plugins like rtmedia / mediapress in order to not just be thorough and kind, but to also be in compliance with the ggrp thing.
<- obviously I am not a lawyer and not well versed in this thing as far as all that goes.
However on another side I think exporting the data as a backup will potentially increase the suablity of buddypress exponentially as well. I am looking into helping spawn some methods for people to more easily launch a bp for their family musings and another instance for friend circles – this would be great during the term of hosting – but backups would be needed to prevent loss of presious family photos and such should a hack occur, or hosting not get paid, etc.
So backups, and a method for auto exporting I think is the missing piece at this point to really push for a much greater adoption of BP, which is really close to being a viable, and more private / controlled replacements for FB at this point.
the time is ripe for this.. hope we can make it happen before end of school year somehow.
February 16, 2018 at 3:58 am #270807In reply to: exporting data, users, and whole bp
Renato Alves
ModeratorThere is already a ticket about it: https://buddypress.trac.wordpress.org/ticket/408
February 13, 2018 at 7:10 pm #270784In reply to: Temporary Groups
David Cavins
KeymasterHi @plumis-
A group will always have an admin (the person who created it), so I’m not sure about your criteria for deletion, but deleting groups is straightforward. You’re going to need to add some cron jobs that run every fifteen minutes, then find the groups your want to delete (based on your criteria). Something like this:
// Get recently created groups: $groups = groups_get_groups(); foreach ($groups as $group) { // Delete groups with only one member. $members = groups_get_group_members( array( 'exclude_admins_mods' ) ); if ( 1 == $members['count'] ) { groups_delete_group( $group->id ); } }You’ll have to figure some things out, like how to schedule run the routine via cronjob (check out this plugin https://wordpress.org/plugins/wp-crontrol/), and also what your criteria will be.
bp-groups-functions.phphas many helpful functions in it that you could use.February 13, 2018 at 12:51 pm #270773In reply to: subscriber mail not sent
Varun Dubey
Participant@drpranshumehta Emails are more server-specific functionality; You can test using some plugins https://wordpress.org/plugins/check-email
If the server is is not able to send emails, you can try SMTP configurations to send emails.by default email is sent from wordpress@yourdomainname
You can change with email using any 3rd party plugin like https://wordpress.org/plugins/wp-mailfrom-ii/February 13, 2018 at 3:49 am #270768In reply to: Problem in the new hosting
Varun Dubey
ParticipantHi @kevin000012, seems like you had multisite enabled earlier and after migration it’s disabled. you can enable it again using the following approach.
https://codex.wordpress.org/Create_A_NetworkFebruary 12, 2018 at 6:25 pm #270759In reply to: Custom post feed
Varun Dubey
ParticipantThere are a couple of plugins like https://wordpress.org/plugins/category-specific-rss-feed-menu/ you can use them to offer category RSS for your members.
February 12, 2018 at 6:16 pm #270756In reply to: Create profile fields & groups field with a plugin
Varun Dubey
Participant@tom-corvus You can check codes at
https://plugins.svn.wordpress.org/bp-default-data/tags/1.2.0/process.php with function name bpdd_import_users_profile()
BP Default data plugin have created some fields and field group for BuddyPress.February 12, 2018 at 3:55 pm #270751In reply to: How to display the content on member page
Sebastien SERRE
ParticipantTry this https://wordpress.org/plugins/bp-display-content/ for multiple reasons, I stopped working on BP.
Hope it allways workFebruary 12, 2018 at 9:17 am #270744In reply to: How do i get all the xprofile data from only userid?
virajsonagra
ParticipantI am running following plugins in my site.
1. BuddyPress
2. BuddyPress cover
3. BuddyPress NoCaptcha Register Box
4. Buddypress Xprofile Custom Fields Type
5. BuddyPress xProfile Rich Text FieldWordpress version 4.5.1
February 9, 2018 at 8:42 pm #270722In reply to: How to find the link to user front (home) tab
Varun Dubey
Participant@pmaheepala domain/members/username/ should link to the front page, which needs to be added inside BuddyPress Menus http://prntscr.com/icjcek for time being, you can use https://wordpress.org/plugins/bp-direct-menus/ it’s an outdated plugin but it will serve the purpose for now. http://prntscr.com/icjklb
February 9, 2018 at 6:58 pm #270717In reply to: Password synch on registration
Varun Dubey
Participant@grounder BuddyPress use same user table to display users, it does not have its own instance to save the password. It might be possible you are using some custom approach to create an account, and it does not set the password, and WordPress is generating an auto-generated password for it.
February 9, 2018 at 6:43 pm #270714In reply to: admin change user profile photo?
Venutius
ModeratorThere’s no plugin that allows you to do that, but if you’ve got FTP access to your WordPress directories, it’s actually quite a simple task.
Firstly you need to find out the numeric user id for the person whose profile image you wish to change. I just looked them up in the bp_xprofile_data table using phpAdmin. however if that’s over your head you can go to Dashboard>>Users>>All Users and waive your mouse over that user, you will see the user id in the link address to edit that user, it will be something like …user-edit.php?user_id=17….
Once you have the user id, go to the wp-content/uploads/avatars directory. If the user already has a profile image there will be a directory with the same number as that user id, if they don’t you can create one.
Look inside the directories for one of the other users. Inside there you will find two files – ……bpfull.jpg and …….bpthumb.jpg. Download and find the size of these files, then you can create your new profile images, name them something similar (with the same length random string at the front, starting with a number, and that should be it.
Sorry I don’t have a really simple answer.
February 9, 2018 at 5:08 pm #270710In reply to: Mail activation Budypress
Varun Dubey
Participant@sandra17 Emails are more server-specific functionality; You can test using some plugins https://wordpress.org/plugins/check-email
If the server is is not able to send emails, you can try SMTP configurations to send emails.zckoqlzc
ParticipantYes, I know HTML hahaha 😉
but I would like to know the steps of WordPress to get the links …
February 9, 2018 at 6:47 am #270700In reply to: I’m confused about template packs
Varun Dubey
Participant@normancates that screenshot it not BuddyPress theme specific, it’s regular WordPress Profile screenshot.
Bp-nouveau will be part of BuddyPress template files after BP-3.0 updates.February 9, 2018 at 5:20 am #270699In reply to: WordPress to BuddyPress profile sync
krioteh
ParticipantNobody knows how to run a massive update of user profiles in the WordPress?
Sadness … 🙁February 8, 2018 at 5:17 pm #270681JC
ParticipantYou can find more info here:
https://buddypress.trac.wordpress.org/ticket/7390
See last message:
Outlook.com and Apple iOS Mail 10 does not support HTTP URLs for the List-Unsubscribe header (which is what we are using), so the “Unsubscribe” link will not show up in these clients.Now Outlook.com rejects those emails.
-
AuthorSearch Results