The Location module integration was removed by the security update because the code was never supported from the start and having to deal with a security issue in code that I said from day one I did not support was the final straw for me.

However, if you would like to continue using the Location integration, here is what you do:

1) Use the attached patch (written by a member of the security team).
2) Copy modules/location.author-pane.inc to a safe place (that's modules inside of Author Pane, not sites/all/modules)
3) Update the module to 2.2 as normal
4) Copy back the .inc file
5) Add this code back to author-pane.tpl.php:

      <?php /* Location */ ?>
      <?php if (!empty($location_user_location)): ?>
        <div class="author-pane-line author-location">
          <?php print $location_user_location;  ?>
        </div>
      <?php endif; ?>

The Location code is still unsupported. I'm writing these instructions as a courtesy to people who have been using the integration but this is the end of it. It is no longer part of the module and therefore will not be checked for security in the future.

I don't expect Author Pane to ever have any new versions in 6.x, so it's unlikely you'll need to worry about this being overwritten in the future.

Michelle

CommentFileSizeAuthor
author_pane_location_sec.patch1.56 KBMichelle
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

venusrising’s picture

Thanks for being so kind as providing this, much appreciated.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.