Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Avatar of ElbowRobo
    ElbowRobo
    Participant

    @elbowrobo

    I have managed to run some profiling with and without BuddyPress enabled:

    When it is disabled: 1674 different functions called in 3102 milliseconds
    When it is enabled: 2602 different functions called in 5446 milliseconds

    It calls just short of 1000 more functions which takes 2.5s longer. How would I go about optimising the BP code to reduce this?

    Thanks,
    Eliott

    Avatar of ElbowRobo
    ElbowRobo
    Participant

    @elbowrobo

    Bump?

    Avatar of ElbowRobo
    ElbowRobo
    Participant

    @elbowrobo

    Hmmm… I thought more people might want to utilise this sort of feature!

    Avatar of ElbowRobo
    ElbowRobo
    Participant

    @elbowrobo

    Damn all of that is pretty complicated. Somebody needs to make this easier. All I want is to add a notification with a link (that makes the notification go away :D). No components, admin, functions, templates or anything else. Well BP – this is the first time i’ve thought of you as being a challenge to work with.

    Avatar of ElbowRobo
    ElbowRobo
    Participant

    @elbowrobo

    @rogercoathup Many thanks, i’ll look into those! :D

    Avatar of ElbowRobo
    ElbowRobo
    Participant

    @elbowrobo

    I am competent in reading code, but I don’t know what needs to be changed.
    The plugin to do this says I need to edit header-buddypress, sidebar-buddypress and footer-buddypress so what exactly do I need to do to these files?

    Avatar of ElbowRobo
    ElbowRobo
    Participant

    @elbowrobo

    Personally,

    I find that http://www.cometchat.com/ is great.
    http://www.arrowchat.com/ is a little better but has a few more constraints.

    Hope this helps,
    Eliott

    Avatar of ElbowRobo
    ElbowRobo
    Participant

    @elbowrobo

    Unfortunately not, this plugin will do ‘effectively’ the opposite as it is a mass-messaging one. Sorry for the confusion :P

    Avatar of ElbowRobo
    ElbowRobo
    Participant

    @elbowrobo

    Ahh, I see now – thankyou.

    Avatar of ElbowRobo
    ElbowRobo
    Participant

    @elbowrobo

    Thanks for the reply, however I am still wondering how to get this to work.

    I have a page with a members’ details on and where I have defined $userid as that users’ id I use this within the page:

    `echo dpa_has_achievements(array( ‘user_id’ => $userid, ‘type’ => ‘unlocked’));`

    All I get is the number 1 or true. This isn’t showing the awards but simply checking if they have some?

    I have php-exec installed and fully functioning. Thanks again. Eliott

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