Skip to:
Content
Pages
Categories
Search
Top
Bottom

Buddypress 1.6.1 mail notification FROM field and dashboard lag + slow and unregistered authors comm

  • Avatar of ploupas
    ploupas
    Member

    @ploupas

    Day 1 of installing Buddypress 1.6.1, kinda awesome etc

    First two things i noticed:

    1) It changed notifications for new mails for comments, before it was in the : “[blogname] Comment: [blogpost] FROM: [Comment Author name]” format

    Now it become: “[blogname] Comment: [blogpost] FROM: [blogname]” format

    I googled it a bit and i am kinda sure all the magic happens here: http://buddypress.trac.wordpress.org/browser/tags/1.6.1/bp-core/bp-core-filters.php#L40

    Where:
    `function bp_core_email_from_name_filter() {
    return apply_filters( ‘bp_core_email_from_name_filter’, wp_specialchars_decode( get_blog_option( bp_get_root_blog_id(), ‘blogname’ ), ENT_QUOTES ) );
    }
    add_filter( ‘wp_mail_from_name’, ‘bp_core_email_from_name_filter’ );`

    So i am kindly i ask if there is any quick and dirty (through something like bp-functions.php if available)

    2) Admin Dashboard = “OH MY GOD”

    Any click in a link containing /wp-admin/ makes the server’s load go to sky even when i am the only user-admin, that’s something i can’t really figure out

    For logged in users i was thinking some rewrite of wp-admin link, or not showing at all, as they have profiles so they don’t need any wp-admin access (Maybe if i select not to sync Buddypress+Wordpress members? Or is it discouraged?)

    3) -Bonus version- Is there any quick way to add non registered user’s comments under their profile? Via MySQL or something… Just wondering…

Viewing 2 replies - 1 through 2 (of 2 total)
  • Avatar of ploupas
    ploupas
    Member

    @ploupas

    About 2)
    php-fpm had memory_limit at 32MB but php.ini at 128M, so lowering the limit back to 32M kinda fixed the problem

    Avatar of ploupas
    ploupas
    Member

    @ploupas

    About 3)

    quick and dirty, maybe could been added as feature when user registers and has made comments before

    ‘UPDATE wp_database.wp_comments SET user_id=’User_ID_our_member_got_after_succesfull_registration’ WHERE comment_author_email=”his/her_old@used_before_mail.com”;’

    edit: Is it normal looking at bp_blogs_record_comment() function for a chance to import “properly”?

    http://phpxref.ftwr.co.uk/buddypress/bp-blogs/bp-blogs-functions.php.source.html#l227

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Buddypress 1.6.1 mail notification FROM field and dashboard lag + slow and unregistered authors comm’ is closed to new replies.