Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 9,051 through 9,075 (of 69,131 total)
  • Author
    Search Results
  • #260281
    Venutius
    Moderator

    This page has my own suggestions to try to avoid spammers, this combo dramatically cut down on the number of spam registrations and those that get through I hold them in a queue with BP Registration options a ban then based on discrepencies in their registration information.

    http://buddyuser.com/setting-up-wordpress-ready-for-buddypress

    danbp
    Participant
    #260277
    danbp
    Participant

    It relate to this filter bp_get_profile_field_data

    This example will hide tabs and fields to all except admin

    function bpfr_hide_profile_field_group( $retval ) {
    	if ( bp_is_active( 'xprofile' ) ) :	
    	
    	// hide profile group/field to all except admin	
    	if ( !is_super_admin() ) {		
    		//exlude fields, separated by comma
    		$retval['exclude_fields'] = '1';  
    		//exlude groups, separated by comma
    		$retval['exclude_groups'] = '3'; 			
    	} 
    	return $retval;		
    	
    	endif;
    }
    add_filter( 'bp_after_has_profile_parse_args', 'bpfr_hide_profile_field_group' );

    These tricks hide the tab content, not the tab itself. (it seems that it doesn’t work for groups at the moment…i asked devs for information) Use CSS display:none to hide the tab or consider this plugin.

    #260276
    danbp
    Participant

    Once registered you have no other choice as to remove them manually.
    To retain spammers, there many plugins and methods. Afaik none is the perfect solution and in many situation, you’ll need to use a mixed protection.

    There many topics on the forum about spam… Search them and make your opinion.
    That said, you might follow some basics to harden WordPress, which is a good debut (table renaming, ban “admin” as username, etc). After that, a bunch of anti-spam plugins will calm down their activity on the site. (ban-hammer, buddypress honeypot, etc) Also keep in mind that you won’t probably never avoid spammers. But there is a big difference between 2 spam/day and 1000/per day. 😉

    #260274
    danbp
    Participant

    Hi,

    try to add your po/mo files into wp-content/laguages/plugins/buddypress-user-blog/…mo, where /buddypress-user-blog should be the exact plugin name and …mo should be the right file name (something like abcd-en_UK.mo)

    Check the plugin doc for the correct directory name and the correct file name to use. As it is a premium plugin, it is not possible to give you more information for this as we have no access to the code.

    You might also ask for this on the plugin support.

    #260273
    danbp
    Participant

    As site admin you can create new users and give same a low strength password. This is basic WP management. You already have a link for this part of the work.
    If you have “hundreds” of friends to add it is of course a bit different – meaning it will not be done in 5mn. But it is not to me to tell you how to do this and where to find any knowledge document to achieve it. Codex are made for this – but sorry, i can’t sytematically lead any question asked on this forum to the appropriate page. My brain is not a codex summary ! Hope you understand. 😉

    You have to search on WP Codex and eventually on BP Codex. Essentially because of the phone number field, which is a custom field. You can do that with or without BP – and that’s why i said it’s not a BP question.

    If you want to take the BP route, you might check the code from BP Default Data, to understand how this plugin insert fake content to BuddyPress.

    #260271
    Krishnakumar K A
    Participant

    Hi, Thank you for the reply. Why do you think it’s not related to buddypress? I have few hundreds of friends. Can I create password like 1234 also using the above method? It would be much helpful if you can give me links to those knowledge base.

    #260252
    Venutius
    Moderator
    #260246

    In reply to: BuddyPress Components

    danbp
    Participant

    Does the server has the minimum requirements to run WP and BP ?
    What about the htaccess file ? When you moved the site directory, have you regenerate this file ?

    About blank pages

    #260245
    danbp
    Participant

    Hi,

    this question is not related to BuddyPress.
    You have several options, from simple to overcomplicated.

    1) If you have only a few friends to add, you can do that manually from dashboard. You need also a phone field in xprofile.
    2) If you have hundreds, you need to write or generate a csv file and import them via phpmyadmin or any msql command line…

    All this is explained on WP Codex.

    #260243
    danbp
    Participant

    Sorry for the outdated trick.
    bp_is_profile_edit is deprecated in favor of bp_is_user_profile_edit.

    Check for the outdated fn in the plugin mentionned in the error msg.
    In case of, here a tutorial with more options.

    #260231
    planetoffitness
    Participant

    Hey guys!


    @kida18
    thanks for your hint 🙂 i will remember the next time!


    @hnla
    thanks for your response. Uff, this sounds really complicated for me, im not a really good coder! 😉 So i think, i’ll wait for your update.

    What i want: i need different name colours of the profiles. For exemple admins red, subscriber black, fitnesscenters green. (for this is can give the fitnesscenters another user role for exemple editor)
    The name colour should be everywhere, in the profile, in the member list, in the activity list, everywhere. (Much better whould be, if you just can give the users different colours in the user list in the dashboard, and i dont have to give them different user roles.) This would be very usefull and easy to handle, i think this feature would also be interesting fot other buddypress users here.
    Look at my screenshots, will this be enable in your update 2.8?

    How to edit exemple

    Member List exemple picture

    Thanks guys

    #260230
    Hugo Ashmore
    Participant

    @planetoffitness
    If you inspect the generated markup you will see that the loop list elements will have a members type class rendered if user has a type you can then use those to effect styling on.

    In the member single screens it’s a little trickier you do have the ability to use the template hierarchy to set a template for a user type (please refer to the codex for instruction) otherwise for the moment you would need to modify the home.php template to add this yourself something like:

    <?php $user_type = bp_get_member_type( bp_displayed_user_id() ); ?>
    
    <div id="buddypress" class="<?php echo esc_attr( $user_type ); ?>">

    First line is an addition the second you need to modify the existing element to add the class and php – all in a child copy of the home.php template naturally.
    We will update buddpress core to add a class to the body elements for 2.8 as this would be useful and styling could be effected on that too so if you would rather wait for 2.8…

    #260229
    tizianopitisci
    Participant

    Unfortunally I didn’t find any solution. The issue is not reported to buddypress (I’ve tried but it was a bit complicated).

    #260227
    kida18
    Participant

    Hey there,

    I’m no expert, just a buddypress user like you, but you should precise what you want to change and where, for people to understand and help you.
    What element should have a different color? And where? On the members directory? In profiles?everywhere? etc
    Good luck

    #260221
    Paul Wong-Gibbs
    Keymaster

    Reported problems

    Extended Profiles – Field visibility option missing from registration form.
    Confirmed and being fixed for BP 2.7.1: #7298

    Extended Profiles – “years” missing from “Date Selector” field type.
    Workaround: edit the field, and reselect the “absolute” range option, customising the date range as required (default is from 1956 to 2026 for most servers).

    Confirmed and being fixed for BP 2.7.1: #7300

    Backwards incompatible function signature change for groups_get_group
    Confirmed and being fixed for BP 2.7.1: #7302

    Changes to loading deprecated code causing fatal errors.
    For certain very old themes, and for sites that use the Sites component.
    Confirmed and being fixed for BP 2.7.1: #7307

    #260218
    Paul Wong-Gibbs
    Keymaster

    I remember looking at Mailgun before when someone asked about it. Looking at its code very quickly, it has an option to send via its API or not. You’ll need to disable its “useAPI” option (otherwise, it redeclares the wp_mail function, which will force BuddyPress to send plain-text only emails). Another consequence of doing this is that Mailgun configures PHPMailer to send via SMTP, and some web hosts/servers block external SMTP requests.

    If that has no affect, I think you’re going to have to do debugging inside the bp_send_email function. Specifically, I’d start looking at the return value of this line: $status = $delivery->bp_email( $email );

    With luck, PHPMailer will give you an error message with some clues in.

    #260216
    Paul Wong-Gibbs
    Keymaster

    > I have fixed the error I was getting of email_missing by adding information into the taxonomy tables manually. There is no documentation about this which is odd.

    I don’t think it’s explicitly documented outside of the PHP – but it is hard to find, at the best of time – but this guide https://codex.buddypress.org/emails/custom-emails/ does mention it uses a custom taxonomy, so I wouldn’t call it “undocumented”. “Very badly documented”, maybe 😀

    #260214
    Paul Wong-Gibbs
    Keymaster

    Assuming everything is working as it is, I don’t know why it would show more users than you have, either. Have you tried going to Tools > BuddyPress, and running “Repair total members count” as a workaround for now?

    ico33
    Participant

    I mean: is it enough to create a file bp.custom.php and upload it in the right folder? or do I have in some way “say to buddypress that there is that file”? It’s enough to create it (because I don’t have that file) and upload it?

    sven1988xyz
    Participant

    Or is there maybe a way to sync the members of a Buddypress Group with for example the plugin “Groups”? So the group admin is able to change user role in this group in the backend?

    #260179
    Venutius
    Moderator

    BuddyPress does not come with a default image for groups, this must be getting added by something else, could it me your theme?

    #260172
    Paul Wong-Gibbs
    Keymaster
    #260157
    phucitol
    Participant

    @tizianopitisci

    did you find a solution to this, or do you have a link to the buddypress trac where it was reported?

    #260156
    Hugo Ashmore
    Participant

    It sounds like a template issue, there do need to be template revisions, additional template function tags to make this process work as detailed in the codex page here:

    Template Updates 2.7

    Custom themes may well not have updated their templates.

    Registering the new types can be done in theme functions files but then are locked to that theme or site.

Viewing 25 results - 9,051 through 9,075 (of 69,131 total)
Skip to toolbar