Tagged: tweaks Toggle Comment Threads | Keyboard Shortcuts

  • jarbenne 8:09 pm on March 5, 2012 Permalink | Reply
    Tags: , , tweaks   

    Slow Load Times 

    We are certainly mindful that at peak times during the school day, with the amount of user who are now on the Commons, that pages can have a tendency to be very slow to load. The intention is to limp through the rest of this week, and then implement strategies to improve this over the March break. With that in mind, the Commons may be down for a portion of the March break: please plan accordingly. #support

     
  • jarbenne 11:26 pm on February 9, 2012 Permalink | Reply
    Tags: , , , tweaks   

    I’ve added two different plugins to attempt to… 

    I’ve added two different plugins to attempt to improve the performance of the site. One, Lazy Load, should load images as they appear on the screen, rather than loading all of the avatars immediately. The other is called WordPress Minify, which should compress CSS and javascript.

    I’ve also turned off the call for gravatars using a function from the buddypress codex. Given that everyone within the community has Doppelme avatars, this scan is unnecessary.

    add_filter( ‘bp_core_fetch_avatar_no_grav’, ‘__return_true’ );

    I’m still contemplating some different cache items, but all experience with such functions seem to hamper the responsiveness of the activity stream.

    It will be interesting to see if these changes are noticeable once the site starts seeing visitors again tomorrow.

     
  • jarbenne 5:48 pm on January 20, 2012 Permalink | Reply
    Tags: , , tweaks, update   

    Creating Groups 

    Out of virtue of the Restrict Group Creation plugin, we are able to limit Group Creation to Teachers only. This is not to say that we don’t want students to have a say in the Groups that are created, but having a vetting process does ensure that there is no duplication.

    Restrict Group Creation relies on the WordPress Capabilities built into the software. We promote teachers to Contributors, and that allows them to create groups. This has been problematic because we are finding that teachers are accidentally posting on the main Commons blog (the one they are contributors on) rather than their own blog.

    My hope with this hotfix is to create a new “teacher” role, that can create groups, but won’t create the confusion that currently exists when teachers look under their My Sites listing and they see the Commons.

    I’ve added this bit of code to Plugins/ bp-custom.php file.

    'add_role( 'commons_groupies', 'Teacher', array( 'read', 'commons_groupies' ) );'
     

     

     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
shift + esc
cancel
Skip to toolbar