CUNY Graduate Center - Project Tracking System: Issueshttps://redmine.gc.cuny.edu/https://redmine.gc.cuny.edu/favicon.ico2016-07-25T17:41:16ZCUNY Graduate Center - Project Tracking System
Redmine CUNY Academic Commons - Bug #5836 (Resolved): Memcached caching strategy on new serverhttps://redmine.gc.cuny.edu/issues/58362016-07-25T17:41:16ZRaymond Hoh
<p>This isn't really an issue, but thought we needed a space to document this and I didn't want to use the CAC group or an email chain to state this.</p>
<p>On the new server, we have chosen to use Memcached and the WP PECL Memcached Object Cache plugin:<br /><a class="external" href="https://github.com/tollmanz/wordpress-pecl-memcached-object-cache">https://github.com/tollmanz/wordpress-pecl-memcached-object-cache</a></p>
<p>If Memcached is used for other sites (not just the Commons), there is the potential for cache collisions to occur due to the cache key being the same by default.</p>
<p>To fix this, we should define the <code>'WP_CACHE_KEY_SALT'</code> constant in <code>wp-config.php</code> for each site that is going to use Memcached:<br /><a class="external" href="https://github.com/tollmanz/wordpress-pecl-memcached-object-cache/blob/master/object-cache.php#L836">https://github.com/tollmanz/wordpress-pecl-memcached-object-cache/blob/master/object-cache.php#L836</a></p>
<p>On the dev site for NYCDH.org, I'm using this:</p>
<pre>
// Memcached object cache unique key
define( 'WP_CACHE_KEY_SALT', DB_NAME . ':dev:' );
</pre>
<p>Boone, we should probably commit a variation of this for CAC 1.9.22 before the migration takes place. Let me know if you'd prefer a different prefix.</p> CUNY Academic Commons - Bug #5257 (Resolved): Social Paper: Comment indicator disappears after ad...https://redmine.gc.cuny.edu/issues/52572016-02-24T06:32:30ZRaymond Hoh
<p>See <a class="external" href="https://redmine.gc.cuny.edu/issues/5255#note-5">https://redmine.gc.cuny.edu/issues/5255#note-5</a></p>
<p>Luke's original report is as follows:</p>
<blockquote>
<p>Seeing issue where when I submit a comment it is successfully stored (screenshot 1), then when I click elsewhere on the page, the comment and comments indicator are not visible (screenshot 2) until I reload the page (screenshot 3).</p>
<p>Using Chrome.</p>
</blockquote>
<p>Screenshot 1:<br /><img src="https://redmine.gc.cuny.edu/attachments/download/2662/1.png" alt="" /></p>
<p>Screenshot 2:<br /><img src="https://redmine.gc.cuny.edu/attachments/download/2663/2.png" alt="" /></p>
<p>Screenshot 3:<br /><img src="https://redmine.gc.cuny.edu/attachments/download/2664/3.png" alt="" /></p> CUNY Academic Commons - Bug #4083 (Resolved): My Commons: New users see empty "group joined" acti...https://redmine.gc.cuny.edu/issues/40832015-05-25T19:23:46ZRaymond Hoh
<p>When a new user joins CAC and goes to the "My Commons" page, that user will see tons of empty "group joined" activity items.</p>
<p>These are just some of the numerous examples on cdev:<br /><a class="external" href="http://cdev.gc.cuny.edu/wp-admin/network/admin.php?page=bp-activity&aid=248113&action=edit">http://cdev.gc.cuny.edu/wp-admin/network/admin.php?page=bp-activity&aid=248113&action=edit</a><br /><a class="external" href="http://cdev.gc.cuny.edu/wp-admin/network/admin.php?page=bp-activity&aid=224703&action=edit">http://cdev.gc.cuny.edu/wp-admin/network/admin.php?page=bp-activity&aid=224703&action=edit</a><br /><a class="external" href="http://cdev.gc.cuny.edu/wp-admin/network/admin.php?page=bp-activity&aid=224700&action=edit">http://cdev.gc.cuny.edu/wp-admin/network/admin.php?page=bp-activity&aid=224700&action=edit</a></p>
<p>The problem is because of older "group joined" activity items being recorded with the group ID of <code>0</code>. The last instance of this was over a year ago with most of them being recorded between 4-5 years ago.</p>
<p>Boone - Since the empty activity group scope relies on group ID 0, I plan on changing the group scope arguments on CAC to check for some invalid query like <code>'component = -1'</code>. Let me know if you're okay with this or if you'd rather solve this by deleting all the invalid "group joined" activity items.</p> CUNY Academic Commons - Bug #4073 (Resolved): Group forum search should show within group layouthttps://redmine.gc.cuny.edu/issues/40732015-05-21T09:52:28ZRaymond Hoh
<p>Group forum search was implemented in <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Create search for forums (Resolved)" href="https://redmine.gc.cuny.edu/issues/140">#140</a>, but a few users have requested that group forum search be contained within the current group layout.</p>
<p>See <a class="external" href="http://redmine.gc.cuny.edu/issues/140#note-26">http://redmine.gc.cuny.edu/issues/140#note-26</a></p>
<p>The plugin was originally created to work without BuddyPress groups, so some URL routing and query logic will be necessary for forum search to display within groups.</p> CUNY Academic Commons - Bug #3792 (Resolved): My Commons adjustments for BuddyPress 2.2https://redmine.gc.cuny.edu/issues/37922015-02-06T20:37:10ZRaymond Hoh
<p>Right now, we're scheduled to update BuddyPress to v2.2.0 on February 21st.</p>
<p>There are some adjustments I need to make to the My Commons code so it will be compatible with BP 2.2.</p>
<p>I'll get started on these changes after the maintenance update on the 11th. Will also add this to the 1.7.13 milestone once it's been created.</p> CUNY Academic Commons - Bug #3781 (Resolved): Plain-text email formatting issueshttps://redmine.gc.cuny.edu/issues/37812015-02-02T06:13:44ZRaymond Hoh
<p>Basically the same issue as <a class="issue tracker-1 status-5 priority-5 priority-high4 closed" title="Bug: Group email plain-text formatting problem (Resolved)" href="https://redmine.gc.cuny.edu/issues/3608">#3608</a>.</p>
<p>Need to reapply hotfix for 1.7.11.</p> CUNY Academic Commons - Bug #3546 (Resolved): My Commons - New user sees all site activity for "E...https://redmine.gc.cuny.edu/issues/35462014-10-10T18:29:55ZRaymond Hoh
<p>When a new user joins the site, this user has not joined any groups, followed any sites or created any friendships.</p>
<p>Currently, on the "My Commons" page, this user sees the "Everything" and "My Sites" tabs. If the user clicks on one of these tabs, they see all site activity instead of nothing.</p>
<p>I'm going to fix this so no activity is shown and will override the default empty message to state something like:</p>
<p>"It looks like you're new here. To see some activity here, join a group (link to groups directory) , add a friend (link to members directory) or follow a site (link to sites directory)."</p>
<p>Let me know what you think.</p> CUNY Academic Commons - Bug #3402 (Resolved): Clicking subnav tabs on "News" tab does not workhttps://redmine.gc.cuny.edu/issues/34022014-08-26T00:22:53ZRaymond Hoh
<p>When you're on the "News" tab and you're logged in, clicking on any of the subnav tabs (My Friends, My Groups, etc.) does nothing.</p>
<p>This is because of commit fefc5f30 to address <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Creating a Blog, Creating a Group (Resolved)" href="https://redmine.gc.cuny.edu/issues/2135">#2135</a>:<br /><a class="external" href="https://github.com/castiron/cac/commit/fefc5f308f0bb2b7be92210e0cf41a681aa3ce2c">https://github.com/castiron/cac/commit/fefc5f308f0bb2b7be92210e0cf41a681aa3ce2c</a></p>
<p>I'm going to add a fix for this in 1.7.x branch for testing on cdev in a bit.</p> CUNY Academic Commons - Bug #2263 (Resolved): Google Docs Shortcode doesn't support older present...https://redmine.gc.cuny.edu/issues/22632012-11-19T02:49:36ZRaymond Hoh
<p>As per an email convo I had with Chris, Chris <a href="http://commons.gc.cuny.edu/groups/wordpress-help/forum/topic/embedding-google-docs-presentation/" class="external">noted on CAC that older Google Doc presentations do not embed</a>.</p>
<p>Should be quite easy to support the older format.</p>
<hr />
<p>Also, Chris noted that Google has slightly changed the interface for configuring the docs. If you login to Google Docs, create a new doc and then click on "_File > Publish for the Web_". You'll notice that there is no longer a checkbox to automatically update.</p>
<p><strong>Scott:</strong> The first screenshot in the <a href="http://codex.commons.gc.cuny.edu/2012/08/12/google-docs-embed-plugin-now-available-with-commons-1-4/" class="external">codex article</a> needs to be updated.</p> CUNY Academic Commons - Bug #2054 (Resolved): Fix errors in BP External Activityhttps://redmine.gc.cuny.edu/issues/20542012-08-19T04:43:55ZRaymond Hoh
<p>See BP External Activity errors listed here:<br /><a class="external" href="http://redmine.gc.cuny.edu/issues/2046#note-6">http://redmine.gc.cuny.edu/issues/2046#note-6</a></p> CUNY Academic Commons - Bug #1856 (Resolved): .htpasswd on cdev conflicting with WP cronhttps://redmine.gc.cuny.edu/issues/18562012-04-24T18:46:13ZRaymond Hoh
<p>Since we added .htpasswd on cdev, I've noticed that Reply By Email has stopped working.</p>
<p>I believe this has something to do with how WordPress needs to use wp_remote_post() to ping the site and spawn cron. Since wp_remote_post() cannot access the site without authentication, I'll probably have to write a small override filter to bypass the arguments in wp_remote_post().</p>
<p>Boone: I've added you as a watcher. Feel free to unwatch!</p> CUNY Academic Commons - Bug #788 (Resolved): bp-nelo/functions.php - Remove redundant BP textdoma...https://redmine.gc.cuny.edu/issues/7882011-06-02T21:04:37ZRaymond Hoh
<p>In bp-nelo/functions.php, there is a redundant lookup for a BP language file that doesn't exist.</p>
<p>bp-custom.php already loads the custom BP language file for CAC.</p> CUNY Academic Commons - Bug #787 (Resolved): bp-nelo/footer.php - Remove "get_option('tn_wpmu_gog...https://redmine.gc.cuny.edu/issues/7872011-06-02T20:56:29ZRaymond Hoh
<p>In bp-nelo/footer.php, there is the following line:<br /><pre>
<?php $tn_wpmu_goggle_code = get_option('tn_wpmu_goggle_code'); echo stripslashes($tn_wpmu_goggle_code); ?>
</pre></p>
<p>I couldn't find any reference to "tn_wpmu_goggle_code" on CAC and am wondering if it is safe to remove this.</p>
<p>Even if it is relevant, this line of code should be moved above the </body> line.</p> CUNY Academic Commons - Bug #776 (Resolved): Make sure Blog Authors menu doesn't overflow off vis...https://redmine.gc.cuny.edu/issues/7762011-05-26T08:55:29ZRaymond Hoh
<p>When there are multiple authors on a CAC blog and a user hovers over the "Blog Authors" menu, the author's names are cut off.</p> CUNY Academic Commons - Bug #725 (Resolved): BP Group Email Subscription - Double notificationshttps://redmine.gc.cuny.edu/issues/7252011-04-30T03:27:44ZRaymond Hoh
<p>Initially reported by Matt here:<br /><a class="external" href="http://redmine.gc.cuny.edu/issues/show/661#note-16">http://redmine.gc.cuny.edu/issues/show/661#note-16</a></p>
<p>If you're the author of an activity update within a group and you have your group email set to "All Mail", if someone replies to your activity update you will receive two emails - one from BP Group Email subscription and one from BuddyPress.</p>
<p>A way to workaround this is to temporarily set the activity update author's "*notification_activity_new_reply*" user meta setting to "no" during the group email send.</p>
<p>Boone, do you have any other ideas?</p>