In Drupal 5.0.32 with Addtoany 5.x-2.4, I cannot find the Settings anywhere (even as User 1).

The only thing that could be set were the permissions/access (I tried giving all users access...). Ran the Update.php, etc.

Since I cannot set Addtoany to be active for any node types, it of course is "off" so-to-speak.

( I'm subscribing. Thank you in advance )

CommentFileSizeAuthor
#7 addtoany_d5_permfix.patch567 bytescdoyle
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

micropat’s picture

Assigned: Unassigned » micropat
Status: Active » Fixed

Will be fixed in version 5.2.5. Thanks for the report!

Status: Fixed » Closed (fixed)

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

niner94949’s picture

Version: 5.x-2.4 » 5.x-2.5

I have installed 5.2.5 and am seeing the exact same issue as described.

niner94949’s picture

Status: Closed (fixed) » Active

Opening again.

cedge100’s picture

Same issue. Please advise.

cdoyle’s picture

The problem is that the permission asked for in the user_access function in adtoany_menu is named incorrectly. Change "addthis" to "addtoany" as in this code snippet:

  if ($may_cache) {
    $items[] = array(
      'path'          => 'admin/settings/addtoany',
      'title'               => t('AddToAny'),
      'description'         => t('Settings for your <a href="http://www.addtoany.com/" target="blank">AddToAny</a> Share/Save buttons.'),
      'callback'          => 'drupal_get_form',
      'callback arguments'    => array('addtoany_admin_settings'),
      'access'        => user_access('administer addtoany'),
    );
  }

I'll try to include a patch in a sec but wanted to throw this comment up in case I don't get around to it.

cdoyle’s picture

FileSize
567 bytes

Here's the patch.

cdoyle’s picture

Status: Active » Needs review

Changed status of project to get patch reviewed.

micropat’s picture

Status: Needs review » Fixed

Fixed in 5.2.6

Status: Fixed » Closed (fixed)

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