Search Results for 'wordpress'
-
AuthorSearch Results
-
December 23, 2015 at 7:04 am #248037
In reply to: center buddypress register page
@mercime
Participant@mrunal2989 the easiest way to center the registration page to select the full-width page template (instead of the Default Template) of your theme from the “Register” page Page Attribute box and then use CSS on the #buddypress wrapper to center the registration page. e.g. add
#buddypress { width: 90%; margin-left: auto; margin-right: auto; }to your theme’s stylesheet.
December 23, 2015 at 6:02 am #248035In reply to: how to change the post Permalinks?
r-a-y
KeymasterFor groups, you could try this:
https://wordpress.org/plugins/bp-edit-group-slug/However, be aware that this will break your existing group links for those that have manually bookmarked or copied your group link.
December 22, 2015 at 12:25 pm #247962In reply to: How to display a custom field?
shanebp
ModeratorDid you also try
xprofile_get_field_data?You can always make a direct sql call to the database using the $wpdb global.
https://codex.wordpress.org/Class_Reference/wpdbDecember 22, 2015 at 10:20 am #247957In reply to: How to display a custom field?
VersGemerkt
ParticipantHi mcUK!
Thanks for you reply. I’m working with Lotte on this issue.
I tried adding your code. Everything should be in place right now, but it’s still not showing the custom fields. I’m probably using the code wrong…
I tested your code with a custom field ‘Opleiding’ which I added in WordPress: Users -> Profile fields:

I added this to bp-custom.php:
<?php function bptest_show_opleiding_field () { $opleiding_field = bp_get_member_profile_data( 'field=Opleiding' ); if ( ! $opleiding_field ) { return; } else { echo '<span class="custom-field-text">' . $opleiding_field . '</span>'; } } add_action ( 'user_opleiding_field', 'bptest_show_opleiding_field' ); ?>Then I added this to order.php (the php file where the custom field should pop-up):
<div id="user-opleiding"> <?php do_action ( 'user_opleiding_field' ); ?> </div>What am I doing wrong? It’s probably a typo or a wrongly added term… But I can’t figure out what it is!
Hope you can help us out! Thanks for the help so far!
David
December 21, 2015 at 8:10 pm #247951In reply to: Spammers let in/Real people kept out.
Henry Wright
ModeratorYou could activate some kind of registration honeypot to keep the spam bots out. This technique has worked well for me in the past.
Example: https://en-gb.wordpress.org/plugins/registration-honeypot/
Regarding the confirmation email problem, this seems to be a common problem and one that isn’t easily solved. Many things can result in email going into spam, most are usually related to your mail server setup or the user’s own spam filter settings.
December 21, 2015 at 6:20 am #247941In reply to: How to back previous page after login
Henry Wright
ModeratorTry using Theme My Login.
December 20, 2015 at 4:32 am #247919In reply to: CSS causing cover image to disappear.
@mcuk
ParticipantMaybe I’m misunderstanding you, not sure from your description whether or not you have already created a child theme with your own CSS file?
https://codex.wordpress.org/Child_Themes
You can just make all your styling changes in that instead of copying various whole CSS files from the BuddyPress folders (and your changes will be kept whenever WP or BP are updated).
Also double check the box for cover photo is ticked on your WP dashboard if you want your users to be able to use them.
December 19, 2015 at 5:30 pm #247908In reply to: position profile field description
dlongm01
ParticipantIn fact I have found a reasonable solution using CSS. I found some key clues on in the support forum for this plugin: Buddypress Xprofile Custom Fields Type (though I’m not using that plugin).
If anyone has any advice about how to improve this I would be glad to hear it. Thanks
/* Buddypress profile field description position*/
.editfield {
position: relative;
top: 5px;
}
.editfield label {
font-weight:bold;
margin-bottom: 30px;
}
.input field_4 {
margin-top: 5px;
}form.standard-form p.description {
margin: 0 0 15px;
position: absolute;
top: 20px;
line-height:1em;
}December 19, 2015 at 1:20 pm #247896In reply to: Plugin Buddy Press leads to error 508.what to do?
danbp
ParticipantHi,
generally, a 508 error means that your website is hitting one or more of the hosting account’s virtual resource limits: CPU Usage, RAM Usage, I/O usage or Entry Processes.
first thing to check is your server ressources. Use phpinfo() to get thoose information.
Then compare with minimum requirements for a WordPress/BuddyPress install.
In the meantime, open wp-config.php and activate debug mode (set it from false to true) and see if you receive some notices or warnings.
If you get a php error, such as a missing tag, you have to repair that. Or upload a new copy of an eventually mentionned file. Or if you did some custom coding somewhere, remove it or revert back…
If there is no error mentionned, it is your host plan which is not taylored for WordPress/BuddyPress. In this case, you have to change your host or plan, if you want to use the full power of WP !
You will be confortable with at least php 5.5 and a memory_limit of 64 mb
December 18, 2015 at 7:50 pm #247880In reply to: Buddypress Multisite/Multinetwork.
vinaysagar4u
ParticipantHi Valuser,
That’s exactly what I mean Valuser. The way they do it right now is by using third party plugins called BP Multinetwork by segregating databases for every subsite.My idea is that, it need not be segregated to achieve this. Actually, WordPress does this very well with Multisite. Buddypress can do it too if it stored the blog ID value in database for every activity captured, groups and members. That way you can design options to filter members of the present site, activity and groups that can all have separate and sitewide data. This way they don’t have to segregate database by the BP Multinetwork plugin and still have separate activity, groups and members. Better thing is you can “Internetwork”. Which means, you can have a group that is subsite specific and still build an option to share it with another subsite/main site as well, within the network/multinetwork platform.
December 18, 2015 at 5:22 pm #247877Andrew
ParticipantThanks Henry. I’ve got more info on this to help the core team fix this issue.
I think all WordPress conditionals are not working correctly inside the bp_after_has_activities_parse_args filter. Only BuddyPress conditionals are working inside it.
I also have custom member pages too using bp_after_has_members_parse_args, but WordPress conditionals inside that are all working fine, example:
// filter member pages function cm_members_filter( $retval ) { if ( is_page('custom-page-3') ) { $retval['per_page'] = 1; } if ( is_page('custom-page-4') ) { $retval['per_page'] = 5; } if ( is_search() ) { $retval['per_page'] = 3; } return $retval; } add_filter( 'bp_after_has_members_parse_args', 'cm_members_filter' );It is just the activity parse args that is having problems with WordPress conditionals. I can provide further info to help figure out why WordPress conditionals don’t work correctly inside bp_after_has_activities_parse_args, it has something to do with the way ajax is used on the load more button to load more items:
If I remove activity ajax features by removing <div class=”activity”></div> or by removing bp-templates/bp-legacy/js/buddypress.min.js. The load more button now works like a pagination next page button (similar to the members directory pagination). This makes the WordPress conditionals work fine and all my custom activity pages are now filtering correctly.
So to conclude, WordPress conditionals are working OK inside bp_after_has_members_parse_args, but they are not working correctly inside bp_after_has_activities_parse_args unless the activity ajax is removed.
December 18, 2015 at 4:41 pm #247871In reply to: Friends widget
shanebp
ModeratorThere may be an issue with your theme.
You need to add the widget
http://www.wpbeginner.com/plugins/how-to-add-wordpress-widgets-in-post-and-page-content/December 18, 2015 at 11:17 am #247864Venutius
ModeratorThis is a generic WordPress error telling you it has ran out of allocated memory, the typical fix is in increase the memory size in your PHP.ini file though you may need the advice of your hosting provider as to exactly how you will do that.
Here is a typical setting
memory_limit = 256M
December 17, 2015 at 8:24 pm #247853In reply to: Trouble with custom activity function
synfrag
ParticipantI actually didn’t know about that, I’m fairly new to WordPress. I’ll certainly update that and the companion queries that go with it once I can get this function sorted out.
December 17, 2015 at 8:20 pm #247852In reply to: Trouble with custom activity function
Henry Wright
ModeratorI’m wondering why you’re writing a custom query to get user meta? That’s what the
get_user_meta()function is for.Ref: https://codex.wordpress.org/Function_Reference/get_user_meta
December 17, 2015 at 7:42 pm #247847In reply to: Start number of post on posts stream on page
Henry Wright
ModeratorIn that case, try asking here.
December 17, 2015 at 5:53 pm #247844Henry Wright
Moderatoris_page()has been problematic for me in the past (when using with BuddyPress) but I thought those problems had been resolved. Feel free to open a Trac ticket for this.December 17, 2015 at 3:55 pm #247840In reply to: Start number of post on posts stream on page
Henry Wright
ModeratorWhen you say posts, do you mean WordPress posts, or BuddyPress activity items? Both “streams” are different and will require different solutions.
December 17, 2015 at 8:53 am #247834In reply to: No notifications for replies
fried_eggz
ParticipantDone. Trac ticket is here
December 16, 2015 at 9:23 pm #247824In reply to: No notifications for replies
Henry Wright
ModeratorIn that case @fried_eggz, can you open a ticket for this on Trac?
December 16, 2015 at 3:46 pm #247810In reply to: No notifications for replies
fried_eggz
ParticipantYes @henrywright, the settings are correct.
Steps to repeoduce:
- Install vanilla WordPress 4.4
- Install vanilla BuddyPress 2.4.3
- Use default theme
- Post a status update
- Create a new user
- Log in as new user
- Comment on status
Just to be clear, I’m talking about notifications in WordPress toolbar. Have not checked if email notifications work since I’m on localhost.
December 16, 2015 at 10:26 am #247802Henry Wright
Moderator@mcpeanut I’m unable to test right now but can you give this a try on Twenty Fifteen or Twenty Sixteen and if the problem persists, would you mind opening a Trac ticket for this? Copying and pasting some of what you’ve wrote already should be fine.
The core devs might not see this forum topic.
December 15, 2015 at 1:41 pm #247779In reply to: List users in admin
shanebp
ModeratorThere are plugins for your task, such as
https://wordpress.org/plugins/recently-registered/December 15, 2015 at 4:01 am #247766@mercime
Participant@dopeboy What shanebp said. BuddyPress powers the 8.1 Million ++ user profiles at WordPress.org https://profiles.wordpress.org/dopeboy
December 14, 2015 at 7:57 pm #247753In reply to: Buddypress plugin does nothing…
ldesherl
ParticipantHi, Andrew:
I’m having the same issues; I use the same updated WordPress and this plugin does not work for me, either. I notice that you have not gotten support. Too bad they do not even offer email support. Not good.
-
AuthorSearch Results
