Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 6,626 through 6,650 (of 22,683 total)
  • Author
    Search Results
  • #231530
    Henry Wright
    Moderator

    Hi @jhvaletaolcom

    You can’t do this through BuddyPress itself, but there may be a plugin that does it for you. Take a look on the WordPress Plugin Directory to see if anything is available.

    #231529

    In reply to: How to "Like" ?

    Henry Wright
    Moderator

    Hi @disha76

    I have installed Jetpack Like. But when a blog post is Liked / favorited it does not show in my BP Favorit list.

    As far as I know, Jetpack Likes apply to blog posts only and are completely unrelated to BuddyPress favorites. If you ‘like’ something via Jetpack, then that’s separate to any ‘favoriting’ that you do via BuddyPress.

    Another problem with Jetpack Like is it asks my blog visitors or members to register at wordpress.com compulsarily. Am I missing something?

    I’m not aware of the specifics of Jetpack Likes, but you could try taking a look on their support page. I do believe they have an option to contact someone in their support team:

    http://jetpack.me/support/likes/

    #231515
    djsteveb
    Participant

    Looks like someone has forked or remade / resurrected this. From the support threads for the activity stream types block thing on wp repo; lenasterg.wordpress dot com/2014/11/14/bp_block_activity_types/

    Says code is posted on github instead of wp repo – can anyone confirm this code is good / safe to use?

    Why does buddypress dot org forums throttle and block me from posting half the time? meh. I have to cut up links, remove words. Another why we can’t have nice things, thing, I guess.

    #231511
    djsteveb
    Participant

    A different method to get similar results:
    I use BuddyPress Block Activity Stream Types ( https://wordpress.org/plugins/buddypress-block-activity-stream-types/ )

    and I have these set to be axed from activity stream:
    deleted_group_document, new_blog, new_member, joined_group, friendship_created, activity_liked

    although it is in desperate need of an update / fork to make it work smoother with bp 1.9 plus I think. I just looked into plugin settings to get info for you, and I see a weird message on the settings page:
    Warning: Missing argument 2 for wpdb::prepare(), called in /wp-content/plugins/buddypress-block-activity-stream-types/admin/bp-activity-block-admin.php on line 6 and defined in /wp-includes/wp-db.php on line 1154

    Hmmm.. it still works to block the annoying stuff my users have no interest in. Wonder what it will take to get this plugin forked and updated.

    #231510

    In reply to: How to "Like" ?

    djsteveb
    Participant

    @disha76
    I would not use jetpack and try https://wordpress.org/plugins/buddypress-like/ instead.

    That may do what you are looking for, and it may not.. just a thought.

    #231495
    shanebp
    Moderator

    Did you mean BuddyPress as opposed to bbPress?

    Wouldn’t it be faster to just check for BuddyPress in your plugin and if found remove their filter and then replace it?

    You can always create a ticket in trac. If you do, please reference this thread.

    #231491
    megnicholas
    Participant

    Hello I am the author of the contact form plugin.

    The problem is that bbpress is adding a filter ‘wp_mail_from_name’ when the plugin is loaded.

    /**
     * Set "From" name in outgoing email to the site name.
     *
     * @uses bp_get_option() fetches the value for a meta_key in the wp_X_options table.
     *
     * @return string The blog name for the root blog.
     */
    function bp_core_email_from_name_filter() {
     	return apply_filters( 'bp_core_email_from_name_filter', bp_get_option( 'blogname', 'WordPress' ) );
    }
    add_filter( 'wp_mail_from_name', 'bp_core_email_from_name_filter' );

    My plugin also uses this filter. It applies it just before sending a mail and then removes it afterwards. When applying the filter it also checks whether any other plugin has already changed the from name from the default: ‘WordPress’, if so it does not apply the filter. When BBPress is active, the from name is not the default so the filter is not applied. This has been done so that the plugin works well with other plugins such as wp-mail-smtp which also allows the from name to be set.

    I would like to request that BBPress only applies this filter at the time of sending the mail and then removes it afterwards as it only applies to emails that are sent from BBPress.

    #231472
    Paul Bursnall
    Participant

    Hi @henrywright

    I opened a Trac ticket to suggest Live Notifications some time ago:
    https://buddypress.trac.wordpress.org/ticket/5976

    The theme I’m beta testing has these included.

    This other ticket covers what I believe needs fixing with how notifications are generated:
    https://buddypress.trac.wordpress.org/ticket/6057#ticket

    #231470
    Henry Wright
    Moderator

    Hi @style960

    How do you suggest notifications be improved? If you think they are seriously flawed, then you could open a Trac ticket with your observations.

    #231468

    In reply to: creating custom link

    tsabar
    Participant

    on my wordpress/buddypress site i want to offer webinars that users can register to with one-click using a properly formatted link, basically just need to know how to output the first and last name buddypress variables from the registration form, like you showed me above with the email address…

    #231444
    djsteveb
    Participant

    @giftvincy
    I am sure there are many different “membership plugin” options out there..

    I’d suggest starting with the “press permit core” plugin
    ( https://wordpress.org/plugins/press-permit-core/ )
    which should do what you are describing I believe.

    #231443
    djsteveb
    Participant

    Without knowing everything exactly the way you envision, from reading:

    4 different categories where different Contributors can write new posts and interact with the Participants in the forum (better way to comment and reply to questions using the forum, than WordPress’s commenting system). These Contributors, however, must have their own public profile and allow for Participants to subscribe to their posts. So far, I’ve used different plugins:

    I think if you drop buddypress… do a WP MultiSite install – with 4 sub blogs… look into creating “author pages” – not all themes do that well out of the box… a simple subscribe to blog plugin for each of the 4 blogs.. I think you can install bbpress and mix it with each sub blog – but I have not messed with bbpress in a while, so not sure the best way to connect that.. I think you can enable to the bbpress “sitewide” then each individual sub blog author and enable it or something.. then code that into the sidebar if each blog.. that would do everything you have said I think.. maybe that will get you in the direction you are trying to go.

    I suggest searching the wp plugin repo for plugins that are “multi site” enhancements.. look into “author pages” in the codex, and search for themes that have special author pages to make experimenting easier..

    #231442

    In reply to: Social login

    ShMk
    Participant

    Thanks for the reply,
    I’ve found these 2 plugins that are BuddyPress compatible and looks regularly updated:
    https://wordpress.org/plugins/oa-social-login/
    https://wordpress.org/plugins/wordpress-social-login/
    I’ll give both a try and I hope that at least one will fit my website needs 🙂

    #231416
    djsteveb
    Participant

    @sbraiden – I had similar 24 second page load times, and tried to get advice for enqueing, dergistering, and compacting the multiple and overlapping java and css all these plugins attached to buddypress are mixing in on top of the themes stuff.

    Y Slow gives my BP site with basic plugins an “F” – WP professionals shrug it off – meh.

    (more one all that here: http://premium.wpmudev.org/forums/topic/deregister-enque-compact-css-and-java-jquery-buddypress-load-time )

    I have a sneaky suspicion however that my load times were an issue for me when logged in, and perhaps being logged in as an admin, I THINK that the (stupid) wpmudev dashboard plugin was slowing down my page load speed dramatically more than anything else. It was strange that after I complained of my long page loads, that 2 days later wpmudev had an update for their dashboard thing, and then my page load time went to like 3 seconds. – Coincidence, maybe, nothing definitive. – Everyone else said the pages loaded fine – so maybe it was just an admin thing – or maybe my ghostery blocking gravatar loads or something.

    ANYHOW – in regards to hosting, I have a small buddypress site running fine on a shared server with amerinoc. I have one that is fairly busy running fine on a dedicated server at certified hosting.

    I personally think that most important thing for a WP based site to perform well is blocking all the bad bots.

    I have found that blocking all the naver and badu spiders (And most others) with a robots/txt file has decreased the sql over load (at peak times) on my servers by more than 80%.

    I found that hosting a few wp sites on a shared server or dedicated could cause problems not just with spiders crawling pages too much too fast for indexing, but also all the attempting account creations / account brute force logins – even if they are blocked with something like sucuri or limit login attempts – every time they tried to login – they were using up server resources to load the login page, then hit the database to check credentials.

    I also suggest using a pwd auth like explained here: http://support.hostgator.com/articles/specialized-help/technical/wordpress/wordpress-login-brute-force-attack

    locking down the login with a double thing like that is fine for most WP installs, and a private family / friends BP site should be fine – when the bots can’t login through the first thing there is no need for wordpress to load a bunch of php / css files and pull from SQL a bunch of times just to give a bot a failed login – It becomes a problem for general open to the public buddypress comms I guess.

    Now I set all my non-BP sites to use the double auth, I block all search engine bots aside from the top three selectively with robots.txt – and now just about any server can run fine with wp / bp – especially if some attention is paid to plugin overhead, wp-cacheing tools.

    I have my fingers crossed the new bp-mediapress (sp? and Beta!) plugin thing will decrease the plugin overhead of rtmedia and offer a better alternative for pics and stuff.

    Same random thoughts – I’m not an expert so take my 2 cents with a grain of salt or two..

    #231414
    Henry Wright
    Moderator

    Here’s my stab at it, in actual code (demonstrating what I mean by my rambling above):

    function my_add_meta( $user_id, $key, $user ) {
        add_user_meta( $user_id, 'first_login', 'not_yet' );
    }
    add_action( 'bp_core_activated_user', 'my_add_meta', 10, 3 );
    
    function my_check_meta( $redirect_to, $redirect_to_raw, $user ) {
        $meta = get_user_meta( $user->ID, 'first_login', true );
        if ( $meta == '' ) {
            // The user has logged in before
        } else {
            // The user is logging in for the first time.
            // Do something here.
            delete_user_meta( $user->ID, 'first_login' );
        }
    }
    add_filter( 'bp_login_redirect', 'my_check_meta', 10, 3 );

    References

    https://codex.wordpress.org/Function_Reference/add_user_meta
    https://codex.wordpress.org/Function_Reference/get_user_meta
    https://codex.wordpress.org/Function_Reference/delete_user_meta

    #231412

    In reply to: Social login

    Henry Wright
    Moderator

    There are lots in the WordPress Plugin Directory. The problem with social login plugins is they’re very hard to maintain from the developer’s point of view. Often, social networking sites update their APIs which results in the plugin code no longer working. My suggestion is, find a plugin that’s actively maintained – that way, you’ll be in a better position should it need updating in future.

    #231408
    ShMk
    Participant

    Thanks @henrywright,
    I’ve added the filter just before sending the mail and I immediatly remove it on bp_core_sent_user_validation_email to avoid problem on other WordPress mail that needs text/plain.

    I’ve also found in the code inside bp_core_signup_send_validation_email( $user_id, $user_email, $key ) function these three hooks that I used to change the message as needed by my website:

    $to      = apply_filters( 'bp_core_signup_send_validation_email_to',     $user_email, $user_id                );
    $subject = apply_filters( 'bp_core_signup_send_validation_email_subject', $subject,    $user_id                );
    $message = apply_filters( 'bp_core_signup_send_validation_email_message', $message,    $user_id, $activate_url );
    #231404

    In reply to: paid membership

    Hugo Ashmore
    Participant

    This isn’t really a BuddyPress question as such. Try googling/searching the WP plugin repo for WordPress subscription / membership plugins, there are a few that will serve your purposes S2Member is generally suggested as a good one.

    #231393
    danbp
    Participant

    hi @tarinarmolanya,

    do you really think a hacker needs to read a username on a profile to hack an account ?

    @fuzzielogix
    ‘s CSS trick may hide the display, but the username still appears in the source code. Could eventually be usefull if you need some space on your template, but is completely barren for any other purpose.

    And what about the usernicename in the profile URL and of course in the page title ?

    Don’t waste your time with such pseudo security legends. The interesting place to go for a hacker is your DB and datas, not your template.

    The only thing to do, and if possible to follow, are the recommendation given on this codex article. Dot.

    #231352
    valuser
    Participant

    Hi @ndh01,

    I think you could do this just with buddypress.

    (just please backup database before….. etc)

    Go to Profile Fields—> (Click) Add New Field Group

    Add New Field (text) say Field Name virgin

    Then add the following to your functions.php

    function vub_login_redirect($redirect_to, $set_for, $user){
    
    	global $current_user, $bp, $wpdb;
    	$val = 'no';
    	if (bp_get_profile_field_data (virgin, $user -> ID )!=""){
    	$redirect_to = bp_core_get_user_domain($user->ID) .'/groups/';	
    }else{
    	xprofile_set_field_data( 'virgin', $user -> ID, $val);
    	$redirect_to = bp_core_get_user_domain($user->ID) .'/profile/change-avatar/';
    }
    
    	wp_redirect( $redirect_to );
    	exit();
    
    }
    
    add_action('login_redirect', 'vub_login_redirect', 20, 3);

    Alternatively you could as you have suggested create a new meta.

    A useful plugin for that would be User Meta Manager

    Add Custom Meta say a text field Name — firsttimer

    then add the following (instead of the above) to your functions.php

    function vu_login_redirect($redirect_to, $set_for, $user){
    
    	global $current_user, $wpdb;
    	$firsttimer = get_usermeta($user -> ID, 'firsttimer',single);
    	$val = 'no';
    	if (!empty ($firsttimer)) {	
    	$redirect_to = bp_core_get_user_domain($user->ID) .'/groups/';
    }else{
    	update_user_meta( $user -> ID,'firsttimer',$val);
    	$redirect_to = bp_core_get_user_domain($user->ID) .'/profile/change-avatar/';
    }
    	
    	wp_redirect( $redirect_to );
    	exit();
    
    }
    
    add_action('login_redirect', 'vu_login_redirect', 20, 3);

    Obviously change the redirects to wherever you want the user to go.

    #231351
    Dave Lozier
    Participant

    @sbraiden – I recently helped migrate a site off of wpengine because of performance issues and the price wpengine wanted for more horse power under the hood. Their next level of service was going to cost $3200 a month. I suggested linode.com and was also amused by the fact that wpengine runs on top of linode.

    The page generation times for wordpress/buddypress/bbpress along with various plugins (gravity forms, buddypress xprofile custom fields type, gravity forms upload rules, gravity forms wysiwyg, gd bbpress toolbox, cloudflare…) was not good. It is still not where we want it either, unfortunately.

    The site is quite active, pushing 30,000 members and over 1.3+ million rows in the posts table. On average the page generation times are about 1.5 seconds for logged in users. Adding a new bbpress topic/reply can time out sometimes though. (still on the list to track down and fix)

    We utilize Cloudflare out front for a CDN and their threat/spam protection. Their service is free but if you need more page rules to balance out caching the pro service level is $20 a month.

    On linode we have a node balancer in front of two 4 core app server nodes. The app server nodes each connect directly to their own 8 core database nodes in a master master setup. This will be changing down the road once the database indexes are trimmed down with some denormalization. The cost for the node balancer, two 4 core and two 8 core nodes is $260 a month but that’s also allowing for some room to grow, capacity wise.

    Server software is a combination of nginx, apache (threaded), php-fpm, glusterfs (upload directory only), memcache, zend opcode cache and mariadb. Nginx is the web server in front of apache which serves up static files from the glusterfs file system. Nginx is caching the static content being served up by apache along with full page caching (fastcgi) for anonymous visitors. Cloud flare is also caching the static content and to date we aren’t having any performance issues with IO and glusterfs.

    I hope this helps. It can be done but it takes some effort (and money) to do so.

    #231350
    alirat
    Participant

    Thanks for your reply. Not keen on WPMU Dev products myself, (not the products but the membership thing) so will have a look at some other plugins.

    Is BP intended to have the users use the ‘Post’ function of WordPress to share their stuff?

    #231348
    digitalpur
    Participant

    Hello @emidio007,

    you can look here: http://www.digitalpur.de/wordpress-buddypress-rtmedia-limit-upload-images/

    This could help you. I have implemented a similar solution for one of my clients. at the File “rtMedia.backbone.js” i have created a loop.

    i have searched for “FilesAdded” and have added there this loop. You must costumize it for your needs.
    while (up.files.length > 4) { up.files[4].remove(); }

    The Problem here: Every time you update “rtmedia”, the “rtMedia.backbone.js” will be overwritten.

    #231345
    danbp
    Participant

    hi @alirat,

    as no add media button exists.

    Is not intended for. Notices are for brief messages, and html is stripped for security reason.

    To get that, consider this plugin.

    #231339
    Henry Wright
    Moderator

    Security out of the box is fairly tight but as @shanebp mentions above there are ways of ‘hardening’ WordPress security. Also, you have to be careful when custom code or plugins are added – be sure the code is secure.

    Separate to security but important to you would be the issue of privacy. BP offers some privacy control but you could always extend on that depending how sensitive exactly your info is (and it sounds like your info will be extremely sensitive).

Viewing 25 results - 6,626 through 6,650 (of 22,683 total)
Skip to toolbar