Posted by Michael_Lessard... on December 5, 2009 at 5:03am
6 followers
| 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
Will be fixed in version 5.2.5. Thanks for the report!
#2
Automatically closed -- issue fixed for 2 weeks with no activity.
#3
I have installed 5.2.5 and am seeing the exact same issue as described.
#4
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.
#8
Changed status of project to get patch reviewed.
#9
Fixed in 5.2.6
#10
Automatically closed -- issue fixed for 2 weeks with no activity.