Search Results for 'wordpress'
-
AuthorSearch Results
-
November 25, 2015 at 6:57 pm #247189
In reply to: php fatal error $message->send()
r-a-y
Keymaster@garprogram – This fatal error is due to some changes we made in BP v2.4.0 to give users proper feedback messages when a private message fails to send.
It looks like we might have to add some additional hooks so plugin devs can set the error message.
In the meantime, here are two things I would recommend:
1. Use the
'bp_messages_recipients'filter instead of using the'messages_message_before_save'action:
https://buddypress.trac.wordpress.org/browser/tags/2.4.0/src/bp-messages/bp-messages-actions.php?marks=77-84#L772. As Henry mentioned, if you have to unset one recipient, you should unset all of the recipients to avoid the message from sending. The default error message will probably not suit your needs, so you might have to filter the error message with the
'gettext'filter temporarily until we introduce better error handling for plugin developers.November 25, 2015 at 2:17 pm #247176lifeisgood134
ParticipantHi,
That’s what I did, but it is still showing the error “Vendor registration is currently closed. if you have an existing account, you may log in and apply to become a vendor”. How do I fix this? I think the code is not completely removed from WordPress even when I delete BuddyPress in Plugins.
November 25, 2015 at 11:55 am #247168Henry Wright
ModeratorHow do I remove buddyPress completely from my wordpress and restore everything as pre-installation of BuddyPress?
You can just deactivate the plugin and remove the “Register” and “Activate” pages you created at Dashboard > Pages.
November 25, 2015 at 9:58 am #247167lifeisgood134
ParticipantHi, Any update on this? 🙁
How do I remove buddyPress completely from my wordpress and restore everything as pre-installation of BuddyPress?
November 25, 2015 at 9:13 am #247166In reply to: Cannot activate Buddypress
doncobb
ParticipantI posted three times yesterday, and none of my posts showed up in the forum. Today an Administrator contacted me and said my posts got caught up in the cache. But then, someone deleted two of my posts and changed the header of the only existing post to “How to install WordPress”, which isn’t at ALL what my post said. It said “How to install Buddypress”.
Now, I’m reposting again because I cannot change the header BACK, on my own post, and suddenly it activates correctly. Now, I can’t delete THIS post for some reason. No “Delete” link anywhere, so it’s a useless, resolved post that I don’t want any answers to. FYI…
November 24, 2015 at 7:50 pm #247151In reply to: Error on install and when trying to repair..??
r-a-y
KeymasterYou can ignore this message if you’re using BuddyPress on a production site.
To turn off debugging notices on production, set
WP_DEBUGto false inwp-config.php:
https://codex.wordpress.org/WP_DEBUGThis is a notice caused by a plugin that is initializing user info too early. If you want to find out which plugin is causing this, deactivate all your plugins and only activate BuddyPress. Next, activate your plugins one-by-one until you find the culprit.
November 23, 2015 at 10:02 pm #247126In reply to: No youtube preview
Venutius
ModeratorOne tip is to check if is because YouYupe are using different URL’s these days, I had an issue which I’ve still got where the old URL works fine but the new one does not, wordpress wraps the content in a link instead of previewing it.
November 22, 2015 at 9:09 pm #247094In reply to: Disable messages in Activity Stream
Henry Wright
ModeratorI have no idea if this plugin still functions because it was last updated ~4 years ago, but check out BuddyPress Block Activity Stream Types.
November 20, 2015 at 8:38 pm #247026In reply to: BP 2.4 breaks on page 2 of custom search results
r-a-y
KeymasterI’ve got a fix ready:
https://buddypress.trac.wordpress.org/attachment/ticket/6745/6745.01.patchApply the lines in that patch to your BuddyPress install.
To test this, you’ll need to set
WP_DEBUGtotrueso it will load the unminified version of the javascript:
https://codex.wordpress.org/WP_DEBUGLet me know if this fixes the problem.
November 20, 2015 at 6:17 pm #247012In reply to: How to update avatar user meta?
r-a-y
KeymasterWe do not store avatar data in the database.
We do a look up at the files level instead.
If you want to show an avatar based on a custom avatar stored in the database, you’ll need to use the
'bp_core_fetch_avatar'filter to override how BuddyPress shows avatars:
https://buddypress.trac.wordpress.org/browser/tags/2.4.0/src/bp-core/bp-core-avatars.php?marks=531-546,660-664#L531If you just want to display a user avatar, use the
bp_core_fetch_avatar()function:echo bp_core_fetch_avatar( array( 'item_id' => USER_ID_TO_GRAB_AVATAR_FOR ) );November 19, 2015 at 7:40 pm #246983ShaneValiant
ParticipantHere is the latest error log:
PHP message: WordPress database error Table ‘mysitename.wp_16_bp_xprofile_groups’ doesn’t exist for query SELECT DISTINCT g.id FROM wp_16_bp_xprofile_groups g WHERE g.id = 0 ORDER BY g.group_order ASC made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), call_user_func_array, bp_init, do_action(‘bp_init’), call_user_func_array, woffice_social_fields, xprofile_insert_field_group, BP_XProfile_Group->__construct, BP_XProfile_Group->populate, BP_XProfile_Group::get
PHP message: WordPress database error Table ‘mysitename.wp_16_bp_xprofile_groups’ doesn’t exist for query INSERT INTO wp_16_bp_xprofile_groups (name, description, can_delete) VALUES (‘Social’, ”, 1) made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), call_user_func_array, bp_init, do_action(‘bp_init’), call_user_func_array, woffice_social_fields, xprofile_insert_field_group, BP_XProfile_Group->save
PHP message: WordPress database error Table ‘mysitename.wp_16_bp_xprofile_groups’ doesn’t exist for query SELECT * FROM wp_16_bp_xprofile_groups WHERE name = ‘CoverOptions’; made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), call_user_func_array, bp_init, do_action(‘bp_init’), call_user_func_array, woffice_cover_add_field
PHP message: WordPress database error Table ‘mysitenameNovember 19, 2015 at 6:57 pm #246977In reply to: A Nicer Way To Edit Group Slugs
tonydjukic
ParticipantThanks @henrywright. I installed it and tested it out, doesn’t seem to be even slightest issue with it. @jjj should just push incremental updates that update compatibility so WordPress removes that ‘warning’ message – the plugin works great so it’s a shame that people new to BuddyPress (like myself) are scared away from it for no reason.
November 19, 2015 at 5:54 pm #246971In reply to: Questions about the concept of user profiles
shanebp
ModeratorTricky task… I don’t envy your use case testing!
BP uses the WP user – but stores profile data separately. But some fields are duplicated – like name.
You may have to write profile data to both user meta and xprofile tables.
And then use a conditional re whether the BP Extended Profiles component is enabled.
If it isn’t, then pull from user meta, etc.More info:
xprofile_sync_wp_profile()syncs Xprofile data (nickname, first name and last name) to the standard built in WordPress profile data.xprofile_sync_bp_profile()syncs the standard built in WordPress profile data to XProfile.November 19, 2015 at 2:19 am #246930Henry Wright
ModeratorHey @alessandrat
Welcome to the BuddyPress forum!
1. Have two separate front ends for different user types (with differently configured profiles), appearances, and accesses.
Yes. This can be done with either a plugin (try searching the Plugin Directory) or coded through the Member Types feature introduced in version 2.2.
2. Have a place where shortcode could be put in so that users can take a questionnaire containing likert questions on their profile and/or while creating their profile.
Either a post, page or perhaps even an activity update all spring to mind as possible places to add it.
3. One but not both kinds of users can create their own group (public, semiprivate or private) or forum and browse/ join existing ones
The ability for all members to create new groups comes as standard.
4. One kind of user but not the other needs to be able to set up ways for the other type of user to purchase products (I assume I can use another plugin but will need a place to put the shortcode)
This will need to be either custom coded, or you may find a plugin with the functionality you need.
Hope this info helps!
November 18, 2015 at 10:02 pm #246921In reply to: exclude_by_role function no longer working?
shanebp
ModeratorI don’t know why your function isn’t working, but since you only want subscribers, there are more efficient ways to approach the task.
Here is one:
Review this: https://codex.wordpress.org/Function_Reference/get_usersTry something like:
function subscribers_only() { $subscribers = get_users( array( 'role' => 'subscriber', 'fields' => array( 'ID' ) ) ); $subscribers = implode(",",$subscribers); return $subscribers; }And
$subscribers = subscribers_only(); bp_has_members( bp_ajax_querystring( 'members' ) . '&include=' . $subscribers )November 18, 2015 at 8:02 pm #246912In reply to: How to fix Activations
r-a-y
Keymaster– Make sure email is working from WordPress.
– Tell users to check their spam folder.If that doesn’t work, some have had success with the following plugin(s):
– Mail From: https://wordpress.org/plugins/search.php?type=term&q=mail+from
– A plugin that sends email via SMTP instead of PHP: https://wordpress.org/plugins/tags/smtpNovember 18, 2015 at 5:56 pm #246899In reply to: Sending message to all users in a group
danbp
ParticipantNovember 17, 2015 at 5:37 pm #246857In reply to: z-index issue with 2014 and cover images
r-a-y
KeymasterThanks @joost-abrhahams.
I’ve filed a ticket here:
https://buddypress.trac.wordpress.org/ticket/6738We’ll get this fixed for v2.4.1.
November 17, 2015 at 3:46 pm #246853In reply to: Membership Plugin
jscmal
ParticipantHi, I use Simple WordPress Membership Plugin. It works.
November 17, 2015 at 11:37 am #246848In reply to: BuddyPress 2.4.0 – Pietro
DerAphelion
ParticipantGreat work!
I´m REALY new in WordPress/Buddypress.
Now i have a question:How can i do it in another language now (Buddypress), in this case german needed?
greetings
Aphelion
November 17, 2015 at 12:56 am #246838In reply to: BP 2.4.0 – Group frontpage hierarchy question
r-a-y
KeymasterWe have deprecated support for the bp-default theme since v1.9:
The future of the bp-default themeThat being said, we can look into supporting this feature in bp-default for BP v2.5.0.
November 17, 2015 at 12:30 am #246834In reply to: BP 2.4.0 – Group frontpage hierarchy question
r-a-y
KeymasterYou might have to do a fresh install because BuddyPress 2.4.0 uses new code for the
/groups/single/home.phptemplate:
https://buddypress.trac.wordpress.org/browser/tags/2.4.0/src/bp-templates/bp-legacy/buddypress/groups/single/home.php#L75The code you listed above is older code.
If you already have those changes, then I’m guessing you are using a custom theme with BuddyPress support that has overriden the
groups/single/home.phptemplate. If that is the case, you’ll have to change the group home template to use these new lines.November 16, 2015 at 8:33 pm #246827In reply to: BP 2.4.0 – Group frontpage hierarchy question
r-a-y
KeymasterSince you modified the home.php template, you have to make some adjustments so the new changes will work.
Read the bpdevel post on this:
Get Ready! 2.4.0 will introduce important changes in Groups homesEspecially the last section –
Changes in 2 templates.November 16, 2015 at 7:39 pm #246826In reply to: Extended Profile Repeat Fields
Michael Kracke
ParticipantThis is a theme I have hand built, so there may be something that I don’t have correct.
I am using WordPress: 4.3.1 and BuddyPress 2.4.0
I have gone through and tried deactivating plugins and still no luck. All plugins are up-to-date. Problem seemed to occur when i would create a new field group and delete it. It almost seems like if I had a field then deleted it, it would show up again but as the Name field which is not deletable.
November 16, 2015 at 5:18 pm #246818In reply to: Post On Buddypress Profile
shanebp
ModeratorPlease use the
codebutton when sharing code.
For long pieces of code, please use a service like gist.You can submit an enhancement ticket here. Please search the existing tickets first for entries that already make the same request.
-
AuthorSearch Results