Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 5,126 through 5,150 (of 22,687 total)
  • Author
    Search Results
  • #248037
    @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.

    #248035
    r-a-y
    Keymaster

    For 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.

    #247962
    shanebp
    Moderator

    Did 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/wpdb

    #247957
    VersGemerkt
    Participant

    Hi 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:

    Screenshot with the custom field

    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

    #247951
    Henry Wright
    Moderator

    You 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.

    #247941
    Henry Wright
    Moderator

    Try using Theme My Login.

    #247919
    @mcuk
    Participant

    Maybe 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.

    #247908
    dlongm01
    Participant

    In 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;
    }

    #247896
    danbp
    Participant

    Hi,

    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

    #247880
    vinaysagar4u
    Participant

    Hi 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.

    #247877
    Andrew
    Participant

    Thanks 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.

    #247871

    In reply to: Friends widget

    shanebp
    Moderator

    There 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/

    #247864
    Venutius
    Moderator

    This 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

    #247853
    synfrag
    Participant

    I 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.

    #247852
    Henry Wright
    Moderator

    I’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

    #247847
    Henry Wright
    Moderator

    In that case, try asking here.

    #247844
    Henry Wright
    Moderator

    is_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.

    #247840
    Henry Wright
    Moderator

    When you say posts, do you mean WordPress posts, or BuddyPress activity items? Both “streams” are different and will require different solutions.

    #247834
    fried_eggz
    Participant
    #247824
    Henry Wright
    Moderator

    In that case @fried_eggz, can you open a ticket for this on Trac?

    #247810
    fried_eggz
    Participant

    Yes @henrywright, the settings are correct.

    Steps to repeoduce:

    1. Install vanilla WordPress 4.4
    2. Install vanilla BuddyPress 2.4.3
    3. Use default theme
    4. Post a status update
    5. Create a new user
    6. Log in as new user
    7. 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.

    Henry 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.

    Ref: https://buddypress.trac.wordpress.org/

    #247779

    In reply to: List users in admin

    shanebp
    Moderator

    There are plugins for your task, such as
    https://wordpress.org/plugins/recently-registered/

    #247766
    @mercime
    Participant

    @dopeboy What shanebp said. BuddyPress powers the 8.1 Million ++ user profiles at WordPress.org https://profiles.wordpress.org/dopeboy

    #247753
    ldesherl
    Participant

    Hi, 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.

Viewing 25 results - 5,126 through 5,150 (of 22,687 total)
Skip to toolbar