Search Results for 'wordpress'
-
AuthorSearch Results
-
November 26, 2015 at 6:23 pm #247208
In reply to: Buddypress profile photo / cover image fails
r-a-y
KeymasterThanks for the report.
Can you do three things?
1) Set
WP_DEBUGto true inwp-config.php:
https://codex.wordpress.org/WP_DEBUG2) Open up
/bp-core/bp-core-attachments.phpand look for the following lines:// Resize the image so that it fit with the cover image dimensions $cover_image = $cover_image_class->fit( $args['file'], $dimensions );Right after that line, add:
_doing_it_wrong( 'bp_attachments_cover_image_generate_file', print_r( $cover_image, true ), '2.4.0' );3) Go to the “Change Cover Photo” page and try reuploading a photo.
Next, go to
/wp-content/debug.log, copy the entirebp_attachments_cover_image_generate_file was called incorrectlydebug message and paste it here.Going to ping @imath as well.
November 26, 2015 at 6:03 pm #247207In reply to: Problem with language/translate
r-a-y
KeymasterTry downloading the following:
- https://translate.wordpress.org/projects/wp-plugins/buddypress/stable/de/default/export-translations
- https://translate.wordpress.org/projects/wp-plugins/buddypress/stable/de/default/export-translations?format=mo
Rename the files to
buddypress-de_DE.poandbuddypress-de-DE.morespectively.Then, move the files to
/wp-content/languages/plugins/.Since the translation is not 100% complete, you might see some English strings.
Let me know if that works for you.
November 25, 2015 at 7:44 pm #247191In reply to: Problem with language/translate
r-a-y
KeymasterI think the German translation is not fully 100% translated, which is preventing WordPress from fetching the latest German translation for BuddyPress.
If you are able to help translate the remaining strings, please visit:
https://translate.wordpress.org/locale/de/default/wp-plugins/buddypressAlso, read the following guide to find out how to contribute towards the translation:
November 25, 2015 at 7:29 pm #247190In reply to: Dynamically Display HTML depending on User
cameck
ParticipantYou’re right! I didn’t realize it at first…. I appreciate all the help you’ve given so far. I can continue this on the S2 Member Forum if you like, you’re just doing such an awesome job though :D.
Regarding the
$s2member_level1, I was just pulling that out of my butt and it was only thing I put there that didn’t break the pages.But if you’re curious, this is what I have now:
<?php if(is_user_logged_in() && 4 == S2MEMBER_CURRENT_USER_ACCESS_LEVEL){ ?> <div class="paybox"> <h3>Make Payment with PayPal®</h3> <?php $uemail = getDisplayedUserEmail(); ?> <?php echo do_shortcode('[gravityforms id="7" field_values="recip-email=' . $uemail . '"]'); ?> </div><!-- .paybox --> <?php } ?>This is working for the most part, but oddly enough there are a few more employers that are still showing the paypal button. So, I started using this:
<?php echo S2MEMBER_CURRENT_USER_ACCESS_LEVEL; ?>
to see the output and most employers are the number 2, but a few are listed as 4 – which creates the problem. Ideally, I could just do it like in the previous code I had put up$type === $s2member_level1as that’s how they are listed in the backend of WordPress.November 25, 2015 at 6:57 pm #247189In 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.
-
AuthorSearch Results