Project:Share Buttons (AddToAny) by Lockerz
Version:5.x-2.5
Component:Code
Category:bug report
Priority:critical
Assigned:micropat
Status:closed (fixed)

Issue Summary

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 )

Comments

#1

Assigned to:Anonymous» micropat
Status:active» fixed

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

#2

Status:fixed» closed (fixed)

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

#3

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

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

#4

Status:closed (fixed)» active

Opening again.

#5

Same issue. Please advise.

#6

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.

#7

Here's the patch.

AttachmentSize
addtoany_d5_permfix.patch 567 bytes

#8

Status:active» needs review

Changed status of project to get patch reviewed.

#9

Status:needs review» fixed

Fixed in 5.2.6

#10

Status:fixed» closed (fixed)

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